OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Add support for dimension, and link with condition and added DurationMetric"
TreeHugger Robot [Fri, 20 Oct 2017 01:08:04 +0000 (01:08 +0000)]
Merge "Add support for dimension, and link with condition and added DurationMetric"

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236...
Suprabh Shukla [Fri, 20 Oct 2017 00:40:18 +0000 (00:40 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236ce  -s ours am: 159648d6e5 am: 6f0e6952ef am: 8fb52c8d06 am: cf8fe172a1 am: 55ffaea04b am: d1150b7e55 am: a4454ba4a9 am: 29257874f9 am: 02d89a3c0c am: 14164f1bdf am: 7078aaa62a am: fa4d0a1d80
am: fd58475dcc

Change-Id: Icb4d35307829cf4f16c7a30b46bfa219ede2fb16

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236...
Suprabh Shukla [Fri, 20 Oct 2017 00:21:45 +0000 (00:21 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236ce  -s ours am: 159648d6e5 am: 6f0e6952ef am: 8fb52c8d06 am: cf8fe172a1 am: 55ffaea04b am: d1150b7e55 am: a4454ba4a9 am: 29257874f9 am: 02d89a3c0c am: 14164f1bdf am: 7078aaa62a
am: fa4d0a1d80

Change-Id: Ifaa66862877cbdde99a93f2ba7c59f8f1da8a5f4

6 years agoMerge changes from topic "health2_healthd_hwbinder"
TreeHugger Robot [Fri, 20 Oct 2017 00:10:04 +0000 (00:10 +0000)]
Merge changes from topic "health2_healthd_hwbinder"

* changes:
  BatteryService serves IBatteryPropertiesRegistrar.
  BatteryService: Use android.hardware.health@2.0.

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236...
Suprabh Shukla [Fri, 20 Oct 2017 00:01:26 +0000 (00:01 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236ce  -s ours am: 159648d6e5 am: 6f0e6952ef am: 8fb52c8d06 am: cf8fe172a1 am: 55ffaea04b am: d1150b7e55 am: a4454ba4a9 am: 29257874f9 am: 02d89a3c0c am: 14164f1bdf
am: 7078aaa62a

Change-Id: I00826913bfa33d529b3056c7d4a2b4a9215172d8

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236...
Suprabh Shukla [Thu, 19 Oct 2017 23:43:16 +0000 (23:43 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236ce  -s ours am: 159648d6e5 am: 6f0e6952ef am: 8fb52c8d06 am: cf8fe172a1 am: 55ffaea04b am: d1150b7e55 am: a4454ba4a9 am: 29257874f9 am: 02d89a3c0c
am: 14164f1bdf

Change-Id: I6bea094bde1b97604d7769646d9b04f7e6b21ca2

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236...
Suprabh Shukla [Thu, 19 Oct 2017 23:22:43 +0000 (23:22 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236ce  -s ours am: 159648d6e5 am: 6f0e6952ef am: 8fb52c8d06 am: cf8fe172a1 am: 55ffaea04b am: d1150b7e55 am: a4454ba4a9 am: 29257874f9
am: 02d89a3c0c

Change-Id: If82c97668497ce72ad29b055b15646291df66157

6 years agoMerge "mididocs: clarify direction and add BLE-MIDI link"
TreeHugger Robot [Thu, 19 Oct 2017 23:20:52 +0000 (23:20 +0000)]
Merge "mididocs: clarify direction and add BLE-MIDI link"

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236...
Suprabh Shukla [Thu, 19 Oct 2017 23:09:02 +0000 (23:09 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236ce  -s ours am: 159648d6e5 am: 6f0e6952ef am: 8fb52c8d06 am: cf8fe172a1 am: 55ffaea04b am: d1150b7e55 am: a4454ba4a9
am: 29257874f9

Change-Id: I3852ef99532b956fd3280c49d6722c2aed1d79a6

6 years agoMerge "Replace JNI portion of AndroidBidi with calls to ICU4J"
Roozbeh Pournader [Thu, 19 Oct 2017 22:55:57 +0000 (22:55 +0000)]
Merge "Replace JNI portion of AndroidBidi with calls to ICU4J"

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236...
Suprabh Shukla [Thu, 19 Oct 2017 22:54:42 +0000 (22:54 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236ce  -s ours am: 159648d6e5 am: 6f0e6952ef am: 8fb52c8d06 am: cf8fe172a1 am: 55ffaea04b am: d1150b7e55
am: a4454ba4a9

Change-Id: Ie24e5fc3ab442ca5c51ca79687d417ae563d631c

6 years agoAdd support for dimension, and link with condition and added DurationMetric
Yao Chen [Mon, 16 Oct 2017 17:33:26 +0000 (10:33 -0700)]
Add support for dimension, and link with condition and added DurationMetric

Now we support following metrics:
  <Duration> of [app holding a wake lock], while [*this app*] is [in background] [AND] [screen is off]
  [Slice] the output by [app name, wake lock name], with bucket size [30sec]

+ Also added onDumpReport() api in MetricsManager, it can be called from client to fetch the data from
  statsd

+ Also added command line tool to dump the StatsLogReport from all metrics for debugging.

+ Synced proto from google3. with a pending cl (cr/172359050)

TODO: We need to add tons of tests to test the Metrics. I will work on it after this CL so people
can be unblocked.

I locally test the duration metric with wake lock with an app that generates StatsLog events.

Test: statsd_test

      and manual test, and run:

      adb shell cmd stats dump-report
      We have a default config, which contains a metrics to count PROCESS_START event sliced by
      package name.

Change-Id: I4838cc6cf025c143b7e84f43040703a78121fd25

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236...
Suprabh Shukla [Thu, 19 Oct 2017 22:40:05 +0000 (22:40 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236ce  -s ours am: 159648d6e5 am: 6f0e6952ef am: 8fb52c8d06 am: cf8fe172a1 am: 55ffaea04b
am: d1150b7e55

Change-Id: Iac842a9f018f24c905d4e165362f5bf87470d296

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236...
Suprabh Shukla [Thu, 19 Oct 2017 22:25:04 +0000 (22:25 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236ce  -s ours am: 159648d6e5 am: 6f0e6952ef am: 8fb52c8d06 am: cf8fe172a1
am: 55ffaea04b

Change-Id: I10a7a16d5463e4cbf7880b1979541ea82a56ddd3

6 years agoMerge "AAPT2: Ensure strings are sorted by configuration" into oc-mr1-dev am: 8da74b1bfd
Adam Lesinski [Thu, 19 Oct 2017 22:23:58 +0000 (22:23 +0000)]
Merge "AAPT2: Ensure strings are sorted by configuration" into oc-mr1-dev am: 8da74b1bfd
am: 5fae742a1e

Change-Id: I7dfb1a020b1c3da9e0af5a7096fda0775751eab3

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236...
Suprabh Shukla [Thu, 19 Oct 2017 22:06:31 +0000 (22:06 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236ce  -s ours am: 159648d6e5 am: 6f0e6952ef am: 8fb52c8d06
am: cf8fe172a1

Change-Id: I8600883ef4cad6f8b11fc005fc9cfd62d84aeb08

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236...
Suprabh Shukla [Thu, 19 Oct 2017 21:55:31 +0000 (21:55 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236ce  -s ours am: 159648d6e5 am: 6f0e6952ef
am: 8fb52c8d06

Change-Id: I2d8cdac51baf7b8df6b903f0416e525e9ec44784

6 years agoMerge "AAPT2: Ensure strings are sorted by configuration" into oc-mr1-dev
Adam Lesinski [Thu, 19 Oct 2017 21:43:31 +0000 (21:43 +0000)]
Merge "AAPT2: Ensure strings are sorted by configuration" into oc-mr1-dev
am: 8da74b1bfd

Change-Id: Ifd3555db424136fe8a8057504df414f41fb020a1

6 years agoReuse the BluetoothBatteryDrawable in QS detail am: 4b7f43bcae
jackqdyulei [Thu, 19 Oct 2017 21:43:15 +0000 (21:43 +0000)]
Reuse the BluetoothBatteryDrawable in QS detail am: 4b7f43bcae
am: 2cd25cfcee

Change-Id: I204b6cd1bfd4a54f17f09f9ca3549c4a98266618

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236...
Suprabh Shukla [Thu, 19 Oct 2017 21:41:08 +0000 (21:41 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236ce  -s ours am: 159648d6e5
am: 6f0e6952ef

Change-Id: Ie4cf94614784c4938776c8c6c37fff64e6cfa240

6 years agoReuse the BluetoothBatteryDrawable in QS detail
jackqdyulei [Thu, 19 Oct 2017 21:31:54 +0000 (21:31 +0000)]
Reuse the BluetoothBatteryDrawable in QS detail
am: 4b7f43bcae

Change-Id: Ie5fd81010fae4660bb0fdd5d6d061fa535d86150

6 years agoMerge "AAPT2: Ensure strings are sorted by configuration" into oc-mr1-dev
TreeHugger Robot [Thu, 19 Oct 2017 21:31:10 +0000 (21:31 +0000)]
Merge "AAPT2: Ensure strings are sorted by configuration" into oc-mr1-dev

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236...
Suprabh Shukla [Thu, 19 Oct 2017 21:25:06 +0000 (21:25 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 271702fc28 am: 8b438236ce  -s ours
am: 159648d6e5

Change-Id: I34260f4fd841084a9e91b89905d84004efb40b23

6 years agoMerge "Add storaged callbacks in StorageManagerService"
TreeHugger Robot [Thu, 19 Oct 2017 21:24:12 +0000 (21:24 +0000)]
Merge "Add storaged callbacks in StorageManagerService"

6 years agoMerge "Fail only if CONTROL_PRIVAPP_PERMISSIONS_ENFORCE"
TreeHugger Robot [Thu, 19 Oct 2017 21:01:58 +0000 (21:01 +0000)]
Merge "Fail only if CONTROL_PRIVAPP_PERMISSIONS_ENFORCE"

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 271702fc28
Suprabh Shukla [Thu, 19 Oct 2017 20:57:26 +0000 (20:57 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 271702fc28
am: 8b438236ce  -s ours

Change-Id: Ib8c3a4e6e8e39e42aa640c9988d0dd2022f486ec

6 years agoMerge "[PASSPOINT] Add metrics to determine deployment/avail of Passpoint"
TreeHugger Robot [Thu, 19 Oct 2017 20:40:48 +0000 (20:40 +0000)]
Merge "[PASSPOINT] Add metrics to determine deployment/avail of Passpoint"

6 years agoMerge "Improved logging on autofill validators."
TreeHugger Robot [Thu, 19 Oct 2017 20:34:02 +0000 (20:34 +0000)]
Merge "Improved logging on autofill validators."

6 years agoMerge "Make priv apps not trust user added CAs by default"
Chad Brubaker [Thu, 19 Oct 2017 20:25:58 +0000 (20:25 +0000)]
Merge "Make priv apps not trust user added CAs by default"

6 years agoMerge "AAPT2: Sanitize resource qualifiers before using in split names."
Donald Chai [Thu, 19 Oct 2017 19:33:56 +0000 (19:33 +0000)]
Merge "AAPT2: Sanitize resource qualifiers before using in split names."

6 years agoAdd storaged callbacks in StorageManagerService
Jin Qian [Sat, 14 Oct 2017 01:17:04 +0000 (18:17 -0700)]
Add storaged callbacks in StorageManagerService

Notify storaged about user login so that storaged can read proto
files from CE when they become available.

Test: adb shell storaged -p
Bug: 63740245
Change-Id: Id9bd7023e6cfcfe1e5adeab1f0603e04ef586e93

6 years agoMerge "Merge "Add storageId to moveObjects" am: 1f4f6d2a18 am: 18abf57e99 am: 59ff05a...
Android Build Merger (Role) [Thu, 19 Oct 2017 18:51:46 +0000 (18:51 +0000)]
Merge "Merge "Add storageId to moveObjects" am: 1f4f6d2a18 am: 18abf57e99 am: 59ff05a59f am: 3b997d0773"

6 years agoMerge "Add storageId to moveObjects" am: 1f4f6d2a18 am: 18abf57e99 am: 59ff05a59f
Jerry Zhang [Thu, 19 Oct 2017 18:48:11 +0000 (18:48 +0000)]
Merge "Add storageId to moveObjects" am: 1f4f6d2a18 am: 18abf57e99 am: 59ff05a59f
am: 3b997d0773

Change-Id: I93d06954ceb4942e3efdbd9e5ce2ddb25dee8ab7

6 years agoFail only if CONTROL_PRIVAPP_PERMISSIONS_ENFORCE
Fyodor Kupolov [Thu, 19 Oct 2017 18:45:29 +0000 (11:45 -0700)]
Fail only if CONTROL_PRIVAPP_PERMISSIONS_ENFORCE

Previously the error was also thrown if ro.control_privapp_permissions=log

Test: manual
Bug: 64693550
Change-Id: Ia87984e2e5902dd885feeb37f676956fa56b421c

6 years agoMerge "Start IoT System Service from SystemServer"
TreeHugger Robot [Thu, 19 Oct 2017 18:47:02 +0000 (18:47 +0000)]
Merge "Start IoT System Service from SystemServer"

6 years agoReuse the BluetoothBatteryDrawable in QS detail
jackqdyulei [Thu, 19 Oct 2017 18:05:09 +0000 (11:05 -0700)]
Reuse the BluetoothBatteryDrawable in QS detail

BluetoothBatteryDrawable creates the drawable lazily using
the latest(and most correct) context. So it could get the
correct color from the theme.

Also add iconScale field in BluetoothBatteryDrawable so the size
of the battery icon could be scaled.

Bug: 67377756
Test: Manual - connected to bluetooth headphone and open the qs
page and detail page. Retest it after changing it to dark theme.
Change-Id: Ic6c871985a89a503221755eed4bc2605ab53f630

6 years agoMerge "Add storageId to moveObjects" am: 1f4f6d2a18 am: 18abf57e99
Jerry Zhang [Thu, 19 Oct 2017 18:36:22 +0000 (18:36 +0000)]
Merge "Add storageId to moveObjects" am: 1f4f6d2a18 am: 18abf57e99
am: 59ff05a59f

Change-Id: I024be0c75e20e58152dbe0c81e5548d70f06a925

6 years agoMerge "Add storageId to moveObjects" am: 1f4f6d2a18
Jerry Zhang [Thu, 19 Oct 2017 18:22:46 +0000 (18:22 +0000)]
Merge "Add storageId to moveObjects" am: 1f4f6d2a18
am: 18abf57e99

Change-Id: Ieb79d5a10307c47cd772ae5ef621717d5c90cdc2

6 years agoReplace JNI portion of AndroidBidi with calls to ICU4J
Roozbeh Pournader [Sat, 14 Oct 2017 03:48:37 +0000 (20:48 -0700)]
Replace JNI portion of AndroidBidi with calls to ICU4J

We no longer need the native calls to ICU since we have ICU4J.

Fixes: 67786879
Test: bit FrameworksCoreTests:android.text.
Change-Id: Ib2ec93017000b4f0343756814ca388bd31457849

6 years agoMerge "Add storageId to moveObjects"
Jerry Zhang [Thu, 19 Oct 2017 18:11:49 +0000 (18:11 +0000)]
Merge "Add storageId to moveObjects"
am: 1f4f6d2a18

Change-Id: Id4f53fc283850d8f93cde7e67581355dc50e595e

6 years agoMerge "Add storageId to moveObjects"
Jerry Zhang [Thu, 19 Oct 2017 17:55:34 +0000 (17:55 +0000)]
Merge "Add storageId to moveObjects"

6 years agoMerge "Add support for AES-GCM-ESP as an IPSec algorithm" am: b6df7f0d35 am: d3a57920...
Benedict Wong [Thu, 19 Oct 2017 17:48:53 +0000 (17:48 +0000)]
Merge "Add support for AES-GCM-ESP as an IPSec algorithm" am: b6df7f0d35 am: d3a5792024 am: f92bfc3b77
am: 9c6f24d1ee

Change-Id: Ie9a43c7f0519a2d7ac3326944608190503804483

6 years agoMerge "Add support for AES-GCM-ESP as an IPSec algorithm" am: b6df7f0d35 am: d3a5792024
Benedict Wong [Thu, 19 Oct 2017 17:37:22 +0000 (17:37 +0000)]
Merge "Add support for AES-GCM-ESP as an IPSec algorithm" am: b6df7f0d35 am: d3a5792024
am: f92bfc3b77

Change-Id: I49932a5fc048b4a60512fac45a3537f050397168

6 years agoMerge "getPinnedShortcuts() shouldn't crash with shortcuts with..."
TreeHugger Robot [Thu, 19 Oct 2017 17:32:26 +0000 (17:32 +0000)]
Merge "getPinnedShortcuts() shouldn't crash with shortcuts with..."

6 years agoMerge "Add support for AES-GCM-ESP as an IPSec algorithm" am: b6df7f0d35
Benedict Wong [Thu, 19 Oct 2017 17:26:19 +0000 (17:26 +0000)]
Merge "Add support for AES-GCM-ESP as an IPSec algorithm" am: b6df7f0d35
am: d3a5792024

Change-Id: I5bf43f78716769a6f1f90169f500e9eee7a91f18

6 years agoMerge "Move most android.util.Mutable* classes to framework." am: cd06caf10e am:...
Tobias Thierer [Thu, 19 Oct 2017 17:26:09 +0000 (17:26 +0000)]
Merge "Move most android.util.Mutable* classes to framework." am: cd06caf10e am: 4719440f3f am: 23c2a6578b
am: d6e61836ac

Change-Id: Ifec5c8457aa144a909dd694de15d66c550cd7fdc

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev am: db768d45e0 -s ours
Bill Yi [Thu, 19 Oct 2017 17:14:58 +0000 (17:14 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: db768d45e0  -s ours
am: 9a5e67dba9  -s ours

Change-Id: I4b26cbf3a5f9c5fadb88bb90db948bc605cd48e5

6 years agoMerge "Add support for AES-GCM-ESP as an IPSec algorithm"
Benedict Wong [Thu, 19 Oct 2017 17:14:53 +0000 (17:14 +0000)]
Merge "Add support for AES-GCM-ESP as an IPSec algorithm"
am: b6df7f0d35

Change-Id: Ic099206a28c4f21fa796969c953a8d4e81e8495b

6 years agoresolve merge conflicts of 5c9e47d28b24 to oc-mr1-dev-plus-aosp
Tobias Thierer [Thu, 19 Oct 2017 17:10:40 +0000 (17:10 +0000)]
resolve merge conflicts of 5c9e47d28b24 to oc-mr1-dev-plus-aosp
am: 301bf35e2d  -s ours

Change-Id: I94dc1b71d6c9a323173b75b2d71b7da841c460d9

6 years agoMerge "Add support for AES-GCM-ESP as an IPSec algorithm"
Benedict Wong [Thu, 19 Oct 2017 17:06:30 +0000 (17:06 +0000)]
Merge "Add support for AES-GCM-ESP as an IPSec algorithm"

6 years agoMerge "Move most android.util.Mutable* classes to framework." am: cd06caf10e am:...
Tobias Thierer [Thu, 19 Oct 2017 16:42:50 +0000 (16:42 +0000)]
Merge "Move most android.util.Mutable* classes to framework." am: cd06caf10e am: 4719440f3f
am: 23c2a6578b

Change-Id: I990ecf36ee6d2cd1d55c7cb1e652a8998ff84f35

6 years agoMerge "Move most android.util.Mutable* classes to framework." am: cd06caf10e
Tobias Thierer [Thu, 19 Oct 2017 16:31:25 +0000 (16:31 +0000)]
Merge "Move most android.util.Mutable* classes to framework." am: cd06caf10e
am: 4719440f3f

Change-Id: I699ae1fdec65f8c0ed584c13424e922f226d3ce0

6 years agoMerge "Move most android.util.Mutable* classes to framework."
Tobias Thierer [Thu, 19 Oct 2017 16:18:44 +0000 (16:18 +0000)]
Merge "Move most android.util.Mutable* classes to framework."
am: cd06caf10e

Change-Id: I25fd01bd4bc8c582e6cb79a03de47847b46bcb83

6 years agoMerge "Move most android.util.Mutable* classes to framework."
Tobias Thierer [Thu, 19 Oct 2017 16:08:07 +0000 (16:08 +0000)]
Merge "Move most android.util.Mutable* classes to framework."

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Thu, 19 Oct 2017 16:02:24 +0000 (16:02 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: db768d45e0  -s ours

Change-Id: Ie3665e5f71cf66f0eb36741a42244043b70b78b4

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Thu, 19 Oct 2017 15:52:22 +0000 (15:52 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agogetPinnedShortcuts() shouldn't crash with shortcuts with...
Makoto Onuki [Wed, 18 Oct 2017 19:52:45 +0000 (12:52 -0700)]
getPinnedShortcuts() shouldn't crash with shortcuts with...

... no activities.

Bug 67931644

Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutManagerTestCases
Change-Id: Icea651cf7880c5389467285e9cae3a52c4993669

6 years agoMerge "Merge "Settings: Fix leak of BroadcastReceiver intents" am: 3499af28c4 am...
Android Build Merger (Role) [Thu, 19 Oct 2017 15:33:57 +0000 (15:33 +0000)]
Merge "Merge "Settings: Fix leak of BroadcastReceiver intents" am: 3499af28c4 am: 1b4a0abdbb am: 517b35fa1c am: d2ff3244dc"

6 years agoresolve merge conflicts of 5c9e47d28b24 to oc-mr1-dev-plus-aosp
Tobias Thierer [Thu, 19 Oct 2017 15:12:57 +0000 (16:12 +0100)]
resolve merge conflicts of 5c9e47d28b24 to oc-mr1-dev-plus-aosp

Test: This merge conflict was automatically resolved by meld.
      The automatic resolution of the same merge conflict by meld
      from cherrypicking this CL into internal-master has passed
      Treehugger (and was already submitted).
Exempt-From-Owner-Approval: Resolving merge conflicts with no deltas
Change-Id: I61f15aeb79c1ad26cc7c51be2af59ecb7b672a7b

6 years agoMerge "Settings: Fix leak of BroadcastReceiver intents" am: 3499af28c4 am: 1b4a0abdbb...
Manu Viswanadhan [Thu, 19 Oct 2017 15:31:41 +0000 (15:31 +0000)]
Merge "Settings: Fix leak of BroadcastReceiver intents" am: 3499af28c4 am: 1b4a0abdbb am: 517b35fa1c
am: d2ff3244dc

Change-Id: I57c99fcf7698535177c23b62e45f8e1a032a7220

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 19 Oct 2017 15:30:51 +0000 (15:30 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 19 Oct 2017 15:29:04 +0000 (15:29 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "DO NOT MERGE Backporting potential usb tapjacking precaution." into lmp-dev...
Beverly Tai [Thu, 19 Oct 2017 15:22:09 +0000 (15:22 +0000)]
Merge "DO NOT MERGE Backporting potential usb tapjacking precaution." into lmp-dev am: e1adf2240f  -s ours am: 3ca0cc0ae6  -s ours am: 01ae445966 am: 3d600ede6d am: d34366e714 am: 9b0a6a3509  -s ours am: f1a95220a3 am: c6ca9254ed am: 7fd4bec14a am: b00fd6bb97 am: 93d9ac257d  -s ours am: 1ce0456b99 am: a9d3b4d806 am: ea0b574ea5
am: 60b9835e7d  -s ours

Change-Id: Ie97dd3b28cc068043f66311381750f6e07e66100

6 years agoMerge "Merge "DO NOT MERGE Backporting potential usb tapjacking precaution." into...
Beverly Tai [Thu, 19 Oct 2017 15:13:57 +0000 (15:13 +0000)]
Merge "Merge "DO NOT MERGE Backporting potential usb tapjacking precaution." into lmp-dev am: e1adf2240f  -s ours am: 3ca0cc0ae6  -s ours am: 01ae445966 am: 3d600ede6d am: d34366e714 am: 9b0a6a3509  -s ours am: f1a95220a3 am: c6ca9254ed am: 7fd4bec14a am: b00fd6bb97 am: 93d9ac257d  -s ours am: 1ce0456b99 am: a9d3b4d806 am: 1fa3f2a9d0" into oc-mr1-dev-plus-aosp
am: 09ec0dc6f6  -s ours

Change-Id: I876dac52695c20b472e9ec36f02e309967a483a9

6 years agoMerge "Prevent getting data from Clipboard if device is locked" into lmp-dev am:...
Siyamed Sinir [Thu, 19 Oct 2017 15:08:42 +0000 (15:08 +0000)]
Merge "Prevent getting data from Clipboard if device is locked" into lmp-dev am: 9f496fbbe0 am: 4973227cbf  -s ours am: dcdb0e6bbe am: b24023a7e0 am: c26e04b006 am: 2bab19f9aa am: 69cc90b01c am: 19a3c53841 am: 9950579eb5 am: 8621a28b04 am: 685b515140 am: 65f1a4c4c2 am: b614e5560e am: 1d1aac8621
am: 8cd9c1e9ad

Change-Id: I01ce4add382ac8f4ae3462b165b6e5897e68c82b

6 years agoMerge "Prevent getting data from Clipboard if device is locked" into lmp-dev am:...
Siyamed Sinir [Thu, 19 Oct 2017 14:54:54 +0000 (14:54 +0000)]
Merge "Prevent getting data from Clipboard if device is locked" into lmp-dev am: 9f496fbbe0 am: 4973227cbf  -s ours am: dcdb0e6bbe am: b24023a7e0 am: c26e04b006 am: 2bab19f9aa am: 69cc90b01c am: 19a3c53841 am: 9950579eb5 am: 8621a28b04 am: 685b515140 am: 65f1a4c4c2 am: b614e5560e am: 5cf9cbd3a3
am: 77c982f28b

Change-Id: I362db6f48b1a16700d3e374fae230969dd535996

6 years agoMerge "Preserve ranking attrs of resolve infos for installing a feature split" into...
Svet Ganov [Thu, 19 Oct 2017 14:41:26 +0000 (14:41 +0000)]
Merge "Preserve ranking attrs of resolve infos for installing a feature split" into oc-mr1-dev am: 8f231b7aa6
am: 9a7a6e2000

Change-Id: I4e359a54b1eb6a681e4e6fabe31e0cf20a1c87a9

6 years agoMerge "Framework: Prefer android.system.Os over libcore.io.Libcore.os" am: 5f04db96b3
Tobias Thierer [Thu, 19 Oct 2017 14:34:36 +0000 (14:34 +0000)]
Merge "Framework: Prefer android.system.Os over libcore.io.Libcore.os" am: 5f04db96b3
am: 07efe116b1

Change-Id: I1c9f25ea1ac00037cc90dfe4c8c2552f90a33ecd

6 years agoRevert "Clearing up invalid entries when SyncStorageEngine starts" am: 4a9d358448...
Suprabh Shukla [Thu, 19 Oct 2017 14:29:13 +0000 (14:29 +0000)]
Revert "Clearing up invalid entries when SyncStorageEngine starts" am: 4a9d358448 am: 0597a93629  -s ours am: d2455f8fa2 am: 2d194e5958 am: 57bbf9bb9c am: cf16ef09da am: f0d00e51ba am: 4e61bdb7d3 am: d1e7db9f4a am: 9ecbe6f6e7 am: a9e9e83964 am: f580b0f6a4 am: 2bded32359 am: da605f5a0e
am: a0624d59b5

Change-Id: I570b050ce2ec379f62c122ace621d01fc0cef76a

6 years agoMerge "Framework: Prefer android.system.Os over libcore.io.Libcore.os"
Tobias Thierer [Thu, 19 Oct 2017 14:25:12 +0000 (14:25 +0000)]
Merge "Framework: Prefer android.system.Os over libcore.io.Libcore.os"
am: 5f04db96b3

Change-Id: If85216d03022708787a7218e494434453d5548e3

6 years agoRevert "Clearing up invalid entries when SyncStorageEngine starts" am: 4a9d358448...
Suprabh Shukla [Thu, 19 Oct 2017 14:16:25 +0000 (14:16 +0000)]
Revert "Clearing up invalid entries when SyncStorageEngine starts" am: 4a9d358448 am: 0597a93629  -s ours am: d2455f8fa2 am: 2d194e5958 am: 57bbf9bb9c am: cf16ef09da am: f0d00e51ba am: 4e61bdb7d3 am: d1e7db9f4a am: 9ecbe6f6e7 am: a9e9e83964 am: f580b0f6a4 am: 2bded32359 am: 7f9454d63d
am: 98e1285133

Change-Id: Ic61a038f2b8477fe6051df3b5cf6e57c0cc9876d

6 years agoMerge "Framework: Prefer android.system.Os over libcore.io.Libcore.os"
Tobias Thierer [Thu, 19 Oct 2017 14:15:52 +0000 (14:15 +0000)]
Merge "Framework: Prefer android.system.Os over libcore.io.Libcore.os"

6 years agoMerge "DO NOT MERGE getPinnedShortcuts() shouldn't crash with shortcuts with..."...
Makoto Onuki [Thu, 19 Oct 2017 14:03:19 +0000 (14:03 +0000)]
Merge "DO NOT MERGE getPinnedShortcuts() shouldn't crash with shortcuts with..." into oc-mr1-dev am: c63c9f8ae1
am: 6bf6094394  -s ours

Change-Id: Icf96cdd5c9a1ea8fdf9c6dd04a0791a7a347af34

6 years agoMerge "Clearing up invalid entries when SyncStorageEngine starts am: 89c0dbca0f am...
Suprabh Shukla [Thu, 19 Oct 2017 13:59:10 +0000 (13:59 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts am: 89c0dbca0f am: 53a2e46036  -s ours am: 5bd2c48ac0  -s ours am: 54cbf03ecb  -s ours am: 88f4c765a6  -s ours am: 62dbcc9af0  -s ours am: 17f0e4bc00  -s ours am: f0f1b1fe9e  -s ours am: 9913314caf  -s ours am: 28a1dd26e8  -s ours am: 976b873b98  -s ours am: 174d0688cc  -s ours am: 93f47a8662  -s ours am: 272c482c2a  -s ours" into oc-mr1-dev-plus-aosp
am: fdde7e4aa9  -s ours

Change-Id: I7e44f829057c125c604b9650defd13066cc1e69a

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 89c0dbca0f am: 53a2e460...
Suprabh Shukla [Thu, 19 Oct 2017 13:06:54 +0000 (13:06 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 89c0dbca0f am: 53a2e46036  -s ours am: 5bd2c48ac0  -s ours am: 54cbf03ecb  -s ours am: 88f4c765a6  -s ours am: 62dbcc9af0  -s ours am: 17f0e4bc00  -s ours am: f0f1b1fe9e  -s ours am: 9913314caf  -s ours am: 28a1dd26e8  -s ours am: 976b873b98  -s ours am: 174d0688cc  -s ours am: 93f47a8662  -s ours am: 272c482c2a  -s ours
am: 590e175015  -s ours

Change-Id: I733f3afe3b44c9d44bb2c79d9ab23630129bef19

6 years agoClearing up invalid entries when SyncStorageEngine starts am: 89c0dbca0f am: 53a2e460...
Suprabh Shukla [Thu, 19 Oct 2017 12:19:19 +0000 (12:19 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am: 89c0dbca0f am: 53a2e46036  -s ours am: 5bd2c48ac0  -s ours am: 54cbf03ecb  -s ours am: 88f4c765a6  -s ours am: 62dbcc9af0  -s ours am: 17f0e4bc00  -s ours am: f0f1b1fe9e  -s ours am: 9913314caf  -s ours am: 28a1dd26e8  -s ours am: 976b873b98  -s ours am: 174d0688cc  -s ours am: 93f47a8662  -s ours am: beb43df980  -s ours
am: 83dbda2558  -s ours

Change-Id: Iab1b28636ad59295a7185ba04f6999e4fbf95f09

6 years agoMerge "Framework: Prefer android.system.Os over libcore.io.Libcore.os"
Joachim Sauer [Thu, 19 Oct 2017 11:48:58 +0000 (11:48 +0000)]
Merge "Framework: Prefer android.system.Os over libcore.io.Libcore.os"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 19 Oct 2017 10:34:53 +0000 (03:34 -0700)]
Import translations. DO NOT MERGE

Change-Id: If3f4f4d5c3e397916bd4c4a7a41615ea966a8cb7
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "Enable the public TTC index attribute for fonts"
Mihai Popa [Thu, 19 Oct 2017 10:12:09 +0000 (10:12 +0000)]
Merge "Enable the public TTC index attribute for fonts"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 19 Oct 2017 08:21:34 +0000 (01:21 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I359b63c9efc317b1a6053d73321a3769871efbf3

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 19 Oct 2017 08:03:20 +0000 (01:03 -0700)]
Import translations. DO NOT MERGE

Change-Id: I9d9b1f6300a25fef3afbbd6fc52857d21320e91c
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "Annotate threads for some IME handling methods"
TreeHugger Robot [Thu, 19 Oct 2017 07:01:10 +0000 (07:01 +0000)]
Merge "Annotate threads for some IME handling methods"

6 years agoAAPT2: Sanitize resource qualifiers before using in split names.
Donald Chai [Thu, 19 Oct 2017 06:51:18 +0000 (23:51 -0700)]
AAPT2: Sanitize resource qualifiers before using in split names.

Fixes: 67960909
Test: UtilTest.SplitNamesAreSanitized
Change-Id: I9ba1b8430a00cc7ce981075a60388f275c41dbea

6 years agoMerge "Settings: Fix leak of BroadcastReceiver intents" am: 3499af28c4 am: 1b4a0abdbb
Manu Viswanadhan [Thu, 19 Oct 2017 06:21:39 +0000 (06:21 +0000)]
Merge "Settings: Fix leak of BroadcastReceiver intents" am: 3499af28c4 am: 1b4a0abdbb
am: 517b35fa1c

Change-Id: I11f0b50f93e2a722ecf3c8bd398462c967d9bfb2

6 years agoMerge "Settings: Fix leak of BroadcastReceiver intents" am: 3499af28c4
Manu Viswanadhan [Thu, 19 Oct 2017 06:12:20 +0000 (06:12 +0000)]
Merge "Settings: Fix leak of BroadcastReceiver intents" am: 3499af28c4
am: 1b4a0abdbb

Change-Id: I4779532a0be4e8a821e521d1b962b4c57ecf86b8

6 years agoMerge "Settings: Fix leak of BroadcastReceiver intents"
Manu Viswanadhan [Thu, 19 Oct 2017 06:02:23 +0000 (06:02 +0000)]
Merge "Settings: Fix leak of BroadcastReceiver intents"
am: 3499af28c4

Change-Id: I2b0f3920f39981956d25017999a25799d995252b

6 years agoMerge "Settings: Fix leak of BroadcastReceiver intents"
Treehugger Robot [Thu, 19 Oct 2017 05:53:23 +0000 (05:53 +0000)]
Merge "Settings: Fix leak of BroadcastReceiver intents"

6 years agoMerge "Add missing JavaDoc for IMS.InputMethodImpl"
TreeHugger Robot [Thu, 19 Oct 2017 05:46:36 +0000 (05:46 +0000)]
Merge "Add missing JavaDoc for IMS.InputMethodImpl"

6 years agoMerge "No-op code cleanup for IInputMethodWrapper"
TreeHugger Robot [Thu, 19 Oct 2017 05:37:55 +0000 (05:37 +0000)]
Merge "No-op code cleanup for IInputMethodWrapper"

6 years agoMerge "Location & GNSS Measurement Documetation Fixes"
TreeHugger Robot [Thu, 19 Oct 2017 05:16:56 +0000 (05:16 +0000)]
Merge "Location & GNSS Measurement Documetation Fixes"

6 years agoMerge "DO NOT MERGE Backporting potential usb tapjacking precaution." into lmp-dev...
Beverly Tai [Thu, 19 Oct 2017 04:26:57 +0000 (04:26 +0000)]
Merge "DO NOT MERGE Backporting potential usb tapjacking precaution." into lmp-dev am: e1adf2240f  -s ours am: 3ca0cc0ae6  -s ours am: 01ae445966 am: 3d600ede6d am: d34366e714 am: 9b0a6a3509  -s ours am: f1a95220a3 am: c6ca9254ed am: 7fd4bec14a am: b00fd6bb97 am: 93d9ac257d  -s ours am: 1ce0456b99 am: a9d3b4d806
am: ea0b574ea5

Change-Id: I998c65ff305494f8527f97c4b4d28fb4f791585d

6 years agoMerge "Merge "DO NOT MERGE Backporting potential usb tapjacking precaution." into...
Android Build Merger (Role) [Thu, 19 Oct 2017 04:16:51 +0000 (04:16 +0000)]
Merge "Merge "DO NOT MERGE Backporting potential usb tapjacking precaution." into lmp-dev am: e1adf2240f  -s ours am: 3ca0cc0ae6  -s ours am: 01ae445966 am: 3d600ede6d am: d34366e714 am: 9b0a6a3509  -s ours am: f1a95220a3 am: c6ca9254ed am: 7fd4bec14a am: b00fd6bb97 am: 93d9ac257d  -s ours am: 1ce0456b99 am: a9d3b4d806 am: 1fa3f2a9d0" into oc-mr1-dev-plus-aosp

6 years agoMerge "DO NOT MERGE Backporting potential usb tapjacking precaution." into lmp-dev...
Beverly Tai [Thu, 19 Oct 2017 04:15:24 +0000 (04:15 +0000)]
Merge "DO NOT MERGE Backporting potential usb tapjacking precaution." into lmp-dev am: e1adf2240f  -s ours am: 3ca0cc0ae6  -s ours am: 01ae445966 am: 3d600ede6d am: d34366e714 am: 9b0a6a3509  -s ours am: f1a95220a3 am: c6ca9254ed am: 7fd4bec14a am: b00fd6bb97 am: 93d9ac257d  -s ours am: 1ce0456b99 am: a9d3b4d806
am: 1fa3f2a9d0

Change-Id: I2847d3a98f87781d601406283a6909f55fe0db82

6 years agoMerge "Prevent getting data from Clipboard if device is locked" into lmp-dev am:...
Siyamed Sinir [Thu, 19 Oct 2017 04:09:18 +0000 (04:09 +0000)]
Merge "Prevent getting data from Clipboard if device is locked" into lmp-dev am: 9f496fbbe0 am: 4973227cbf  -s ours am: dcdb0e6bbe am: b24023a7e0 am: c26e04b006 am: 2bab19f9aa am: 69cc90b01c am: 19a3c53841 am: 9950579eb5 am: 8621a28b04 am: 685b515140 am: 65f1a4c4c2 am: b614e5560e
am: 1d1aac8621

Change-Id: I4142801a260251282d78a8e1c4b69a6d7b4b3b54

6 years agoMerge "Prevent getting data from Clipboard if device is locked" into lmp-dev am:...
Siyamed Sinir [Thu, 19 Oct 2017 03:59:12 +0000 (03:59 +0000)]
Merge "Prevent getting data from Clipboard if device is locked" into lmp-dev am: 9f496fbbe0 am: 4973227cbf  -s ours am: dcdb0e6bbe am: b24023a7e0 am: c26e04b006 am: 2bab19f9aa am: 69cc90b01c am: 19a3c53841 am: 9950579eb5 am: 8621a28b04 am: 685b515140 am: 65f1a4c4c2 am: b614e5560e
am: 5cf9cbd3a3

Change-Id: I4d24939ad00fdf262e8a81c2a2468645093601cf

6 years agoMerge "Fix invisible SurfaceViews"
TreeHugger Robot [Thu, 19 Oct 2017 03:58:43 +0000 (03:58 +0000)]
Merge "Fix invisible SurfaceViews"

6 years agoMerge "DO NOT MERGE Backporting potential usb tapjacking precaution." into lmp-dev...
Beverly Tai [Thu, 19 Oct 2017 03:58:38 +0000 (03:58 +0000)]
Merge "DO NOT MERGE Backporting potential usb tapjacking precaution." into lmp-dev am: e1adf2240f  -s ours am: 3ca0cc0ae6  -s ours am: 01ae445966 am: 3d600ede6d am: d34366e714 am: 9b0a6a3509  -s ours am: f1a95220a3 am: c6ca9254ed am: 7fd4bec14a am: b00fd6bb97 am: 93d9ac257d  -s ours am: 1ce0456b99
am: a9d3b4d806

Change-Id: I325ff1074f1481ffdb661a8bee155b64e7586f1b

6 years agoMerge "DO NOT MERGE Backporting potential usb tapjacking precaution." into lmp-dev...
Beverly Tai [Thu, 19 Oct 2017 03:58:35 +0000 (03:58 +0000)]
Merge "DO NOT MERGE Backporting potential usb tapjacking precaution." into lmp-dev am: e1adf2240f  -s ours am: 3ca0cc0ae6  -s ours am: 01ae445966 am: 3d600ede6d am: d34366e714 am: 9b0a6a3509  -s ours am: f1a95220a3 am: c6ca9254ed am: 7fd4bec14a am: b00fd6bb97 am: 93d9ac257d  -s ours am: 1ce0456b99
am: a9d3b4d806

Change-Id: Id867bdf6b1756dd2a1cf8a9229d61125aeccf463

6 years agoMerge "Prevent getting data from Clipboard if device is locked" into lmp-dev am:...
Siyamed Sinir [Thu, 19 Oct 2017 03:43:31 +0000 (03:43 +0000)]
Merge "Prevent getting data from Clipboard if device is locked" into lmp-dev am: 9f496fbbe0 am: 4973227cbf  -s ours am: dcdb0e6bbe am: b24023a7e0 am: c26e04b006 am: 2bab19f9aa am: 69cc90b01c am: 19a3c53841 am: 9950579eb5 am: 8621a28b04 am: 685b515140 am: 65f1a4c4c2
am: b614e5560e

Change-Id: If3c96f55d78b11e7372ca8783cf41f9a50984faa

6 years agoMerge "Prevent getting data from Clipboard if device is locked" into lmp-dev am:...
Siyamed Sinir [Thu, 19 Oct 2017 03:43:28 +0000 (03:43 +0000)]
Merge "Prevent getting data from Clipboard if device is locked" into lmp-dev am: 9f496fbbe0 am: 4973227cbf  -s ours am: dcdb0e6bbe am: b24023a7e0 am: c26e04b006 am: 2bab19f9aa am: 69cc90b01c am: 19a3c53841 am: 9950579eb5 am: 8621a28b04 am: 685b515140 am: 65f1a4c4c2
am: b614e5560e

Change-Id: I34c80d0a98a7a4ea1c78f5ae8619e9566bb33476