Commit Graph

81066 Commits

Author SHA1 Message Date
Rob Carr
362a400f09 Merge "Fix incorrect SV calculation in non-RT codepath." into oc-dr1-dev
am: f62e79791b

Change-Id: I59fd7563e1bb82def0e9321b6340c97e249bdcfc
2017-07-20 18:47:17 +00:00
Rob Carr
f62e79791b Merge "Fix incorrect SV calculation in non-RT codepath." into oc-dr1-dev 2017-07-20 18:32:31 +00:00
Adrian Roos
747938ed61 Merge "AOD: Prevent animations and rotations while going to sleep" into oc-dr1-dev
am: 29119b6f5f

Change-Id: I5deca2c8224d629eadc18a7f7742c6f8d43b133d
2017-07-20 16:12:21 +00:00
Adrian Roos
29119b6f5f Merge "AOD: Prevent animations and rotations while going to sleep" into oc-dr1-dev 2017-07-20 16:02:55 +00:00
Geoffrey Pitsch
3ca605e28c Merge "Allow apps to downgrade importance in createNotificationChannel" into oc-dr1-dev 2017-07-20 15:33:41 +00:00
Benjamin Miller
ca4f0f98a2 Merge "Docs-change: how UserManager.ENSURE_VERIFY_APPS affects profiles." into oc-dev am: baa85250d4
am: aeb503f7ca

Change-Id: Iff0d3dbea379e2e90a2cf7fc82675eac2c088e11
2017-07-20 14:09:07 +00:00
Benjamin Miller
aeb503f7ca Merge "Docs-change: how UserManager.ENSURE_VERIFY_APPS affects profiles." into oc-dev
am: baa85250d4

Change-Id: I553b5b775cbdb42020405dfcc1b18032d4777597
2017-07-20 14:05:31 +00:00
Benjamin Miller
baa85250d4 Merge "Docs-change: how UserManager.ENSURE_VERIFY_APPS affects profiles." into oc-dev 2017-07-20 13:58:15 +00:00
Adrian Roos
7c89480c0e AOD: Prevent animations and rotations while going to sleep
A recent change allowed animations while the screen is
turning on, but not fully turned on; this allows rotations
while the device is going to sleep though. To prevent that,
we now disallow animations if the device is going to sleep too.

In addition, we also prevent the rotation animation when the screen
is not fully on or non-interactive.

Change-Id: I9b84f68a02a07067e48b11c008bcaf4bcb7c41a0
Fixes: 63760853
Test: Turn phone to landscape on an app that can rotate. Press power button. Verify AOD shows without a rotation; go/wm-smoke
2017-07-20 13:24:52 +00:00
Adrian Roos
520caf4a75 Merge "Keyguard: Factor out Screen and Wakefulness lifecycles" into oc-dr1-dev
am: d3878b5e12

Change-Id: I11ddc51a8c71d22b5420def8a4c0f3f57954a081
2017-07-20 11:29:59 +00:00
Adrian Roos
d3878b5e12 Merge "Keyguard: Factor out Screen and Wakefulness lifecycles" into oc-dr1-dev 2017-07-20 11:22:39 +00:00
Jeff Davidson
de7e5a5595 Merge "Revert disabling of eSIM wipes/retains." into oc-dr1-dev am: acdcf37e4b
am: 10238e562a

Change-Id: If5106972654149f5cb53aedae45964397dcfb69d
2017-07-20 04:38:28 +00:00
Jeff Davidson
10238e562a Merge "Revert disabling of eSIM wipes/retains." into oc-dr1-dev
am: acdcf37e4b

Change-Id: I10cc2501e38837f816c564716a6d157bc8f57ed6
2017-07-20 04:32:21 +00:00
Sudheer Shanka
e1fc968241 Merge "Assign cpu times to correct battery state bucket." 2017-07-20 04:28:19 +00:00
TreeHugger Robot
acdcf37e4b Merge "Revert disabling of eSIM wipes/retains." into oc-dr1-dev 2017-07-20 04:24:50 +00:00
Philip Quinn
075c4a3d63 Merge "Ping the StatusBar about power key events. am: c3a503d8fd" into oc-dr1-dev-plus-aosp
am: c5f9c329c1

Change-Id: I2906e0d6faae5a800cb70e13e5fb8fe590fe0bfa
2017-07-20 04:11:22 +00:00
Philip Quinn
980808df5a Ping the StatusBar about power key events.
am: c3a503d8fd

Change-Id: I53c473abae0a58216bfa810d2e5df2da294d411d
2017-07-20 04:01:51 +00:00
Philip Quinn
c3a503d8fd Ping the StatusBar about power key events.
Bug: 63183852
Test: runtest systemui

Change-Id: I5d8209396e3e761b404c1071a7004f34c6e6c927
2017-07-20 03:51:51 +00:00
TreeHugger Robot
5a1f7ff0fe Merge "Rename vendorExtension fields to vendorInfo." 2017-07-20 03:42:13 +00:00
Jeff Sharkey
6d626c24e3 Merge "Let's get a constant for O_MR1." 2017-07-20 03:20:22 +00:00
Jeff Sharkey
7beabc264b Let's get a constant for O_MR1.
Test: none
Exempt-From-Owner-Approval: HULK SMASH!
Change-Id: I440ebae4d0891d9044bbbfb5beaaaa98639aea98
2017-07-20 03:19:33 +00:00
Ahmed ElArabawy
609f89bd63 Merge "Fix format of subsystem power stats" into oc-dr1-dev am: 5512504bba
am: fe4ec9e946

Change-Id: I7dba5de4a5de74fd654ae5d1fe03abc625510f16
2017-07-20 02:49:54 +00:00
Ahmed ElArabawy
fe4ec9e946 Merge "Fix format of subsystem power stats" into oc-dr1-dev
am: 5512504bba

Change-Id: I3f6b818d34a2a54f73a7192d10d462b68d6e6ed0
2017-07-20 02:43:54 +00:00
TreeHugger Robot
5512504bba Merge "Fix format of subsystem power stats" into oc-dr1-dev 2017-07-20 02:37:56 +00:00
TreeHugger Robot
bba76b2d09 Merge "Don't show a custom description if any transformation fail." 2017-07-20 01:55:46 +00:00
Tomasz Wasilczyk
f3bbae7d6e Merge "Rename (FM) Radio to Broadcast Radio to avoid confusion with (GSM) Radio." 2017-07-20 01:38:51 +00:00
Calin Juravle
2b59499263 Merge "Encode the entire class loader context for dex2oat" 2017-07-20 00:43:02 +00:00
Android Build Merger (Role)
58b66588b6 Merge "Merge "MediaRouter: Introduce and use getFallbackRoute method" into oc-dr1-dev am: 7b3bd1d547 am: 4dec845d52" 2017-07-20 00:34:14 +00:00
Sungsoo Lim
e8de514b10 Merge "MediaRouter: Introduce and use getFallbackRoute method" into oc-dr1-dev am: 7b3bd1d547
am: 4dec845d52

Change-Id: I07d405b81ec43d720ec843a87e6a3bb07e03aea7
2017-07-20 00:32:10 +00:00
TreeHugger Robot
dc751a3867 Merge "Add provider support for metadata extraction" 2017-07-20 00:29:59 +00:00
Sungsoo Lim
4dec845d52 Merge "MediaRouter: Introduce and use getFallbackRoute method" into oc-dr1-dev
am: 7b3bd1d547

Change-Id: I0bf675f16c233b8b0a83f7bf20c9a42e3b76cbbb
2017-07-20 00:25:11 +00:00
TreeHugger Robot
7b3bd1d547 Merge "MediaRouter: Introduce and use getFallbackRoute method" into oc-dr1-dev 2017-07-20 00:18:20 +00:00
TreeHugger Robot
2b8d44f907 Merge "Add a command line option to optimize individual splits" 2017-07-20 00:17:35 +00:00
TreeHugger Robot
11ed01b4b2 Merge "Refactor the arguments passed to dexopt invocations" 2017-07-20 00:17:12 +00:00
TreeHugger Robot
339665ff58 Merge "Update FINGERPRINT_ERROR_VENDOR documentation" 2017-07-20 00:04:03 +00:00
Jeff Davidson
e05f37e0a6 Revert disabling of eSIM wipes/retains.
This is a revert of change I414a16cde11e76ccc390e7a63a6803f5b402fe78.
As an additional safety latch, we bypass all logic (either wipe or
retain) if the eSIM has never been provisioned. An unprovisioned eSIM
cannot possibly have profiles - indeed, we don't show the "Wipe eSIM"
checkbox in this case - so there's no reason to tell the LPA to retain
them.

Bug: 63693573
Test: TreeHugger + factory reset local test
Change-Id: I1fea50db317388e81823bf1bd0977ffe787a05e0
2017-07-20 00:01:33 +00:00
Selim Cinek
825719bb92 Merge "Reducing bitmap sizes in notifications" into oc-dr1-dev
am: 8ffa981686

Change-Id: I20fbb857570c0e7bb02659b9026b0800d5939bc2
2017-07-19 23:47:16 +00:00
Selim Cinek
8ffa981686 Merge "Reducing bitmap sizes in notifications" into oc-dr1-dev 2017-07-19 23:41:44 +00:00
Selim Cinek
4de4de3fa3 Merge "Reducing bitmap sizes in notifications" 2017-07-19 23:37:32 +00:00
Tomasz Wasilczyk
ac3bd38735 Rename vendorExtension fields to vendorInfo.
Bug: b/63634552
Test: instrumentation
Change-Id: Ic552f41dfd5be57fcbc64690358b14070b7efa60
2017-07-19 16:26:46 -07:00
Tomasz Wasilczyk
6b4b646d9c Rename (FM) Radio to Broadcast Radio to avoid confusion with (GSM) Radio.
Bug: b/63405337
Test: instrumentation

Change-Id: I33c3e450602e521b77b6167f9866278980f17743
2017-07-19 16:26:46 -07:00
Ahmed ElArabawy
307edcd9c2 Fix format of subsystem power stats
The Subsystem power stats string in batteryStats dumpsys has an extra
newline that is causing PowerBug to skip the line when parsing the
history information.
Also, the string for subsystem power stats is missing a heading title
and has some redundant text

This commit fixes these format errors so powerbug can read and parse that
line successfully

Bug: 63447034
Test: Manual testing + Read the bugreport by historian and verify output

Change-Id: Idf971823dd5f769e653b4788b00fc025593d0d3d
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2017-07-19 16:25:46 -07:00
Tomasz Wasilczyk
6e29269461 Merge "Implement out-of-band metadata images." 2017-07-19 23:20:26 +00:00
Julian Mancini
b65051579f Add provider support for metadata extraction
In this CL, I'm adding ability to retrieve image metadata. I've added
the class MetadataRetriever that can currently retrieve Exif data from
an image. This class is used withing FileSystemProvider in order to
return a given image's exif data.

Test: Hidden API
Bug: 62621970
Change-Id: Ibb329492df4db1a65f65722c6a52582c43de8fe5
2017-07-19 15:46:23 -07:00
Calin Juravle
19da1cf72e Encode the entire class loader context for dex2oat
Until now the split dependencies were passed as a flatten list to dex2oat.
In the presence of DelegateLastClassLoaders this is no longer enough to
ensure the correctness of the compilation.

This CL encodes the split dependencies together with their declared class
loader in a format accepted by dex2oat.

Bug: 38138251
Test: runtest -x
services/tests/servicestests/src/com/android/server/pm/dex/DexoptUtilsTest.java

Change-Id: Iaabd5d8bd5e6d027a8de5a408777fd517063d9f1
2017-07-19 15:20:16 -07:00
TreeHugger Robot
d2eb1035ef Merge "Fix Fragment.onCreate() not being called in some cases." 2017-07-19 22:15:24 +00:00
Calin Juravle
b6f844d28c Add a command line option to optimize individual splits
The new option is "--split SplitName" and applies to "adb shell cmd
package compile" command.

Usage example:
adb shell cmd package compile -m speed --split split_feature_a.apk
com.android.cts.classloadersplitapp

Bug: 38138251

Test: adb install-multiple CtsClassloaderSplitApp.apk
CtsClassloaderSplitAppFeatureA.apk CtsClassloaderSplitAppFeatureB.apk
      adb shell cmd package compile -m speed --split split_feature_a.apk
com.android.cts.classloadersplitapp
      check the status of split_feature_a
      runtest -x
services/tests/servicestests/src/com/android/server/pm/dex/DexoptOptionsTests.java

Change-Id: I579bb12fa6699f99cd3824f185bd9352fb8007c5
2017-07-19 15:04:48 -07:00
Calin Juravle
1d0e83d2ce Refactor the arguments passed to dexopt invocations
Wrap the arguments passed to the various performDexopt calls into the
DexoptOptions object.

This will make adding extra arguments (like compile only a split) much
easier and avoid extending quite a few internal methods.

Bug: 38138251
Test: adb shell cmd package compile ....
      adb shell cmd package bg-dexopt-job ...
      install new apps and check that they compiled
      runtest -x
services/tests/servicestests/src/com/android/server/pm/dex/DexoptOptionsTests.java

Change-Id: Ia9930edd2dceb7535d6168eceb8e3199c82b6306
2017-07-19 14:58:27 -07:00
Kevin Chyn
5bd5011b4f Update FINGERPRINT_ERROR_VENDOR documentation
Fixes: 63818396

Test: make -j
Change-Id: I9a879764b7ac16b2683a79f5365b49249c5c8d78
2017-07-19 12:39:53 -07:00
TreeHugger Robot
9fa81d232d Merge "Unhide several Fingerprint APIs" 2017-07-19 19:02:19 +00:00