Commit Graph

468813 Commits

Author SHA1 Message Date
Beth Thibodeau
0a9d74fc03 Merge "Screen record status bar icon" 2020-02-14 21:15:46 +00:00
Ruchir Rastogi
00763a3bee Delete stats_event_list refs from statsd src
This breaks LogEvent::writeBytes, but that function is only called from
test code (and those tests are about to be broken soon anyways).

Test: m statsd
Test: m statsd_test
Bug: 145573568

Change-Id: Ic2d2e7c80d25fa93269e3432dbe58dffbd80dfd4
2020-02-14 13:11:15 -08:00
Yohei Yukawa
08e9134546 Logically revert previous attempts on Bug 139806621
To explore different approaches to tackle Bug 139806621, this CL first
reverts our previous attempts [1][2] that turned out to be not
successful as we hoped [3].

Our high level strategy is 1) temporarily going back to our previous
well-known algorithm first then 2) trying a different approach.  In
this way, hopefully we can maximize the chance of fixing Bug 139806621
with minimizing the total complexity.  Also any unconfirmed
regressions that we might have introduced in our previous attempt
other than Bug 144103599 and Bug 144174015 are expected to disappear
after this revert.

 [1]: I6aa4a664cfd0c86f75cee2457715317194bbe5e2
      e0172102b9
 [2]: I98cb044d8cbfb80480312a3923f168aefa9b7e7d
      322ee9bf9e
 [3]: Still seeing that the UI thread is being blocked at the later
      point. Also triaging cost of regressions such as Bug 144103599,
      Bug 144174015 and Bug 147331480

Bug: 139806621
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: Id73f0d5efb68bb4c5c8ef3dfb974c7a4f9457581
2020-02-14 12:45:22 -08:00
Calin Juravle
cb3d0f7ab5 Merge "[DexLoadReporter] Report classloader contexts directly from classloader" am: 5a01991fef am: ce9b12f5bf
Change-Id: I55eb1b61f848b993d17d54e68f0e6403c61e456d
2020-02-14 20:42:33 +00:00
Calin Juravle
ce9b12f5bf Merge "[DexLoadReporter] Report classloader contexts directly from classloader" am: 5a01991fef
Change-Id: Ida294271950c3f330f1acb2150ac3892db88ab64
2020-02-14 20:29:11 +00:00
Ivan Lozano
18d80b13f7 Merge "Remove execute-only memory related code." am: 615ef33216 am: cd3df3eeeb
Change-Id: Id5c89b418eb476cb2360e710a1d6244a3c4334ba
2020-02-14 20:22:20 +00:00
Danning Chen
1cc7197864 Cache the shortcut if the user has changed the conversation's notification settings
Change-Id: Ic4125e5fa510e82d13a578f7c7aa03c397b80354
Bug: 146522621
Test: atest com.android.server.people.data.DataManagerTest
Test: atest com.android.server.people.data.ConversationInfoTest
2020-02-14 12:20:46 -08:00
Paul Hu
4daaa833de Merge "Add ACTION_TETHER_SETTINGS" am: 77e6024c01 am: 06c0f60a2b am: 5e7e9b09aa
Change-Id: Idfc4b99208b07e8a556a9350065de63ac06ac194
2020-02-14 20:20:41 +00:00
Zoey Chen
9eff799efd Merge "[Settings] Expose @hide APIs as @SystemApi" am: 3091498e78 am: 8811b44dd1 am: 5819e2c0ad
Change-Id: Iadd3ec32e21e0c6bcf716be854121a5125532b2f
2020-02-14 20:19:49 +00:00
Roshan Pius
71be333ebb [automerger skipped] Merge "RELAND: NetworkRequest: Embed requestor uid & packageName" am: 3819be4271 -s ours am: f66d933b13 am: 45f6580b9a
Change-Id: I499c41c4a635ed521094d45e817859298e6ee2c7
2020-02-14 20:19:30 +00:00
TreeHugger Robot
0d5e9bfdce [automerger skipped] Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: d82258283a -s ours am: 0c18826cd8 -s ours
am skip reason: subject contains skip directive

Change-Id: I6389a0fa23cbeab2d2005f5546ba31bcff559415
2020-02-14 20:18:47 +00:00
TreeHugger Robot
9b43032497 [automerger skipped] Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: c01e98b6a4 -s ours am: ec079d39f7 -s ours
am skip reason: subject contains skip directive

Change-Id: I1bad62a475cfd38db7e7f5e75dc6c5addd2b9425
2020-02-14 20:18:01 +00:00
TreeHugger Robot
bb0aca7cb2 [automerger skipped] Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: c013d7c189 -s ours am: cccea53c60 -s ours
am skip reason: subject contains skip directive

Change-Id: I6272e6c0b6f3a586c07b926b0481f31d38816dc7
2020-02-14 20:17:36 +00:00
TreeHugger Robot
cf3e61ca8e [automerger skipped] Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 8078d2f418 -s ours am: 9f54820770 -s ours
am skip reason: subject contains skip directive

Change-Id: Ide6db8e306cd896276f3c7c475458ca8a27f3775
2020-02-14 20:17:10 +00:00
Calin Juravle
5a01991fef Merge "[DexLoadReporter] Report classloader contexts directly from classloader" 2020-02-14 20:16:24 +00:00
Treehugger Robot
f7c6809cdc Merge "[vts-core] add vts_defaultPermissions_validate_test to vts-core" am: 65be777fab am: 551116b921 am: 12239b0a6c
Change-Id: I2e43d9f7e7b8c2947dbdc8a1b3e6c29584a25b6e
2020-02-14 20:16:21 +00:00
Ytai Ben-tsvi
8d1b94af3c Merge "Avoid risk of deadlock between APM and sound trigger" 2020-02-14 20:15:58 +00:00
TreeHugger Robot
0c35274875 [automerger skipped] Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 8fb59c3ac0 -s ours am: 59664bda13 -s ours
am skip reason: subject contains skip directive

Change-Id: I851935e1218c6611cf0b421304bdc6513d369cfe
2020-02-14 20:15:46 +00:00
TreeHugger Robot
6cef8fbe5e [automerger skipped] Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: d517cdb2c7 -s ours am: 5686e7157f -s ours
am skip reason: subject contains skip directive

Change-Id: I269314dae2993ed056c90a05911576289024f06f
2020-02-14 20:15:05 +00:00
TreeHugger Robot
c01f968031 [automerger skipped] Merge "Import translations. DO NOT MERGE" into stage-aosp-master am: 5f8b350796 -s ours am: 757cc019e7 -s ours
am skip reason: subject contains skip directive

Change-Id: I220875cc5110f6fdf47320cfb78fdc50967173e1
2020-02-14 20:14:14 +00:00
Automerger Merge Worker
7a5a267a25 Merge "Merge "Ensure adb key store is instantiated before revoking grants" into qt-qpr1-dev am: b6f974b26b" into qt-qpr1-dev-plus-aosp am: 7f74ca73be
Change-Id: I6faf74abbb08c0b86a2d976fdcf4250808e20243
2020-02-14 20:13:42 +00:00
Treehugger Robot
c294eecfe1 Merge "Update counters for session encryption to start at 1." am: ae97b320d0 am: 61856cc926 am: d4a7179271
Change-Id: I54af1835b167f1ed980b510e3acb11f26e39a5da
2020-02-14 20:13:19 +00:00
Dmitry Dementyev
96fe0ac0bc Merge "Remove hidden shared account methods from AccountManager.java" into qt-qpr1-dev am: eab74f8e20 am: 4976a53208
Change-Id: I752977c5e3e661cfa55699f3bb2242b783223602
2020-02-14 20:12:47 +00:00
Ivan Lozano
cd3df3eeeb Merge "Remove execute-only memory related code." am: 615ef33216
Change-Id: I7cb27a466c9260f2243e24ac57c4d3b31e7acf80
2020-02-14 20:11:57 +00:00
Benedict Wong
d722ae89de [automerger skipped] Merge "Implement Ikev2VpnRunner" am: b5bb5d4ba1 am: ac609b99bf am: 65e8d4e841 -s ours
am skip reason: skipped by user benedictwong

Change-Id: Ie1f6f8dbd10161342a7f14935def73820a68b057
2020-02-14 20:11:15 +00:00
TreeHugger Robot
3c183c7a20 Merge "Default wake on plug to false" 2020-02-14 20:09:27 +00:00
Remi NGUYEN VAN
d766bad766 Update NetworkMonitor integration test constructor
Add the service manager argument that is added for the notification
manager.

Test: atest FrameworksNetIntegrationTests
Bug: 139269711
Change-Id: Ie657687000a068b3892d04440b20b3408e875a00
2020-02-15 05:00:35 +09:00
Remi NGUYEN VAN
763587e2f1 Add CaptivePortalApiUrl to DhcpResults
The URL will be used by DhcpClient to return it in its results.
It will not be parceled in DhcpResultsParcelable, but instead sent
through LinkProperties to network agents.

Bug: 139269711
Test: atest NetworkStackTests with associated NetworkStack change

Change-Id: I4ec9e7f5efece3ede9b0da5eb1b75d8d43b94ba9
2020-02-15 05:00:35 +09:00
Remi NGUYEN VAN
91aa5bc463 Send LinkProperties update on new capport data
When new CaptivePortalData is received from NetworkMonitor, send a
LinkProperties updated callback.
The updated LinkProperties only contain CaptivePortalData if the
receiver has NETWORK_SETTINGS or MAINLINE_NETWORK_STACK permissions, as
defined in the current callback code.

Test: atest FrameworksNetTests
Bug: 139269711

Change-Id: I68595a519171b31792259849efff5f58c43cacd4
2020-02-15 05:00:17 +09:00
Josh Tsuji
fb07fc0284 Merge "Adds currentlyResolvingConflicts to the coordinator." 2020-02-14 19:59:18 +00:00
Ivan Lozano
615ef33216 Merge "Remove execute-only memory related code." 2020-02-14 19:52:00 +00:00
Eric Sandness
b37c4f82bb Add metrics for DPC setup
Track when DPC starts and finishes during provisioning.  We'll also
track whether the DPC runs during Setup Wizard, or after.

Bug: 149476402
Test: compiles
Change-Id: Ic49e617799b6c672df3e668856a1ad6e67638b97
2020-02-14 19:51:52 +00:00
TreeHugger Robot
c6b89516e3 Merge "Add global frame histograms into SF atoms" 2020-02-14 19:48:23 +00:00
Howard Ro
833a785548 Merge "Use renamed AStatsSocket_close()" 2020-02-14 19:43:21 +00:00
Wonsik Kim
dba4dfa127 Revert "Move libstatspull to the apex"
This reverts commit 36f0eeaf10.

Reason for revert: major functional regression
Bug: 149538115
Change-Id: I7cc3c1a62e9d2d0bac7fc77848eeacbf8dc7dbe2
2020-02-14 19:37:58 +00:00
Wonsik Kim
d3f06c5f84 Revert "Move libstatssocket to apex"
This reverts commit 3f17225f75.

Reason for revert: major functional regression
Bug: 149538115
Change-Id: Ic5650a09afcfb735668a6ef35cfefc6c4c915a20
2020-02-14 19:35:04 +00:00
TreeHugger Robot
963af512b1 Merge "Pull shared testable subclasses into their own files." 2020-02-14 19:21:42 +00:00
Alex Kershaw
d2ace1b792 Merge "Add cross-profile metrics to proto file" 2020-02-14 19:20:37 +00:00
Aran Ink
fc93f02dce Merge "Simplify GlobalActionsFlatLayout and fix dismiss" 2020-02-14 19:18:32 +00:00
Adam He
4011625638 Move rendering logic for inline suggestions to ExtServices.
Added a render service in ExtServices to connect to the renderer in
androidx.autofill for inline suggestion slices.

Cleaned up old UI rendering code that lived in system_server.

Bug: 146453086
Test: atest ExtServicesUnitTests
Change-Id: I25a7ea438afe524683671c850625ae80dacccfaa
2020-02-14 11:15:43 -08:00
TreeHugger Robot
3eed349051 Merge "Surface GESTURE_START and GESTURE_END constants" 2020-02-14 19:07:58 +00:00
TreeHugger Robot
85cb4fb785 Merge "Fix TEST_MAPPING file for integrity component." 2020-02-14 19:07:49 +00:00
Danning Chen
7af601e8ed Listen to the notification posted events from NotificationListenerService instead
UsageStats NOTIFICATION_INTERRUPTION events are only created if a
conversation has its own conversation-specific notification channel
created. Switch to NotificationListenerService so that we could get the notification posted events from all conversations.

Bug: 146522621
Test: atest com.android.server.people.data.DataManagerTest
Test: atest com.android.server.people.data.UsageStatsQueryHelperTest
Change-Id: Iaa120567891144a952707deb5cea1321aa28341c
2020-02-14 10:59:52 -08:00
Danning Chen
94580df0a8 Move the initialization of Call/SMS/MMS content observers out of the DataManager constructor
This change is to speed up the system boot time. The people service
start time will be reduced from ~1.5 ms to ~0.5 ms.

Bug: 149245782
Test: Manual run with System.nanoTime() logged
Change-Id: I9114b3c9e3637b2498618220665cd98df1d1f994
2020-02-14 10:59:52 -08:00
TreeHugger Robot
a62ad78758 Merge "Added log statements to some user-switching tasks." into qt-qpr1-dev am: 2c4c1f1e6d
Change-Id: I0a3a030db3e6b512cb9d81c176873dc2ffbc635e
2020-02-14 18:57:57 +00:00
Yuliya Kamatkova
268d43ef3f Merge "Pass Activity LocusContext to the Content Capture." 2020-02-14 18:56:29 +00:00
Philip P. Moltmann
b992f8cc27 Handle ALL_OPs case in ModeCallBack.toString
Fixes: 149543615
Test: dumpsys appops
Change-Id: I461dd65231a9fbc29dd033d08cc5082ae1c2e92b
2020-02-14 10:52:18 -08:00
Nick Chalko
9a6d9858ac Default wake on plug to false
Bug:149479986
Change-Id: Id8c6f083d5d25b4db8cc4d7809b6681a6b234547
Test: m framework
2020-02-14 18:51:39 +00:00
TreeHugger Robot
ac21f74938 Merge "Reduce allocations in hot paths" 2020-02-14 18:47:41 +00:00
TreeHugger Robot
2c4c1f1e6d Merge "Added log statements to some user-switching tasks." into qt-qpr1-dev 2020-02-14 18:46:51 +00:00