Chris Wailes
7699d61bc5
Purge unused native memory before Zygote fork events
...
This CL causes the Zygote to purge unused native memory before fork
events. This results in a decrease in the RSS before a fork, which
decreases false sharing between parent and child, and results in less
private dirty memory in the child when allocations and deallocations
begin to dirty bookkeeping data on pages in the anon:libc_malloc
memory region.
The result of these changes is a negligible change to application
startup times, the reduction of usap32 process private dirty memory by
40 KiB and usap64 process private dirty memory by 128 KiB. Application
RSS and private dirty memory usage (for Calendar) was reduced by 804 KiB
and 624 KiB respectively.
Test: Launched Calendar 500 times
Change-Id: I52f72a5a02182a9e2748f7f87b45665059d9891a
2020-01-29 15:37:32 -08:00
TreeHugger Robot
f82fd3dc81
Merge "Make direct share work with the work profile tab."
2020-01-24 23:50:28 +00:00
JW Wang
b359190aea
Merge "Move mPackageSessionIds and related code into Rollback (3/n)"
2020-01-24 23:44:57 +00:00
TreeHugger Robot
07f734607f
Merge "Give CONTROL_DEVICE_LIGHTS permission to the shell"
2020-01-24 23:24:23 +00:00
TreeHugger Robot
f61162a002
Merge "Combine package parsing thread pools"
2020-01-24 23:18:57 +00:00
Hall Liu
880983bc0a
Merge "Expose various Telecom constants"
2020-01-24 22:46:43 +00:00
TreeHugger Robot
bc28d994d1
Merge "Add calling package verification for ATM binder calls"
2020-01-24 22:43:54 +00:00
Sudheer Shanka
4266a1994b
Merge changes from topics "persist-data", "pkg-uninstall"
...
* changes:
Delete sessions belonging to uninstalled packages.
Persist committed blobs data and any pending sessions.
2020-01-24 22:42:38 +00:00
TreeHugger Robot
0111ea772c
Merge "Fix visual artifacts in some multi-window scenarios"
2020-01-24 22:10:44 +00:00
TreeHugger Robot
607b7ab283
Merge "Move euicc related file to telephony."
2020-01-24 22:08:50 +00:00
Sergey Volnov
ac90cd8bf9
Merge "Implement data sharing API for Content Capture."
2020-01-24 22:05:27 +00:00
Baligh Uddin
78acb10560
Merge "Remove hardcoded min, targetSDK for 'R' version of modules"
2020-01-24 22:04:30 +00:00
Evan Rosky
659a8bc08f
Merge "Move IWindowContainer to WindowContainer"
2020-01-24 21:29:56 +00:00
Soonil Nagarkar
614210991b
Merge "Add DPM API to request location provider enable"
2020-01-24 21:27:31 +00:00
Vinit Nayak
b320cbccf6
Merge "Add rotation field to ThumbnailData for task snapshots"
2020-01-24 21:24:24 +00:00
Hongming Jin
5abf503bfa
Merge "Add a boot time service in sysUI to register system actions with accessibility registration API."
2020-01-24 21:22:28 +00:00
Yuliya Kamatkova
56f7c7f37c
Merge "Add Activity#setLocusContext API. Plumb LocusID to the System Server. Add locus update event to the Usage Stats. Test: Build and run on a test device with a test app. Bug: 147594233, 147100454"
2020-01-24 21:10:54 +00:00
Suprabh Shukla
30295f5421
Merge "Add an unsuspend button option to SuspendDialogInfo"
2020-01-24 21:08:21 +00:00
Jian-Yang Liu
435384cc29
Merge "Updated StatusIconContainer to read status_bar_system_icon_spacing configuration value to determine how to space out system icons."
2020-01-24 21:06:36 +00:00
Wonsik Kim
2597e754be
Merge "Partial revert of commit ccb7ac6b6552c0692cf002364cdaaba676d47350"
2020-01-24 21:06:28 +00:00
Robin Lee
413dd36486
Give CONTROL_DEVICE_LIGHTS permission to the shell
...
Bug: 144979010
Bug: 144978691
Test: atest LightsManagerTest
Change-Id: I2b4224e79e013bae27ee068b0a0898b5afa5489a
2020-01-24 21:57:36 +01:00
Ying Xu
4b0dec268d
Merge "[Telephony Mainline] Remove hidden API usages in CarrierAppUtils"
2020-01-24 20:55:31 +00:00
Andrii Kulian
f9e5c9fe46
Add calling package verification for ATM binder calls
...
In some methods in ActivityTaskManagerService and AppTaskImpl we were
not validating if the callingPackage parameter that's passed in from
binder actually belongs to the calling uid. But some of our security
checks involve retrieving properties of the callingPackage, e.g.
ActivityStackSupervisor.getActionRestrictionForCallingPackage(),
and apps were able to circumvent these checks.
This CL adds checks that provided package name belongs to the calling
UID in ATM binder calls, and throws an exception if it doesn't.
Bug: 137395936
Test: Build & flash
Change-Id: I28608fd31bdbc56b758696a5e3b042c20d59c071
2020-01-24 12:48:54 -08:00
Rob Carr
b6a5575a0f
Merge "Replace deferTransactionUntilSurface with deferTransactionUntil"
2020-01-24 20:22:06 +00:00
Daniel Chapin
4cdb76143f
Merge "Revert "Intercepting activites that could cause lock task mode violation in ActivityStartInterceptor.""
2020-01-24 20:13:15 +00:00
TreeHugger Robot
8975fb9c6d
Merge changes I4e0bac46,I86f92508
...
* changes:
Marks resolved webview provider as visible
Make PackageManagerInternal#getPackageUid internal
2020-01-24 20:06:45 +00:00
Ömer Nebil Yaveroğlu
8d22767445
Merge "Various API changes including:"
2020-01-24 19:48:30 +00:00
Wonsik Kim
1cac425df9
Partial revert of commit ccb7ac6b65
...
Revert android_media_MediaCodec_queueSecureInputBuffer only.
Bug: 148192445
Test: Play Movies
Change-Id: I95350bb16f49faa557e26ecd87cc6c223aa187a1
2020-01-24 11:45:37 -08:00
Winson Chiu
6fe95622e9
Merge "Only throw SecurityException for OverlayManager callers targeting R"
2020-01-24 19:40:05 +00:00
TreeHugger Robot
c318347257
Merge "Rollback the dummy placeholder since the proto is updated to long and it does not cause build breakage."
2020-01-24 19:30:39 +00:00
Marco Nelissen
7f43cb9a5b
Merge "Fix handling of H.263 level 45"
2020-01-24 19:30:23 +00:00
Yuliya Kamatkova
48c38076ef
Add Activity#setLocusContext API. Plumb LocusID to the System Server.
...
Add locus update event to the Usage Stats.
Test: Build and run on a test device with a test app.
Bug: 147594233, 147100454
Change-Id: I1e058ac87244d47719606d8dcfaea2df4bff43d2
Signed-off-by: Yuliya Kamatkova <yuliyak@google.com >
2020-01-24 11:19:10 -08:00
Automerger Merge Worker
6e74001d48
[automerger skipped] Merge "Fix javadoc build break s/line/link/" am: 5cd89ebb01 am: 7d2cbc1253 am: 05c986c499 -s ours
...
am skip reason: Change-Id I9df208a9b063b71b2f6cc3099005d1ab38044cd2 with SHA-1 edf6b3d990 is in history
Change-Id: I4051342bd696bdc440b3a7ceeeef62ea9b47723d
2020-01-24 19:06:53 +00:00
Automerger Merge Worker
f9ad8bd357
Merge "Support API to toggle IMS on and off." am: bae97dc91e am: f24dfaf17f am: f50402e897
...
Change-Id: I0a786d0ce08ca2fc1eb06aa9d424df5ae1d99cfd
2020-01-24 19:06:33 +00:00
Automerger Merge Worker
05c986c499
Merge "Fix javadoc build break s/line/link/" am: 5cd89ebb01 am: 7d2cbc1253
...
Change-Id: I2debe1dca84bbe175be89686f746bf19f785dda9
2020-01-24 18:57:25 +00:00
Cody Kesting
7d2cbc1253
Merge "Fix javadoc build break s/line/link/"
...
am: 5cd89ebb01
Change-Id: Iba1f8ec62784f68bc415690ccf5966445c9b3542
2020-01-24 10:55:47 -08:00
Automerger Merge Worker
f50402e897
Merge "Support API to toggle IMS on and off." am: bae97dc91e am: f24dfaf17f
...
Change-Id: I04f97cc74af381f68c5d37d3e103f5208b7c4ac2
2020-01-24 18:52:48 +00:00
Automerger Merge Worker
63bce6f879
[automerger skipped] Merge "[Telephony Mainline] Expose APIs in SubscriptionManager" am: c0e02ab436 am: caabef3f2c am: 14fd45671c -s ours
...
am skip reason: Change-Id Icaff3117cab45e6458931a600fa8d63821e0fe13 with SHA-1 37916d6213 is in history
Change-Id: Ic99008f33dc47fcf1d915388181f655fa645da2b
2020-01-24 18:48:19 +00:00
Automerger Merge Worker
6e400d8819
Merge "Add API for apps to check if they are the network owner" am: e021269f8d am: 23f27778e3 am: 532b34a3c8
...
Change-Id: Ibe4cc2bd1d588dcbccd83f53ee3da9d067ae85b6
2020-01-24 18:47:28 +00:00
Grace Jia
f24dfaf17f
Merge "Support API to toggle IMS on and off."
...
am: bae97dc91e
Change-Id: Id7a1a75472b13d5fbfa520dbdefc29e9c3a9b90e
2020-01-24 10:45:36 -08:00
TreeHugger Robot
394041d988
Merge "Add hinge angle sensor type to sensors framework"
2020-01-24 18:45:01 +00:00
Automerger Merge Worker
14fd45671c
Merge "[Telephony Mainline] Expose APIs in SubscriptionManager" am: c0e02ab436 am: caabef3f2c
...
Change-Id: I3a07a7e1f1e95aafe1f50f4f33f50c01ba2454fd
2020-01-24 18:41:28 +00:00
Cody Kesting
5cd89ebb01
Merge "Fix javadoc build break s/line/link/"
2020-01-24 18:37:51 +00:00
Peter Wang
caabef3f2c
Merge "[Telephony Mainline] Expose APIs in SubscriptionManager"
...
am: c0e02ab436
Change-Id: I8599664e033e579f18acf30203fa3ff9207122a2
2020-01-24 10:37:27 -08:00
Grace Jia
bae97dc91e
Merge "Support API to toggle IMS on and off."
2020-01-24 18:36:40 +00:00
Baligh Uddin
4acc296733
Remove hardcoded min, targetSDK for 'R' version of modules
...
BUG: 130541924
Change-Id: Idba436b7983c92e5a4f727e32456552bccb3990f
Exempt-From-Owner-Approval: baligh@ approving to unblock TM
2020-01-24 10:36:11 -08:00
Marco Nelissen
ded9b059ba
Merge "MediaMetadataRetriever: parse genre tags"
2020-01-24 18:36:03 +00:00
Automerger Merge Worker
532b34a3c8
Merge "Add API for apps to check if they are the network owner" am: e021269f8d am: 23f27778e3
...
Change-Id: Ifbcc5782a2413ec455896af52a9ac26bc3cda82c
2020-01-24 18:35:13 +00:00
Treehugger Robot
c0e02ab436
Merge "[Telephony Mainline] Expose APIs in SubscriptionManager"
2020-01-24 18:31:32 +00:00
TreeHugger Robot
7e84c58aa3
Merge "Fix lint warning"
2020-01-24 18:26:42 +00:00