OSDN Git Service
Mathieu Chartier [Tue, 20 Feb 2018 20:26:00 +0000 (20:26 +0000)]
Merge "Pass DEXOPT_INSTALL_WITH_DEX_METADATA_FILE for first boot"
am:
0ea144f4bf
Change-Id: Icdd5128db27b701e76656f1e3e5ae230dbd15daa
Bruno Martins [Tue, 20 Feb 2018 20:20:51 +0000 (20:20 +0000)]
Merge "WifiTile: Avoid NPE during boot phase"
am:
b23150ffa9
Change-Id: Ib4748cb4814e4f6f1c5e7579284522ac55df329f
Mathieu Chartier [Tue, 20 Feb 2018 19:12:38 +0000 (19:12 +0000)]
Merge "Pass DEXOPT_INSTALL_WITH_DEX_METADATA_FILE for first boot"
David Brazdil [Tue, 20 Feb 2018 15:54:28 +0000 (15:54 +0000)]
Merge "Add flag to AMS.startInstrumentation() to disable hidden API checks"
am:
4a8fa52e4b
Change-Id: Ie94241b7b44a98fea1753f7aa58475384cb33800
Treehugger Robot [Tue, 20 Feb 2018 15:23:04 +0000 (15:23 +0000)]
Merge "WifiTile: Avoid NPE during boot phase"
David Brazdil [Tue, 20 Feb 2018 14:36:18 +0000 (14:36 +0000)]
Merge "Add flag to AMS.startInstrumentation() to disable hidden API checks"
Paul Duffin [Mon, 19 Feb 2018 16:24:57 +0000 (16:24 +0000)]
Merge "Turn on DepAnn for test-base and test-runner"
am:
8dbbc3543e
Change-Id: Ia6fe0967f92b382042326c288d175c4f60b63190
David Brazdil [Mon, 19 Feb 2018 15:39:15 +0000 (15:39 +0000)]
Add flag to AMS.startInstrumentation() to disable hidden API checks
Some tests need to use hidden APIs to check the internal state of
the framework. For those special use cases, we add a new flag to
ActivityManagerService.startInstrumentation that enables to start
instrumented processes without hidden API enforcement. Individual
test harnesses can change their Am command to request the exemption.
Bug:
64382372
Test: adb shell am instrument --no-hidden-api-checks <component>
adb logcat | grep 'Accessing hidden'
Merged-In: I1d734a95423fae90dae63ff09d5f606495830905
Change-Id: Ifbb0d19d95737a9f601b11e20352cdc11f0ca5b6
Paul Duffin [Mon, 19 Feb 2018 13:03:56 +0000 (13:03 +0000)]
Merge "Turn on DepAnn for test-base and test-runner"
Chalard Jean [Mon, 19 Feb 2018 08:14:19 +0000 (08:14 +0000)]
Merge changes Ic28c5653,Ic635f97b
am:
1ea3d9411a
Change-Id: I38218d8652ec36f2ea076a6806df883a9c9636de
Chalard Jean [Mon, 19 Feb 2018 03:54:25 +0000 (03:54 +0000)]
Merge "Don't refcount TRACK_DEFAULT requests."
am:
114278c9eb
Change-Id: I094ad8f9764f5cd657e2fe98c846710c8d241b64
Treehugger Robot [Mon, 19 Feb 2018 03:45:27 +0000 (03:45 +0000)]
Merge changes Ic28c5653,Ic635f97b
* changes:
[LT2] Fix release request while lingering.
[LT1] Add a test for release request while lingering
Chalard Jean [Mon, 19 Feb 2018 02:13:48 +0000 (02:13 +0000)]
Merge "Don't refcount TRACK_DEFAULT requests."
Chalard Jean [Fri, 16 Feb 2018 07:08:35 +0000 (16:08 +0900)]
[LT2] Fix release request while lingering.
Test: runtest framework-net
Change-Id: Ic28c5653d16351903b792e76ba8b199b7ed1f8d4
Chalard Jean [Mon, 19 Feb 2018 01:51:39 +0000 (01:51 +0000)]
Merge "DO NOT MERGE : fix useless import"
am:
473b3b7f03 -s ours
Change-Id: Ic717c478266a317fab1c618bc2a894e6610ffdd4
Chalard Jean [Sun, 18 Feb 2018 23:14:42 +0000 (23:14 +0000)]
Merge "DO NOT MERGE : fix useless import"
Scott Kennedy [Sat, 17 Feb 2018 07:45:37 +0000 (07:45 +0000)]
Merge "Add @Nullable to return values in Uri"
am:
cfc6897a39
Change-Id: I109bd5952643598c5306ab27debb4dd2b30fffed
Treehugger Robot [Sat, 17 Feb 2018 04:49:23 +0000 (04:49 +0000)]
Merge "Add @Nullable to return values in Uri"
Robert Sesek [Sat, 17 Feb 2018 03:41:55 +0000 (03:41 +0000)]
Merge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote."
am:
554cfd1f1d
Change-Id: I723f75be6488390932a60b411ac04660c16d93d1
Treehugger Robot [Sat, 17 Feb 2018 01:39:54 +0000 (01:39 +0000)]
Merge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote."
Bruno Martins [Fri, 16 Feb 2018 23:06:06 +0000 (00:06 +0100)]
WifiTile: Avoid NPE during boot phase
* Listening handling can only take place once mController
is properly initialized.
Change-Id: Icd5003e67a725323a5445a936d5a38a3006c5431
Brad Ebinger [Fri, 16 Feb 2018 23:09:39 +0000 (23:09 +0000)]
Merge "MSIM support for hidden IMS capability and registration query APIs."
am:
b8d25ed3a4
Change-Id: I1636e80c2f09e8949ba44f7225aed16448ed5692
Evan Rosky [Fri, 16 Feb 2018 21:25:26 +0000 (21:25 +0000)]
Merge "[DO NOT MERGE] Fix some mouse + list-item selection/scrolling issues"
am:
8b764a0dab -s ours
Change-Id: Iffb3e3c70d9d135f15f66f3bf7968dfef9f1d4f5
Brad Ebinger [Fri, 16 Feb 2018 20:35:45 +0000 (20:35 +0000)]
Merge "MSIM support for hidden IMS capability and registration query APIs."
Vladislav Kaznacheev [Fri, 16 Feb 2018 20:31:06 +0000 (20:31 +0000)]
Merge "[DO NOT MERGE] Fix context menu position for RTL"
am:
80ae7124f5 -s ours
Change-Id: If52d9831857624890785c31689d69dd6c0f28e09
Benedict Wong [Fri, 16 Feb 2018 20:28:18 +0000 (20:28 +0000)]
Merge "Correct bug in IpSecTransformTest"
am:
999d1fc172
Change-Id: If99a991052a821f43b8238a47d0d2c7e00362bc3
Treehugger Robot [Fri, 16 Feb 2018 20:02:26 +0000 (20:02 +0000)]
Merge "[DO NOT MERGE] Fix some mouse + list-item selection/scrolling issues"
Treehugger Robot [Fri, 16 Feb 2018 19:54:26 +0000 (19:54 +0000)]
Merge "[DO NOT MERGE] Fix context menu position for RTL"
Robert Sesek [Mon, 12 Feb 2018 23:46:01 +0000 (18:46 -0500)]
Add Zygote.startChildZygote() to fork a new process that itself is a zygote.
This adds a new --start-child-zygote argument that instructs the main
zygote to create a new child process that will also be a zygote. The
system_server generates a random name in the abstract socket namespace
for it and the child-zygote to communicate over, and that is passed as
an argument to the new process.
A child-zygote bypasses the normal post-fork-child of the zygote process
in order to preserve itself as a zygote. This means not starting the
Binder threadpool nor launching into ActivityThread. Instead, a
child-zygote calls into its own main function. The main function runs a
ZygoteServer select loop, listening on the socket name specified by the
system_server when it was forked.
Unlike the system zygotes, a child-zygote can be killed without bringing
down the system. Killing a child-zygote will not terminate its child
processes, which will be reparented to init for reaping when they
eventually exit.
Bug:
63749735
Test: m (with multi-project commits landed)
Change-Id: I3e7ebbdba498f8fec1d84cdf927dc43a92be4b68
Benedict Wong [Fri, 16 Feb 2018 18:32:05 +0000 (18:32 +0000)]
Merge "Correct bug in IpSecTransformTest"
Andreas Gampe [Fri, 16 Feb 2018 17:46:08 +0000 (17:46 +0000)]
Merge "Framework: Disable [MissingOverride] for platformprotos"
am:
4eaa22f24e
Change-Id: I376b8bea0e1c57a6f7e78970bc919d05d1ed372d
Bruno Martins [Fri, 16 Feb 2018 17:41:30 +0000 (17:41 +0000)]
Merge "BluetoothTile: Avoid NPE during boot up phase"
am:
977bcea1f0
Change-Id: I692e2c21f92d0e8eff5c9114e012cd90e84f31e9
Mathew Inwood [Fri, 16 Feb 2018 16:31:26 +0000 (16:31 +0000)]
Merge "Hidden API blacklisting killswitch."
am:
46656fa28e
Change-Id: I1276e1eb5b2d4438ebc6f071ed28f1f322a8bc6e
Treehugger Robot [Fri, 16 Feb 2018 16:05:19 +0000 (16:05 +0000)]
Merge "Framework: Disable [MissingOverride] for platformprotos"
Paul Duffin [Fri, 16 Feb 2018 13:11:05 +0000 (13:11 +0000)]
Turn on DepAnn for test-base and test-runner
Bug:
30188076
Test: m -j20 RUN_ERROR_PRONE=true android.test.base android.test.runner
Change-Id: I735e3fbfcc710f1dc1b96e04f91b9feda8727b6c
Treehugger Robot [Fri, 16 Feb 2018 15:20:23 +0000 (15:20 +0000)]
Merge "BluetoothTile: Avoid NPE during boot up phase"
Treehugger Robot [Fri, 16 Feb 2018 11:50:20 +0000 (11:50 +0000)]
Merge "Hidden API blacklisting killswitch."
Mathew Inwood [Thu, 15 Feb 2018 10:28:06 +0000 (10:28 +0000)]
Hidden API blacklisting killswitch.
Just support "*" for now, meaning disable all API blacklisting for all
apps.
Test: Manually verified by:
- installing test app that accesses hidden API
- manually blacklist the API
- $ adb shell settings put global hidden_api_blacklist_exemptions \\*
This is a cherry pick of change I9a41a104742c9aaaf3a753e7b0f3a1106e37d4d3
from internal master.
Merged-In: I9a41a104742c9aaaf3a753e7b0f3a1106e37d4d3
Change-Id: Ibb2a1d054c1b099fc6093e37f24b2ed421a2313c
Chalard Jean [Fri, 16 Feb 2018 07:07:53 +0000 (16:07 +0900)]
[LT1] Add a test for release request while lingering
Test: runtest framework-net
Change-Id: Ic635f97bf3dad8b695b3b8cc32c1a8b891166f9f
Chalard Jean [Fri, 16 Feb 2018 08:59:29 +0000 (17:59 +0900)]
Don't refcount TRACK_DEFAULT requests.
This has no concrete impact on the behavior of ConnectivityService,
but in principle TRACK_DEFAULT requests should not be counted toward
requests that make a network foreground. It does not have an impact
because only VPNs could be affected by this, and VPNs are always in
the foreground by definition.
Test: runtest frameworks-net
Test: cts
Change-Id: Id2ae6b5c9d542fe168e64ed713b6ec0a04062c82
Chalard Jean [Fri, 16 Feb 2018 08:21:39 +0000 (17:21 +0900)]
DO NOT MERGE : fix useless import
This was added to avoid a merge conflict at a sensitive time.
It can (and should) go.
Test: no code change
Change-Id: I11d73e2d988ae61a168aa0f1cc7c2c506f509d30
Hugo Benichi [Fri, 16 Feb 2018 07:43:08 +0000 (07:43 +0000)]
Merge "Add missing'}' in javadoc of public API method"
am:
f50d9fbdc1
Change-Id: I3afcd9a3752ff6d158d68ca3ce19272151c1908c
Calin Juravle [Fri, 16 Feb 2018 05:34:41 +0000 (05:34 +0000)]
Merge "Pass the compilation reason to dexopt"
am:
b0817b238a
Change-Id: Id8b60a2963b35a44c9420d9846283091b5e0619e
Treehugger Robot [Fri, 16 Feb 2018 03:19:35 +0000 (03:19 +0000)]
Merge "Add missing'}' in javadoc of public API method"
Nathan Harold [Fri, 16 Feb 2018 03:05:49 +0000 (03:05 +0000)]
Merge "Fix LTE Timing Advance Doc String"
am:
3df127aefe
Change-Id: I3dfbe863080d3a5aadb01e77cd5a28861045b696
Bruno Martins [Fri, 16 Feb 2018 03:01:36 +0000 (03:01 +0000)]
Merge "NfcTile: Avoid NPE during boot up phase"
am:
3a419fe212
Change-Id: I352028c1974c38f2a88ffb6bdc49da7bd28d2204
Benedict Wong [Fri, 16 Feb 2018 02:47:49 +0000 (18:47 -0800)]
Correct bug in IpSecTransformTest
testCreateTransformsWithSameConfigEqual used assertFalse rather than
assertTrue
Bug:
69385347
Test: Passing on walleye
Change-Id: I8caa26e184e8bfc3e8acc9061d85c22d27ebf448
Mathieu Chartier [Fri, 16 Feb 2018 02:35:52 +0000 (18:35 -0800)]
Pass DEXOPT_INSTALL_WITH_DEX_METADATA_FILE for first boot
Motivation, use dm files in system partition for verifying if they
exist.
Bug:
70934104
Test: manual
Change-Id: I1224101eb830ce7c7bedb3a81b7569df1ef50491
Calin Juravle [Fri, 16 Feb 2018 02:25:48 +0000 (02:25 +0000)]
Merge "Pass the compilation reason to dexopt"
Dan Zhang [Fri, 16 Feb 2018 02:07:15 +0000 (02:07 +0000)]
Merge "Fix HdmiCecLocalDevice concurrent access"
am:
549082991d
Change-Id: I86dba1aa8ee360d5f813d3108902d6affd74b13f
Treehugger Robot [Fri, 16 Feb 2018 01:47:27 +0000 (01:47 +0000)]
Merge "Fix LTE Timing Advance Doc String"
Bruno Martins [Fri, 16 Feb 2018 01:40:50 +0000 (01:40 +0000)]
Merge "DndTile: Avoid NPE during boot phase"
am:
e134d23a7a
Change-Id: Iff3b41e08abc89956b924b40b6d72bf79a294eb0
Hall Liu [Fri, 16 Feb 2018 01:37:01 +0000 (01:37 +0000)]
Merge "Un-hide Connection-side RTT APIs for Dialer"
am:
d35e81d615
Change-Id: I2da7e7766d131500167f745cc50ae882edc832cf
Treehugger Robot [Fri, 16 Feb 2018 01:34:43 +0000 (01:34 +0000)]
Merge "NfcTile: Avoid NPE during boot up phase"
Andreas Gampe [Thu, 15 Feb 2018 23:12:38 +0000 (15:12 -0800)]
Framework: Disable [MissingOverride] for platformprotos
Bug:
72714520
Test: m javac-check-platformprotos RUN_ERROR_PRONE=true
Merged-In: I00f5a588fa74621d4c35dc4e39b54536815ad476
Change-Id: I00f5a588fa74621d4c35dc4e39b54536815ad476
Dan Zhang [Fri, 16 Feb 2018 01:17:02 +0000 (01:17 +0000)]
Merge "Fix HdmiCecLocalDevice concurrent access"
Hall Liu [Fri, 16 Feb 2018 00:38:10 +0000 (00:38 +0000)]
Merge "Add setting and logging for RTT"
am:
b823d08d21
Change-Id: I0207ee73eee69096dc83d89553d21d462886b788
Treehugger Robot [Fri, 16 Feb 2018 00:33:37 +0000 (00:33 +0000)]
Merge "DndTile: Avoid NPE during boot phase"
Treehugger Robot [Thu, 15 Feb 2018 23:56:55 +0000 (23:56 +0000)]
Merge "Un-hide Connection-side RTT APIs for Dialer"
Scott Kennedy [Thu, 15 Feb 2018 23:36:40 +0000 (15:36 -0800)]
Add @Nullable to return values in Uri
This makes it much easier to add null-safety when calling this from Kotlin.
Test: refactoring CL. Existing unit tests still pass.
Change-Id: I55c33ad4ff1306afd80c1a5562c54dfcb6068b0b
Xiangyu/Malcolm Chen [Thu, 15 Feb 2018 23:39:01 +0000 (23:39 +0000)]
Merge "Add NetworkRegistrationState into SS's list."
am:
9f92ed943c
Change-Id: I4c99214c0f8a2561795cd320f8ff87c072a7a9bd
Hall Liu [Mon, 4 Dec 2017 22:19:30 +0000 (14:19 -0800)]
Un-hide Connection-side RTT APIs for Dialer
Bug:
63934808
Test: builds
Change-Id: I59a892fb0e314810e92dd9ad7d0c2f4610055045
Merged-In: I59a892fb0e314810e92dd9ad7d0c2f461005504
Brad Ebinger [Thu, 15 Feb 2018 21:22:40 +0000 (21:22 +0000)]
Merge "Add new owners files for Telephony/Telecom frameworks files."
am:
1da6f542ef
Change-Id: I8d07cde7cc41393799228b1af49ee460e9cebd15
Nathan Harold [Thu, 15 Feb 2018 21:06:16 +0000 (13:06 -0800)]
Fix LTE Timing Advance Doc String
The Doc string for LTE timing advance incorrectly
lists the range based on the maximum size of an
incremental TA command rather than the cumulative
timing advance. The spec reference is correct, but
the range was wrong.
Bug:
66751464
Test: compilation (docstring only change)
Change-Id: I0242cae7af40a7d9ed5ae9a2a509592076e5b6a3
Hall Liu [Thu, 15 Feb 2018 21:01:10 +0000 (21:01 +0000)]
Merge "Add setting and logging for RTT"
Calin Juravle [Mon, 12 Feb 2018 20:00:44 +0000 (12:00 -0800)]
Pass the compilation reason to dexopt
Record the compilation reason in the oat files to enable better
performance monitoring.
Test: DexoptOptionsTest
manual
Bug:
73102540
Change-Id: Ifa487d4bc33dcd06f12af6bdd1d9a9c5f4562f4b
Calin Juravle [Thu, 15 Feb 2018 20:46:22 +0000 (20:46 +0000)]
Merge changes from topic "cp_calin_framework_2017"
am:
b98102b4dc
Change-Id: I524b166fbd551200a539a40e3531883b494f68db
Xiangyu/Malcolm Chen [Thu, 15 Feb 2018 19:01:59 +0000 (19:01 +0000)]
Merge "Add NetworkRegistrationState into SS's list."
Hall Liu [Tue, 30 Jan 2018 01:22:02 +0000 (17:22 -0800)]
Add setting and logging for RTT
Add a system setting to store preferred RTT mode for calls. Add logging
for RTT in Telecom base classes.
Bug:
63934808
Test: manual
Change-Id: Ie26fac800931604379bbe7b8abfed7caa8c0236d
Merged-In: Ie26fac800931604379bbe7b8abfed7caa8c0236d
Brad Ebinger [Thu, 15 Feb 2018 17:23:31 +0000 (17:23 +0000)]
Merge "Add new owners files for Telephony/Telecom frameworks files."
Treehugger Robot [Thu, 15 Feb 2018 16:17:06 +0000 (16:17 +0000)]
Merge changes from topic "cp_calin_framework_2017"
* changes:
Allow public profile compilation for primary apks
[framework] Pass .dm files to dexopt at install time
Extend the ArtManager profiling API to cover boot image profiling
[framework] Extend profile operations to take the profile name
Accept UserHandle.USER_ALL during profile preparation
[framework] Prepare profile for app code paths
Perform a non strict matching of .dm files when computing the size
Support installation of DexMetadata files (.dm)
Rename snapshotProfile to createProfileSnapshot for consistency
Implement ArtManager#snapshotProfile API
Add SystemApis to expose runtime profile information
Log SHA256 of secondary dex files during reconcile.
David Brazdil [Thu, 15 Feb 2018 13:01:54 +0000 (13:01 +0000)]
Merge "Update hidden API toast message"
am:
10034d94cf
Change-Id: I7e5c4c5333be8d1bc5722b0924c31a8ad94be29e
Chalard Jean [Thu, 15 Feb 2018 12:57:16 +0000 (12:57 +0000)]
Merge changes I3d68dbf8,I6ea524bb,I978d9119
am:
edab226d0e
Change-Id: I6ffc0a841d0aa8479bb5b6afba49c5130af879da
David Brazdil [Thu, 15 Feb 2018 11:55:15 +0000 (11:55 +0000)]
Merge "Update hidden API toast message"
Lorenzo Colitti [Thu, 15 Feb 2018 11:43:29 +0000 (11:43 +0000)]
Merge changes Icd56662d,I0ece820f
am:
47ef64b0d2
Change-Id: Ifd2ffe68cfff511d010ce5e755b4b680ad1df52c
Chalard Jean [Thu, 15 Feb 2018 11:25:36 +0000 (11:25 +0000)]
Merge changes I3d68dbf8,I6ea524bb,I978d9119
* changes:
Deprecate CONNECTIVITY_ACTION.
Publish FOREGROUND and add NOT_SUSPENDED capabilities.
Send null UIDs to apps instead of single-uid lists.
Lorenzo Colitti [Thu, 15 Feb 2018 10:03:26 +0000 (10:03 +0000)]
Merge changes Icd56662d,I0ece820f
* changes:
Restrict OWNERS in android.net.*
Add OWNERS to the libandroid_net library.
David Brazdil [Wed, 14 Feb 2018 22:36:34 +0000 (22:36 +0000)]
Update hidden API toast message
Change the toast message shown by an Activity when VMRuntime reports
that the app has used a private API.
(a) fix a typo: compatiblity -> compatibility
(b) change guidance from "please consult log" to "go to <url> for
more info" where devs can learn how to proceed if their app does
have compatibility issues.
Bug:
64382372
Test: make, visual
Change-Id: Idbe32a724438bb7b0826d0b4e11ef505015cb321
Lorenzo Colitti [Thu, 15 Feb 2018 07:43:44 +0000 (16:43 +0900)]
Restrict OWNERS in android.net.*
Test: None
Change-Id: Icd56662dcbc86b49015d094fd8ae2ade235aa475
Lorenzo Colitti [Thu, 15 Feb 2018 06:51:58 +0000 (15:51 +0900)]
Add OWNERS to the libandroid_net library.
Test: None
Change-Id: I0ece820fc0de786a81df9f922135acdf92f1d136
Jakub Pawlowski [Thu, 15 Feb 2018 05:37:45 +0000 (05:37 +0000)]
Merge "Hearing Aid profile"
am:
aca4460b64
Change-Id: I2f0367b57ec720c3b46b0f2984b77068db3fa3c1
Treehugger Robot [Thu, 15 Feb 2018 04:14:43 +0000 (04:14 +0000)]
Merge "Hearing Aid profile"
Tyler Gunn [Wed, 14 Feb 2018 22:37:17 +0000 (14:37 -0800)]
Add new owners files for Telephony/Telecom frameworks files.
Test: N/A
Bug:
73373651
Change-Id: Ia0e19018d6cd72923f9f20b372d303fa532409b0
Malcolm Chen [Tue, 13 Feb 2018 23:42:58 +0000 (15:42 -0800)]
Add NetworkRegistrationState into SS's list.
Add hidden API to add NetworkRegistrationState into SS's
NetworkRegistrationState list.
Bug:
73305596
Test: unittest
Change-Id: Ief7f22632c1f3400c01663d13b990dc9b0d59e2e
Jakub Pawlowski [Wed, 22 Nov 2017 19:02:34 +0000 (11:02 -0800)]
Hearing Aid profile
This is implementation of Hearing Aid Profile that will in future
be connected to Bluetooth Manager - see TODOs in BluetoothHearingAid.java
Bug:
69623109
Test: compilation. Manual test with HA.
Change-Id: I79643ea1e14e9df7f5771169359c964a60c56618
Benedict Wong [Wed, 14 Feb 2018 21:14:19 +0000 (21:14 +0000)]
Merge "Copy IpSecConfig when IpSecTransforms are created"
am:
2c8456b22e
Change-Id: I24ac6baa0492a46bf5810bc6bc146d9aaa9eccab
Chen Xu [Wed, 14 Feb 2018 21:00:42 +0000 (21:00 +0000)]
Merge "add a current table in CarrierIdProvider"
am:
3fa6fe2117
Change-Id: I5e734d3b55332e5d9bb5bc27515625456edb5df5
Benedict Wong [Wed, 14 Feb 2018 19:37:53 +0000 (19:37 +0000)]
Merge "Copy IpSecConfig when IpSecTransforms are created"
Chen Xu [Wed, 14 Feb 2018 18:54:06 +0000 (18:54 +0000)]
Merge "add a current table in CarrierIdProvider"
Brad Ebinger [Fri, 9 Feb 2018 00:06:31 +0000 (16:06 -0800)]
MSIM support for hidden IMS capability and registration query APIs.
Modifies TelephonyManager APIs to better support MSIM devices
and adds a method to query MMTEL IMS Registration technology.
Test: Manual, telephony unit tests.
Bug:
35128252
Merged-In: Ie37185bd3477635094a0db998918ba5ad59842be
Change-Id: Ie37185bd3477635094a0db998918ba5ad59842be
Calin Juravle [Thu, 1 Feb 2018 17:23:13 +0000 (17:23 +0000)]
Allow public profile compilation for primary apks
It is ok to perform a "public" compilation with
profiles comming from dex metdata files.
(cherry picked from commit
ff3e4a1b2fb082e8146d00a41f702d0b00d9cab0)
Test: adb install foo.apk foo.dm
Bug:
30934496
Merged-In: I1d15e3281ccc61b19a2aafe3c885285a83ff6115
Change-Id: I1d15e3281ccc61b19a2aafe3c885285a83ff6115
Calin Juravle [Thu, 1 Feb 2018 17:20:51 +0000 (17:20 +0000)]
[framework] Pass .dm files to dexopt at install time
(cherry picked from commit
cc65194e8e5a284e915176200a846ec75c037d95)
Test: DexoptOptionsTest
adb install foo.apk foo.dm
Bug:
30934496
Merged-In: If7e705a0efc0954a385ec3bfe7a93921c0d83351
Change-Id: If7e705a0efc0954a385ec3bfe7a93921c0d83351
Calin Juravle [Mon, 22 Jan 2018 05:39:18 +0000 (21:39 -0800)]
Extend the ArtManager profiling API to cover boot image profiling
The boot image profile is available only on userdebug and eng builds and
combines the boot classpath and system server classpath.
Also, update ArtManager API to use Executors instead of Handlers.
(cherry picked from commit
fcbb74a4296fd808e1058ecebd91fac56582e799)
Test: gts GtsAndroidRuntimeManagerHostTestCases
Bug:
30934496
Merged-In: Ie501947a659d644acbde04fb46157dd0c7944e81
Change-Id: Ie501947a659d644acbde04fb46157dd0c7944e81
Calin Juravle [Sat, 20 Jan 2018 04:32:47 +0000 (20:32 -0800)]
[framework] Extend profile operations to take the profile name
Extend the installd profile interface to take the profile name as
argument. This shifts the responsibility for choosing the names of
profiles for primary apks completely to PackageManager. Each of the
application code paths will get an unique profile name based on their
split name.
All the profile operations will now work on a specific profile name rather
than assuming a default global name.
Also, move dumpProfiles and clearProfiles functionality to the
ArtManagerService so that we can re-use profileName computations easier.
(cherry picked from commit
6ae39fc2e5b4692d092a042816939fd0a5f3e3b8)
Test: manual (dexopt apps, merge profiles, clear profiles)
gts GtsAndroidRuntimeManagerHostTestCases
Bug:
30934496
Merged-In: Ie65d45eed7de0844edf4b7af918d7eaa74ec1f2c
Change-Id: Ie65d45eed7de0844edf4b7af918d7eaa74ec1f2c
Calin Juravle [Wed, 24 Jan 2018 22:43:24 +0000 (14:43 -0800)]
Accept UserHandle.USER_ALL during profile preparation
(cherry picked from commit
5bbe26ee01bc9785487fe5e748e624b6fc5bd3a4)
Test: adb install foo.apk
Bug:
72453027
Merged-In: I840d70d47a256c8853bbe1b9b023f51bdd5ddf6b
Change-Id: I840d70d47a256c8853bbe1b9b023f51bdd5ddf6b
Calin Juravle [Thu, 18 Jan 2018 23:17:29 +0000 (15:17 -0800)]
[framework] Prepare profile for app code paths
This CL is an intermediate step to enable the use of profiles shipped in
the dex metadata files.
The preparation consist of:
- creating the current profile
- merging the profile from the dex metadata file (if present) into the
reference profile
and happens:
- after the application data directory is created, to capture system
apps.
- post-install (right before we dexopt), to capture any new code paths
(cherry picked from commit
3621be71d0fe8a349ca468aca99a53a17f6575b3)
Test: manual (install apps and splits, take OTA)
Bug:
30934496
Merged-In: Id36474ab629ad3ffafd24381d30e3d88ac02d576
Change-Id: Id36474ab629ad3ffafd24381d30e3d88ac02d576
Calin Juravle [Mon, 22 Jan 2018 20:50:01 +0000 (12:50 -0800)]
Perform a non strict matching of .dm files when computing the size
'adb shell pm install' creates the PackageLite structure without
validating or renaming the input files to '.apk'.
Be more permissive in DexMetadataHeler when computing the size of the
package to allow for this scenario.
(cherry picked from commit
10b27eb2ccbb8992895827c0fb21e2d3f9c727db)
Test: atest
core/tests/coretests/src/android/content/pm/dex/DexMetadataHelperTest.java
Bug:
72267410
Merged-In: Ica446b0822be71826d02d01ada015a43d8133c68
Change-Id: Ica446b0822be71826d02d01ada015a43d8133c68
Jiyong Park [Wed, 14 Feb 2018 16:08:59 +0000 (16:08 +0000)]
Merge "Fix link-type check warning on PMTest_Java* test apps"
am:
779f561650
Change-Id: Iccbb6f4f98aece6ee8d5f41c95e5f0eb56bff94e
Calin Juravle [Tue, 12 Dec 2017 02:26:13 +0000 (18:26 -0800)]
Support installation of DexMetadata files (.dm)
Add support in the package installer to install dex metadata files
alongside the application apks (base or splits).
During installation or update the dex metadata files will need to have a
matching apk file. The matching is done by checking the file extension
(e.g. base.apk -> base.dm, split_a.apk -> split.dm).
On disk, the metadata files are placed next to the apks.
The .dm files will be used during install-time optimizations and passed
verbatim to dex2oat.
Test: adb shell am instrument -w \
1) adb shell am instrument -w \
-e class android.content.pm.DexMetadataHelperTest
com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
2) adb install-multiple CtsClassloaderSplitApp.apk
CtsClassloaderSplitApp.dm CtsClassloaderSplitAppFeatureA.apk
CtsClassloaderSplitAppFeatureA.dm CtsClassloaderSplitAppFeatureB.apk
3) gts-tradefed -m GtsAndroidRuntimeManagerHostTestCases
(cherry picked from commit
3fc56c30000d9b88c2145d4297a97ec5061d60d1)
Bug:
30934496
Merged-In: I86f0a8307705ff3d6a5a85c2fcaae085dd62d4af
Change-Id: I86f0a8307705ff3d6a5a85c2fcaae085dd62d4af
Calin Juravle [Tue, 5 Dec 2017 20:33:32 +0000 (12:33 -0800)]
Rename snapshotProfile to createProfileSnapshot for consistency
(cherry picked from commit
388cd5fffe7564ae364776d7f557e3a301387840)
Test: build
Bug:
30934496
Merged-In: I602262d22509b279383ff2a71e38c8bae059498a
Change-Id: I602262d22509b279383ff2a71e38c8bae059498a