OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Add tests for Recovery Controller Parcelables"
TreeHugger Robot [Mon, 26 Feb 2018 11:16:43 +0000 (11:16 +0000)]
Merge "Add tests for Recovery Controller Parcelables"

6 years agoMerge "Definitely abort reconnecting to native daemon during shutdown" am: 2fd5af1036...
Tetsutoki Shiozawa [Mon, 26 Feb 2018 08:05:10 +0000 (08:05 +0000)]
Merge "Definitely abort reconnecting to native daemon during shutdown" am: 2fd5af1036 am: 282c038240
am: 89d30c03d0

Change-Id: I74677602cd4642c2b441fb353a9f0824a238deae

6 years agoMerge "Add device capabilities." am: 86316a4b42 am: 472d796ab2
Holly Jiuyu Sun [Mon, 26 Feb 2018 07:58:03 +0000 (07:58 +0000)]
Merge "Add device capabilities." am: 86316a4b42 am: 472d796ab2
am: 291f3f305c  -s ours

Change-Id: Idc8d7903649d371624cf84edbb48d747ab7be7fe

6 years agoMerge "Definitely abort reconnecting to native daemon during shutdown" am: 2fd5af1036
Tetsutoki Shiozawa [Mon, 26 Feb 2018 07:50:37 +0000 (07:50 +0000)]
Merge "Definitely abort reconnecting to native daemon during shutdown" am: 2fd5af1036
am: 282c038240

Change-Id: I034072b89d0a8b9362940155ae2e2d173fde1b33

6 years agoMerge "Add device capabilities." am: 86316a4b42
Holly Jiuyu Sun [Mon, 26 Feb 2018 07:44:07 +0000 (07:44 +0000)]
Merge "Add device capabilities." am: 86316a4b42
am: 472d796ab2

Change-Id: I4837a521093dcc41bf7a3597d43c04e5f95c1c81

6 years agoMerge "Definitely abort reconnecting to native daemon during shutdown"
Tetsutoki Shiozawa [Mon, 26 Feb 2018 07:43:18 +0000 (07:43 +0000)]
Merge "Definitely abort reconnecting to native daemon during shutdown"
am: 2fd5af1036

Change-Id: I42d34accd9b56d1090a76632751447653cc8dd61

6 years agoMerge "Add device capabilities."
Holly Jiuyu Sun [Mon, 26 Feb 2018 07:35:22 +0000 (07:35 +0000)]
Merge "Add device capabilities."
am: 86316a4b42

Change-Id: I9aa51ecb8f3784e449b29358307646848ef3a309

6 years agoMerge "Definitely abort reconnecting to native daemon during shutdown"
Treehugger Robot [Mon, 26 Feb 2018 06:49:52 +0000 (06:49 +0000)]
Merge "Definitely abort reconnecting to native daemon during shutdown"

6 years agoMerge "Add device capabilities."
Holly Jiuyu Sun [Mon, 26 Feb 2018 05:49:29 +0000 (05:49 +0000)]
Merge "Add device capabilities."

6 years agoMerge "Add hashCode() in UiccAccessRule."
Jiuyu Sun [Mon, 26 Feb 2018 05:48:14 +0000 (05:48 +0000)]
Merge "Add hashCode() in UiccAccessRule."

6 years agoMediaBrowser2: Fix naming inconsistencies
Hyundo Moon [Thu, 22 Feb 2018 08:10:10 +0000 (17:10 +0900)]
MediaBrowser2: Fix naming inconsistencies

This CL modifies following APIs:

1. getLibraryRoot() related
 - onGetRoot => onGetLibraryRoot
 - onGetRootResult => onGetLibraryRootDone

2. getItem() related
 - onLoadItem => onGetItem
   - Also renamed argument: itemId => mediaId
 - onItemLoaded => onGetItemDone

3. getChildren() related
 - notifyChildrenChanged/onChildrenChanged
   - Renamed argument: childCount => itemCount
 - onLoadChildren => onGetChildren
 - onChildrenLoaded => onGetChildrenDone

4. getSearchResult() related
 - onLoadSearchResult => onGetSearchResult
 - onSearchResultLoaded => onGetSearchResultDone

Bug: 73711101
Test: Passed MediaBrowser2Test
Change-Id: Ic8d6530d3913d9becdaada32283e9fe1f7e534a9

6 years agoAdd tests for Recovery Controller Parcelables
Robert Berry [Sun, 25 Feb 2018 23:27:18 +0000 (23:27 +0000)]
Add tests for Recovery Controller Parcelables

Bug: 73811828
Test: runtest frameworks-core -p android.security.keystore.recovery
Change-Id: I0e77713cc3a3c6ee19e134628792782879ec2849

6 years agoMerge "Import some plugin documentation into the tree"
TreeHugger Robot [Sun, 25 Feb 2018 19:59:22 +0000 (19:59 +0000)]
Merge "Import some plugin documentation into the tree"

6 years agoMerge "Remove packageName from getRecoveryStatus"
Robert Berry [Sun, 25 Feb 2018 14:08:47 +0000 (14:08 +0000)]
Merge "Remove packageName from getRecoveryStatus"

6 years agoOmit inferred network policies from backup.
Jeff Sharkey [Sun, 25 Feb 2018 02:09:20 +0000 (19:09 -0700)]
Omit inferred network policies from backup.

Inferred network policies might include carrier-protected data that
we can't export per CDD.  We continue to backup policies that have
been explicitly set by the end user.

Test: builds, boots
Bug: 24786071
Change-Id: I9de3308dfde72435627e8042fee4bcbb480e92dc

6 years agoMerge "Revert "Block adb from changing certain settings value when corresponding...
TreeHugger Robot [Sat, 24 Feb 2018 22:13:53 +0000 (22:13 +0000)]
Merge "Revert "Block adb from changing certain settings value when corresponding user""

6 years agoMerge "Fix NPE in NetworkMetrics" am: cb0714332d am: 34d08160bd
Hugo Benichi [Sat, 24 Feb 2018 19:30:40 +0000 (19:30 +0000)]
Merge "Fix NPE in NetworkMetrics" am: cb0714332d am: 34d08160bd
am: ca13c0553a

Change-Id: I66e07968b013c941706d4c772684fa8851e0ccf3

6 years agoMerge "Fix NPE in NetworkMetrics" am: cb0714332d
Hugo Benichi [Sat, 24 Feb 2018 19:21:43 +0000 (19:21 +0000)]
Merge "Fix NPE in NetworkMetrics" am: cb0714332d
am: 34d08160bd

Change-Id: I5c182e9cba857d291ea16fb8bd6b0a66d11cf432

6 years agoMerge "Fix NPE in NetworkMetrics"
Hugo Benichi [Sat, 24 Feb 2018 19:13:03 +0000 (19:13 +0000)]
Merge "Fix NPE in NetworkMetrics"
am: cb0714332d

Change-Id: Icd844e6f04d93e9092b7fbf109ece537dfff4116

6 years agoMerge "Fix NPE in NetworkMetrics"
Hugo Benichi [Sat, 24 Feb 2018 17:54:01 +0000 (17:54 +0000)]
Merge "Fix NPE in NetworkMetrics"

6 years agoMerge "Stop throwing exceptions in TouchExplorer"
Phil Weaver [Sat, 24 Feb 2018 13:57:09 +0000 (13:57 +0000)]
Merge "Stop throwing exceptions in TouchExplorer"

6 years agoRevert "Block adb from changing certain settings value when corresponding user"
Yueming Wang [Sat, 24 Feb 2018 03:30:17 +0000 (03:30 +0000)]
Revert "Block adb from changing certain settings value when corresponding user"

This reverts commit 4140f6c4e3de454dfbcf060112517408ac69e96c.

Reason for revert: This CL is merged accidentally as it got merged together with another CL.

Change-Id: I043a5872f370775a4261a1ca7ccb00489a588303

6 years agoMerge "Flip order of arguments"
TreeHugger Robot [Sat, 24 Feb 2018 10:25:40 +0000 (10:25 +0000)]
Merge "Flip order of arguments"

6 years agoMerge "Ignore stopped state when becoming visible and ensuring configuration."
TreeHugger Robot [Sat, 24 Feb 2018 10:25:18 +0000 (10:25 +0000)]
Merge "Ignore stopped state when becoming visible and ensuring configuration."

6 years agoMerge "Add CertPath to KeyChainSnapshot and startRecoverySession"
TreeHugger Robot [Sat, 24 Feb 2018 10:19:21 +0000 (10:19 +0000)]
Merge "Add CertPath to KeyChainSnapshot and startRecoverySession"

6 years agoMerge "Avoid creating temporary objects in FiterValue()."
TreeHugger Robot [Sat, 24 Feb 2018 10:13:19 +0000 (10:13 +0000)]
Merge "Avoid creating temporary objects in FiterValue()."

6 years agoAvoid creating temporary objects in FiterValue().
Yangster-mac [Fri, 23 Feb 2018 21:08:03 +0000 (13:08 -0800)]
Avoid creating temporary objects in FiterValue().

It reduces the cpu time from 1000ns to 750ns

Test: statsd test.
Change-Id: Ifa7e98e3368f8d55f85c7b09d05a6c416482981d

6 years agoMerge "Fixes crash when tap on nav bar without using quickstep"
TreeHugger Robot [Sat, 24 Feb 2018 03:37:30 +0000 (03:37 +0000)]
Merge "Fixes crash when tap on nav bar without using quickstep"

6 years agoMerge "Let sendShowMessage called from hide to show" am: e7d04d728c am: f91fddddd1
tiansiming [田思明] [Sat, 24 Feb 2018 03:04:26 +0000 (03:04 +0000)]
Merge "Let sendShowMessage called from hide to show" am: e7d04d728c am: f91fddddd1
am: ef2ac4066b

Change-Id: Ic2dc363d4a26b9c3a10e0b7d1072765501eec383

6 years agoMerge "Let sendShowMessage called from hide to show" am: e7d04d728c
tiansiming [田思明] [Sat, 24 Feb 2018 02:56:15 +0000 (02:56 +0000)]
Merge "Let sendShowMessage called from hide to show" am: e7d04d728c
am: f91fddddd1

Change-Id: I8aa277a5448b999496b79f6b5721738d3b5f9af7

6 years agoMerge "Let sendShowMessage called from hide to show"
tiansiming [田思明] [Sat, 24 Feb 2018 02:43:03 +0000 (02:43 +0000)]
Merge "Let sendShowMessage called from hide to show"
am: e7d04d728c

Change-Id: If406d79d0489a9c61322c0937fce2c9a9a5c4dc1

6 years agoMerge "Store carrier app name in global settings for SIM dialog/notification"
TreeHugger Robot [Sat, 24 Feb 2018 02:38:26 +0000 (02:38 +0000)]
Merge "Store carrier app name in global settings for SIM dialog/notification"

6 years agoMerge "Fix sleep time in Cellular"
TreeHugger Robot [Sat, 24 Feb 2018 02:37:38 +0000 (02:37 +0000)]
Merge "Fix sleep time in Cellular"

6 years agoMerge "Explicitly do not support SEARCH_SERVICE on UI_MODE_TYPE_WATCH"
TreeHugger Robot [Sat, 24 Feb 2018 02:13:27 +0000 (02:13 +0000)]
Merge "Explicitly do not support SEARCH_SERVICE on UI_MODE_TYPE_WATCH"

6 years agoMerge "Wrap raw binder interface into public classes" am: a4bde27012 am: 3cd878df0f
Ruchi Kandoi [Sat, 24 Feb 2018 02:12:34 +0000 (02:12 +0000)]
Merge "Wrap raw binder interface into public classes" am: a4bde27012 am: 3cd878df0f
am: 21b4edb3cd

Change-Id: I9797e593a44b86f32f6c8c343d8bb15076e6ca87

6 years agoMerge "Wrap raw binder interface into public classes" am: a4bde27012
Ruchi Kandoi [Sat, 24 Feb 2018 02:04:37 +0000 (02:04 +0000)]
Merge "Wrap raw binder interface into public classes" am: a4bde27012
am: 3cd878df0f

Change-Id: I896528596006eb76241e706bb71d958214fb6499

6 years agoMerge "BatteryStatsImpl: Fix parceling error"
TreeHugger Robot [Sat, 24 Feb 2018 02:03:24 +0000 (02:03 +0000)]
Merge "BatteryStatsImpl: Fix parceling error"

6 years agoMerge "Fixed an issue where the collapsing was called on the wrong thread"
TreeHugger Robot [Sat, 24 Feb 2018 01:52:41 +0000 (01:52 +0000)]
Merge "Fixed an issue where the collapsing was called on the wrong thread"

6 years agoMerge "Wrap raw binder interface into public classes"
Ruchi Kandoi [Sat, 24 Feb 2018 01:51:26 +0000 (01:51 +0000)]
Merge "Wrap raw binder interface into public classes"
am: a4bde27012

Change-Id: Idd3b7a5563b2432654af1a331a6f040c1e98832a

6 years agoMerge "Update wear default app icon color."
Andrew Zeng [Sat, 24 Feb 2018 01:36:50 +0000 (01:36 +0000)]
Merge "Update wear default app icon color."

6 years agoMerge "Fixed the actions for the ambient layout"
Selim Cinek [Sat, 24 Feb 2018 01:28:54 +0000 (01:28 +0000)]
Merge "Fixed the actions for the ambient layout"

6 years agoMerge "Let sendShowMessage called from hide to show"
Treehugger Robot [Sat, 24 Feb 2018 01:27:13 +0000 (01:27 +0000)]
Merge "Let sendShowMessage called from hide to show"

6 years agoMerge "Implement issue #73301635: Ability to extract device configuration"
TreeHugger Robot [Sat, 24 Feb 2018 01:21:34 +0000 (01:21 +0000)]
Merge "Implement issue #73301635: Ability to extract device configuration"

6 years agoMerge "Update the Bluetooth Active Device state in the Device Manager"
TreeHugger Robot [Sat, 24 Feb 2018 01:07:45 +0000 (01:07 +0000)]
Merge "Update the Bluetooth Active Device state in the Device Manager"

6 years agoMerge "Fix strict mode violation"
Mike Ma [Sat, 24 Feb 2018 00:50:29 +0000 (00:50 +0000)]
Merge "Fix strict mode violation"

6 years agoAdd CertPath to KeyChainSnapshot and startRecoverySession
Bo Zhu [Fri, 23 Feb 2018 05:43:52 +0000 (21:43 -0800)]
Add CertPath to KeyChainSnapshot and startRecoverySession

CertPath will include a cert of the trusted hardware and necessary
intermediate certificates.

Bug: 73784851
Change-Id: Ic70616b8f119891a82402b91035456e404c5f6de
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

6 years agoMerge "Added CTS test cases for getNetworkId() and getSystemId()"
TreeHugger Robot [Sat, 24 Feb 2018 00:37:08 +0000 (00:37 +0000)]
Merge "Added CTS test cases for getNetworkId() and getSystemId()"

6 years agoMerge "Improve reporting of bucketing reason"
TreeHugger Robot [Sat, 24 Feb 2018 00:24:03 +0000 (00:24 +0000)]
Merge "Improve reporting of bucketing reason"

6 years agoMerge "Wrap raw binder interface into public classes"
Treehugger Robot [Sat, 24 Feb 2018 00:19:29 +0000 (00:19 +0000)]
Merge "Wrap raw binder interface into public classes"

6 years agoExplicitly do not support SEARCH_SERVICE on UI_MODE_TYPE_WATCH
Erik Wolsheimer [Tue, 5 Dec 2017 21:11:50 +0000 (13:11 -0800)]
Explicitly do not support SEARCH_SERVICE on UI_MODE_TYPE_WATCH

Bug: 69950606
Change-Id: Ia195e88d8652cd7875d0ce03875034698367001c
(cherry picked from commit 980ba14b921932e85cdc0447af0398778a1c0d64)

6 years agoIgnore stopped state when becoming visible and ensuring configuration.
Wale Ogunwale [Fri, 23 Feb 2018 04:44:56 +0000 (20:44 -0800)]
Ignore stopped state when becoming visible and ensuring configuration.

We normally don't ensure configuration for activities in the stopped
state since it doesn't make sense to be relaunching something that isn't
visible. However, if the activity is becoming visible, then ignore the
stopped state allowing the configuration to be ensured and the activity
relaunched if needed.

Change-Id: If953b624105c8c522f01cfb8fc68ded4fb18698d
Fixes: 73696401
Test: atest ActivityLifecycleTests#testRelaunchConfigurationChangedWhileBecomingVisible

6 years agoFixed the actions for the ambient layout
Selim Cinek [Fri, 23 Feb 2018 23:22:04 +0000 (15:22 -0800)]
Fixed the actions for the ambient layout

Change-Id: I9620144cf20f0f2ee6b0d0fa3cc6e81778357db3
Fixes: 73819192
Test: add ambient notification, observe no action overlap

6 years agoMerge "SettingsLib: Move DefaultAppInfo CandidateInfo from Settings"
TreeHugger Robot [Fri, 23 Feb 2018 23:31:47 +0000 (23:31 +0000)]
Merge "SettingsLib: Move DefaultAppInfo CandidateInfo from Settings"

6 years agoImplement issue #73301635: Ability to extract device configuration
Dianne Hackborn [Tue, 20 Feb 2018 18:31:02 +0000 (10:31 -0800)]
Implement issue #73301635: Ability to extract device configuration

am get-config can now return its information as a protobuf,
so that we have a nice machine readable representation of the
configuration available.  This is available through the new
"--proto" option.

Also add a new "--device" option which will include additional
device configuration information in the output.

Defined the protos to contain all of this information.  Updated
Configuration to generate everything it should in the proto.

The output has been changed so that configuration history
will not be returned unless you specify the --days option.

Bug: 73301635
Test: Booted, ran, output

Change-Id: I074b92b45d6b1da1c1a499080db9e006d12b9fea

6 years agoAdd device capabilities.
Holly Jiuyu Sun [Wed, 7 Feb 2018 04:33:00 +0000 (20:33 -0800)]
Add device capabilities.

Bug: 72223709
Test: Unit test
Merged-In: I35a74e88767f772f764734d1f535848ba43629b9
Change-Id: I35a74e88767f772f764734d1f535848ba43629b9

6 years agoMerge "Add userRestriction attribute in Location settings injector."
TreeHugger Robot [Fri, 23 Feb 2018 23:18:47 +0000 (23:18 +0000)]
Merge "Add userRestriction attribute in Location settings injector."

6 years agoFixed an issue where the collapsing was called on the wrong thread
Selim Cinek [Fri, 23 Feb 2018 19:19:45 +0000 (11:19 -0800)]
Fixed an issue where the collapsing was called on the wrong thread

With work profiles, the collapsing of the panel would happen on the wrong
thread.

Change-Id: I617465d9b285d456162bb7d9ed6ee27659ab1134
Fixes: 73728329
Test: unlock work profile from work profile notification

6 years agoFlip order of arguments
Kurt Nelson [Thu, 22 Feb 2018 19:21:15 +0000 (11:21 -0800)]
Flip order of arguments

Callbacks as the second parameter is more Kotlin friendly.

Bug: 73751206
Test: cts-tradefed run commandAndExit cts-dev --module CtsOsTestCases --test android.os.cts.StrictModeTest
Change-Id: Ib9c9469be1b81dc65e74c9e303f474c54a43b18b

6 years agoMerge "Extrating out icon generation logic so that it can customized"
Sunny Goyal [Fri, 23 Feb 2018 23:12:08 +0000 (23:12 +0000)]
Merge "Extrating out icon generation logic so that it can customized"

6 years agoFixes crash when tap on nav bar without using quickstep
Matthew Ng [Fri, 23 Feb 2018 23:02:07 +0000 (15:02 -0800)]
Fixes crash when tap on nav bar without using quickstep

Fixes crash on nav bar by setting default pos/states of home button and
track opacity to avoid null error when tapping the nav bar before using
quick scrub. Also fixes the lack of animation of quick scrub when it
retracts.

Fixes: 73814434
Test: tap the nav bar upon reboot (or kill sysui process) before using
quickscrub

Change-Id: I2d35dcdf6e860ffb3959d48b4a4cdc319e939d1b

6 years agoFix NPE in NetworkMetrics
Hugo Benichi [Fri, 23 Feb 2018 23:01:30 +0000 (08:01 +0900)]
Fix NPE in NetworkMetrics

addTcpStatsResult() in NetworkMetrics was not checking for the nullness
of the pendingSummary object and trying to add stats regardless.

This patch fixes addTcpStatsResult() so that it populates pendingSummary
if necessary, similarly to addConnectResult() and addDnsResult()

Bug: 73825228
Test: runtest frameworks-net
Change-Id: I616a4be0e6e5920bd2f5c58292fea769bd516df7

6 years agoMerge "Add information of microphone on peripheral for mic enumeration APIs."
TreeHugger Robot [Fri, 23 Feb 2018 22:55:50 +0000 (22:55 +0000)]
Merge "Add information of microphone on peripheral for mic enumeration APIs."

6 years agoMerge changes from topic "wipedata"
TreeHugger Robot [Fri, 23 Feb 2018 22:54:44 +0000 (22:54 +0000)]
Merge changes from topic "wipedata"

* changes:
  Rename WipeDataWithReason API to wipeData.
  Block adb from changing certain settings value when corresponding user restriction is on.

6 years agoMerge "Add timestamp for events pulled by companision service."
TreeHugger Robot [Fri, 23 Feb 2018 22:33:21 +0000 (22:33 +0000)]
Merge "Add timestamp for events pulled by companision service."

6 years agoMerge "Add support for hot launch in App launch test."
Gopinath Elanchezhian [Fri, 23 Feb 2018 22:20:22 +0000 (22:20 +0000)]
Merge "Add support for hot launch in App launch test."

6 years agoMerge "Alignment of clock and shade"
Lucas Dupin [Fri, 23 Feb 2018 22:11:06 +0000 (22:11 +0000)]
Merge "Alignment of clock and shade"

6 years agoUpdate the Bluetooth Active Device state in the Device Manager
Pavlin Radoslavov [Wed, 7 Feb 2018 00:14:00 +0000 (16:14 -0800)]
Update the Bluetooth Active Device state in the Device Manager

The Bluetooth Active Device state should be updated for all
CachedBluetoothDevice entries.
This should be done inside CachedBluetoothDeviceManager in SettingsLib
instead of BluetoothDeviceUpdater in the Settings app.

Also:
 * Added a new CachedBluetoothDeviceManagerTest.java unit test
 * Added a new method CachedBluetoothDevice.isActiveDevice()
   for testing.

Bug: 72316092
Test: Manual - two headsets and switching the active device
      Unit tests - "make RunSettingsLibRoboTests -j 40"
Change-Id: Ic3fbf667c66ed2de8e5c3352bc1ffd829a9052cf

6 years agoStore carrier app name in global settings for SIM dialog/notification
goneil [Sat, 17 Feb 2018 01:33:56 +0000 (17:33 -0800)]
Store carrier app name in global settings for SIM dialog/notification

Bug: 70042722
Test: Manual QA
Change-Id: If3e97e90a37ac4e585a64c21ddfe234259cd0813

6 years agoMerge "Factor out telephony permission checks into a helper class." am: fc5d8c8f31...
Jeff Davidson [Fri, 23 Feb 2018 21:47:01 +0000 (21:47 +0000)]
Merge "Factor out telephony permission checks into a helper class." am: fc5d8c8f31 am: 5275c0b123
am: 644c763b0d  -s ours

Change-Id: I151703d7cb39b7dca2cbe10a572de5c3c4f00826

6 years agoMerge "Guard against updateDoze after detach"
TreeHugger Robot [Fri, 23 Feb 2018 21:41:49 +0000 (21:41 +0000)]
Merge "Guard against updateDoze after detach"

6 years agoMerge "Factor out telephony permission checks into a helper class." am: fc5d8c8f31
Jeff Davidson [Fri, 23 Feb 2018 21:33:07 +0000 (21:33 +0000)]
Merge "Factor out telephony permission checks into a helper class." am: fc5d8c8f31
am: 5275c0b123

Change-Id: Ieedbcc2f40f70beb43cfb4d0e677d72f6b3ff8f5

6 years agoMerge "Frameworks: Remove bogus test method" am: c65d52ff78 am: 8120e8616b
Andreas Gampe [Fri, 23 Feb 2018 21:26:02 +0000 (21:26 +0000)]
Merge "Frameworks: Remove bogus test method" am: c65d52ff78 am: 8120e8616b
am: dd531adbd2

Change-Id: I0317dedfe5c20c54551f72e6c691dea67dde83ca

6 years agoMerge "Factor out telephony permission checks into a helper class."
Jeff Davidson [Fri, 23 Feb 2018 21:24:36 +0000 (21:24 +0000)]
Merge "Factor out telephony permission checks into a helper class."
am: fc5d8c8f31

Change-Id: I25cda3c74bb15d5a50414ecb5dbf788ce2d32828

6 years agoMerge "Use PooledLambda in print code"
TreeHugger Robot [Fri, 23 Feb 2018 21:21:20 +0000 (21:21 +0000)]
Merge "Use PooledLambda in print code"

6 years agoMerge "Use android reinterpret hash for float as it is faster."
TreeHugger Robot [Fri, 23 Feb 2018 21:20:20 +0000 (21:20 +0000)]
Merge "Use android reinterpret hash for float as it is faster."

6 years agoMerge "Allow certificates to be stored in the carrier app whitelist"
Gil O'Neil [Fri, 23 Feb 2018 21:18:40 +0000 (21:18 +0000)]
Merge "Allow certificates to be stored in the carrier app whitelist"

6 years agoUpdate wear default app icon color.
Andrew Zeng [Thu, 8 Feb 2018 19:40:24 +0000 (11:40 -0800)]
Update wear default app icon color.

Change-Id: I8c1013d8b7a4de4f4646f4c394a57d4ccde38ed6

6 years agoMerge "Revert "Revert "Log the apk optimization state in the MetricsLogger"""
Zhi An Ng [Fri, 23 Feb 2018 21:15:32 +0000 (21:15 +0000)]
Merge "Revert "Revert "Log the apk optimization state in the MetricsLogger"""

6 years agoMerge "Frameworks: Remove bogus test method" am: c65d52ff78
Andreas Gampe [Fri, 23 Feb 2018 21:15:06 +0000 (21:15 +0000)]
Merge "Frameworks: Remove bogus test method" am: c65d52ff78
am: 8120e8616b

Change-Id: I1dd4cb24ed7c5afdb9185bacabf7b0a3e8f3a7d8

6 years agoMerge "Frameworks: Remove bogus test method"
Andreas Gampe [Fri, 23 Feb 2018 21:08:46 +0000 (21:08 +0000)]
Merge "Frameworks: Remove bogus test method"
am: c65d52ff78

Change-Id: Iee4a75368b1f8d0cc9cc0594126f29acb0b5a5b7

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 23 Feb 2018 21:08:38 +0000 (21:08 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoBatteryStatsImpl: Fix parceling error
Adam Lesinski [Fri, 23 Feb 2018 20:35:55 +0000 (12:35 -0800)]
BatteryStatsImpl: Fix parceling error

Bug: 73818082
Test: manual
Change-Id: I6e25cfc3270e5af559a2d077ed7e9786aa1771a8

6 years agoMerge "Provide the option to disable fading the pattern."
TreeHugger Robot [Fri, 23 Feb 2018 21:05:23 +0000 (21:05 +0000)]
Merge "Provide the option to disable fading the pattern."

6 years agoExtrating out icon generation logic so that it can customized
Sunny Goyal [Fri, 23 Feb 2018 19:46:18 +0000 (11:46 -0800)]
Extrating out icon generation logic so that it can customized

Test: Created jar and varified launcher is works properly
Change-Id: Ic07083d6394bb65d857b665fd86fa67f6323ed7b

6 years agoMerge "Add AnimatedImageDrawable.getLoopCount"
Leon Scroggins [Fri, 23 Feb 2018 20:39:21 +0000 (20:39 +0000)]
Merge "Add AnimatedImageDrawable.getLoopCount"

6 years agoMerge "Make mapIntentToUri understand meta-data hookup"
TreeHugger Robot [Fri, 23 Feb 2018 20:25:56 +0000 (20:25 +0000)]
Merge "Make mapIntentToUri understand meta-data hookup"

6 years agoMerge "Modify framework default app icon for Wear."
TreeHugger Robot [Fri, 23 Feb 2018 20:25:36 +0000 (20:25 +0000)]
Merge "Modify framework default app icon for Wear."

6 years agoMerge "GnssLocationProvider metrics race condition fix"
TreeHugger Robot [Fri, 23 Feb 2018 20:18:28 +0000 (20:18 +0000)]
Merge "GnssLocationProvider metrics race condition fix"

6 years agoMerge "Revert "Disabled presubmit for flakey test""
TreeHugger Robot [Fri, 23 Feb 2018 20:18:23 +0000 (20:18 +0000)]
Merge "Revert "Disabled presubmit for flakey test""

6 years agoSettingsLib: Move DefaultAppInfo CandidateInfo from Settings
Dake Gu [Wed, 21 Feb 2018 01:03:37 +0000 (17:03 -0800)]
SettingsLib: Move DefaultAppInfo CandidateInfo from Settings

Bug: 3600711
Test: DefaultAppInfoTest moved from SettingsLib
      m RunSettingsLibRoboTests
Change-Id: Iba7f60aacaf97774e8f120cccaacd1d1389fd227

6 years agoMerge "Factor out telephony permission checks into a helper class."
Jeff Davidson [Fri, 23 Feb 2018 20:00:15 +0000 (20:00 +0000)]
Merge "Factor out telephony permission checks into a helper class."

6 years agoMerge "Update call to null out GrVkAlloc in VulkanManager"
TreeHugger Robot [Fri, 23 Feb 2018 19:53:17 +0000 (19:53 +0000)]
Merge "Update call to null out GrVkAlloc in VulkanManager"

6 years agoImport some plugin documentation into the tree
Jason Monk [Fri, 23 Feb 2018 14:38:23 +0000 (09:38 -0500)]
Import some plugin documentation into the tree

In the spirit of writing things down

Test: none
Change-Id: I93371eab99721ace1fd32d07739b861d492e4be6

6 years agoAdd support for hot launch in App launch test.
gopinath [Wed, 21 Feb 2018 01:21:18 +0000 (17:21 -0800)]
Add support for hot launch in App launch test.

force-stop-app option is added to control hot launch and
cold launch.

Bug: b/73091210

Test:
am instrument -w -r   -e debug false -e launch_directory /sdcard
-e apps "Calculator^Calculator|Clock^Clock" -e trial_launch true
-e log false -e timeout_msec 300000 -e force-stop-app false
-e launch_order CYCLIC -e simpleperf_cmd "simpleperf stat -a"
-e launch_iterations 10 com.android.tests.applaunch/android.test.InstrumentationTestRunner

Change-Id: I4b0f7a61c46e8091e69cad9fa65b5b34f680252d

6 years agoMerge "Frameworks: Remove bogus test method"
Treehugger Robot [Fri, 23 Feb 2018 19:28:55 +0000 (19:28 +0000)]
Merge "Frameworks: Remove bogus test method"

6 years agoStop throwing exceptions in TouchExplorer
Phil Weaver [Fri, 23 Feb 2018 19:26:25 +0000 (11:26 -0800)]
Stop throwing exceptions in TouchExplorer

These crash the system. Resetting and trying to muddle
through seems like a better solution than restarting
the device.

Bug: 68269250
Test: make, try TalkBack a bit. The crashes were so rare that
the code I'm changing *almost* never executes.

Change-Id: I7931417832cb2ce39de5c8b00312c12354d76803

6 years agoUse android reinterpret hash for float as it is faster.
Yangster-mac [Fri, 23 Feb 2018 19:11:36 +0000 (11:11 -0800)]
Use android reinterpret hash for float as it is faster.

Test: statsd test
Change-Id: I593edac1d7dcd0c5e84195602b42b7c6c3072a38

6 years agoAlignment of clock and shade
Lucas Dupin [Mon, 19 Feb 2018 03:39:32 +0000 (19:39 -0800)]
Alignment of clock and shade

Test: visual
Change-Id: If7ff8c34a5053d5df8f6dc38c53cc728fef89ede
Fixes: 72968018
Fixes: 72417398
Fixes: 73087486
Fixes: 72566197

6 years agoUse PooledLambda in print code
Eugene Susla [Tue, 13 Feb 2018 00:17:26 +0000 (16:17 -0800)]
Use PooledLambda in print code

This replaces the usage of handler message types with PooledLambda

Test: atest CtsPrintTestCases
Change-Id: I19b01278b67b5fe18d48a2e0bb8300bbe1413a63

6 years agoFix strict mode violation
Mike Ma [Fri, 23 Feb 2018 19:07:53 +0000 (11:07 -0800)]
Fix strict mode violation

Change-Id: I3c6391c52f06e4bb94162f8def1ab9b5f4c747fc
Fixes: 73549195
Test: KernelWakelockReaderTest