Commit Graph

354820 Commits

Author SHA1 Message Date
Chenjie Yu
9da105bb32 add atoms for cpu power calculation
Test: will add cts tests for them
Change-Id: Ifefa3697ff64e8c484f79d08caf053bfc712b794
2018-01-19 22:14:26 -08:00
Phil Weaver
db28e90bde Merge "Add accessibility support for tooltips" 2018-01-20 05:13:38 +00:00
Peiyong Lin
55c795657b Merge "[GLUtils] Pass the correct format into glTexImage2D and glTexSubImage2D." 2018-01-20 05:11:09 +00:00
Felipe Leme
ebfd1e26f0 Merge "Minor API changes on Autofill Field Classification:" 2018-01-20 05:01:43 +00:00
Felipe Leme
c560ecc64c Merge "Implemented getAlgorithm() and getDefaultAlgorithm() using manifest metadata." 2018-01-20 04:59:23 +00:00
Rajeev Kumar
0fd0659f76 Merge "Add atoms to log memory metrics." 2018-01-20 04:30:53 +00:00
TreeHugger Robot
57eb943585 Merge "Don't record audio if UID is idle - framework" 2018-01-20 04:09:35 +00:00
Phil Weaver
aa993a65b5 Merge "Add a11y action to take screenshot" 2018-01-20 02:56:04 +00:00
TreeHugger Robot
f7157470a3 Merge "Statsd -> Perfetto integration" 2018-01-20 02:34:40 +00:00
TreeHugger Robot
18fb2fe4cf Merge "Rename getConfigFlag to isConfigFlagSet." 2018-01-20 02:22:21 +00:00
TreeHugger Robot
f87d75b37f Merge "Add "exemptForBatterySaver" to ForceAppStandbyTracker" 2018-01-20 02:22:15 +00:00
TreeHugger Robot
0116f7cbe4 Merge "No sensor access to idle UIDs - framework" 2018-01-20 01:37:29 +00:00
TreeHugger Robot
5aff4813b0 Merge "AudioService: fix deadlock between readSettings() and VSS.setAllIndexes()" 2018-01-20 01:31:23 +00:00
TreeHugger Robot
f74e56af8c Merge "Update JavaDoc for BackgroundColorSpan and ForegroundColorSpan." 2018-01-20 01:00:54 +00:00
Rajeev Kumar
508a9bfe33 Add atoms to log memory metrics.
Test: Manual
Bug: 72177881
Change-Id: I0e77c6651d10e6592e6bbd34c55186e5e49a70e9
2018-01-19 16:57:52 -08:00
TreeHugger Robot
dd05c12f67 Merge "Double the battery history size on userdebug/eng" 2018-01-20 00:26:24 +00:00
Makoto Onuki
eb8cfd123d Add "exemptForBatterySaver" to ForceAppStandbyTracker
Bug: 72125364
Test: atest CtsBatterySavingTestCases
Change-Id: I716dc53f06a74e3854aeaeff5c1567642ebaa0c9
2018-01-19 15:55:54 -08:00
Primiano Tucci
e4d44919aa Statsd -> Perfetto integration
This CL invokes the perfetto client utility to start the
collection of a trace when an anomaly that subscribed to
Perfetto is detected. The code simply spawns the
/system/bin/perfetto client and passes the trace config via
stdin. The client takes care of the dropbox upload.
The CollectPerfettoTraceAndUploadToDropbox() function does
NOT wait for the full trace collection (in order to avoid
blocking statsd) and instead returns immediately after having
spawned perfetto.

Change-Id: I4f02067bad7a46ede7b6e4841cdcf381c1a4e2a7
Bug: 71795552
2018-01-19 23:50:07 +00:00
Phil Weaver
d0429743fa Add a11y action to take screenshot
Bug: 70392997
Test: Adding unit test for functionality, cts test
for presence of api.

Change-Id: Ib5bc2217e1d29f527db0f0fadb69fd8249d6c279
2018-01-19 15:43:53 -08:00
TreeHugger Robot
3a29ce00bd Merge "ApkSignatureVerifier: expose verity interfaces" 2018-01-19 23:33:07 +00:00
Yi Jin
d1238e7b50 Merge "Fix permissions problems of incidentd." 2018-01-19 23:27:32 +00:00
TreeHugger Robot
9c68323763 Merge "Fix buffer overflow when the last chunk is 4kb" 2018-01-19 23:08:15 +00:00
Rob Carr
ae38a62b61 Merge "Rework stack Z-ordering promotion." 2018-01-19 22:58:41 +00:00
TreeHugger Robot
994b690844 Merge "Add performance tests for query / get" 2018-01-19 22:54:28 +00:00
Tomasz Wasilczyk
e8caa3bc5c Merge "Update ProgramSelector to match HAL 2.0." 2018-01-19 22:51:47 +00:00
Makoto Onuki
44d6460b50 Double the battery history size on userdebug/eng
Bug: 67297625
Test: Build & boot. (we experimented with the factor of 4 previously on OMR1.)
Change-Id: Ie03c31ade89c76efd05e907a5a0b74942e3f3df5
2018-01-19 14:26:22 -08:00
Leon Scroggins
cbb60724cf Merge "Use ImageDecoder for BitmapDrawable" 2018-01-19 22:10:53 +00:00
TreeHugger Robot
b56074b37b Merge "Clear calling uid in isAppEligibleForBackup() and variant" 2018-01-19 21:54:36 +00:00
TreeHugger Robot
20220cdb72 Merge "Add validators for all Settings.Secure settings that are backed up" 2018-01-19 21:53:29 +00:00
Android Build Merger (Role)
57ebb60d2d Merge "Merge "Make LTE signal bar thresholds customizable with carrier configuration" am: 8fb3bdc36f am: 5d90d0e2b7 am: 337a9ef04f -s ours" 2018-01-19 21:48:44 +00:00
Jordan Liu
6832d8729f Merge "Make LTE signal bar thresholds customizable with carrier configuration" am: 8fb3bdc36f am: 5d90d0e2b7
am: 337a9ef04f  -s ours

Change-Id: Icd92f19bbaebd7137dadf86e571954b153dadc65
2018-01-19 21:46:45 +00:00
Roshan Pius
0096827c74 Merge changes I8031de0c,I390523b0
* changes:
  config.xml: Add configuration to enable/disable 80211AC
  config.xml: Add configuration to enable/disable ACS
2018-01-19 21:43:39 +00:00
Siddharth Ray
f87fe48456 Merge "GPS Signal Quality added to BatteryStats" 2018-01-19 21:40:07 +00:00
Jordan Liu
337a9ef04f Merge "Make LTE signal bar thresholds customizable with carrier configuration" am: 8fb3bdc36f
am: 5d90d0e2b7

Change-Id: Ia3fe7265126023ec8c2ba5aaa6d09cd1ed1e9c43
2018-01-19 21:36:06 +00:00
Roshan Pius
19916d8b8e Merge "WifiConfiguration: Add support for auto-selecting AP band" 2018-01-19 21:33:47 +00:00
TreeHugger Robot
edaf9811ad Merge "fix bug in CpuTimePerUidFreqPuller to pull the correct file" 2018-01-19 21:33:22 +00:00
Jordan Liu
5d90d0e2b7 Merge "Make LTE signal bar thresholds customizable with carrier configuration"
am: 8fb3bdc36f

Change-Id: Icf95b62e2828de2175b2c9767741138c507c0e5b
2018-01-19 21:29:10 +00:00
Bernardo Rufino
5d94c398eb Merge "Binding on-demand #11: Dump TransportClients" 2018-01-19 20:57:49 +00:00
Lei Yu
0013162ebe Merge "Add metric for restricted app detail page" 2018-01-19 20:47:52 +00:00
Victor Hsieh
b62a64e078 Fix buffer overflow when the last chunk is 4kb
Test: adb install GtsNetStatsTestCases.apk  # works only w/ the patch
Bug: 72189232
Bug: 30972906
Change-Id: I9f01279d783dd5adf31cfda4abd452240ad25ca3
2018-01-19 12:47:09 -08:00
TreeHugger Robot
7e5da5be94 Merge "Fixed the possibility to report rejected touch events" 2018-01-19 20:43:19 +00:00
TreeHugger Robot
51d7925f96 Merge "Add cluster&active cost to cpu power" 2018-01-19 20:41:45 +00:00
Jordan Liu
8fb3bdc36f Merge "Make LTE signal bar thresholds customizable with carrier configuration" 2018-01-19 20:39:43 +00:00
Todd Kennedy
109057e07e Add performance tests for query / get
Bug: 68777480
Test: m CorePerfTests
Test: adb install CorePerfTests.apk
Test: adb shell am instrument -w -e class android.os.PackageManagerPerfTest com.android.perftests.core/android.support.test.runner.AndroidJUnitRunner
Change-Id: I047d9d2e84665fe641a7c354a9f1b16c40f7ff31
2018-01-19 12:32:21 -08:00
nharold
7f013ecf5a Merge "Add Tunnel Interface APIs to IpSecManager" am: 08d07aec50 am: 696cff166c
am: 0174b8afcf

Change-Id: I094751d965b679e85a0f200b2382f1715d69e400
2018-01-19 20:25:18 +00:00
nharold
0174b8afcf Merge "Add Tunnel Interface APIs to IpSecManager" am: 08d07aec50
am: 696cff166c

Change-Id: I0cd07c51e9512b7e9471e1a09c977fca2bf12e48
2018-01-19 20:16:38 +00:00
Felipe Leme
d11a66220c Minor API changes on Autofill Field Classification:
- Removed Scores class and use float[][] directly.
- Created constant for metadata keys.
- Removed getAlgorithName() from FieldClassification.

Bug: 70291841

Test: m -j update-api
Test: atest CtsAutoFillServiceTestCases

Change-Id: I62abf93c4f6f0804d838c7fb183c0b8bcb88a136
2018-01-19 12:16:21 -08:00
TreeHugger Robot
9342c3d4db Merge "similar to the samplers in batterystats, when we do diff, if the value is not monotically increasing, we should take the absolute value as the diff." 2018-01-19 20:12:47 +00:00
Derek Sollenberger
66c6d78908 Use ImageDecoder for BitmapDrawable
If required due to density mismatches the ImageDecoder will not
upscale the image at decode time, but instead will decode at the
bitmaps default size and upscale at draw time.  This can be a
significant memory savings for low-dpi assets being used on a high-dpi
device.

However, if the provided asset has a higher dpi level than the bitmaps
default density then we will match BitmapFactories behavior and downscale
the bitmap to match the default density.

Bug: 63909536
Test: CtsGraphicsTestCases
Change-Id: I189306b7a3b706bed32bb267970ade27a57c0e7f
2018-01-19 15:10:05 -05:00
nharold
696cff166c Merge "Add Tunnel Interface APIs to IpSecManager"
am: 08d07aec50

Change-Id: I4186bdf52cc1c2c8927ca1a0dd61b71fae236e1a
2018-01-19 20:08:38 +00:00