Ruchir Rastogi
e4fd321616
Migrate pullRoleHolder to new API
...
Test: adb shell cmd stats pull-source 10049
Test: atest CtsStatsdHostTestCases:UidAtomTests#testRoleHolder
Bug: 145565211
Change-Id: I249140c5721e21fb4eabd29429e44758ead1a109
2020-01-17 14:08:11 -08:00
Ruchir Rastogi
97050e1c0b
Migrate pullAppOps to new API
...
Test: adb shell cmd stats pull-source 10060
Bug: 145565211
Change-Id: Ie8f6d1b7706ea10b531d9732e9914477b47df431
2020-01-17 14:07:48 -08:00
Ruchir Rastogi
bd2c4ba453
Migrate pullTimeZoneDataInfo to new API
...
Test: adb shell cmd stats pull-source 10052
Bug: 145565211
Change-Id: Ifeedbb949fd01d82a9a9a0985a0a17cfbffb8558
2020-01-17 14:07:26 -08:00
Jeffrey Huang
7a9ae133b3
Migrate pullProcessCpuTime
...
Test: No CTS test. Ran adb shell cmd pull-source 10035
Change-Id: Idc6cad89d4a953f6c92fd55c7f9e0161633efad0
2020-01-17 13:23:37 -08:00
Jeffrey Huang
fdc5369e3e
Migrate pullDiskIo
...
Test: No cts test. Ran adb shell cmd stats pull-source 10032
Change-Id: I088cfd911e7f097ac37c485e666fe1d2fc6b3663
2020-01-17 13:23:37 -08:00
Jeffrey Huang
882f99a836
Migrate pullSystemElapsedRealtime
...
Test: atest ValueMetricTests
Test: No cts test. Ran adb shell cmd pull-source 10014
Change-Id: I89c673cb2337405dbe1aa4e3a5756bdf9410927a
2020-01-17 13:22:45 -08:00
Jeffrey Huang
7f9fe5024f
Migrate DangerousPermissionState(Sampled)
...
Test: atest UidAtomTests#testDangerousPermissionState
Test: atest UidAtomTests#testDangerousPermissionStateSampled
Test: adb shell cmd stats pull-source 10050
Test: adb shell cmd stats pull-source 10067
Change-Id: Ia740d185cc510a73e8c4f07ef8ce8d50e99779c2
2020-01-17 13:20:33 -08:00
Jeffrey Huang
730bf96884
Migrate pullNotificationRemoteViews
...
Test: atest NotificationStatsTest
Test: adb shell cmd stats pull-source 10066
Change-Id: I8fd848b233920a2fe6bba1d87ec22eeed0bcaf91
2020-01-17 13:20:33 -08:00
Jeffrey Huang
bf4eef83ae
Migrate pullCpuTimePerThreadFreq
...
Test: adb shell cmd stats pull-source 10037
Change-Id: I3e80d65e83002881f875e8250f43676bc0c6d1ef
2020-01-17 13:20:33 -08:00
Jeffrey Huang
597a886d20
Migrate pullNumBiometricsEnrolled
...
Test: adb shell cmd stats pull-source 10031
Test: adb shell cmd stats pull-source 10048
Change-Id: I35e366d6a53288afdbee7eb5462a5f15a4bd0dc8
2020-01-17 11:50:47 -08:00
Jeffrey Huang
e85d7ad721
Migrate pullAppSize and pullCategorySize
...
Test: adb shell cmd stats pull-source 10027
Test: adb shell cmd stats pull-source 10028
Change-Id: I98515bad18afc3ee542369c77d9fea6775e2cbde
2020-01-17 11:50:46 -08:00
Jeffrey Huang
95765f09e8
Migrate pullDiskStats and pullDirectoryUsage
...
Test: atest DiskStatsProtoTest
Test: adb shell cmd stats pull-source 10025
Test: adb shell cmd stats pull-source 10026
Change-Id: Ia7c63e5d475d4d84da4fff74cda7745ff07cec31
2020-01-17 11:50:46 -08:00
Jeffrey Huang
fd037c5548
Migrate pullLooperStats
...
Test: atest UidAtomTests#testLooperStats
Test: adb shell cmd stats pull-source 10024
Change-Id: I9fb11f78a9e3e7b3616185b4f62ff925c547b9df
2020-01-17 11:50:46 -08:00
Julia Reynolds
5477bb44f0
Merge "Store pending 'history disabled' cmds"
2020-01-17 19:09:36 +00:00
Jonathan Scott
2db126d9df
Merge "Make #getCache and #putCache require INTERACT_ACROSS_USERS."
2020-01-17 18:37:58 +00:00
TreeHugger Robot
05ed82b446
Merge "Expose java puller api as @SystemAPI"
2020-01-17 17:39:18 +00:00
Julia Reynolds
6c11103cc1
Store pending 'history disabled' cmds
...
So the history can get deleted when the user is
next unlocked
Test: atest
Fixes: 147012298
Change-Id: I0142d3089251b9525579bdb02c49ecc05c83fc3d
2020-01-17 12:36:39 -05:00
Julia Reynolds
bfcda41613
Merge "Addressing conversation info todos"
2020-01-17 17:12:37 +00:00
Pierre Barbier de Reuille
d56a615a01
Merge "New UserManager API to request quiet mode."
2020-01-17 16:50:29 +00:00
Julia Reynolds
7c267526a1
Addressing conversation info todos
...
- Linking the conversation notification to the newly created
channel and triggering a ranking update
- Incorporating the flag for whether notifications/channels with
invalid shortcut ids should be allowed
Test: atest
Bug: 137397357
Change-Id: Ice1d545f2405a6c9b9eefaf1fd5481622ad72d7b
2020-01-17 10:20:19 -05:00
Ömer Nebil Yaveroğlu
c6eeb791ee
Merge "Put size limits on the number of rules that can be pushed through a verifier."
2020-01-17 14:05:22 +00:00
Pierre Barbier de Reuille
17eaf740d1
New UserManager API to request quiet mode.
...
Adding new API to request the end of quiet mode without asking the user
for their credentials.
Bug: 145732320
Change-Id: I80f313d269d46400fdb21ef9265fa7c0c3b5c7d0
Test: atest 'com.android.cts.devicepolicy.QuietModeHostsideTest#testQuietMode_noCredentialRequest'
2020-01-17 13:14:24 +00:00
Kyunglyul Hyun
c6583833d4
Revert "Revert "MediaRouter: add routing controller in MRM""
...
This reverts commit 7d720f70be .
Reason for revert: Fixed the build issue
Test: atest mediaroutertest
Change-Id: I6cae922d701640a1f43965041c653bd7a61411cb
2020-01-17 20:48:57 +09:00
Omer Nebil Yaveroglu
35e8f367b3
Put size limits on the number of rules that can be
...
pushed through a verifier.
Bug: 147865065
Test: atest FrameworksServicesTests:RuleBinarySerializerTest
Change-Id: I7767fe9bc18761988b8ef19578d491183904984b
2020-01-17 11:28:42 +00:00
Robert Horvath
c467ff4f51
Merge "Initialize HDMI PowerStatus to standby"
2020-01-17 11:13:53 +00:00
Robert Horvath
28d29b36a5
Merge "Go to sleep on boot when booting in quiescent mode"
2020-01-17 11:13:53 +00:00
Orion Hodson
1572fbe6cf
Merge "Revert "MediaRouter: add routing controller in MRM""
2020-01-17 11:10:26 +00:00
Kyunglyul Hyun
7d720f70be
Revert "MediaRouter: add routing controller in MRM"
...
This reverts commit b3dacf3d56 .
Reason for revert: Build Fail (ab/6143227)
Change-Id: I456d1ffe4a9760e65f91c37cd67bb9e9daabcc8e
2020-01-17 11:03:28 +00:00
Kyunglyul Hyun
38e8482f6f
Merge "MediaRouter: add routing controller in MRM"
2020-01-17 09:43:24 +00:00
Hyundo Moon
dda8cdd510
Merge "MediaRouter2: Add OnCreateSessionListener"
2020-01-17 09:36:07 +00:00
Kyunglyul Hyun
b3dacf3d56
MediaRouter: add routing controller in MRM
...
This CL introduces RoutingController into MediaRouter2Manager
to enable it to control remote routing sessions.
Tests are also revised according to MRM changes.
Bug: 147787194
Test: atest mediaroutertest
Change-Id: Id4ab61fcb690fccac42df049e1fb74d89bcf3d6a
2020-01-17 15:52:00 +09:00
Hyundo Moon
84e027d63b
MediaRouter2: Add OnCreateSessionListener
...
Bug: 147851996
Test: atest mediaroutertest
Change-Id: If754b5b70123382900c2582c3f126da204488145
2020-01-17 15:06:50 +09:00
Chalard Jean
fb342fcf55
Merge "Make NetworkCapabilities authoritative for suspended state"
2020-01-17 05:08:11 +00:00
Andrii Kulian
2b3b20c388
Merge changes from topic "app_config_compat"
...
* changes:
Update resource config for default display
Override process config to match activity config
Set parent for WindowProcessController
2020-01-17 04:56:41 +00:00
Tej Singh
6b9798385b
Expose java puller api as @SystemAPI
...
Also clear calling identity before invoking the pull.
Test: make
Test: atest GtsStatsdHostTestCases
Bug: 146383532
Change-Id: I9a17d88944da0074dbbaffb0c1b99a9ce7743991
2020-01-17 03:45:49 +00:00
TreeHugger Robot
8468378f2b
Merge "Re-seal the sessions on reboot."
2020-01-17 01:46:57 +00:00
Jeffrey Huang
1507e3b1bf
Merge changes Ib321743b,I9d58a4b8,I6501109a,I0ce870a3,I5107aa47
...
* changes:
Migrate pullBinderStats
Migrate pullTemperature and pullCooldownDevice
Migrate ionHeapSize
Migrate ProcessMemory pullers
Fix crash when pulling certain atoms
2020-01-17 01:42:50 +00:00
Hyundo Moon
0c179872c5
Merge "Remove route features from RoutingSessionInfo related APIs"
2020-01-17 01:32:14 +00:00
TreeHugger Robot
3de6f570d6
Merge "Refactor location permissions code"
2020-01-17 01:26:24 +00:00
Soonil Nagarkar
49706d1a44
Merge "Make mode/provider broadcasts foreground"
2020-01-16 23:55:27 +00:00
Jeffrey Huang
877adfea28
Migrate pullBinderStats
...
Test: atest UidAtomTests#testBinderStats
Test: adb shell cmd stats pull-source 10022
Test: adb shell cmd stats pull-source 10023
Change-Id: Ib321743b725abe6770b840477d7fbce755a0bde3
2020-01-16 15:17:40 -08:00
Jeffrey Huang
b92de55380
Migrate pullTemperature and pullCooldownDevice
...
Test: adb shell cmd stats pull-source 10021
Test: adb shell cmd stats pull-source 10059
Change-Id: I9d58a4b8aa32daa0b750d4e45c1dcc6a34407865
2020-01-16 15:17:40 -08:00
Jeffrey Huang
a0e1cd2dd6
Migrate ionHeapSize
...
Test: Ran adb shell cmd stats pull-source 10056
Test: Ran adb shell cmd stats pull-source 10061
Change-Id: I6501109a94875c69078dea0ac07dcce3bc9641e3
2020-01-16 15:17:39 -08:00
Jeffrey Huang
b1c1634325
Migrate ProcessMemory pullers
...
Test: atest UidAtomTests#testProcessMemoryState
Test: atest UidAtomTests#testProcessMemoryHighWaterMark
Test: atest UidAtomTests#testProcessMemorySnapshot
Test: adb shell cmd stats pull-source 10013
Test: adb shell cmd stats pull-source 10042
Test: adb shell cmd stats pull-source 10064
Change-Id: I0ce870a3fec668e380a6b6412f278033d6734f35
2020-01-16 15:17:38 -08:00
Tej Singh
250e7aad89
Fix crash when pulling certain atoms
...
IonMemoryUtil and ProcFsMemoryUtil were package-private classes loaded
in the system server class loader and had the same package as
StatsCompanionService, which is loaded in a separate class loader for
statsd. This caused a crash when statsd tried to access either. This cl
moves IonMemoryUtil and ProcFsMemoryUtil along with StatsPullAtomService
to a separate package so that no classes are shared in the same package.
Bug: 147792532
Test: pulled all relevant atoms and make sure they worked
Test: adb shell cmd stats pull-source 10064
Test: adb shell cmd stats pull-source 10061
Test: adb shell cmd stats pull-source 10042
Test: adb shell cmd stats pull-source 10056
Change-Id: I5107aa47045321e84549a7f2d55d0ee27f0d080e
2020-01-16 15:16:54 -08:00
Omer Nebil Yaveroglu
85a1570149
Set the bucket size to 50 since the improvements show that this is the
...
optimal value.
Bug: 145493956
Test: No tests.
Change-Id: I156623c6e0e74bd101c93a2df4478c8375787e35
2020-01-16 22:31:21 +00:00
Omer Nebil Yaveroglu
e8567a4a04
Modify the RuleIndexingController to do binary search instead of constructing the TreeSet so that rule loading is more efficient.
...
Bug: 145493956
Test: atest FrameworksServicesTests:IntegrityFileManagerTest
Change-Id: Idd5d98e0a0191f457a32c050ee152d7b1ca389cc
2020-01-16 22:30:46 +00:00
Zimuzo Ezeozue
3d4797643c
Merge "Recover from FUSE session starting failures"
2020-01-16 22:27:27 +00:00
Zim
7924a51690
Recover from FUSE session starting failures
...
Vold calls into StorageManagerService which in turn calls into the
FUSE daemon to start the session. If the system_server is very busy
e.g right after an OTA, the session may not start quickly enough and
we will timeout, causing vold to fail the mount.
Previously, the only solution would be for the user to reboot.
Now, we naively retry every 10s.
Bug: 147610762
Test: Causing an artificial timeout when starting a session for the
firs time, verified we recover after a minute
Change-Id: Ifdb2384696e85b6774a12394798fca8eb75a584e
2020-01-16 22:26:48 +00:00
Alex Buynytskyy
595db8a1f3
Re-seal the sessions on reboot.
...
Previously we were validating them as well. This is unnecessary as
validation will happen on commit/transfer calls later.
This was introduced in 43f1af9dd9 when we
were using mSealed flag for both sealing and validation. It's not the
case anymore and we can safely deffer validation to commit/transfer.
Test: atest PackageManagerShellCommandTest SplitTests StagedRollbackTest CtsAtomicInstallTestCases PackageInstallerSessionTest InstallSessionTransferTest
Bug: b/136132412
Change-Id: Iedba991ff057bcfc4aeb2ba0d450e59bb4f035d8
2020-01-16 14:18:08 -08:00