Commit Graph

418568 Commits

Author SHA1 Message Date
John Reck
c8feb89e44 Merge "Fix buffer overflow in Trace's JNI layer" into qt-dev
am: 935a535bc6

Change-Id: I69adf81bea20e08ae59ee1321a2d262006059fc3
2019-06-13 18:50:32 -07:00
James O'Leary
c8ff38dbc0 Merge "Start invocation light length from 0" into qt-r1-dev 2019-06-14 01:41:03 +00:00
Yiwei Zhang
5229f699ee Merge "Game Driver: add support to apply prerelease driver for all apps" into qt-dev
am: 45315597ff

Change-Id: I31910c4b2360e1639cfd9017db66acac67e55347
2019-06-13 18:18:22 -07:00
TreeHugger Robot
935a535bc6 Merge "Fix buffer overflow in Trace's JNI layer" into qt-dev 2019-06-14 00:36:03 +00:00
Ryan Savitski
d205ee215d Merge "userdebug: support perfetto traces as a section in incident reports" into qt-dev
am: cfff472c8e

Change-Id: I6e023382bd1059c0081b748029a3aa201352a8cf
2019-06-13 17:31:40 -07:00
TreeHugger Robot
45315597ff Merge "Game Driver: add support to apply prerelease driver for all apps" into qt-dev 2019-06-13 23:44:36 +00:00
Ryan Savitski
cfff472c8e Merge "userdebug: support perfetto traces as a section in incident reports" into qt-dev 2019-06-13 23:42:09 +00:00
Jorim Jaggi
a8393c6b07 Merge "Trace sync rt transaction applier" into qt-dev
am: c6f5069668

Change-Id: Ifdfa1389a022a396167e606287485aabf7768c76
2019-06-13 16:29:14 -07:00
TreeHugger Robot
c6f5069668 Merge "Trace sync rt transaction applier" into qt-dev 2019-06-13 23:12:00 +00:00
Selim Cinek
79e853195b Merge "Also dispatching that we finished waking up after booting" into qt-dev
am: 0a6355e4dc

Change-Id: Ib04ceb15e4006ba0fff0f064a215fbf7e2ede659
2019-06-13 15:24:35 -07:00
Evan Laird
47df423280 Merge "Bump up contrast of NotificationInfo.Secondary" into qt-dev
am: 19d096e712

Change-Id: I6f69bf6b1079884924336f0fb0e1ac6026a11b75
2019-06-13 15:22:14 -07:00
Selim Cinek
0a6355e4dc Merge "Also dispatching that we finished waking up after booting" into qt-dev 2019-06-13 21:54:20 +00:00
John Reck
121e478ed4 Fix buffer overflow in Trace's JNI layer
There doesn't appear to be anything better
than blindly make a buffer 4x the length of a
jstring if a maximum buffer size is useful.

So do that.

This does slightly regress Trace's performance.

Before:

android.os.TracePerfTest:INSTRUMENTATION_STATUS: enabled_mean=14
INSTRUMENTATION_STATUS: enabled_median=14
INSTRUMENTATION_STATUS: enabled_min=14
INSTRUMENTATION_STATUS: enabled_standardDeviation=0
INSTRUMENTATION_STATUS_CODE: -1
.INSTRUMENTATION_STATUS: beginEndSection_mean=3087
INSTRUMENTATION_STATUS: beginEndSection_median=3059
INSTRUMENTATION_STATUS: beginEndSection_min=3020
INSTRUMENTATION_STATUS: beginEndSection_standardDeviation=75
INSTRUMENTATION_STATUS_CODE: -1
.INSTRUMENTATION_STATUS: counter_mean=1893
INSTRUMENTATION_STATUS: counter_median=1900
INSTRUMENTATION_STATUS: counter_min=1851
INSTRUMENTATION_STATUS: counter_standardDeviation=26
INSTRUMENTATION_STATUS_CODE: -1
.INSTRUMENTATION_STATUS: asyncBeginEnd_mean=4281
INSTRUMENTATION_STATUS: asyncBeginEnd_median=4306
INSTRUMENTATION_STATUS: asyncBeginEnd_min=4184
INSTRUMENTATION_STATUS: asyncBeginEnd_standardDeviation=65
INSTRUMENTATION_STATUS_CODE: -1

After:

android.os.TracePerfTest:INSTRUMENTATION_STATUS: enabled_mean=16
INSTRUMENTATION_STATUS: enabled_median=16
INSTRUMENTATION_STATUS: enabled_min=16
INSTRUMENTATION_STATUS: enabled_standardDeviation=0
INSTRUMENTATION_STATUS_CODE: -1
.INSTRUMENTATION_STATUS: beginEndSection_mean=3869
INSTRUMENTATION_STATUS: beginEndSection_median=3864
INSTRUMENTATION_STATUS: beginEndSection_min=3840
INSTRUMENTATION_STATUS: beginEndSection_standardDeviation=21
INSTRUMENTATION_STATUS_CODE: -1
.INSTRUMENTATION_STATUS: counter_mean=2511
INSTRUMENTATION_STATUS: counter_median=2503
INSTRUMENTATION_STATUS: counter_min=2480
INSTRUMENTATION_STATUS: counter_standardDeviation=35
INSTRUMENTATION_STATUS_CODE: -1
.INSTRUMENTATION_STATUS: asyncBeginEnd_mean=5348
INSTRUMENTATION_STATUS: asyncBeginEnd_median=5344
INSTRUMENTATION_STATUS: asyncBeginEnd_min=5318
INSTRUMENTATION_STATUS: asyncBeginEnd_standardDeviation=28
INSTRUMENTATION_STATUS_CODE: -1

But it also works correctly and doesn't crash, and that seems worth it.

Fixes: 133104515
Test: systrace still works, AtraceHostTest passes, verified
    Trace.beginSection of 4-byte utf8 octets showed up in systrace
Change-Id: Ie2e31227d9380df4190f9bc09ecd67f8a982827f
2019-06-13 14:53:52 -07:00
TreeHugger Robot
19d096e712 Merge "Bump up contrast of NotificationInfo.Secondary" into qt-dev 2019-06-13 21:51:25 +00:00
TreeHugger Robot
027ffd9dd7 Merge "Do not execute face auth when notification" into qt-r1-dev 2019-06-13 20:32:35 +00:00
Stanislav Zholnin
32bf74150c Merge "Add atom for logging of ReviewPermissionsFragment actions." into qt-dev
am: 15ae30124d

Change-Id: Ideec2a7b87b5089e3b343212cb8656c3326a0e11
2019-06-13 13:27:34 -07:00
TreeHugger Robot
15ae30124d Merge "Add atom for logging of ReviewPermissionsFragment actions." into qt-dev 2019-06-13 20:15:35 +00:00
Jorim Jaggi
84149044fd Trace sync rt transaction applier
Test: Trace
Bug: 134583193
Change-Id: I00c2863f954e4c991d684ce4220380573db4d749
2019-06-13 21:45:14 +02:00
TreeHugger Robot
86f8d22d6a Merge "DisplayModeDirector: make settings higher priority than app request" into qt-r1-dev 2019-06-13 18:08:25 +00:00
Torne (Richard Coles)
39cc8ee150 Merge "Always re-enable the fallback WebView if needed." into qt-dev
am: 4c510c08da

Change-Id: Ie935a947113b360d97a2d5af938b92d53190308c
2019-06-13 10:47:13 -07:00
TreeHugger Robot
4c510c08da Merge "Always re-enable the fallback WebView if needed." into qt-dev 2019-06-13 17:25:32 +00:00
Lucas Dupin
a422c09e02 Do not execute face auth when notification
There's a big power cost and very high likelihood of failing

Test: manual
Test: atest StatusBarTest
Fixes: 134551789
Change-Id: I6593797316e6e24180ad79a37aed2de8aa12fd96
2019-06-13 10:08:19 -07:00
Siarhei Vishniakou
a0c0e2f8c9 Merge "Add keylayout for Xbox One USB controller" into qt-dev
am: 77c1c938a5

Change-Id: I783281baeac2d10437826b2b21c5c086835ec677
2019-06-13 10:08:05 -07:00
TreeHugger Robot
77c1c938a5 Merge "Add keylayout for Xbox One USB controller" into qt-dev 2019-06-13 16:51:03 +00:00
Yiwei Zhang
17704b8d1b Merge "Game Driver: Add support for prerelease channel" into qt-dev
am: ba3f191bd5

Change-Id: I73ec6c30adf0b084a3bbb191eaf66193b2151a47
2019-06-13 08:45:37 -07:00
TreeHugger Robot
ba3f191bd5 Merge "Game Driver: Add support for prerelease channel" into qt-dev 2019-06-13 15:38:54 +00:00
Evan Laird
f9b3b8e0e1 Merge "Set channel dialog switches to 48dp height" into qt-dev
am: 3e83e8ee65

Change-Id: Iac825bf2f52b3bff59b522b57a71e30af1de2bd9
2019-06-13 07:36:19 -07:00
TreeHugger Robot
3e83e8ee65 Merge "Set channel dialog switches to 48dp height" into qt-dev 2019-06-13 14:29:12 +00:00
Amin Shaikh
efe9f0523d Merge "Invalidate SignalDrawable on level change." into qt-dev
am: fb5526ce13

Change-Id: I681e8c822dfcf612c949f1e92ff9120401bf49cb
2019-06-13 07:26:15 -07:00
TreeHugger Robot
fb5526ce13 Merge "Invalidate SignalDrawable on level change." into qt-dev 2019-06-13 14:14:43 +00:00
Evan Laird
c9d0a499f7 Bump up contrast of NotificationInfo.Secondary
On a white background, the contrast needs to be at least 4.5

Test: Accessibility scanner
Fixes: 134900492
Change-Id: Ic03484bb00aa6ace6edd6b34eed34e2134f38340
2019-06-13 10:08:41 -04:00
Narayan Kamath
0794b46b43 Merge "Move legacy obb data migration to a handler thread." into qt-dev
am: 6d371e092e

Change-Id: I3d2ac607aa678ea7947b27d3b86a6bff9300100d
2019-06-13 02:34:06 -07:00
Narayan Kamath
6d371e092e Merge "Move legacy obb data migration to a handler thread." into qt-dev 2019-06-13 09:23:59 +00:00
TreeHugger Robot
c2abf3b9e9 Merge "Fixes an issue where the padding to the clock was wrong" into qt-r1-dev 2019-06-13 02:36:41 +00:00
Anil Admal
6dd8bbc6f5 Merge "Reconfigure GNSS HAL NFW proxy app list on GNSS service crash" into qt-dev
am: 2bc56a820a

Change-Id: I85337c7e7ee2316bb90a72a9792134a347593895
2019-06-12 19:34:15 -07:00
TreeHugger Robot
c306592ff4 Merge "Hide album art when face bypass" into qt-r1-dev 2019-06-13 02:32:20 +00:00
Anil Admal
2bc56a820a Merge "Reconfigure GNSS HAL NFW proxy app list on GNSS service crash" into qt-dev 2019-06-13 02:13:25 +00:00
Todd Kennedy
59b4460b18 Merge "Revert "Add extra debug to capture system state"" into qt-dev
am: 3abd182c39

Change-Id: Icd7cf75211b00a50be6ebda0eca2d1397e5519af
2019-06-12 18:58:54 -07:00
TreeHugger Robot
3abd182c39 Merge "Revert "Add extra debug to capture system state"" into qt-dev 2019-06-13 01:40:41 +00:00
Yiwei Zhang
ff9a4ee1c1 Game Driver: add support to apply prerelease driver for all apps
Bug: 134881329
Test: Manual test with prerelease driver and Settings UI.
Change-Id: I5f198b0845e9e6431066d44ef623f62e1f5c588a
2019-06-12 18:17:14 -07:00
Mathieu Chartier
cc35beeb33 Update dirty-image-objects
am: 4c7291f76c

Change-Id: I84f133ee9ebd1670ea9e3c5f4b9512f088bfdb4b
2019-06-12 18:15:37 -07:00
Yiwei Zhang
45a6eae80e Merge "Game Driver: Add settings global for prerelease driver opt in option" into qt-dev
am: ca354f308d

Change-Id: I62ade6ba3b577080b32165c7c03ce61a66448bb3
2019-06-12 18:13:40 -07:00
John Reck
282048a2b0 Merge "Fix setPositionListener race condition" into qt-dev
am: 2c52298236

Change-Id: Iea1515f11646a38bf7252ac7ee547296aeddced1
2019-06-12 18:10:47 -07:00
Joshua Mccloskey
c746066221 Merge "Updated string." into qt-r1-dev 2019-06-13 01:09:12 +00:00
Yiwei Zhang
5d0d4c6af2 Game Driver: Add support for prerelease channel
Bug: 134881329
Test: Manual test with prerelease driver.
Change-Id: I4865bbf0126df9c470aa7f1c163910eb58fb1a8b
2019-06-12 18:08:08 -07:00
Mathieu Chartier
4c7291f76c Update dirty-image-objects
Numbers 60s after boot on taimen, saves ~4MB of RAM system wide.

Obtained on 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 (measured processes):
                PSS     Private Dirty
    .Boot art     2538     2300        0        0
    .Boot art     2663     2428        0        0
    .Boot art     1962     1676        0        0
    .Boot art      816      540        0        0
    .Boot art     1297     1032        0        0
    .Boot art     1234      968        0        0
    .Boot art     1751     1496        0        0
    .Boot art     2227     1984        0        0
    .Boot art     1114      844        0        0
    .Boot art      772      492        0        0
    .Boot art     2215     1972        0        0
    .Boot art     1213      912        0        0
System wide
     71,282K: .art mmap
         66,418K: .Boot art
          4,864K: .App art

After:
                PSS     Private Dirty
    .Boot art     2447     2216        0        0
    .Boot art     2477     2256        0        0
    .Boot art     1717     1444        0        0
    .Boot art      799      540        0        0
    .Boot art     1268     1020        0        0
    .Boot art     1196      948        0        0
    .Boot art     1703     1464        0        0
    .Boot art     2094     1864        0        0
    .Boot art     1055      804        0        0
    .Boot art      749      484        0        0
    .Boot art     2096     1868        0        0
    .Boot art     1058      772        0        0
System wide
    67,138K: .art mmap
         62,274K: .Boot art
          4,864K: .App art

Bug: 134776403
Test: Reboot and inspect RAM usage
Change-Id: I5c056565a10b0becc4257f051aecc05cef6247dd
2019-06-13 00:36:14 +00:00
TreeHugger Robot
ca354f308d Merge "Game Driver: Add settings global for prerelease driver opt in option" into qt-dev 2019-06-13 00:31:24 +00:00
John Reck
2c52298236 Merge "Fix setPositionListener race condition" into qt-dev 2019-06-13 00:24:08 +00:00
Anil Admal
8b83dc1718 Reconfigure GNSS HAL NFW proxy app list on GNSS service crash
Fixes: 134729449
Test: 1. Killed GNSS service several times and verified that the
         GNSS HAL is reconfigured.
      2. Verified on reboot the GNSS service is configured correctly.

Change-Id: Ic8b40ef2a907deef07d01ecb190291035069264d
2019-06-12 23:48:59 +00:00
Elisa Pascual Trevino
5a898bb75f Merge "Revert "Prevent dismissing starting window when reopening app"" into qt-dev
am: 4cd89f0332

Change-Id: I390155862eaf764ae49e7393b67d2a55050a69e0
2019-06-12 16:48:35 -07:00