OSDN Git Service

android-x86/frameworks-base.git
6 years agoDecrease frequency of jobs in middle buckets
Esteban Talavera [Fri, 15 Dec 2017 10:59:28 +0000 (10:59 +0000)]
Decrease frequency of jobs in middle buckets

Set larger values so that we notice whether this breaks apps
sooner, rather than later. Also hopefully saves more battery :)

Test: Builds
Change-Id: I217e10599c5f61bb3d8af4db5ddb6de647f2f214

6 years agoMerge "Heads up notification can now scroll away after it was seen"
TreeHugger Robot [Mon, 4 Dec 2017 12:03:44 +0000 (12:03 +0000)]
Merge "Heads up notification can now scroll away after it was seen"

6 years agoMerge "Adjust tests to new android-support-test + espresso libraries." am: 809062c26d...
Joachim Sauer [Mon, 4 Dec 2017 11:39:18 +0000 (11:39 +0000)]
Merge "Adjust tests to new android-support-test + espresso libraries." am: 809062c26d  -s ours am: db3a1f2882  -s ours
am: e4ea7840c3  -s ours

Change-Id: I2471499491c45980a442c4992180d0bbb8bc35c3

6 years agoMerge "Adjust tests to new android-support-test + espresso libraries." am: 809062c26d...
Joachim Sauer [Mon, 4 Dec 2017 11:28:22 +0000 (11:28 +0000)]
Merge "Adjust tests to new android-support-test + espresso libraries." am: 809062c26d  -s ours
am: db3a1f2882  -s ours

Change-Id: I5b2d7de32ee3c9d88de73d0aae3c9e2ba9c05f62

6 years agoMerge "Adjust tests to new android-support-test + espresso libraries."
Joachim Sauer [Mon, 4 Dec 2017 11:12:50 +0000 (11:12 +0000)]
Merge "Adjust tests to new android-support-test + espresso libraries."
am: 809062c26d  -s ours

Change-Id: I9691f0221998569194b453619e90a214776ae6ab

6 years agoMerge "Adjust tests to new android-support-test + espresso libraries."
Joachim Sauer [Mon, 4 Dec 2017 10:56:21 +0000 (10:56 +0000)]
Merge "Adjust tests to new android-support-test + espresso libraries."

6 years agoMerge changes from topic "priv_vendor_app"
TreeHugger Robot [Mon, 4 Dec 2017 03:20:34 +0000 (03:20 +0000)]
Merge changes from topic "priv_vendor_app"

* changes:
  BIND_IMS_SERVICE is exposed to vendors
  Support privileged vendor apps

6 years agoMerge "Return correct results in StatsManager APIs"
TreeHugger Robot [Mon, 4 Dec 2017 00:02:52 +0000 (00:02 +0000)]
Merge "Return correct results in StatsManager APIs"

6 years agoMerge "Create statsd loadtest app."
TreeHugger Robot [Sun, 3 Dec 2017 19:47:25 +0000 (19:47 +0000)]
Merge "Create statsd loadtest app."

6 years agoCreate statsd loadtest app.
Stefan Lafon [Sat, 25 Nov 2017 19:59:11 +0000 (11:59 -0800)]
Create statsd loadtest app.

That app automatically sends a bunch of events to logd.
The frequency is adjustable.

Test: Ran statsd.

Change-Id: I7a88c140e39d22549cc76ef68059d292e85a8a24

6 years agoMerge "Expose App Standby APIs for apps and system"
TreeHugger Robot [Sun, 3 Dec 2017 15:09:33 +0000 (15:09 +0000)]
Merge "Expose App Standby APIs for apps and system"

6 years agoMerge "Frameworks: Move SharedPreferencesImpl to Future" am: aa3e9d351e am: bd4b1bad48
Andreas Gampe [Sun, 3 Dec 2017 00:05:04 +0000 (00:05 +0000)]
Merge "Frameworks: Move SharedPreferencesImpl to Future" am: aa3e9d351e am: bd4b1bad48
am: 06bc6945df

Change-Id: I6f646b3e6b9fb9d47b44e3d35321202bbb3c502d

6 years agoMerge "Frameworks: Move SharedPreferencesImpl to Future" am: aa3e9d351e
Andreas Gampe [Sat, 2 Dec 2017 23:54:49 +0000 (23:54 +0000)]
Merge "Frameworks: Move SharedPreferencesImpl to Future" am: aa3e9d351e
am: bd4b1bad48

Change-Id: I43c8231293f5e4349eaab6f4a8242892b3b2c726

6 years agoMerge "Frameworks: Move SharedPreferencesImpl to Future"
Andreas Gampe [Sat, 2 Dec 2017 23:45:54 +0000 (23:45 +0000)]
Merge "Frameworks: Move SharedPreferencesImpl to Future"
am: aa3e9d351e

Change-Id: I2a47400d1e584aef1a16e05840ab964ca5735110

6 years agoMerge "Frameworks: Move SharedPreferencesImpl to Future"
Treehugger Robot [Sat, 2 Dec 2017 23:36:14 +0000 (23:36 +0000)]
Merge "Frameworks: Move SharedPreferencesImpl to Future"

6 years agoMerge "Convert framework.jar to Android.bp"
Colin Cross [Sat, 2 Dec 2017 23:20:49 +0000 (23:20 +0000)]
Merge "Convert framework.jar to Android.bp"

6 years agoMerge "bug fixes * add timestamp to those pull from StatsCompanionService * GaugeMetr...
TreeHugger Robot [Sat, 2 Dec 2017 17:35:39 +0000 (17:35 +0000)]
Merge "bug fixes * add timestamp to those pull from StatsCompanionService * GaugeMetricProducer unregister from StatsPullerManager when dismissed"

6 years agoMerge "AAPT2: Fix issue where exported symbols (@+id/*) were not exported"
TreeHugger Robot [Sat, 2 Dec 2017 10:05:31 +0000 (10:05 +0000)]
Merge "AAPT2: Fix issue where exported symbols (@+id/*) were not exported"

6 years agobug fixes
Chenjie Yu [Sat, 2 Dec 2017 07:30:59 +0000 (23:30 -0800)]
bug fixes
* add timestamp to those pull from StatsCompanionService
* GaugeMetricProducer unregister from StatsPullerManager when dismissed

Test: cts test
Change-Id: I930179979c146a7407aec3df7e76833f51e9b346

6 years agoMerge "Handles synchronous failures of transactions"
TreeHugger Robot [Sat, 2 Dec 2017 03:58:06 +0000 (03:58 +0000)]
Merge "Handles synchronous failures of transactions"

6 years agoMerge "Prevent system app upgrading from multi-arch to single-arch" am: 5cac6ed047...
wangmingming1 [Sat, 2 Dec 2017 03:23:42 +0000 (03:23 +0000)]
Merge "Prevent system app upgrading from multi-arch to single-arch" am: 5cac6ed047 am: 58a0809802
am: 791507db22

Change-Id: I3e0605d8d6e9dcc6ecc68bb7af58afc3ee8f7b33

6 years agoMerge "Prevent system app upgrading from multi-arch to single-arch" am: 5cac6ed047
wangmingming1 [Sat, 2 Dec 2017 03:14:30 +0000 (03:14 +0000)]
Merge "Prevent system app upgrading from multi-arch to single-arch" am: 5cac6ed047
am: 58a0809802

Change-Id: I406ed219fcf24745bde9c7fe45570d62378fbd85

6 years agoMerge "Prevent system app upgrading from multi-arch to single-arch"
wangmingming1 [Sat, 2 Dec 2017 03:06:41 +0000 (03:06 +0000)]
Merge "Prevent system app upgrading from multi-arch to single-arch"
am: 5cac6ed047

Change-Id: I0e7c6fbea14dcf401076994fa53b9ce66324bb4a

6 years agoMerge "Merge "Set sIsInitialized to false and add logging" am: a0a70be251 am: cfa4bb4...
Android Build Merger (Role) [Sat, 2 Dec 2017 02:54:54 +0000 (02:54 +0000)]
Merge "Merge "Set sIsInitialized to false and add logging" am: a0a70be251 am: cfa4bb4bf3 am: a7d195905d"

6 years agoMerge "Prevent system app upgrading from multi-arch to single-arch"
Treehugger Robot [Sat, 2 Dec 2017 02:54:33 +0000 (02:54 +0000)]
Merge "Prevent system app upgrading from multi-arch to single-arch"

6 years agoMerge "Set sIsInitialized to false and add logging" am: a0a70be251 am: cfa4bb4bf3
Hall Liu [Sat, 2 Dec 2017 02:51:43 +0000 (02:51 +0000)]
Merge "Set sIsInitialized to false and add logging" am: a0a70be251 am: cfa4bb4bf3
am: a7d195905d

Change-Id: I26f9b4dfbfd57e6b17dd6bf1b4a8759af8d54483

6 years agoMerge "Update description of ACTION_PROVISION_EMBEDDED_SUBSCRIPTION"
TreeHugger Robot [Sat, 2 Dec 2017 02:50:13 +0000 (02:50 +0000)]
Merge "Update description of ACTION_PROVISION_EMBEDDED_SUBSCRIPTION"

6 years agoMerge "Set sIsInitialized to false and add logging" am: a0a70be251
Hall Liu [Sat, 2 Dec 2017 02:35:48 +0000 (02:35 +0000)]
Merge "Set sIsInitialized to false and add logging" am: a0a70be251
am: cfa4bb4bf3

Change-Id: Ide646190e22cdbc3fbea9a7fb6b813bd90bd6d40

6 years agoMerge "Set sIsInitialized to false and add logging"
Hall Liu [Sat, 2 Dec 2017 02:09:03 +0000 (02:09 +0000)]
Merge "Set sIsInitialized to false and add logging"
am: a0a70be251

Change-Id: I578a9f5690d2320116427025f831e11c9ffcdd7d

6 years agoMerge "Fix support for negatively Z-ordered SubWindows."
TreeHugger Robot [Sat, 2 Dec 2017 01:56:29 +0000 (01:56 +0000)]
Merge "Fix support for negatively Z-ordered SubWindows."

6 years agoMerge "Set sIsInitialized to false and add logging"
Hall Liu [Sat, 2 Dec 2017 01:35:15 +0000 (01:35 +0000)]
Merge "Set sIsInitialized to false and add logging"

6 years agoMerge "Clear the IBinder before calling unbindService"
TreeHugger Robot [Sat, 2 Dec 2017 01:33:26 +0000 (01:33 +0000)]
Merge "Clear the IBinder before calling unbindService"

6 years agoMerge "Add documentation to recommend naming convention for wake lock tags which...
TreeHugger Robot [Sat, 2 Dec 2017 01:32:04 +0000 (01:32 +0000)]
Merge "Add documentation to recommend naming convention for wake lock tags which help developers with debugging."

6 years agoMerge "Remove redundant transaction in Surface creation."
TreeHugger Robot [Sat, 2 Dec 2017 01:24:16 +0000 (01:24 +0000)]
Merge "Remove redundant transaction in Surface creation."

6 years agoMerge "Add ability for ResolverDrawer to be align to top via XML attribute."
TreeHugger Robot [Sat, 2 Dec 2017 01:17:46 +0000 (01:17 +0000)]
Merge "Add ability for ResolverDrawer to be align to top via XML attribute."

6 years agoMerge "Remove redundant setting of layer stack."
TreeHugger Robot [Sat, 2 Dec 2017 00:55:04 +0000 (00:55 +0000)]
Merge "Remove redundant setting of layer stack."

6 years agoMerge "Swap the order of synthetic password wrapping" into oc-mr1-dev am: b3ce6d33e0
Rubin Xu [Sat, 2 Dec 2017 00:29:52 +0000 (00:29 +0000)]
Merge "Swap the order of synthetic password wrapping" into oc-mr1-dev am: b3ce6d33e0
am: 5743321bf1  -s ours

Change-Id: Iee3007fd2d8ca0c07ad802a1a5ecbdcdd83427bf

6 years agoAdd documentation to recommend naming convention for wake lock tags
Olivier Gaillard [Wed, 22 Nov 2017 15:07:31 +0000 (15:07 +0000)]
Add documentation to recommend naming convention for wake lock tags
which help developers with debugging.

Test: only comments updated

Change-Id: If92730df384de15d3f7759e235104a3848321ffa

6 years agoMerge "Swap the order of synthetic password wrapping" into oc-mr1-dev
Rubin Xu [Sat, 2 Dec 2017 00:19:39 +0000 (00:19 +0000)]
Merge "Swap the order of synthetic password wrapping" into oc-mr1-dev
am: b3ce6d33e0

Change-Id: Ie63ae6deb6a0454aa32a93f9aa867189c7390cdb

6 years agoMerge "Swap the order of synthetic password wrapping" into oc-mr1-dev
TreeHugger Robot [Fri, 1 Dec 2017 23:53:03 +0000 (23:53 +0000)]
Merge "Swap the order of synthetic password wrapping" into oc-mr1-dev

6 years agoMerge "1. Implement Privacy Policy Tag Inheritance 2. Expose Dest values in IIncident...
TreeHugger Robot [Fri, 1 Dec 2017 23:51:32 +0000 (23:51 +0000)]
Merge "1. Implement Privacy Policy Tag Inheritance 2. Expose Dest values in IIncidentReportArgs.h"

6 years agoPrevent system app upgrading from multi-arch to single-arch
wangmingming1 [Tue, 21 Nov 2017 09:29:38 +0000 (17:29 +0800)]
Prevent system app upgrading from multi-arch to single-arch

We should not let user to manully upgrade a system app which supports
multi-arch to a newer version which supports only one cpu abi. Take
webview as an example, if the user upgraded the webview to a version
supports only armeabi-v7a on Nexus 5X by mistake, then any app supports
only arm64-v8a and uses webview to display web contents would not work
properly then as loading a 32bit native lib inside a 64bit mode process
is not allowed.

Test: Manual

Change-Id: I567be7707fc18421ff686c1e8b1110dec517e06d
Signed-off-by: wangmingming1 <wangmingming1@xiaomi.com>
6 years agoFix support for negatively Z-ordered SubWindows.
Robert Carr [Fri, 1 Dec 2017 22:27:04 +0000 (14:27 -0800)]
Fix support for negatively Z-ordered SubWindows.

It turns out the live wallpaper picker is a copy-pasted
implementation of the old version of SurfaceView which relies
on TYPE_APPLICATION_MEDIA to be placed beneath the main window.
This is the last user and we should aim to eliminate it by replacing
the wallpaper picker with a SurfaceView or simply a Child Surface.

Bug: 69928336
Bug: 70040778
Test: Manual. ZOrderingTests.
Change-Id: I462b8f11954ad2e892d23164f41359a73078c21f

6 years agoRemove redundant transaction in Surface creation.
Robert Carr [Tue, 28 Nov 2017 22:55:35 +0000 (14:55 -0800)]
Remove redundant transaction in Surface creation.

Since the Surface is created hidden, and we will have to apply
another transaction to show it, and we are guaranteed to set the
position when we do such...there's no need to set the position at this point.

Test: Boots
Change-Id: I67aaffd757919394b74ded61fe1d8f234ac676af

6 years agoRemove redundant setting of layer stack.
Robert Carr [Tue, 28 Nov 2017 22:54:07 +0000 (14:54 -0800)]
Remove redundant setting of layer stack.

Produces confusing log spam.

Bug: 69852584
Test: Boots
Change-Id: I79762540719ecd1f4252aae69b613c8b24ddd775

6 years agoMerge "PowerManagerService: Do not hold lock for the duration of PowerHal call"
Wei Wang [Fri, 1 Dec 2017 22:41:41 +0000 (22:41 +0000)]
Merge "PowerManagerService: Do not hold lock for the duration of PowerHal call"

6 years agoSet sIsInitialized to false and add logging
Hall Liu [Fri, 1 Dec 2017 22:01:15 +0000 (14:01 -0800)]
Set sIsInitialized to false and add logging

When the service goes away due to a remote exception, set sIsInitialized
to false as well as setting the service to null.
Also log the serviceconnection disconnect.

Bug: 70032958
Test: cts
Change-Id: I34c1ea804537c62bd4348ba3aeeca7ba2c0becb6

6 years agoExpose App Standby APIs for apps and system
Amith Yamasani [Mon, 27 Nov 2017 18:44:24 +0000 (10:44 -0800)]
Expose App Standby APIs for apps and system

Allow apps to query their own standby bucket.
Allow privileged apps with PACKAGE_USAGE_STATS permission to
query apps.
Allow privileged apps with CHANGE_APP_IDLE_STATE to set the
standby state for apps, but not for themselves.
Removed AppStandby class and moved constants into UsageStatsManager.

Bug: 63527785
Test: cts-tradefed run cts-dev -m CtsAppUsageHostTestCases
Change-Id: I3c1c20f6ecb6d54e248233696039286b243d663c

6 years agoMerge "AAPT2: Use manifest parsing to determine format of APK."
Pierre Lecesne [Fri, 1 Dec 2017 21:53:37 +0000 (21:53 +0000)]
Merge "AAPT2: Use manifest parsing to determine format of APK."

6 years ago1. Implement Privacy Policy Tag Inheritance
Yi Jin [Wed, 15 Nov 2017 01:58:19 +0000 (17:58 -0800)]
1. Implement Privacy Policy Tag Inheritance
2. Expose Dest values in IIncidentReportArgs.h

Please see bug for detail descriptions.

Bug: 67869340
Test: unit tested and on-device test. Ran command:
$ out/host/linux-x86/bin/incident-section-gen incidentd
to test various of privacy taggings.
Change-Id: I12af3d7da4c7c72bd63598893fe2c1f70b09baa4

6 years agoMerge "Merge from oc-preview-docs-release: docs: Added note that INSTALL_SHORTCUT...
Kevin Hufnagle [Fri, 1 Dec 2017 21:16:57 +0000 (21:16 +0000)]
Merge "Merge from oc-preview-docs-release: docs: Added note that INSTALL_SHORTCUT is implicit broadcast as of O." into oc-dev am: a96e533840 am: 87b5b0aa1a am: 9d3563ad78
am: 22d290b289

Change-Id: I994b9e0f7ea2b585c4f8f03231ed4d4c92e7e18e

6 years agoMerge "Extreme battery saver: Show warning notification instead of toast"
Makoto Onuki [Fri, 1 Dec 2017 21:05:55 +0000 (21:05 +0000)]
Merge "Extreme battery saver: Show warning notification instead of toast"

6 years agoMerge "Merge from oc-preview-docs-release: docs: Added note that INSTALL_SHORTCUT...
Kevin Hufnagle [Fri, 1 Dec 2017 20:48:23 +0000 (20:48 +0000)]
Merge "Merge from oc-preview-docs-release: docs: Added note that INSTALL_SHORTCUT is implicit broadcast as of O." into oc-dev am: a96e533840 am: 87b5b0aa1a
am: 9d3563ad78

Change-Id: I3355b274bf2fad2190cd21f16c01e218a17c8b56

6 years agoMerge "Merge from oc-preview-docs-release: docs: Added note that INSTALL_SHORTCUT...
Kevin Hufnagle [Fri, 1 Dec 2017 20:27:49 +0000 (20:27 +0000)]
Merge "Merge from oc-preview-docs-release: docs: Added note that INSTALL_SHORTCUT is implicit broadcast as of O." into oc-dev am: a96e533840
am: 87b5b0aa1a

Change-Id: Iabdbdf3f19e5faa4a0e980afc4d643dad192fc62

6 years agoAdd ability for ResolverDrawer to be align to top via XML attribute.
Ben Lin [Wed, 25 Oct 2017 18:38:40 +0000 (11:38 -0700)]
Add ability for ResolverDrawer to be align to top via XML attribute.

Bug: 70036020
Test: ResolverActivityTest#setShowAtTopToTrue passes.
Change-Id: I2c51c9c731234f05a589c52d5a03b8b6605d4c9c

6 years agoAdds soft AP timeout settings
Mehdi Alizadeh [Fri, 10 Nov 2017 23:37:13 +0000 (15:37 -0800)]
Adds soft AP timeout settings

Adds two different settings for this feature: 1) to enable/disable
the timeout mechanism (by a toggle control from Settings UI). 2) to set
the timeout duration which is configurable as an overlay.

Bug: 68712445
Test: None
Change-Id: I6232410f85b9c25477d3edada37cc7312d888f19

6 years agoMerge "Merge from oc-preview-docs-release: docs: Added note that INSTALL_SHORTCUT...
Kevin Hufnagle [Fri, 1 Dec 2017 20:20:44 +0000 (20:20 +0000)]
Merge "Merge from oc-preview-docs-release: docs: Added note that INSTALL_SHORTCUT is implicit broadcast as of O." into oc-dev
am: a96e533840

Change-Id: Iefd97a3d8b1377dd72f3a3428c539cb029b4e0a9

6 years agoMerge "Adding comments to BatteryServiceDumpProto."
TreeHugger Robot [Fri, 1 Dec 2017 20:07:51 +0000 (20:07 +0000)]
Merge "Adding comments to BatteryServiceDumpProto."

6 years agoMerge "Merge from oc-preview-docs-release: docs: Added note that INSTALL_SHORTCUT...
Kevin Hufnagle [Fri, 1 Dec 2017 20:06:38 +0000 (20:06 +0000)]
Merge "Merge from oc-preview-docs-release: docs: Added note that INSTALL_SHORTCUT is implicit broadcast as of O." into oc-dev

6 years agoMerge "docs: Fixed description of SENSORS permission group" into oc-mr1-dev am: 039d9...
Andrew Solovay [Fri, 1 Dec 2017 19:51:57 +0000 (19:51 +0000)]
Merge "docs: Fixed description of SENSORS permission group" into oc-mr1-dev am: 039d9713a8
am: 925e428f00

Change-Id: I95c539973e0011fc3251b03fd81ce040efb85a7e

6 years agoMerge "docs: Fixed description of SENSORS permission group" into oc-mr1-dev
Andrew Solovay [Fri, 1 Dec 2017 19:40:06 +0000 (19:40 +0000)]
Merge "docs: Fixed description of SENSORS permission group" into oc-mr1-dev
am: 039d9713a8

Change-Id: I6948a7b02b873d6c1af49da926d81d762ef6b82c

6 years agoMerge "docs: Add note to getFrameAtTime() pointing to getScaledFrameAtTime()" into...
Andrew Solovay [Fri, 1 Dec 2017 19:38:03 +0000 (19:38 +0000)]
Merge "docs: Add note to getFrameAtTime() pointing to getScaledFrameAtTime()" into oc-mr1-dev am: 284259a633
am: dd71b1bc61

Change-Id: Ib3f40c78449e6b4e837d053645a9cd9f3ab29ee4

6 years agoMerge "docs: Fixed description of SENSORS permission group" into oc-mr1-dev
TreeHugger Robot [Fri, 1 Dec 2017 19:30:44 +0000 (19:30 +0000)]
Merge "docs: Fixed description of SENSORS permission group" into oc-mr1-dev

6 years agoMerge "docs: Add note to getFrameAtTime() pointing to getScaledFrameAtTime()" into...
Andrew Solovay [Fri, 1 Dec 2017 19:29:13 +0000 (19:29 +0000)]
Merge "docs: Add note to getFrameAtTime() pointing to getScaledFrameAtTime()" into oc-mr1-dev
am: 284259a633

Change-Id: Ic8c9f91f1fc1e6c32bae90d8bf8fbe6b91beb712

6 years agoMerge "docs: Add note to getFrameAtTime() pointing to getScaledFrameAtTime()" into...
Andrew Solovay [Fri, 1 Dec 2017 19:19:04 +0000 (19:19 +0000)]
Merge "docs: Add note to getFrameAtTime() pointing to getScaledFrameAtTime()" into oc-mr1-dev

6 years agoReturn correct results in StatsManager APIs
Yao Chen [Fri, 1 Dec 2017 19:16:50 +0000 (11:16 -0800)]
Return correct results in StatsManager APIs

Test: manual
Change-Id: I12f392beb082a8919b85a4f617a616c8344c1e3a

6 years agoMerge "Remove old BackupManagerService"
TreeHugger Robot [Fri, 1 Dec 2017 18:09:49 +0000 (18:09 +0000)]
Merge "Remove old BackupManagerService"

6 years agoMerge "Docs: Renamed ParcelFileDescritor to ParcelFileDescriptor Test: make ds-docs...
Jon Dormody [Fri, 1 Dec 2017 16:53:12 +0000 (16:53 +0000)]
Merge "Docs: Renamed ParcelFileDescritor to ParcelFileDescriptor Test: make ds-docs Bug: 1766768" into oc-dev am: ce7f1e6601 am: 3ba37e1f53 am: 96dad7e0a3
am: c0c7c3bcbb

Change-Id: I6d8c7f76139522fae1b506519aba4ab6f8e54d3b

6 years agoAdjust tests to new android-support-test + espresso libraries.
Brett Chabot [Mon, 26 Jun 2017 22:58:49 +0000 (15:58 -0700)]
Adjust tests to new android-support-test + espresso libraries.

(cherry picked from commit 85544ba5eb3642976ea0f85fb9e86401661afc2b)

Bug: 69455082
Test: make tests
Change-Id: I563776a0dd821af4abba47df79e14c255097836d
Merged-In: I7a41199cd7f0739f660a49b1af32e64f58590301

6 years agoMerge "Docs: Added mention that the getSharedPreferences method is thread safe."...
Jon Dormody [Fri, 1 Dec 2017 16:42:30 +0000 (16:42 +0000)]
Merge "Docs: Added mention that the getSharedPreferences method is thread safe." into oc-dev am: fb839ce59a am: 728ca235b5 am: 37db2694eb
am: f506b49aa6

Change-Id: Ie4a7176be63ddcc8f1e4e9fad98ee2644f0a6758

6 years agoMerge "Docs: Renamed ParcelFileDescritor to ParcelFileDescriptor Test: make ds-docs...
Jon Dormody [Fri, 1 Dec 2017 16:40:51 +0000 (16:40 +0000)]
Merge "Docs: Renamed ParcelFileDescritor to ParcelFileDescriptor Test: make ds-docs Bug: 1766768" into oc-dev am: ce7f1e6601 am: 3ba37e1f53
am: 96dad7e0a3

Change-Id: Ib8bbd7fa3dfc9ee5caa3b9f7f2696c7461c3faf3

6 years agoHandles synchronous failures of transactions
Arthur Ishiguro [Wed, 29 Nov 2017 17:01:37 +0000 (09:01 -0800)]
Handles synchronous failures of transactions

Also removes onTimeout, and instaed use onTransactionResponse.

Bug: 67734082
Bug: 69862275
Test: Run CHQTS, verify that synchronous failures are reported.
Change-Id: I995d381e89a602293e3480a12e56665d3d500a9a

6 years agoMerge "Docs: Added mention that the getSharedPreferences method is thread safe."...
Jon Dormody [Fri, 1 Dec 2017 16:28:29 +0000 (16:28 +0000)]
Merge "Docs: Added mention that the getSharedPreferences method is thread safe." into oc-dev am: fb839ce59a am: 728ca235b5
am: 37db2694eb

Change-Id: I98151cf907cd2f635c8f4a0e128ff697024b3a54

6 years agoMerge "Docs: Renamed ParcelFileDescritor to ParcelFileDescriptor Test: make ds-docs...
Jon Dormody [Fri, 1 Dec 2017 16:28:14 +0000 (16:28 +0000)]
Merge "Docs: Renamed ParcelFileDescritor to ParcelFileDescriptor Test: make ds-docs Bug: 1766768" into oc-dev am: ce7f1e6601
am: 3ba37e1f53

Change-Id: Ia807c8ccd0db5b37b010f64a417fc8e105c22866

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 1 Dec 2017 16:24:35 +0000 (16:24 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoRemove old BackupManagerService
Bernardo Rufino [Thu, 30 Nov 2017 16:17:26 +0000 (16:17 +0000)]
Remove old BackupManagerService

As discussed, only removed the class, local interface and trampoline
still exist. That will go into a next CL.

Bug: 65823538
Test: make RunFrameworksServicesRoboTests
Test: runtest -p com.android.server.backup frameworks-services
Test: gts-tradefed run commandAndExit gts-dev -m GtsBackupTestCases
Test: gts-tradefed run commandAndExit gts-dev -m GtsBackupHostTestCases
Test: cts-tradefed run commandAndExit cts-dev -m CtsBackupTestCases
Test: adb shell bmgr backupnow <kv and full-backup packages>
Test: adb backup & adb restore
Change-Id: Ifcb4c02e364b8c4899ff376ff20cd8c89fc1af28

6 years agoMerge "Fixes NPE when system update couldn't be parsed"
TreeHugger Robot [Fri, 1 Dec 2017 16:18:20 +0000 (16:18 +0000)]
Merge "Fixes NPE when system update couldn't be parsed"

6 years agoMerge "Docs: Added mention that the getSharedPreferences method is thread safe."...
Jon Dormody [Fri, 1 Dec 2017 16:16:53 +0000 (16:16 +0000)]
Merge "Docs: Added mention that the getSharedPreferences method is thread safe." into oc-dev am: fb839ce59a
am: 728ca235b5

Change-Id: Ib6d81f2355ef9d902725e2e1ee1cd5337f4294ad

6 years agoMerge "Docs: Renamed ParcelFileDescritor to ParcelFileDescriptor Test: make ds-docs...
Jon Dormody [Fri, 1 Dec 2017 16:14:15 +0000 (16:14 +0000)]
Merge "Docs: Renamed ParcelFileDescritor to ParcelFileDescriptor Test: make ds-docs Bug: 1766768" into oc-dev
am: ce7f1e6601

Change-Id: If7798db1aea1f1d6cdb42a7d25509c814a31f6ca

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 1 Dec 2017 16:11:20 +0000 (16:11 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Docs: Added mention that the getSharedPreferences method is thread safe."...
Jon Dormody [Fri, 1 Dec 2017 16:07:27 +0000 (16:07 +0000)]
Merge "Docs: Added mention that the getSharedPreferences method is thread safe." into oc-dev
am: fb839ce59a

Change-Id: Ic135f510c6e5ff8a9a00f2d2be1fcc0c284dd5cf

6 years agoMerge "Ensure that debug builds crash again if there is a BinderProxy leak." am:...
Hans Boehm [Fri, 1 Dec 2017 16:07:00 +0000 (16:07 +0000)]
Merge "Ensure that debug builds crash again if there is a BinderProxy leak." am: db122f90d9 am: 4fc1bb0e37
am: 9020d22c6d

Change-Id: I53f503ff0826030d2a112e41555b5e32b9524b5d

6 years agoMerge "Ensure that debug builds crash again if there is a BinderProxy leak." am:...
Hans Boehm [Fri, 1 Dec 2017 15:56:23 +0000 (15:56 +0000)]
Merge "Ensure that debug builds crash again if there is a BinderProxy leak." am: db122f90d9
am: 4fc1bb0e37

Change-Id: I949a3896f7613fe8bd3d92badba0fea5b3343e39

6 years agoMerge "Docs: Renamed ParcelFileDescritor to ParcelFileDescriptor Test: make ds-docs...
Jon Dormody [Fri, 1 Dec 2017 15:53:36 +0000 (15:53 +0000)]
Merge "Docs: Renamed ParcelFileDescritor to ParcelFileDescriptor Test: make ds-docs Bug: 1766768" into oc-dev

6 years agoMerge "Docs: Added mention that the getSharedPreferences method is thread safe."...
Jon Dormody [Fri, 1 Dec 2017 15:52:54 +0000 (15:52 +0000)]
Merge "Docs: Added mention that the getSharedPreferences method is thread safe." into oc-dev

6 years agoMerge "Ensure that debug builds crash again if there is a BinderProxy leak."
Hans Boehm [Fri, 1 Dec 2017 15:46:09 +0000 (15:46 +0000)]
Merge "Ensure that debug builds crash again if there is a BinderProxy leak."
am: db122f90d9

Change-Id: Ibc470d844139fd2f74434a26d01903c67eb51f86

6 years agoMerge "Ensure that debug builds crash again if there is a BinderProxy leak."
Hans Boehm [Fri, 1 Dec 2017 15:34:29 +0000 (15:34 +0000)]
Merge "Ensure that debug builds crash again if there is a BinderProxy leak."

6 years agoMerge "Enable Skia shader cache"
TreeHugger Robot [Fri, 1 Dec 2017 14:39:35 +0000 (14:39 +0000)]
Merge "Enable Skia shader cache"

6 years agoMerge "Storage refactor for EntityConfidence"
TreeHugger Robot [Fri, 1 Dec 2017 12:36:56 +0000 (12:36 +0000)]
Merge "Storage refactor for EntityConfidence"

6 years agoMerge "Binding on-demand #3: updateTransportAttributes() API"
Bernardo Rufino [Fri, 1 Dec 2017 12:06:23 +0000 (12:06 +0000)]
Merge "Binding on-demand #3: updateTransportAttributes() API"

6 years agoAAPT2: Use manifest parsing to determine format of APK.
Pierre Lecesne [Fri, 1 Dec 2017 11:39:01 +0000 (11:39 +0000)]
AAPT2: Use manifest parsing to determine format of APK.

This makes it possible to load APKs that don't have a resource table.

Bug: 69355482
Test: Manual
Change-Id: I8471dbe068e836b4beea9e6934d18dd16b70ef02

6 years agoMerge "Build overlaytests as part of the normal build" am: ce2362fc7d am: 08d7ee4111
Paul Duffin [Fri, 1 Dec 2017 10:44:52 +0000 (10:44 +0000)]
Merge "Build overlaytests as part of the normal build" am: ce2362fc7d am: 08d7ee4111
am: 58257c8891

Change-Id: I6ff4f390aa2e5084aab93a0a82bcdcdbebadb5f3

6 years agoMerge "Build overlaytests as part of the normal build" am: ce2362fc7d
Paul Duffin [Fri, 1 Dec 2017 10:35:20 +0000 (10:35 +0000)]
Merge "Build overlaytests as part of the normal build" am: ce2362fc7d
am: 08d7ee4111

Change-Id: Ie4c50aa2447316edb1c02e1f65dcacf35c24d5f0

6 years agoMerge "Build overlaytests as part of the normal build"
Paul Duffin [Fri, 1 Dec 2017 10:26:30 +0000 (10:26 +0000)]
Merge "Build overlaytests as part of the normal build"
am: ce2362fc7d

Change-Id: I11c3b75763f5bd5c8c4239d9a5135da7e18df03f

6 years agoMerge "Build overlaytests as part of the normal build"
Paul Duffin [Fri, 1 Dec 2017 10:16:56 +0000 (10:16 +0000)]
Merge "Build overlaytests as part of the normal build"

6 years agoStorage refactor for EntityConfidence
Jan Althaus [Thu, 30 Nov 2017 14:01:40 +0000 (15:01 +0100)]
Storage refactor for EntityConfidence

Caching the sorted entity list so users don't need to be careful to cache
the result of getEntities (previously dont by TextSelection and
TextClassification, but not TextLink). Also switched to ArrayMap as it's
better suited for small maps like the ones generated by the classifier.

Test: Ran FrameworksCoreTests
Change-Id: I08cc9f72146ccab88b6a3624f3775a366c814f7a

6 years agoMerge "Split NotificationUserManager out of StatusBar."
TreeHugger Robot [Fri, 1 Dec 2017 08:36:32 +0000 (08:36 +0000)]
Merge "Split NotificationUserManager out of StatusBar."

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 1 Dec 2017 08:15:56 +0000 (08:15 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 1 Dec 2017 07:57:50 +0000 (07:57 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Changed Dataset.setValue() methods to allow filtering with authentication."
TreeHugger Robot [Fri, 1 Dec 2017 07:29:06 +0000 (07:29 +0000)]
Merge "Changed Dataset.setValue() methods to allow filtering with authentication."