Commit Graph

418941 Commits

Author SHA1 Message Date
Stanislav Zholnin
abfa32bbb3 Add logging atoms to record user actions in AppPermissionFragment (handheld devices only)
am: 3e0f9bcce0

Change-Id: I9aba7f2f32ff6a9b6f52532e0d2b45331a4790ca
2019-06-21 08:42:15 -07:00
Kevin Chyn
7fca2368af Log the amount of time between authentication and error
Fixes: 135705310

Test: Checked logs
Change-Id: I1d9b26befc30f233052504c7c74b17ea0a3d5671
2019-06-21 06:10:40 +00:00
Stanislav Zholnin
9f7663e4b6 Merge "Add logging atoms to record user actions in LocationAccessCheck (handheld devices only)" into qt-dev
am: 762aa842ae

Change-Id: I66b9c6cfa8f19ea0c47f2004ab2193c0fafcd4ec
2019-06-20 22:26:45 -07:00
Stanislav Zholnin
3e0f9bcce0 Add logging atoms to record user actions in AppPermissionFragment
(handheld devices only)

Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 215
Bug:133401502
Bug:134581123

Change-Id: I2a0b15dfdd6398707a762c48602f970f14534b51
2019-06-21 05:23:33 +01:00
Stanislav Zholnin
762aa842ae Merge "Add logging atoms to record user actions in LocationAccessCheck (handheld devices only)" into qt-dev 2019-06-21 04:17:10 +00:00
Vishwath Mohan
c189b9df37 Merge "Switch trust agents to extend unlock mode by default." into qt-dev
am: b9cead91f8

Change-Id: I28b2cd7d17191c36c691e2c6940de021e532ff96
2019-06-20 19:36:11 -07:00
Vishwath Mohan
b9cead91f8 Merge "Switch trust agents to extend unlock mode by default." into qt-dev 2019-06-21 00:51:23 +00:00
Mathieu Chartier
e073ec7cac Merge "Update boot image profile" into qt-dev
am: 0409420da8

Change-Id: I0cc931c2ba70491af4663c5e8ab71f97734cc1ae
2019-06-20 17:19:33 -07:00
Wenjie Zhou
9530705038 Merge "Revert "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for"" into qt-dev
am: 269907a310

Change-Id: I594dc80a248e89eccf0ace9e3a2103b9238f1e97
2019-06-20 17:16:48 -07:00
zhouwenjie
b67bcb731b Merge "Allow permission controller to start background activities" into qt-dev
am: 574cbd1987

Change-Id: I5139017dff88284dee87b540ebe27cb63630bd5e
2019-06-20 17:16:42 -07:00
Ned Burns
e7ace65916 Merge "Add main thread and reentrant asserts to chase down crashes" into qt-dev
am: 4d39c4a7d7

Change-Id: I39c037dd0b53d93c3a88eaa18e7bee26a12cb47a
2019-06-20 17:14:36 -07:00
Mathieu Chartier
0409420da8 Merge "Update boot image profile" into qt-dev 2019-06-21 00:01:13 +00:00
Stanislav Zholnin
375e2ab781 Add logging atoms to record user actions in LocationAccessCheck
(handheld devices only)

Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 214
Bug:133401502
Bug:134581123
Change-Id: I9f35d2b06cf953441e0986ab23cb842cd155144d
2019-06-20 23:59:59 +00:00
TreeHugger Robot
269907a310 Merge "Revert "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for"" into qt-dev 2019-06-20 23:49:39 +00:00
TreeHugger Robot
574cbd1987 Merge "Allow permission controller to start background activities" into qt-dev 2019-06-20 23:49:39 +00:00
Wenjie Zhou
46a4491253 Revert "Whitelist START_ACTIVITIES_FROM_BACKGROUND permission for"
This reverts commit 0999f93e4a.

Reason for revert: There is a better choice (ag/8051966) than adding the permission to resolve b/130827484

Bug: 130827484
Change-Id: I1b8fd74a173d4b0ef981e51f7e0a9c5f84d5f416
2019-06-20 23:48:59 +00:00
Selim Cinek
cd29fce36d Merge "Not bypassing when the user is expanding quick settings" into qt-r1-dev 2019-06-20 23:21:49 +00:00
Selim Cinek
a7719614c6 Merge changes Ia64238f3,I45056904 into qt-r1-dev
* changes:
  Fixed an issue about notification icons on AOD
  Animating the notifications now when they disappear
2019-06-20 23:16:54 +00:00
TreeHugger Robot
4d39c4a7d7 Merge "Add main thread and reentrant asserts to chase down crashes" into qt-dev 2019-06-20 23:11:33 +00:00
Vishwath Mohan
d3268c2dca Switch trust agents to extend unlock mode by default.
This CL changes the default behavior for trust agents to extend unlock
mode.

The Q droidfood phase allowed trust agent behavior to switch between
active unlock (legacy behavior) and extend unlock modes --- where the
extend unlock mode would prevent a trust agent (such as Smart Lock)
from actively unlocking a locked phone, instead only allowing it to
extend the duration that an already unlocked phone can continue to
stay in the unlocked state. In preparation for Q proper, the developer
options that controlled this toggle are being removed, and extend
unlock mode is the only allowed mode of behavior for trust agents.

Bug: 120871688
Test: Trust agents (like Smart Lock) only extend unlock on Q
Merged-In: Ifad45f90e0f2b5c3d180a74a97a89d45d75cb02a
Change-Id: Ifad45f90e0f2b5c3d180a74a97a89d45d75cb02a
2019-06-20 22:57:23 +00:00
Fabian Kozynski
b82e0027f5 Merge "Safeguard against no tiles in QS" into qt-dev
am: 60aabc40a2

Change-Id: If5bde9600167a3d508bef5377d31e6d8db2635c2
2019-06-20 15:32:29 -07:00
TreeHugger Robot
60aabc40a2 Merge "Safeguard against no tiles in QS" into qt-dev 2019-06-20 21:42:23 +00:00
Ray Essick
27d23af2d9 Merge "libmedia_jni pulls in libsfplugin_ccodec" into qt-dev
am: 1c0b6aa767

Change-Id: I5b245522b5e6f4d5ee23e6155722c14e4e46bede
2019-06-20 14:15:50 -07:00
Mathieu Chartier
5d12c6643d Update boot image profile
Compiled methods don't get any interpreter activity modifying their
hotness counters. This CL compiles more methods to prevented

Original set of profile is the updated profile with revised thresholds
for image classes. Here we used a 3% threshold.

Additionally, the CL adds imgdiag diagnosed methods that have dirty JIT
counters shortly after boot on the following apps:
system_server
com.android.systemui
com.android.phone
com.android.nfc
com.google.android.networkstack
com.android.bluetooth
com.google.android.apps.nexuslauncher
com.google.android.gms.persistent
com.google.android.as
com.google.process.gservices
com.google.android.gms
com.google.android.inputmethod.latin

Before:
Boot oat size: 32,800,596 bytes
Persistent app .art PSS: 19115K
Persistent app .art Private Dirty: 15356K
System boot .art PSS: 60948K

After:
Boot oat size: 37261124 bytes
Persistent app .art PSS: 12610K
Persistent app .art Private Dirty: 8740K
System boot .art PSS: 50735K

Private dirty savings for persistent apps: 7MB
Net RAM savings: 5MB (10MB dirty .art PSS, 5MB oat size incrase)

Bug: 134776403
Test: Reboot and inspect RAM usage
Change-Id: Ia1c59b4be341a28de02b7d20aedcb6b69815c652
2019-06-20 20:46:19 +00:00
TreeHugger Robot
5fccfe7491 Merge "Remove the custom clock from LS during transition from AOD" into qt-r1-dev 2019-06-20 20:38:02 +00:00
TreeHugger Robot
1c0b6aa767 Merge "libmedia_jni pulls in libsfplugin_ccodec" into qt-dev 2019-06-20 20:27:22 +00:00
Mehdi Alizadeh
b97947dc2c Merge "Use RemoteCallbackList to store registered callbacks" into qt-dev
am: 60f7b58a9a

Change-Id: I6eace2328a4397205e522b5525ecf8cae243c031
2019-06-20 13:15:51 -07:00
Steven Moreland
738d6b8950 Merge changes from topic "combine-libhidlbase-libhwbinder" into qt-dev
am: 303a891220

Change-Id: Ibc1c5fb1ccc095250f979b7720c6446ef71ea27b
2019-06-20 13:09:43 -07:00
Steven Moreland
82c428c0e3 libmedia2_jni: remove libhwbinder_noltopgo ref
am: e5da40639c

Change-Id: Id0e562b34d28b2bd2feb766501b0c641b23fa9d4
2019-06-20 13:09:30 -07:00
Dave Mankoff
4cc68a30de Merge changes from topic "b111394067-new-falsing-manager" into qt-dev
am: acd240fbb3

Change-Id: I83640ae5c6a6681eb33c87a70a629573f189d024
2019-06-20 13:07:12 -07:00
Christine Franks
f351094e88 Merge "Fix broken ColorDisplayServiceTest cases" into qt-r1-dev 2019-06-20 20:00:22 +00:00
Mehdi Alizadeh
60f7b58a9a Merge "Use RemoteCallbackList to store registered callbacks" into qt-dev 2019-06-20 19:58:47 +00:00
Fabian Kozynski
6ff5c18cb0 Safeguard against no tiles in QS
In PagedTileLayout:
* Make sure that each page displays at least 1 tile (never 0).
* Make sure that there's at least one page (even if it's empty)

In QSTileHost:
* If the new value of sysui_qs_tiles produces no tiles (but it's not set
to empty), set the tile set to the empty default
@string/quick_settings_tiles

Test: adb shell settings put secure sysui_qs_tiles not-a-valid-tile-spec
Test: atest QSTileHostTest
Fixes: 135023694
Fixes: 135677464
Change-Id: I1e5cf4d2688370001ecae87fc0272acecd48af73
2019-06-20 15:54:45 -04:00
Ned Burns
d4a69f7007 Add main thread and reentrant asserts to chase down crashes
We're seeing crashes due to view hierarchy violations that shouldn't be
possible. Adding some guards to make sure we aren't running into
off-thread hierarchy manipulation or re-entrant calls to the update
code.

Test: manual
Bug: 135018709
Change-Id: I4b1f2bd7e3a6f80384486d59b9f56fc3713537cf
2019-06-20 15:40:55 -04:00
Robert Snoeberger
146ab3cc33 Remove the custom clock from LS during transition from AOD
Fixes: 132273216
Test: visual -- transition to AOD with notifications
Test: visual -- transition to AOD without notifications
Test: visual -- remove last notification on LS
Test: visual -- add notification on LS
Change-Id: I1c003a8930cc557e388e2263e4a4fa41b912998a
2019-06-20 15:16:42 -04:00
Steven Moreland
303a891220 Merge changes from topic "combine-libhidlbase-libhwbinder" into qt-dev
* changes:
  libhwbinder users use libhidlbase
  libmedia2_jni: remove libhwbinder_noltopgo ref
2019-06-20 19:09:01 +00:00
Dave Mankoff
acd240fbb3 Merge changes from topic "b111394067-new-falsing-manager" into qt-dev
* changes:
  Add ZigZagClassifier to the BrightLineFalsingManager.
  Add ProximityClassifier to the BrightLineFalsingManager
  Add DistanceClassifier to the BrightLineFalsingManager
  Add DiagonalClassifier to the BrightLineFalsingManager.
  Add TypeClassifier to the BrightLineFalsingManager.
  Add PointerCountClassifier to the BrightLineFalsingManager.
  Add base class for new falsing manager and classifiers.
2019-06-20 18:05:19 +00:00
Christine Franks
771f5faab6 Fix broken ColorDisplayServiceTest cases
Bug: 133173665
Test: atest FrameworksServicesTests:ColorDisplayServiceTest
Change-Id: Idb1ca2122bf5f5453fa4a890afc6a810e46cf532
2019-06-20 17:57:27 +00:00
Winson
d518618ce9 Merge "Fix ColorStateListDrawable bounds handling" into qt-dev
am: fcbde5243a

Change-Id: I80d466677b3e092de6905364c4536dcac5c2d1f4
2019-06-20 10:57:16 -07:00
TreeHugger Robot
fcbde5243a Merge "Fix ColorStateListDrawable bounds handling" into qt-dev 2019-06-20 17:32:31 +00:00
TreeHugger Robot
a3ce8b5384 Merge "Check for header when restoring default clock." into qt-r1-dev 2019-06-20 17:21:05 +00:00
Nader Jawad
a0cd0bb78a Merge "Added null checks to LayerDrawable implementation" into qt-dev
am: 6e4e9817b8

Change-Id: I6c05153db17f73226da4b571b001f19d007e5388
2019-06-20 10:01:38 -07:00
TreeHugger Robot
6e4e9817b8 Merge "Added null checks to LayerDrawable implementation" into qt-dev 2019-06-20 16:58:45 +00:00
lumark
447ae2dd5e Merge "Fix CtsAccessibilityServiceTestCases Fail" into qt-dev
am: 82150f3f7b

Change-Id: I3b15d188b017b44ad938a6effe4a2254de0d5ef2
2019-06-20 09:45:35 -07:00
Matt Casey
27464739a2 Merge "Fix corner arc computation." into qt-dev
am: 953c62a901

Change-Id: Id32bdcbdd59e7c23ce0e8c880916c1a40672b86f
2019-06-20 09:42:20 -07:00
Ray Essick
16c0c46f20 libmedia_jni pulls in libsfplugin_ccodec
libmedia_jni now pulls in libsfplugin_ccodec instead of deferring it
until an actual reference. This eliminates some codec startup latency
later. this is only "load it", there is no actual use of
libsfplugin_ccodec by libmedia_jni.

Bug: 133186424
Test: boot, logcat, forrest startup timing measurements
Change-Id: Iacf8783cb45d33f5cec67863d4bf89da6dff9c2d
2019-06-20 09:35:54 -07:00
TreeHugger Robot
82150f3f7b Merge "Fix CtsAccessibilityServiceTestCases Fail" into qt-dev 2019-06-20 15:20:33 +00:00
Robert Snoeberger
f65513aff5 Check for header when restoring default clock.
This change tracks the state of the header in the smart space while a
custom clock is showing so that the correct digital clock size can be
restored when switching back to the default clock face.

Fixes: 135534500
Test: visual - take phone of dock and check size of default clock
Change-Id: Id4d1d46c94d8480f9675a3cf682a20a9706ba707
2019-06-20 10:40:13 -04:00
Matt Casey
953c62a901 Merge "Fix corner arc computation." into qt-dev 2019-06-20 14:16:44 +00:00
TreeHugger Robot
e288f13f25 Merge "Import translations. DO NOT MERGE" into qt-r1-dev 2019-06-20 05:58:29 +00:00