OSDN Git Service

android-x86/frameworks-base.git
6 years agoAdd DataUnit to clarify SI-vs-IEC units.
Jeff Sharkey [Sun, 7 Jan 2018 23:47:31 +0000 (16:47 -0700)]
Add DataUnit to clarify SI-vs-IEC units.

Mirrors the design of TimeUnit and ChronoUnit which many developers
are already familiar with, making it easy to pick up and use.

Yes, this is an enum.

Bug: 70915728
Test: bit FrameworksCoreTests:android.util.DataUnitTest
Change-Id: Id0cfdac5c81ed89c3c9ece23c964acba4a4f8471

6 years agoMerge "IWYU for sk_malloc_throw"
Mike Reed [Fri, 5 Jan 2018 16:33:18 +0000 (16:33 +0000)]
Merge "IWYU for sk_malloc_throw"

6 years agoMerge "[AWARE] Uhide the RTT in context of Aware discovery API"
Etan Cohen [Fri, 5 Jan 2018 16:00:15 +0000 (16:00 +0000)]
Merge "[AWARE] Uhide the RTT in context of Aware discovery API"

6 years agoIWYU for sk_malloc_throw
Mike Reed [Fri, 5 Jan 2018 15:25:08 +0000 (10:25 -0500)]
IWYU for sk_malloc_throw

Test: build

Change-Id: I20155994d8d22445afbe9ab9949ae8cce6871a0b

6 years agoMerge "Mark tests flaky"
Jorim Jaggi [Fri, 5 Jan 2018 14:34:06 +0000 (14:34 +0000)]
Merge "Mark tests flaky"

6 years agoDefine a @SystemApi string ID for each App Op.
Peter Visontay [Mon, 18 Dec 2017 20:34:03 +0000 (20:34 +0000)]
Define a @SystemApi string ID for each App Op.

Internal numeric op codes may change, but the public string IDs must consistently refer to the same operation.

Bug: 63907873
Test: Ran the tests being added in this this topic: make CtsPermissionTestCases -j32 && cts-tradefed run singleCommand cts-dev -m CtsPermissionTestCases --test android.permission.cts.AppOpsTest
Change-Id: I12bd9e2384d938120a403c4d76be4c1479ffd4ee

6 years agoMark tests flaky
Jorim Jaggi [Fri, 5 Jan 2018 12:14:39 +0000 (13:14 +0100)]
Mark tests flaky

Bug: 71602314
Change-Id: Iebbc8d6bf4e2a528bf19f84782a892f506ca75a8

6 years agoMerge "Add createNewItem() to RingBuffer util class."
TreeHugger Robot [Fri, 5 Jan 2018 10:59:28 +0000 (10:59 +0000)]
Merge "Add createNewItem() to RingBuffer util class."

6 years agoMerge "BatteryStatsImpl: Support chained attribution for BT events."
Narayan Kamath [Fri, 5 Jan 2018 09:16:21 +0000 (09:16 +0000)]
Merge "BatteryStatsImpl: Support chained attribution for BT events."

6 years agoMerge "BatteryStats: Add WorkChain support for WiFi events."
Narayan Kamath [Fri, 5 Jan 2018 09:02:18 +0000 (09:02 +0000)]
Merge "BatteryStats: Add WorkChain support for WiFi events."

6 years agoMerge "Remove unused userId parameter from RecoverableKeyStoreManager."
TreeHugger Robot [Fri, 5 Jan 2018 08:22:18 +0000 (08:22 +0000)]
Merge "Remove unused userId parameter from RecoverableKeyStoreManager."

6 years agoMerge "Do not block ambient mode IPC"
TreeHugger Robot [Fri, 5 Jan 2018 07:19:13 +0000 (07:19 +0000)]
Merge "Do not block ambient mode IPC"

6 years agoMerge "Use the configs from disk after reboot and separate out ConfigManager startup...
Howard Ro [Fri, 5 Jan 2018 06:44:38 +0000 (06:44 +0000)]
Merge "Use the configs from disk after reboot and separate out ConfigManager startup for unit test to avoid reading configs for tests"

6 years agoDo not block ambient mode IPC
Lucas Dupin [Thu, 4 Jan 2018 22:28:52 +0000 (14:28 -0800)]
Do not block ambient mode IPC

This can happen asynchronously, blocking may lower
frame rate.

Bug: 70857288
Test: press power button, look at AoD wallpaper
Change-Id: I453082adc0d5f58eb8e7cbf7663fca0cd0183075

6 years agoBug fix: gauge metric producer does not need the atom id parameter.
Yangster-mac [Thu, 4 Jan 2018 21:28:38 +0000 (13:28 -0800)]
Bug fix: gauge metric producer does not need the atom id parameter.

Test: statsd unit test passed
Change-Id: Ifd1e2f7a05a03886eb227ac1ae0e30b884e49f0c

6 years agoMerge "FBE devices now fully support adoptable storage."
Jeff Sharkey [Fri, 5 Jan 2018 03:53:56 +0000 (03:53 +0000)]
Merge "FBE devices now fully support adoptable storage."

6 years agoMerge "Intent to manage subscription plans."
Jeff Sharkey [Fri, 5 Jan 2018 03:49:06 +0000 (03:49 +0000)]
Merge "Intent to manage subscription plans."

6 years agoMerge "Move Field proto out of stats_log.proto to keep it clean."
TreeHugger Robot [Fri, 5 Jan 2018 02:45:33 +0000 (02:45 +0000)]
Merge "Move Field proto out of stats_log.proto to keep it clean."

6 years agoMerge "Account: Fix the risk of sqliteconnection leak" am: 766f0a4981 am: 130d5e3915
Fyodor Kupolov [Fri, 5 Jan 2018 02:18:24 +0000 (02:18 +0000)]
Merge "Account: Fix the risk of sqliteconnection leak" am: 766f0a4981 am: 130d5e3915
am: 28c72b43d9

Change-Id: Ibcf49239bae44081d2c8e10fe05ad3f6a07b52a1

6 years agoMerge "Account: Fix the risk of sqliteconnection leak" am: 766f0a4981
Fyodor Kupolov [Fri, 5 Jan 2018 02:10:46 +0000 (02:10 +0000)]
Merge "Account: Fix the risk of sqliteconnection leak" am: 766f0a4981
am: 130d5e3915

Change-Id: I89eb0c20c06c7b077b59a4aa66b6693014192e43

6 years agoMerge "Account: Fix the risk of sqliteconnection leak"
Fyodor Kupolov [Fri, 5 Jan 2018 02:03:33 +0000 (02:03 +0000)]
Merge "Account: Fix the risk of sqliteconnection leak"
am: 766f0a4981

Change-Id: I7e0c6ee50fba9563ba45231709e0df8a3dbe266c

6 years agoMerge "Remove obsolete aidl list"
TreeHugger Robot [Fri, 5 Jan 2018 01:59:48 +0000 (01:59 +0000)]
Merge "Remove obsolete aidl list"

6 years agoMerge "Account: Fix the risk of sqliteconnection leak"
Fyodor Kupolov [Fri, 5 Jan 2018 01:53:28 +0000 (01:53 +0000)]
Merge "Account: Fix the risk of sqliteconnection leak"

6 years agoFBE devices now fully support adoptable storage.
Jeff Sharkey [Thu, 4 Jan 2018 23:46:48 +0000 (16:46 -0700)]
FBE devices now fully support adoptable storage.

We've finished all the underlying work to support adoptable storage
on FBE devices, so remove the code that was disabling it by default.

Introduce feature flag to make it easier to detect devices that
support adoptable storage.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AdoptableHostTest
Bug: 29923055258617553325267337289651
Change-Id: I3630d690c9e66c7e41e316a4263ea2eb1e752ad3

6 years agoMerge "Merge changes I872a81ae,I0b9e72d2 am: f30c2c02f0 am: 34445736d8 am: 3fcce9f251"
Android Build Merger (Role) [Fri, 5 Jan 2018 01:47:48 +0000 (01:47 +0000)]
Merge "Merge changes I872a81ae,I0b9e72d2 am: f30c2c02f0 am: 34445736d8 am: 3fcce9f251"

6 years agoMerge changes I872a81ae,I0b9e72d2 am: f30c2c02f0 am: 34445736d8
Andreas Gampe [Fri, 5 Jan 2018 01:47:23 +0000 (01:47 +0000)]
Merge changes I872a81ae,I0b9e72d2 am: f30c2c02f0 am: 34445736d8
am: 3fcce9f251

Change-Id: Ic78c8cea300e402328313f8e70dcbee2d4716b64

6 years agoMerge "Bluetooth: Remove strings for enabling inband ringing"
TreeHugger Robot [Fri, 5 Jan 2018 01:45:14 +0000 (01:45 +0000)]
Merge "Bluetooth: Remove strings for enabling inband ringing"

6 years agoMerge changes I872a81ae,I0b9e72d2 am: f30c2c02f0
Andreas Gampe [Fri, 5 Jan 2018 01:39:13 +0000 (01:39 +0000)]
Merge changes I872a81ae,I0b9e72d2 am: f30c2c02f0
am: 34445736d8

Change-Id: I506b0e29977f0fbb410066dea46c99f264e01028

6 years agoRemove unused userId parameter from RecoverableKeyStoreManager.
Dmitry Dementyev [Thu, 4 Jan 2018 23:19:19 +0000 (15:19 -0800)]
Remove unused userId parameter from RecoverableKeyStoreManager.

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

Change-Id: Ibf09724839cbdbf7172462ce0368278c7e65155f

6 years agoMerge changes I872a81ae,I0b9e72d2
Andreas Gampe [Fri, 5 Jan 2018 01:30:56 +0000 (01:30 +0000)]
Merge changes I872a81ae,I0b9e72d2
am: f30c2c02f0

Change-Id: Ie495ff6b40f72203b5fae68fb00e35289b29f356

6 years agoMerge changes I872a81ae,I0b9e72d2
Treehugger Robot [Fri, 5 Jan 2018 01:14:44 +0000 (01:14 +0000)]
Merge changes I872a81ae,I0b9e72d2

* changes:
  Revert "Frameworks: Move SharedPreferencesImpl to Future"
  Revert "Frameworks: Silently ignore InterruptedException"

6 years agoMerge "Remove AndroidKeyStoreFactory now as it's not used anymore"
TreeHugger Robot [Fri, 5 Jan 2018 01:01:07 +0000 (01:01 +0000)]
Merge "Remove AndroidKeyStoreFactory now as it's not used anymore"

6 years agoMerge "Always bind slice on background"
TreeHugger Robot [Fri, 5 Jan 2018 00:57:21 +0000 (00:57 +0000)]
Merge "Always bind slice on background"

6 years agoMove Field proto out of stats_log.proto to keep it clean.
Yangster-mac [Thu, 4 Jan 2018 23:43:39 +0000 (15:43 -0800)]
Move Field proto out of stats_log.proto to keep it clean.

Test: statsd unit test passed.

Change-Id: I31ffea40cf1b82c16bf37c706969bfb159639c7b

6 years agoMerge "Let wallpaper know when to animate AoD transition"
TreeHugger Robot [Fri, 5 Jan 2018 00:32:25 +0000 (00:32 +0000)]
Merge "Let wallpaper know when to animate AoD transition"

6 years agoMerge "Enforce file transfer restrictions for shell."
Jeff Sharkey [Fri, 5 Jan 2018 00:14:15 +0000 (00:14 +0000)]
Merge "Enforce file transfer restrictions for shell."

6 years agoMerge "Add getSummaryMethod to AbstractPreferenceController"
TreeHugger Robot [Fri, 5 Jan 2018 00:02:48 +0000 (00:02 +0000)]
Merge "Add getSummaryMethod to AbstractPreferenceController"

6 years agoMerge changes from topic "BackupManagerModernInstallInterface"
Philip P. Moltmann [Thu, 4 Jan 2018 23:50:40 +0000 (23:50 +0000)]
Merge changes from topic "BackupManagerModernInstallInterface"

* changes:
  Disable installation via adb restore
  Use modern install method in backup service

6 years agoBluetooth: Remove strings for enabling inband ringing
Jack He [Thu, 7 Dec 2017 23:18:40 +0000 (15:18 -0800)]
Bluetooth: Remove strings for enabling inband ringing

* As in-band ringing is enabled by default on supported devices, user
  action in development settings should be disabling it instead of
  enabling it
* The new string is added to packages/apps/Settings and the old string
  is hence removed from SettingsLib

Bug: 65383086
Test: make, try toggling the preference and verify in-band ringing's
      behavior
Change-Id: I18858e86f4127f6555cce27d239d2682b6134fe2

6 years agoMerge "Log wallpaper redraw"
TreeHugger Robot [Thu, 4 Jan 2018 23:45:38 +0000 (23:45 +0000)]
Merge "Log wallpaper redraw"

6 years agoIntent to manage subscription plans.
Jeff Sharkey [Thu, 4 Jan 2018 23:04:11 +0000 (16:04 -0700)]
Intent to manage subscription plans.

Define an API for carrier apps to provide a deep-link into their app
for the user to see more details about their billing relationship,
such as upgrading plans.

The createManageSubscriptionIntent() method is ready for OS
components to use when deciding if they should show a "MANAGE"
button in their UI, and the returned Intent is fully constructed
and ready to roll.

Test: builds, boots
Bug: 64133169
Change-Id: I9b2775b7cba5313f517996870135eb4682082873

6 years agoUse the configs from disk after reboot and separate out ConfigManager
yro [Thu, 4 Jan 2018 22:57:45 +0000 (14:57 -0800)]
Use the configs from disk after reboot and separate out ConfigManager
startup for unit test to avoid reading configs for tests

Bug: 70667694
Test: manual testing conducted, statsd, statsd_test
Change-Id: I49cb82d2b1d7c178b7a4c30c089d8d93e7902faa

6 years agoRemove obsolete aidl list
Colin Cross [Thu, 4 Jan 2018 22:59:10 +0000 (14:59 -0800)]
Remove obsolete aidl list

Remove the obsolete aidl list, framework.aidl is now generated
from the stubs jars.

Bug: 70046217
Test: m checkbuild
Change-Id: I2417f0a8f193bd4db4058f6f0bb05c147e18de25

6 years agoMerge "Do not return pointer to freed memory"
TreeHugger Robot [Thu, 4 Jan 2018 22:57:25 +0000 (22:57 +0000)]
Merge "Do not return pointer to freed memory"

6 years agoMerge "Use TimeUnit enum to specify the bucket size."
TreeHugger Robot [Thu, 4 Jan 2018 22:53:29 +0000 (22:53 +0000)]
Merge "Use TimeUnit enum to specify the bucket size."

6 years agoRemove AndroidKeyStoreFactory now as it's not used anymore
Bo Zhu [Thu, 4 Jan 2018 06:31:59 +0000 (22:31 -0800)]
Remove AndroidKeyStoreFactory now as it's not used anymore

Test: adb shell am instrument -w -e package
com.android.server.locksettings.recoverablekeystore
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I15f19fb41cc952561601d2ca2b845d1ec8ba0671

6 years agoMerge "Only show the lockdown button when its possible to enter lockdown"
Chad Brubaker [Thu, 4 Jan 2018 22:23:19 +0000 (22:23 +0000)]
Merge "Only show the lockdown button when its possible to enter lockdown"

6 years agoEnforce file transfer restrictions for shell.
Jeff Sharkey [Thu, 4 Jan 2018 22:07:38 +0000 (15:07 -0700)]
Enforce file transfer restrictions for shell.

If we have a policy that says DISALLOW_USB_FILE_TRANSFER, then block
file transfers for that user through common ContentProviders.

Test: builds, boots
Bug: 64672411
Change-Id: I502b10c2c229727bc6b421f9db6d2d9e2e03845c

6 years agoMerge "Using RenderNode for creating snapshot of a View, so that hardware bitmaps...
TreeHugger Robot [Thu, 4 Jan 2018 22:05:37 +0000 (22:05 +0000)]
Merge "Using RenderNode for creating snapshot of a View, so that hardware bitmaps are drawn properly"

6 years agoMerge "Revert "Fixed RTL alignment issue in suggested language list""
Maurice Lam [Thu, 4 Jan 2018 22:05:12 +0000 (22:05 +0000)]
Merge "Revert "Fixed RTL alignment issue in suggested language list""

6 years agoMerge "Validate hotspot when loading PointerIcon from resource"
TreeHugger Robot [Thu, 4 Jan 2018 21:54:40 +0000 (21:54 +0000)]
Merge "Validate hotspot when loading PointerIcon from resource"

6 years agoMerge "camera: Add device info version"
TreeHugger Robot [Thu, 4 Jan 2018 21:52:25 +0000 (21:52 +0000)]
Merge "camera: Add device info version"

6 years agoAdd getSummaryMethod to AbstractPreferenceController
Matthew Fritze [Thu, 4 Jan 2018 00:51:49 +0000 (16:51 -0800)]
Add getSummaryMethod to AbstractPreferenceController

We want a dedicated getSummay method, as summary text
is a fairly important part of the preference framework.

Specifically for preferences with dynamic summaries, having a
method to provide summaries for Slices, and in the future, search
is necessary for correctness.

Change-Id: I435ccab7758d90515583fd8ca10a9b1ef0c858b9
Bug: 71514936
Test: make -j40 RunSettingsRoboTests

6 years agoMerge changes I1a61a5c9,I7e0dc28f,If0c923b3
TreeHugger Robot [Thu, 4 Jan 2018 21:38:29 +0000 (21:38 +0000)]
Merge changes I1a61a5c9,I7e0dc28f,If0c923b3

* changes:
  Rethrow RemoteException instead of log in ContextHubManager
  Remove unnecessary log from ContextHubManager
  Remove legacy bug comment in NanoAppInstanceInfo

6 years agoMerge "Clarify accessibility event documentation"
TreeHugger Robot [Thu, 4 Jan 2018 21:30:13 +0000 (21:30 +0000)]
Merge "Clarify accessibility event documentation"

6 years agoDisable installation via adb restore
Philip P. Moltmann [Mon, 18 Dec 2017 22:01:48 +0000 (14:01 -0800)]
Disable installation via adb restore

Test: tried to install apk via adb restore -> was not installed
Bug: 16298482
Change-Id: I91e61cd229499f2ba8519554f4836f1e0b9f6404

6 years agoUse modern install method in backup service
Philip P. Moltmann [Wed, 13 Dec 2017 23:59:07 +0000 (15:59 -0800)]
Use modern install method in backup service

Test: adb backup -apk myApp -f backup ; adb restore backup
Change-Id: I2bbcb0487ecc525a6dc8a2693b15ce624db275b0

6 years agoMerge "Dump Proto to a csv"
Yi Jin [Thu, 4 Jan 2018 21:09:39 +0000 (21:09 +0000)]
Merge "Dump Proto to a csv"

6 years agoMerge "Add subtype to indicate accessibility text"
Mady Mellor [Thu, 4 Jan 2018 21:02:44 +0000 (21:02 +0000)]
Merge "Add subtype to indicate accessibility text"

6 years agoUse TimeUnit enum to specify the bucket size.
Yangster-mac [Thu, 4 Jan 2018 18:56:23 +0000 (10:56 -0800)]
Use TimeUnit enum to specify the bucket size.

Test: all statsd unit test passed

Change-Id: I4f6b80ba2f8c984b06e46e6de6df3e546e99a968

6 years agoDo not return pointer to freed memory
Siarhei Vishniakou [Thu, 4 Jan 2018 21:00:48 +0000 (13:00 -0800)]
Do not return pointer to freed memory

Since the code was changed to use std::string instead of String8, it is
no longer safe to pass a raw pointer to internal memory of the string
object, since std::string creates a copy even if the data itself is not
being modified.
Instead, return std::string to the calling function and let the function
access the pointer when necessary.

Bug: 71541263
Test: boot up asan build on pixel 2 xl, then interact with google
calendar and chrome. Observe no crashes with the patch.

Change-Id: I6af2d23985d0553dd0707ad985f7f1e7b2240611

6 years agoMerge "Make print options layout respect RTL"
TreeHugger Robot [Thu, 4 Jan 2018 20:40:04 +0000 (20:40 +0000)]
Merge "Make print options layout respect RTL"

6 years agoMerge "Default grant coarse loc perm to use-open-wifi app"
TreeHugger Robot [Thu, 4 Jan 2018 20:24:39 +0000 (20:24 +0000)]
Merge "Default grant coarse loc perm to use-open-wifi app"

6 years agoMerge "Don't allow 0-sized views to be focused."
Evan Rosky [Thu, 4 Jan 2018 20:19:43 +0000 (20:19 +0000)]
Merge "Don't allow 0-sized views to be focused."

6 years agoMerge "use only string type in the log source whitelist."
TreeHugger Robot [Thu, 4 Jan 2018 19:39:46 +0000 (19:39 +0000)]
Merge "use only string type in the log source whitelist."

6 years agoMerge "Add WindowState and LayoutParams proto"
TreeHugger Robot [Thu, 4 Jan 2018 19:17:51 +0000 (19:17 +0000)]
Merge "Add WindowState and LayoutParams proto"

6 years agoMerge "[AWARE][RTT] Check for null callback registration"
TreeHugger Robot [Thu, 4 Jan 2018 19:15:46 +0000 (19:15 +0000)]
Merge "[AWARE][RTT] Check for null callback registration"

6 years agoAlways bind slice on background
Lucas Dupin [Thu, 4 Jan 2018 19:10:16 +0000 (11:10 -0800)]
Always bind slice on background

Doing on the main thread will increase jank
when unlocking or waking up.

Fixes: 71543966
Test: runtest systemui-jank -c android.platform.systemui.tests.jank.SystemUiJankTests -m testAmbientWakeUp
Change-Id: I3b534425c85609a132d33905de18dbc36fd37f0d

6 years agoMerge "Fix CTS Test Dual Stack Test Passing Issue" am: ae81e15c9c am: a19acb6ac8
Manoj Boopathi Raj [Thu, 4 Jan 2018 19:07:19 +0000 (19:07 +0000)]
Merge "Fix CTS Test Dual Stack Test Passing Issue" am: ae81e15c9c am: a19acb6ac8
am: 5c18216aa7

Change-Id: I39839d144f75340c1b327ed0af180e66db770914

6 years agoDump Proto to a csv
Yi Jin [Fri, 17 Nov 2017 02:19:45 +0000 (18:19 -0800)]
Dump Proto to a csv

Bug: 69427323
Test: N/A
Change-Id: I1b89898afc30d5a0df6355ee1f6477df8d271f98

6 years agoMerge "Refactored Field Classification score logic so it can be moved to ExtServices."
TreeHugger Robot [Thu, 4 Jan 2018 19:00:40 +0000 (19:00 +0000)]
Merge "Refactored Field Classification score logic so it can be moved to ExtServices."

6 years agoMerge "Fix CTS Test Dual Stack Test Passing Issue" am: ae81e15c9c
Manoj Boopathi Raj [Thu, 4 Jan 2018 18:59:41 +0000 (18:59 +0000)]
Merge "Fix CTS Test Dual Stack Test Passing Issue" am: ae81e15c9c
am: a19acb6ac8

Change-Id: Ica9ded5c7bdbeb243c63a3ebb1ca273d4c8f4138

6 years agoMerge "Fix wrong attribute name used to restore databaseVersion."
TreeHugger Robot [Thu, 4 Jan 2018 18:53:26 +0000 (18:53 +0000)]
Merge "Fix wrong attribute name used to restore databaseVersion."

6 years agoMerge "Fix CTS Test Dual Stack Test Passing Issue"
Manoj Boopathi Raj [Thu, 4 Jan 2018 18:51:12 +0000 (18:51 +0000)]
Merge "Fix CTS Test Dual Stack Test Passing Issue"
am: ae81e15c9c

Change-Id: I30778e45730e79bc071344fb31fd0038d739ee9d

6 years agoMerge "Ensure the correct animation bounds for STACK_CLIP_BEFORE"
Chavi Weingarten [Thu, 4 Jan 2018 18:48:46 +0000 (18:48 +0000)]
Merge "Ensure the correct animation bounds for STACK_CLIP_BEFORE"

6 years agoDefault grant coarse loc perm to use-open-wifi app
Eric Enslen [Mon, 18 Dec 2017 19:30:21 +0000 (11:30 -0800)]
Default grant coarse loc perm to use-open-wifi app

Bug: 70843697
Test: flashed onto walleye and confirmed permission granted when WFA is
enabled.

Change-Id: Ic53886478ec6b8bef311f2f94e0976f7870c8cd1

6 years agoMerge "incidentd: Updating BatteryStats process states."
TreeHugger Robot [Thu, 4 Jan 2018 18:41:25 +0000 (18:41 +0000)]
Merge "incidentd: Updating BatteryStats process states."

6 years agoMerge "Added new Autofill APIs to get name of id used on android:text."
TreeHugger Robot [Thu, 4 Jan 2018 18:40:24 +0000 (18:40 +0000)]
Merge "Added new Autofill APIs to get name of id used on android:text."

6 years agoMerge "Fix CTS Test Dual Stack Test Passing Issue"
Manoj Boopathi Raj [Thu, 4 Jan 2018 18:32:00 +0000 (18:32 +0000)]
Merge "Fix CTS Test Dual Stack Test Passing Issue"

6 years agoClarify accessibility event documentation
Phil Weaver [Thu, 21 Dec 2017 19:49:18 +0000 (11:49 -0800)]
Clarify accessibility event documentation

Removing suggestions to get information from events that
can instead be extracted from the node hierarchy.

Clarifying window change and announcement.

Comment changes only. I'm trying to steer developers to
use the APIs as we currently thing about them, but I'm
not changing any behavior.

Test: make
Change-Id: Ieecedbb98bdf11cf0cf4a29856db497986faaca6

6 years agoMerge "Save PiP activity position on screen for next re-entry into PiP."
Winson Chung [Thu, 4 Jan 2018 18:25:50 +0000 (18:25 +0000)]
Merge "Save PiP activity position on screen for next re-entry into PiP."

6 years agouse only string type in the log source whitelist.
Yao Chen [Fri, 22 Dec 2017 22:35:34 +0000 (14:35 -0800)]
use only string type in the log source whitelist.

+ predefined "AID_X" will be provided as string type to statsd, and we will translate
  to integer uid using the static map.

Test: statsd_test

Change-Id: Ie47d8481e0c456457e6881ebb9cb4ce008e772b8

6 years agoMerge "Track brightness changes in nits rather than backlight values."
TreeHugger Robot [Thu, 4 Jan 2018 17:51:29 +0000 (17:51 +0000)]
Merge "Track brightness changes in nits rather than backlight values."

6 years agoUsing RenderNode for creating snapshot of a View, so that hardware
Sunny Goyal [Thu, 4 Jan 2018 17:37:22 +0000 (09:37 -0800)]
Using RenderNode for creating snapshot of a View, so that hardware
bitmaps are drawn properly

Test: atest FrameworksCoreTests:ViewCaptureTest
Change-Id: Ie137e8a73fb84665df7a55facd02b10d78764c80

6 years agoRethrow RemoteException instead of log in ContextHubManager
Arthur Ishiguro [Sat, 23 Dec 2017 00:21:53 +0000 (16:21 -0800)]
Rethrow RemoteException instead of log in ContextHubManager

Bug: 67734082
Test: Compile only
Change-Id: I1a61a5c9f47652539f7e1dac3a0c5306e994fcd4

6 years agoRemove unnecessary log from ContextHubManager
Arthur Ishiguro [Sat, 23 Dec 2017 00:16:12 +0000 (16:16 -0800)]
Remove unnecessary log from ContextHubManager

Bug: 67734082
Test: None
Change-Id: I7e0dc28f6ee502cc2a9993b5f82bb3409a65aeb3

6 years agoRemove legacy bug comment in NanoAppInstanceInfo
Arthur Ishiguro [Sat, 23 Dec 2017 00:11:29 +0000 (16:11 -0800)]
Remove legacy bug comment in NanoAppInstanceInfo

This was resolved during the redesign of the service.

Bug: 30970527
Test: None
Change-Id: If0c923b37a88e65216eba623c4898c04c7b02d58

6 years agoMerge changes from topic "StorageUnitTranslation"
Victor Chang [Thu, 4 Jan 2018 17:35:19 +0000 (17:35 +0000)]
Merge changes from topic "StorageUnitTranslation"

* changes:
  Revert "Switch file size formatters to use ICU's MeasureFormat"
  Revert "Remove use of MeasureUnit.internalGetInstance"

6 years agoMerge "Make accessibility window events more granular"
Phil Weaver [Thu, 4 Jan 2018 17:09:35 +0000 (17:09 +0000)]
Merge "Make accessibility window events more granular"

6 years agoMerge "Removing unused colors."
TreeHugger Robot [Thu, 4 Jan 2018 17:07:38 +0000 (17:07 +0000)]
Merge "Removing unused colors."

6 years agoBatteryStatsImpl: Support chained attribution for BT events.
Narayan Kamath [Fri, 29 Dec 2017 13:32:38 +0000 (13:32 +0000)]
BatteryStatsImpl: Support chained attribution for BT events.

These changes are slightly different than the ones for Wifi etc.
We need to keep track of the list of WorkChains attributed to a given
UID in order to log stop events for each of them if the BT process
crashes (or goes away) and we receive a call to noteResetBluetooth..[].

Test: BatteryStatsTests
Bug: 62390666

Change-Id: I4aaa2260cdc509ca08c4fa4838df77cda870ef75

6 years agoMerge "Update the ttc index attribute documentation"
TreeHugger Robot [Thu, 4 Jan 2018 16:25:13 +0000 (16:25 +0000)]
Merge "Update the ttc index attribute documentation"

6 years agoMerge "Fix broken build due to missing imports in device owner transfer functionality."
Martijn Coenen [Thu, 4 Jan 2018 15:55:01 +0000 (15:55 +0000)]
Merge "Fix broken build due to missing imports in device owner transfer functionality."

6 years agoAdd WindowState and LayoutParams proto
Vishnu Nair [Thu, 4 Jan 2018 15:53:00 +0000 (07:53 -0800)]
Add WindowState and LayoutParams proto

Bug: 64831661
Test: verify data using winscope
Change-Id: I91c9abcdbc45b53ed5f354e173e6fd03396e2744

6 years agoFix broken build due to missing imports in device owner transfer functionality.
arangelov [Thu, 4 Jan 2018 15:52:12 +0000 (15:52 +0000)]
Fix broken build due to missing imports in device owner transfer functionality.

Test: None
Change-Id: Ib3563349fe754bd47166d473387ab1fb21c441c8

6 years agoMerge "Avoid setting size/position on Transaction if not needed"
Jorim Jaggi [Thu, 4 Jan 2018 15:39:25 +0000 (15:39 +0000)]
Merge "Avoid setting size/position on Transaction if not needed"

6 years ago[AWARE][RTT] Check for null callback registration
Etan Cohen [Thu, 4 Jan 2018 15:34:50 +0000 (07:34 -0800)]
[AWARE][RTT] Check for null callback registration

Check on the manager side for null callback registration and throw
and exception.

Should be done in addition to service side checks since, in well
behaved apps (which don't bypass the manager), the callback registered
with the service is a proxy wrapper for the user-provided callback.

Bug: 71575804
Test: unit test & integration tests
Change-Id: Ice6585fccb13d842d9518b1f60bff911fb66c48f

6 years agoMerge "Correct Telephony source directory to match package."
Jake Wharton [Thu, 4 Jan 2018 15:19:54 +0000 (15:19 +0000)]
Merge "Correct Telephony source directory to match package."

6 years agoCorrect Telephony source directory to match package.
Jake Wharton [Wed, 3 Jan 2018 22:16:43 +0000 (17:16 -0500)]
Correct Telephony source directory to match package.

Test: none
Bug: 71549250
Change-Id: I3e4c1d67240d83712f96d076d650af464a9c8277

6 years agoMerge "Add device owner transfer functionality."
Antoan Angelov [Thu, 4 Jan 2018 15:07:03 +0000 (15:07 +0000)]
Merge "Add device owner transfer functionality."