OSDN Git Service
Xiangyu/Malcolm Chen [Fri, 21 Dec 2018 00:37:24 +0000 (16:37 -0800)]
Merge changes from topic "
118349116"
am:
90f496b14c
Change-Id: I34e02179d9718acf9bf00bd500f535e36c3c7804
Malcolm Chen [Fri, 21 Dec 2018 00:29:58 +0000 (16:29 -0800)]
Add APIs to remove sub from a group and get subs in the same gorup.
am:
be9240bcf0
Change-Id: If82ec04193b9288ff56ac1850899beadaf392d48
Xiangyu/Malcolm Chen [Fri, 21 Dec 2018 00:04:57 +0000 (00:04 +0000)]
Merge changes from topic "
118349116"
* changes:
Fix broken building offline-sdk-docs.
Add APIs to remove sub from a group and get subs in the same gorup.
Rob Barnes [Thu, 20 Dec 2018 23:53:10 +0000 (15:53 -0800)]
Merge "Changed uid output parameter from an int array to a list of strings."
am:
7eae0132c1
Change-Id: I4786ab7df710d7bc43ae8153b8c0479a1dbabc7d
Rob Barnes [Thu, 20 Dec 2018 23:33:25 +0000 (23:33 +0000)]
Merge "Changed uid output parameter from an int array to a list of strings."
yu.chen [Thu, 20 Dec 2018 23:09:31 +0000 (15:09 -0800)]
Merge changes from topic "fw_container"
am:
321b208f0f
Change-Id: I75201a9a25bc6a3445329a3b43bdf68da623b3e6
yu.chen [Thu, 20 Dec 2018 23:00:45 +0000 (15:00 -0800)]
[automerger skipped] DO NOT MERGE Set ContainerLayer for buffer-less surface
am:
ff674ee468 -s ours
Change-Id: Ic161409d5b07942a05595f45c0b511ac5d14e5db
Robert Carr [Thu, 20 Dec 2018 22:59:10 +0000 (14:59 -0800)]
Implement construction of container layers
am:
c1ea10447f
Change-Id: I5a8f0080051d2ae66a4a2f99c4a88ef452f0a467
Treehugger Robot [Thu, 20 Dec 2018 22:45:18 +0000 (22:45 +0000)]
Merge changes from topic "fw_container"
* changes:
DO NOT MERGE Set ContainerLayer for buffer-less surface
DO NOT MERGE: WM: Restrict SC Builder to set a single surface type
Implement construction of container layers
Jack He [Thu, 20 Dec 2018 22:22:31 +0000 (14:22 -0800)]
Merge "Statsd: Enable host_supported for libstatslog"
am:
0d7970f4e9
Change-Id: Idd736a2db55777be3b217a85e7876bc54a42a332
Treehugger Robot [Thu, 20 Dec 2018 22:05:58 +0000 (22:05 +0000)]
Merge "Statsd: Enable host_supported for libstatslog"
Vishnu Nair [Thu, 20 Dec 2018 18:53:45 +0000 (10:53 -0800)]
Merge "Adds vishnun to owners files for wm/am"
am:
bcf293c674
Change-Id: Ia756229dc6ec818c8ffbd9f703127da1e833798a
Treehugger Robot [Thu, 20 Dec 2018 18:32:42 +0000 (18:32 +0000)]
Merge "Adds vishnun to owners files for wm/am"
David Brazdil [Thu, 20 Dec 2018 13:50:00 +0000 (05:50 -0800)]
Merge "Annotate two non-SDK methods known to be used by apps"
am:
de441278e7
Change-Id: I66ec979de4ce5731b144cf5173a0a715d1e8f231
David Brazdil [Thu, 20 Dec 2018 13:36:34 +0000 (13:36 +0000)]
Merge "Annotate two non-SDK methods known to be used by apps"
David Brazdil [Thu, 20 Dec 2018 09:32:11 +0000 (09:32 +0000)]
Annotate two non-SDK methods known to be used by apps
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug:
121237128
Bug:
120783643
Test: m appcompat
Change-Id: Ib7a8bdf3151290aa8a5ca85dc8650612432f0d59
vichang [Thu, 20 Dec 2018 11:50:45 +0000 (03:50 -0800)]
Merge "Use ICU in libandroidicu"
am:
995c3f5247
Change-Id: I22832314959e41f9ea949c2815edeb07f9130ef8
vichang [Thu, 20 Dec 2018 11:37:55 +0000 (11:37 +0000)]
Merge "Use ICU in libandroidicu"
Jiyong Park [Thu, 20 Dec 2018 09:49:29 +0000 (01:49 -0800)]
Merge "Show version for APEXes"
am:
02f874d564
Change-Id: I5aff77a40b30d2d0acd5361c07c54ecdefa47f3f
Jiyong Park [Thu, 20 Dec 2018 09:40:29 +0000 (09:40 +0000)]
Merge "Show version for APEXes"
Jack He [Thu, 20 Dec 2018 08:42:31 +0000 (00:42 -0800)]
Statsd: Enable host_supported for libstatslog
* libutils must be used as a static library when compiled on host
* Host does not have Android system properties and hence we cannot
use <cutils/properties.h>. In fact, properties.cpp is not even
compiled on host for libcutils. Therefore, this CL adds a check
for __ANDROID__ macro before including <sys/propoerties.h> and
before calling properties_get_bool()
* On host, statsd logging will be disabled since host does not
use statsd for anything
Fixes:
121294178
Test: test drive statsd
Change-Id: I838ff02468c650c5f7d85e68fa5008b98f08ce8c
David Brazdil [Thu, 20 Dec 2018 08:38:29 +0000 (00:38 -0800)]
Merge "Revert "[framework] Compile secondary dex files in isolation""
am:
2c0278d35f
Change-Id: I038f2b273aa5767e22995782ff939fe89f91e89d
David Brazdil [Thu, 20 Dec 2018 08:25:22 +0000 (08:25 +0000)]
Merge "Revert "[framework] Compile secondary dex files in isolation""
David Brazdil [Tue, 18 Dec 2018 13:43:55 +0000 (13:43 +0000)]
Revert "[framework] Compile secondary dex files in isolation"
This reverts commit
8a5a708df18c2377c7ec3cb03d406bdc9cb99bd6.
ART does not compile secondary dex files in the user process
any more. The original issue of a large overhead of providing
a class loader context is therefore not relevant any more and
we can start passing the context to installd.
Note that this also partially reverts commit
6dba50d63375b6738c6e1ad8a8758f181d295d8b which restricted
visibility of methods in PackageDexUsage. The commit also
removed data collection for unsupported class loaders. The
logic in PackageDexOptimizer was adjusted accordingly.
Bug:
64530081
Bug:
111174995
Test: manual
Change-Id: Id78b5a6d8841b199c12a63a8d45d12efbcc32275
Mathew Inwood [Thu, 20 Dec 2018 07:56:05 +0000 (23:56 -0800)]
Merge "Include annotation property values in output."
am:
989e767e84
Change-Id: I9bf520dd5e95438f308bdae9e0ff0e2006410741
Mathew Inwood [Thu, 20 Dec 2018 07:48:25 +0000 (07:48 +0000)]
Merge "Include annotation property values in output."
Mathew Inwood [Fri, 23 Nov 2018 14:57:28 +0000 (14:57 +0000)]
Include annotation property values in output.
When editing annotations, we want the ability *not* to overwrite any
existing annotation properties already in place. Include any properties
set on the annotation in the output, so that the edit_annotations script
can know that they're there.
The annotation properties are encoded like URL query parameters for
convenience; it makes them easy to encode here & subsequently decode on
the other side (in Python).
Test: m framework-annotation-proc & inspect output.
(cherry picked from commit
bd7077065c211f49b090aa4250b53b58461adfd9)
Merged-In: I71fb1215ad2790751be336b4955c163bb323a4a6
Change-Id: I0b33e2b379076346ce258d93a9225a9143b7d91a
Chen Xu [Thu, 20 Dec 2018 07:17:46 +0000 (23:17 -0800)]
Merge "refactor dataFailCause"
am:
9371864133
Change-Id: I95b86281f9e23874a819646f2c90b1609c720e00
Chen Xu [Thu, 20 Dec 2018 07:06:58 +0000 (07:06 +0000)]
Merge "refactor dataFailCause"
chen xu [Tue, 18 Dec 2018 02:43:29 +0000 (18:43 -0800)]
refactor dataFailCause
1. add comments for each data fail cause.
2. refactor dataFailCause from enum to int
Bug:
119891533
Test: Build & unit test
Change-Id: Ic453f80a3d0ccd22c6c4c1f4b2c90e2bf40cfbe1
(cherry picked from commit
3016167192d301380120b4eb47cd051200c8b5b8)
Merged-in: Ic453f80a3d0ccd22c6c4c1f4b2c90e2bf40cfbe1
Malcolm Chen [Wed, 12 Dec 2018 18:29:16 +0000 (10:29 -0800)]
Fix broken building offline-sdk-docs.
TelephonyManager#hasCarrierPrivileges(int) is hidden API so it
shouldn't be referenced in public API descriptions.
Bug:
120622105
Test: none
Change-Id: Ia6b6ec2c16b824b8eb092920089cb77cdc54bfb7
Merged-In: Ia6b6ec2c16b824b8eb092920089cb77cdc54bfb7
Malcolm Chen [Tue, 4 Dec 2018 04:29:33 +0000 (20:29 -0800)]
Add APIs to remove sub from a group and get subs in the same gorup.
Add APIs in SubscriptionController so that caller with permissions
can remove subscriptions from a group or get all subscriptions with
the same group.
Bug:
118349116
Test: unittest
Change-Id: Iba4d31b437b372b3f41a6ed23f03b96a685a324c
Merged-In: Iba4d31b437b372b3f41a6ed23f03b96a685a324c
Vishnu Nair [Thu, 20 Dec 2018 01:13:09 +0000 (17:13 -0800)]
Adds vishnun to owners files for wm/am
Test: n/a
Bug: n/a
Change-Id: Ie17a280d8f4435490b039a8c95f65cd78a8d6cd1
Hall Liu [Wed, 19 Dec 2018 22:04:38 +0000 (14:04 -0800)]
Merge changes from topics "dialer-account-suggestion-3", "dialer-account-suggestion-2"
am:
db5b77c275
Change-Id: Idb4c45a15b082e72a161f2a70e8c1b75c1b369bd
Hall Liu [Wed, 19 Dec 2018 21:57:48 +0000 (13:57 -0800)]
Add the PhoneAccountSuggestionService
am:
c47570d5d0
Change-Id: Ia7823ff16f1684db71845cb9d92434c448290c9a
Hall Liu [Wed, 19 Dec 2018 21:36:54 +0000 (21:36 +0000)]
Merge changes from topics "dialer-account-suggestion-3", "dialer-account-suggestion-2"
* changes:
Enable CTS testing for phone account suggestions
Add the PhoneAccountSuggestionService
Nathan Harold [Wed, 19 Dec 2018 19:12:24 +0000 (11:12 -0800)]
Merge "Annotate getMobileNetworkOperator() as Nullable"
am:
795641f25e
Change-Id: I19c339ed0844766dcb89244cd3e60d68a75d800e
Nathan Harold [Wed, 19 Dec 2018 18:49:56 +0000 (18:49 +0000)]
Merge "Annotate getMobileNetworkOperator() as Nullable"
Nathan Harold [Wed, 19 Dec 2018 18:36:58 +0000 (10:36 -0800)]
Merge "Annotate CallbackExecutor in requestCellInfoUpdate"
am:
ff9932a7aa
Change-Id: I3523ef0d8b4c8b4a3bfedc6c220acae0599a62f0
Nathan Harold [Wed, 19 Dec 2018 18:26:37 +0000 (18:26 +0000)]
Merge "Annotate CallbackExecutor in requestCellInfoUpdate"
Chen Xu [Wed, 19 Dec 2018 18:20:06 +0000 (10:20 -0800)]
Merge "add carrierid in subscriptionInfo"
am:
dcab1747cf
Change-Id: I629fb5e0cced6759778435f03a10c3a5cef385b1
Chen Xu [Wed, 19 Dec 2018 18:12:27 +0000 (18:12 +0000)]
Merge "add carrierid in subscriptionInfo"
jiayanhong [Wed, 19 Dec 2018 17:54:46 +0000 (09:54 -0800)]
Merge "Fixed toString() printing error"
am:
0e6e776270
Change-Id: Id0f5d70a4549480fbb192628ce41796e4da04ad7
Treehugger Robot [Wed, 19 Dec 2018 17:39:58 +0000 (17:39 +0000)]
Merge "Fixed toString() printing error"
nchalko [Wed, 19 Dec 2018 16:08:51 +0000 (08:08 -0800)]
Merge "Convert to ISO 639-2/B for menu language"
am:
8e217ba958
Change-Id: Iaea64c7fed62cfae3c5359ea062d6498c8b9dc14
nchalko [Wed, 19 Dec 2018 15:51:30 +0000 (15:51 +0000)]
Merge "Convert to ISO 639-2/B for menu language"
Luke Huang [Wed, 19 Dec 2018 09:17:05 +0000 (01:17 -0800)]
Merge "Following commit for asynchronous DNS query API"
am:
a89f04a742
Change-Id: Ie45d4c6337178d8912d2f41dc9023d71c004b100
Luke Huang [Wed, 19 Dec 2018 09:07:46 +0000 (09:07 +0000)]
Merge "Following commit for asynchronous DNS query API"
Nicolas Geoffray [Wed, 19 Dec 2018 08:55:33 +0000 (00:55 -0800)]
Merge "Use the boot class loader as parent of system server loader."
am:
7baf5a8d73
Change-Id: Id67c494c59bc9e61f81406ac36d9c664adbf97b2
Nicolas Geoffray [Wed, 19 Dec 2018 08:35:24 +0000 (08:35 +0000)]
Merge "Use the boot class loader as parent of system server loader."
chen xu [Fri, 14 Dec 2018 08:14:06 +0000 (00:14 -0800)]
add carrierid in subscriptionInfo
add carrierid in subscritionInfo so that apps can get
subId, carrierid and other sim related info from a single call
Bug:
119676543
Test: gts SubscriptionInfoTest
Change-Id: Ia2d01ad6bd59565adbf989b4d95e7f64f3ee6d45
(cherry picked from commit
0034bb393ca7054bfebb606cedb823e8a49a1920)
Merged-in: Ia2d01ad6bd59565adbf989b4d95e7f64f3ee6d45
Chienyuan [Wed, 19 Dec 2018 03:02:34 +0000 (19:02 -0800)]
Merge "BluetoothManagerService: catch NoSuchElementException for unlinkToDeath"
am:
6227b441a0
Change-Id: Ibc7628614537aea1dc8996200f6eb272f758f8a7
Treehugger Robot [Wed, 19 Dec 2018 02:41:52 +0000 (02:41 +0000)]
Merge "BluetoothManagerService: catch NoSuchElementException for unlinkToDeath"
Josh Hou [Wed, 19 Dec 2018 01:40:46 +0000 (17:40 -0800)]
Merge "Print carrier Id information in toString()"
am:
843e387bb6
Change-Id: Iee39cd88b060a5bd2dcbfa4bc6c3b6e6dba8c62a
Josh Hou [Wed, 19 Dec 2018 01:22:25 +0000 (01:22 +0000)]
Merge "Print carrier Id information in toString()"
Eric Holk [Tue, 18 Dec 2018 23:46:05 +0000 (15:46 -0800)]
Merge "[view-compiler] DexBuilder: Add check-cast instruction"
am:
bce4bd1745
Change-Id: If8acd8f77f4eb54b0efacabaff8a09bee9ce3bb9
Treehugger Robot [Tue, 18 Dec 2018 23:27:46 +0000 (23:27 +0000)]
Merge "[view-compiler] DexBuilder: Add check-cast instruction"
Nathan Harold [Tue, 18 Dec 2018 22:58:27 +0000 (14:58 -0800)]
Annotate CallbackExecutor in requestCellInfoUpdate
Add a missing annotation for CallbackExecutor in
requestCellInfoUpdate().
Bug:
120489428
Test: compilation (no functional change)
Change-Id: I33bba9eb59f81aaefa0194b58936d4f809a8d51f
Nathan Harold [Tue, 18 Dec 2018 21:40:08 +0000 (13:40 -0800)]
Annotate getMobileNetworkOperator() as Nullable
Add Nullable annotations for the classes that support
getMobileNetworkOperator().
Bug:
118675404
Test: compilation (no functional change)
Change-Id: I914ec8242aff2f578dfe1f97f2e7cfe2d109c7dc
Victor Chang [Tue, 20 Nov 2018 18:44:46 +0000 (18:44 +0000)]
Use ICU in libandroidicu
libicuuc and libicui18n are moved into APEX, but
they have no stable ABI due to the version suffix.
Use libandroidicu which provides stable symbol.
See http://go/apex-stable-icu4c-interface for the design.
See http://aosp/801855 for libandroidicu implementation.
Bug:
117094880
Test: m checkbuild
Change-Id: I1a8e5d7ddb0beed61257706003d93ac4d5f9566f
Nick Kralevich [Tue, 18 Dec 2018 19:06:36 +0000 (11:06 -0800)]
Merge "NativeHandle.java: dup() with O_CLOEXEC"
am:
760e074e50
Change-Id: Ic65f0a1fa80b1b45300cb909f3f2a7786debc2bf
Paul Duffin [Tue, 18 Dec 2018 18:44:07 +0000 (10:44 -0800)]
Merge "Add InetAddresses class to API"
am:
92871b78fa
Change-Id: If821b32c686fd603035050c09598384796f72fb2
Ken Chen [Tue, 18 Dec 2018 18:38:59 +0000 (10:38 -0800)]
Merge "Remove 'hasDns' parameter"
am:
3176e8be7a
Change-Id: I7efc2ff04cf65420b02ddf2cf7a13b640e37ef77
Treehugger Robot [Tue, 18 Dec 2018 18:36:35 +0000 (18:36 +0000)]
Merge "NativeHandle.java: dup() with O_CLOEXEC"
Eric Holk [Mon, 17 Dec 2018 21:35:34 +0000 (13:35 -0800)]
[view-compiler] DexBuilder: Add check-cast instruction
Bug:
111895153
Test: atest
Change-Id: I767e56713fab6beaa6970e58c4fc4d3560cc1304
Paul Duffin [Tue, 18 Dec 2018 14:11:04 +0000 (14:11 +0000)]
Merge "Add InetAddresses class to API"
Ken Chen [Tue, 18 Dec 2018 11:17:27 +0000 (11:17 +0000)]
Merge "Remove 'hasDns' parameter"
Remi NGUYEN VAN [Tue, 18 Dec 2018 03:51:25 +0000 (19:51 -0800)]
Merge "Replace InterfaceParams with ifName in DhcpServer"
am:
9d5e00321f
Change-Id: Id2863d3c148b109c74ed37a0c2be7a4ddfd4f923
Remi NGUYEN VAN [Tue, 18 Dec 2018 03:38:24 +0000 (03:38 +0000)]
Merge "Replace InterfaceParams with ifName in DhcpServer"
Nucca Chen [Tue, 18 Dec 2018 03:38:20 +0000 (19:38 -0800)]
Merge "Add new netd event callback for changes to NAT64 prefix"
am:
ed30ec8dd1
Change-Id: I5220971458e1491ccde1d8eeef0f91a9534aec75
Nucca Chen [Tue, 18 Dec 2018 03:19:45 +0000 (03:19 +0000)]
Merge "Add new netd event callback for changes to NAT64 prefix"
Chienyuan [Tue, 18 Dec 2018 02:40:25 +0000 (10:40 +0800)]
BluetoothManagerService: catch NoSuchElementException for unlinkToDeath
linkToDeath fail will cause NoSuchElementException when following
unlinkToDeath, add try catch to handle it.
Bug:
121104808
Test: build pass
Change-Id: Idc4959331841946e2fc099bdc0fab7c753caf369
Hall Liu [Tue, 11 Dec 2018 02:38:11 +0000 (18:38 -0800)]
Enable CTS testing for phone account suggestions
Add TestApi annotation on PhoneAccountSuggestionService and add sensible
equals and hashCode methods to PhoneAccountSuggestions
Bug:
111455117
Test: CTS
Change-Id: I112e350cc637cb086252c53be5e08596e743537d
Hall Liu [Fri, 7 Dec 2018 01:53:25 +0000 (17:53 -0800)]
Add the PhoneAccountSuggestionService
Add a service base class for phone acct suggestion. Also add associated
aidl plumbing and a new permission for the service to require.
Test: CTS to come
Bug:
111455117
Change-Id: I30d7d004bdddbab3dfbb5408c07775ea56d490fe
Nick Kralevich [Mon, 17 Dec 2018 22:41:59 +0000 (14:41 -0800)]
NativeHandle.java: dup() with O_CLOEXEC
Don't use Os.dup(), as it creates file handles which leak across exec()
boundaries. Instead, use fcntl(F_DUPFD_CLOEXEC);
O_CLOEXEC is essential for ensuring that file descriptors do not leak
across an exec() boundary. Setting O_CLOEXEC ensures that file
descriptors can't linger around unnecessarily in an exec()ed process
which doesn't use them, making more efficient use of resources.
Additionally, O_CLOEXEC is important in ensuring that untrusted
exec()ed code cannot take advantage of leaked file descriptors.
Test: Android compiles and boots
Bug:
120983106
Change-Id: I99a66834cc6b9bb25e1b4daf75384ec6a91ae9e2
Chih-Hung Hsieh [Mon, 17 Dec 2018 22:08:29 +0000 (14:08 -0800)]
Merge "Fix performance-for-range-copy warnings"
am:
bc29242288
Change-Id: I96e7ca53f2878fd9f75ac14999a02a96a96bb93e
Treehugger Robot [Mon, 17 Dec 2018 21:54:31 +0000 (21:54 +0000)]
Merge "Fix performance-for-range-copy warnings"
Eric Holk [Mon, 17 Dec 2018 21:38:46 +0000 (13:38 -0800)]
Merge "[view-compiler] Add layout validation"
am:
ceea877ddd
Change-Id: Ia95ec8ccc77c4be60f018d99391067f3b8b02fd2
Treehugger Robot [Mon, 17 Dec 2018 21:28:37 +0000 (21:28 +0000)]
Merge "[view-compiler] Add layout validation"
Chen Xu [Mon, 17 Dec 2018 21:20:03 +0000 (13:20 -0800)]
Merge "expose Carrier Id related APIs"
am:
18b925a7af
Change-Id: I517cd9638544ced0117a7222b21c92940b52885e
Chen Xu [Mon, 17 Dec 2018 20:56:54 +0000 (20:56 +0000)]
Merge "expose Carrier Id related APIs"
Chih-Hung Hsieh [Tue, 11 Dec 2018 19:09:20 +0000 (11:09 -0800)]
Fix performance-for-range-copy warnings
Bug:
30413223
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,performance*
Change-Id: Ie481e88025a7a1f3abde8ff63420d5ccd8577e52
Pengquan Meng [Mon, 17 Dec 2018 19:16:56 +0000 (11:16 -0800)]
Merge "Add FrequencyRange comparator to ServiceState"
am:
d0c404cb21
Change-Id: I4b20c8a2d38a6f64530a281a3db9df18a593e845
Pengquan Meng [Mon, 17 Dec 2018 19:07:27 +0000 (19:07 +0000)]
Merge "Add FrequencyRange comparator to ServiceState"
Chen Xu [Mon, 17 Dec 2018 18:38:40 +0000 (10:38 -0800)]
Merge "public API for VideoProfile.CameraCapability with zoom"
am:
610673690c
Change-Id: Iead5b876acbc2591f3074c0d0829ca13cf44d6e3
Eric Holk [Mon, 17 Dec 2018 18:30:34 +0000 (10:30 -0800)]
Merge "[view-compiler] DexBuilder: Add more instructions"
am:
88f0e734b7
Change-Id: Ic6a082d4dad97670e5105503272f13dec14b3cfb
Chen Xu [Mon, 17 Dec 2018 18:24:15 +0000 (18:24 +0000)]
Merge "public API for VideoProfile.CameraCapability with zoom"
Treehugger Robot [Mon, 17 Dec 2018 18:15:11 +0000 (18:15 +0000)]
Merge "[view-compiler] DexBuilder: Add more instructions"
Paul Duffin [Mon, 17 Dec 2018 15:30:16 +0000 (07:30 -0800)]
Merge "Remove uses of libcore.io DropBox and EventLogger"
am:
1c3592a865
Change-Id: Ia0899f71a2207bd9b498883222588cc245c697da
Treehugger Robot [Mon, 17 Dec 2018 15:17:37 +0000 (15:17 +0000)]
Merge "Remove uses of libcore.io DropBox and EventLogger"
Paul Duffin [Thu, 13 Dec 2018 12:19:52 +0000 (12:19 +0000)]
Remove uses of libcore.io DropBox and EventLogger
DropBox and EventLogger provide hooks for use by framework to intercept
messages sent by libcore. However, neither of these mechanisms are
actually used by libcore so there is no point in framework code using
it.
(cherry picked from commit
ecb6124d540975d8f2466bc9d9bf4b79bc6ff972)
Bug:
119748341
Test: make checkbuild, flash
Merged-In: I9dbd1b6dea92f7441efb6d0a579efd13bc0e5139
Change-Id: I65425e49ab9ad9752b65772d27f788d1a674eeff
Paul Duffin [Thu, 11 Oct 2018 14:21:46 +0000 (15:21 +0100)]
Add InetAddresses class to API
Adds methods needed by app developers to avoid them having to call
non-SDK APIs.
Test: tests added to cts
Bug:
78686891
Change-Id: Ic0eadfdab2b111d5ca4becb753f4fe3557806433
Luke Huang [Mon, 17 Dec 2018 07:54:18 +0000 (15:54 +0800)]
Following commit for asynchronous DNS query API
Test: built, flashed, booted
atest CtsNativeNetDnsTestCases
Change-Id: Ia0f54ff684d2ad37ca82d94bad4e4dd582783d85
Nick Kralevich [Mon, 17 Dec 2018 08:12:09 +0000 (00:12 -0800)]
Merge "fd_utils: carry over O_CLOEXEC on duplicated FDs"
am:
a4d036e98b
Change-Id: I4731e4838e1306baff0cf03852edacffdcb1c223
Treehugger Robot [Mon, 17 Dec 2018 07:43:34 +0000 (07:43 +0000)]
Merge "fd_utils: carry over O_CLOEXEC on duplicated FDs"
Josh Hou [Sun, 9 Dec 2018 02:58:06 +0000 (10:58 +0800)]
Print carrier Id information in toString()
Bug:
115709816
Test: Build pass
Change-Id: Idd3336c472860ad21121029abecb91aa9b8325ec
Merged-In: Idd3336c472860ad21121029abecb91aa9b8325ec
Remi NGUYEN VAN [Wed, 5 Dec 2018 06:09:08 +0000 (15:09 +0900)]
Replace InterfaceParams with ifName in DhcpServer
The current code only uses InterfaceParams#name, and InterfaceParams is
defined in services/net which DhcpServer cannot depend on once moved to
a separate app.
Test: atest FrameworksNetTests
Bug: b/
112869080
Change-Id: I94c7dce33200c111666a9dddde82ac2e66a6794f
Jiyong Park [Mon, 17 Dec 2018 04:54:40 +0000 (13:54 +0900)]
Show version for APEXes
--show-versioncode now works for APEXes as well.
Bug:
117589375
Test: $ cmd package list packages --apex-only --show-versioncode
package:com.android.conscrypt versionCode:1
package:com.android.resolv versionCode:1
package:com.android.runtime versionCode:1
package:com.android.tzdata versionCode:
31000010
Change-Id: I3f29bb560cdbd54d7e8377d09ec261a569f35901
Yao Chen [Mon, 17 Dec 2018 02:49:45 +0000 (18:49 -0800)]
Merge changes from topic "statsd-allow-bytes-type"
am:
783ec04909
Change-Id: Ic27a992cdacda04a5b62d01de44cf1b92164e58e
Treehugger Robot [Mon, 17 Dec 2018 02:33:20 +0000 (02:33 +0000)]
Merge changes from topic "statsd-allow-bytes-type"
* changes:
Add byte size of the bytes fields to statslog c++ APIs.
Skip writing message field in an atom if it's empty
Adding tests and move launcher.proto
Add launcher.proto to atoms.proto
Allow atoms to log fields in bytes format.