OSDN Git Service

android-x86/frameworks-base.git
6 years agoAdd OWNERS to system_server services.
Michael Wright [Tue, 21 Nov 2017 18:35:16 +0000 (18:35 +0000)]
Add OWNERS to system_server services.

Test: N/A
Change-Id: I60174fcbbf2a061df2961239ec1b45df2e6b20ed

6 years agoMerge changes from topic "expose_methods"
Winson Chung [Thu, 16 Nov 2017 02:00:28 +0000 (02:00 +0000)]
Merge changes from topic "expose_methods"

* changes:
  Removing references to hidden classes in shared lib.
  Exposing a few more methods in the lib
  Move assist data receiver interface to accessible namespace

6 years agoMerge "Add ability to override global duration scale on ValueAnimator"
TreeHugger Robot [Thu, 16 Nov 2017 01:57:55 +0000 (01:57 +0000)]
Merge "Add ability to override global duration scale on ValueAnimator"

6 years agoMerge "Fix Slog message of AppUdateReceiver in StatsCompanionService"
TreeHugger Robot [Thu, 16 Nov 2017 01:45:48 +0000 (01:45 +0000)]
Merge "Fix Slog message of AppUdateReceiver in StatsCompanionService"

6 years agoMerge "Decrease radios poll interval"
Fyodor Kupolov [Thu, 16 Nov 2017 00:53:29 +0000 (00:53 +0000)]
Merge "Decrease radios poll interval"

6 years agoMerge "Animation and style adjustments to make UI stutter go away"
TreeHugger Robot [Thu, 16 Nov 2017 00:31:48 +0000 (00:31 +0000)]
Merge "Animation and style adjustments to make UI stutter go away"

6 years agoMerge "Sync the DurationMetric proto from google3."
TreeHugger Robot [Thu, 16 Nov 2017 00:16:31 +0000 (00:16 +0000)]
Merge "Sync the DurationMetric proto from google3."

6 years agoAdd ability to override global duration scale on ValueAnimator
Jorim Jaggi [Mon, 13 Nov 2017 14:47:46 +0000 (15:47 +0100)]
Add ability to override global duration scale on ValueAnimator

This is needed as window animations are being ported over to use
ValueAnimator, and thus ValueAnimator need to ability to support
custom duration scales per object.

Test: ValueAnimatorTests
Bug: 64674361
Change-Id: Iea8d673b66e52866929174bbf6ca4a7ae882807b

6 years agoMerge "Moved navigationbar motion events to global coordinates"
TreeHugger Robot [Thu, 16 Nov 2017 00:05:02 +0000 (00:05 +0000)]
Merge "Moved navigationbar motion events to global coordinates"

6 years agoMerge "[Telecom] Improve hold capability signal"
Pengquan Meng [Wed, 15 Nov 2017 23:57:58 +0000 (23:57 +0000)]
Merge "[Telecom] Improve hold capability signal"

6 years agoMerge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel...
Cassie Han [Wed, 15 Nov 2017 23:54:49 +0000 (23:54 +0000)]
Merge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."" am: 9b08e4cb8d am: 866d2d553e
am: 03e7512fc7

Change-Id: I344283ebf5971461f8aa2d712546b7715f090dbf

6 years agoMerge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel...
Cassie Han [Wed, 15 Nov 2017 23:43:55 +0000 (23:43 +0000)]
Merge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."" am: 9b08e4cb8d
am: 866d2d553e

Change-Id: I1afee7200c84bc0058ce394c49eaaf46a917793f

6 years agoFix Slog message of AppUdateReceiver in StatsCompanionService
yro [Wed, 15 Nov 2017 23:38:34 +0000 (15:38 -0800)]
Fix Slog message of AppUdateReceiver in StatsCompanionService

Test: statsd, statsd_test

Change-Id: I840b12e51c9f60a35b2c20afce1d278dbc69dfde

6 years agoMerge "Remove persist option for WifiManager.setCountryCode()"
Ningyuan Wang [Wed, 15 Nov 2017 23:39:04 +0000 (23:39 +0000)]
Merge "Remove persist option for WifiManager.setCountryCode()"

6 years agoMerge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.""
Cassie Han [Wed, 15 Nov 2017 23:29:37 +0000 (23:29 +0000)]
Merge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.""
am: 9b08e4cb8d

Change-Id: Ie34638da4087987c19bbc7f9935854ca8fa5688d

6 years agoMerge "Use U16StringPiece/Range for calling minikin APIs"
TreeHugger Robot [Wed, 15 Nov 2017 23:24:22 +0000 (23:24 +0000)]
Merge "Use U16StringPiece/Range for calling minikin APIs"

6 years agoMerge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.""
Cassie Han [Wed, 15 Nov 2017 23:21:33 +0000 (23:21 +0000)]
Merge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.""

6 years agoMerge "Expose method for testing."
TreeHugger Robot [Wed, 15 Nov 2017 23:07:54 +0000 (23:07 +0000)]
Merge "Expose method for testing."

6 years agoMerge "IP connectivity metrics: fix LINGER/UNLINGER logging" am: e28513f150 am: ec039...
Hugo Benichi [Wed, 15 Nov 2017 22:59:32 +0000 (22:59 +0000)]
Merge "IP connectivity metrics: fix LINGER/UNLINGER logging" am: e28513f150 am: ec039b943a
am: 5ecc02d28f

Change-Id: Ifb4911e1077f8c673052918fcd4a49e1ab7708d2

6 years agoMerge "IP connectivity metrics: fix LINGER/UNLINGER logging" am: e28513f150
Hugo Benichi [Wed, 15 Nov 2017 22:50:22 +0000 (22:50 +0000)]
Merge "IP connectivity metrics: fix LINGER/UNLINGER logging" am: e28513f150
am: ec039b943a

Change-Id: I422ef3cd6eab19cf3de2d6d9520840a7597c4a65

6 years agoMerge "IP connectivity metrics: fix LINGER/UNLINGER logging"
Hugo Benichi [Wed, 15 Nov 2017 22:42:50 +0000 (22:42 +0000)]
Merge "IP connectivity metrics: fix LINGER/UNLINGER logging"
am: e28513f150

Change-Id: I6f10845788ba5558637703da6d8c5c41324935cc

6 years agoMerge "IP connectivity metrics: fix LINGER/UNLINGER logging"
Hugo Benichi [Wed, 15 Nov 2017 22:31:59 +0000 (22:31 +0000)]
Merge "IP connectivity metrics: fix LINGER/UNLINGER logging"

6 years agoSync the DurationMetric proto from google3.
Yao Chen [Wed, 15 Nov 2017 22:15:46 +0000 (14:15 -0800)]
Sync the DurationMetric proto from google3.

There are other statsd_config changes for Anomaly detection, but requires
code change. So will sync later.

Test: statsd_test
Change-Id: I927e99bd0763cb949fe339993b232f53a4eefe7a

6 years agoAnimation and style adjustments to make UI stutter go away
Erik Wolsheimer [Wed, 15 Nov 2017 18:22:00 +0000 (10:22 -0800)]
Animation and style adjustments to make UI stutter go away

Bug: 67466005
Change-Id: If5eeb977cbc15a24d3a6d37e5b67d5e42155d8fa

6 years agoMerge "Refactor battery saver logic + add "per device" setting"
TreeHugger Robot [Wed, 15 Nov 2017 21:32:50 +0000 (21:32 +0000)]
Merge "Refactor battery saver logic + add "per device" setting"

6 years agoMerge "Add test case for user quota management in IpSecService" am: cf1a4614e1 am...
Di Lu [Wed, 15 Nov 2017 20:39:53 +0000 (20:39 +0000)]
Merge "Add test case for user quota management in IpSecService" am: cf1a4614e1 am: c9c65317e8
am: 0ec853390a

Change-Id: I84e81e261c93d2199e4932431ee57b75496ea2d5

6 years agoMerge "Adding NonNull annotation to DumpFilter."
TreeHugger Robot [Wed, 15 Nov 2017 20:34:05 +0000 (20:34 +0000)]
Merge "Adding NonNull annotation to DumpFilter."

6 years agoMerge "Add test case for user quota management in IpSecService" am: cf1a4614e1
Di Lu [Wed, 15 Nov 2017 20:31:37 +0000 (20:31 +0000)]
Merge "Add test case for user quota management in IpSecService" am: cf1a4614e1
am: c9c65317e8

Change-Id: I1022151e9317194ac45501a59f68c9bba89e16df

6 years agoMerge "Add test case for user quota management in IpSecService"
Di Lu [Wed, 15 Nov 2017 20:23:14 +0000 (20:23 +0000)]
Merge "Add test case for user quota management in IpSecService"
am: cf1a4614e1

Change-Id: Ib1887b2395f0b1391711a9df9bebe224b6be1643

6 years agoMerge "Add test case for user quota management in IpSecService"
Di Lu [Wed, 15 Nov 2017 20:12:38 +0000 (20:12 +0000)]
Merge "Add test case for user quota management in IpSecService"

6 years agoUse U16StringPiece/Range for calling minikin APIs
Seigo Nonaka [Sat, 11 Nov 2017 00:11:33 +0000 (16:11 -0800)]
Use U16StringPiece/Range for calling minikin APIs

Bug: 65024629
Test: N/A
Change-Id: I5bfef4c7e552e9db774a1353e01982538c504832

6 years agoMerge "Create colored shadows demo"
TreeHugger Robot [Wed, 15 Nov 2017 20:11:31 +0000 (20:11 +0000)]
Merge "Create colored shadows demo"

6 years agoMerge "Logging for widget versions"
TreeHugger Robot [Wed, 15 Nov 2017 19:51:27 +0000 (19:51 +0000)]
Merge "Logging for widget versions"

6 years agoMoved navigationbar motion events to global coordinates
Matthew Ng [Wed, 15 Nov 2017 19:09:44 +0000 (11:09 -0800)]
Moved navigationbar motion events to global coordinates

Moved the navigationbar motion events relative to screen coordinates
than the navigationbar.

Test: manual
Bug: 67957962
Change-Id: I7a75debd767adb74115ac342e1cf2979f7d05626

6 years agoMerge "Turn on the "use standby to exit vr mode" feature"
Steven Thomas [Wed, 15 Nov 2017 19:47:52 +0000 (19:47 +0000)]
Merge "Turn on the "use standby to exit vr mode" feature"

6 years agoMerge "Fixed typo in MergeCursor"
TreeHugger Robot [Wed, 15 Nov 2017 19:45:37 +0000 (19:45 +0000)]
Merge "Fixed typo in MergeCursor"

6 years agoMerge "Support for setting stack windowing mode"
Winson Chung [Wed, 15 Nov 2017 19:32:25 +0000 (19:32 +0000)]
Merge "Support for setting stack windowing mode"

6 years agoMerge "Avoid overflow in focus fudge calculation" am: 795d4a5aa4 am: e842e266a6
Niklas Brunlid [Wed, 15 Nov 2017 19:16:47 +0000 (19:16 +0000)]
Merge "Avoid overflow in focus fudge calculation" am: 795d4a5aa4 am: e842e266a6
am: 858c934b5d

Change-Id: I80d027ca4adffbc18b95c365d9ed27d9faaefccd

6 years agoMerge "Avoid overflow in focus fudge calculation" am: 795d4a5aa4
Niklas Brunlid [Wed, 15 Nov 2017 19:08:30 +0000 (19:08 +0000)]
Merge "Avoid overflow in focus fudge calculation" am: 795d4a5aa4
am: e842e266a6

Change-Id: I0509b4debdf634075df7d8f63516d0b8e18e4b8c

6 years agoMerge "Avoid overflow in focus fudge calculation"
Niklas Brunlid [Wed, 15 Nov 2017 18:59:35 +0000 (18:59 +0000)]
Merge "Avoid overflow in focus fudge calculation"
am: 795d4a5aa4

Change-Id: Id15034f5a02f93a4fe8487b5516993a9bf6f4ada

6 years agoMerge changes from topic "f2fs_gc"
TreeHugger Robot [Wed, 15 Nov 2017 18:47:27 +0000 (18:47 +0000)]
Merge changes from topic "f2fs_gc"

* changes:
  Run gc + fstrim for idle maintenance
  Add 'idle-maint' command for use from shell
  Add entry points to invoke idle maintenance from vold

6 years agoMerge "Avoid overflow in focus fudge calculation"
Treehugger Robot [Wed, 15 Nov 2017 18:42:28 +0000 (18:42 +0000)]
Merge "Avoid overflow in focus fudge calculation"

6 years agoMerge "Bluetooth: Use elapsed real time for calculating onDuration" am: 22b12e6b06...
Marie Janssen [Wed, 15 Nov 2017 18:37:43 +0000 (18:37 +0000)]
Merge "Bluetooth: Use elapsed real time for calculating onDuration" am: 22b12e6b06 am: e57c02e860
am: 4a59e56a34

Change-Id: I3038e805004af042ba61cdf4717bbfd192688a04

6 years agoMerge "Bluetooth: Use elapsed real time for calculating onDuration" am: 22b12e6b06
Marie Janssen [Wed, 15 Nov 2017 18:24:50 +0000 (18:24 +0000)]
Merge "Bluetooth: Use elapsed real time for calculating onDuration" am: 22b12e6b06
am: e57c02e860

Change-Id: If51a8d59d621cc9578d95df7d86903cec5628935

6 years agoMerge "Allow read-access to notification policy"
TreeHugger Robot [Wed, 15 Nov 2017 18:15:54 +0000 (18:15 +0000)]
Merge "Allow read-access to notification policy"

6 years agoDecrease radios poll interval
Fyodor Kupolov [Wed, 15 Nov 2017 01:41:53 +0000 (17:41 -0800)]
Decrease radios poll interval

Polling with wait() calls is OK, but sleep-based should be as short as
possible.

Test: manual
Bug: 65174075
Change-Id: I6ce3bb46b6f6fb932fd4b9500a5854df2ebf8058

6 years agoMerge "Bluetooth: Use elapsed real time for calculating onDuration"
Marie Janssen [Wed, 15 Nov 2017 18:11:38 +0000 (18:11 +0000)]
Merge "Bluetooth: Use elapsed real time for calculating onDuration"
am: 22b12e6b06

Change-Id: Ide20da5af6ea64f1c5c0e325e8864034798eface

6 years agoRevert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."
Cassie Han [Wed, 15 Nov 2017 17:27:31 +0000 (17:27 +0000)]
Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."

Bug: 69349963
Bug: 69096589
Bug: 63984327

This reverts commit 993203c7e0d397f193b80c01774b4be925242dae.

Change-Id: I52839aa5991541399651904587aa342a858a5915

6 years agoMerge "Persist notification blocker info across reboots"
TreeHugger Robot [Wed, 15 Nov 2017 17:10:55 +0000 (17:10 +0000)]
Merge "Persist notification blocker info across reboots"

6 years agoMerge "Bluetooth: Use elapsed real time for calculating onDuration"
Treehugger Robot [Wed, 15 Nov 2017 17:06:41 +0000 (17:06 +0000)]
Merge "Bluetooth: Use elapsed real time for calculating onDuration"

6 years agoRefactor battery saver logic + add "per device" setting
Makoto Onuki [Tue, 14 Nov 2017 23:03:21 +0000 (15:03 -0800)]
Refactor battery saver logic + add "per device" setting

- Extract the battery saver mode transition logic to BatterySaverController.

This now also supports running different code when screen turns on and off.

- BatterySaverPolicy now takes a "per-device configuration" from config.xml,
which can be overwritten via a global setting. We'll use this to set up
max CPU frequencies.

- The actual part to write max CPU frequencies is not finished yet.

Test: atest BatterySaverPolicyTest
Bug: 68769804
Change-Id: Ife38c2cd94ac9902911b005dbbca8b0d0a62e6d7

6 years agoAllow read-access to notification policy
Beverly [Wed, 15 Nov 2017 16:12:51 +0000 (11:12 -0500)]
Allow read-access to notification policy

Test: manual
Change-Id: I2b3c597b56f910b3bcad902e08f6f432493ce768
Fixes: 69358003

6 years agoMerge changes I93fef3dc,I19647b24
Bryce Lee [Wed, 15 Nov 2017 15:47:24 +0000 (15:47 +0000)]
Merge changes I93fef3dc,I19647b24

* changes:
  Add tests to exercise ActivityStarter precondition failures.
  Make ActivityStackSupervisor instrumentable for unit tests.

6 years agoSupport for setting stack windowing mode
Wale Ogunwale [Thu, 9 Nov 2017 16:28:45 +0000 (08:28 -0800)]
Support for setting stack windowing mode

We currently create a in stack in the windowing mode we want anytime we
want to change the windowing mode of a task which isn't optimal.
We now change the current stack windowing mode for some cases vs.
creating a new stack.

Test: go/wm-smoke
Bug: 64146578
Fixes: 68948655
Fixes: 65739235
Fixes: 29068935
Change-Id: I9fceb7d608e86610c1fb5ba59b15087a96e7401e

6 years agoMerge "Delete synthetic password keystore keys when user is removed."
Rubin Xu [Wed, 15 Nov 2017 14:33:36 +0000 (14:33 +0000)]
Merge "Delete synthetic password keystore keys when user is removed."

6 years agoDelete synthetic password keystore keys when user is removed.
Rubin Xu [Fri, 15 Sep 2017 10:56:53 +0000 (11:56 +0100)]
Delete synthetic password keystore keys when user is removed.

Bug: 65718620
Test: Add user, remove user, look at "adb shell su 1000 keystore_cli_v2 list"
      and make sure nothing remains.

Change-Id: I2cf862c35117faed38fdfe5c43ceece4e8dbc3c4

6 years agoBluetooth: Use elapsed real time for calculating onDuration
Marie Janssen [Mon, 26 Jun 2017 14:21:03 +0000 (07:21 -0700)]
Bluetooth: Use elapsed real time for calculating onDuration

The system time can change after boot. Using elapsed real time avoids
this problem.

Test: start factory reset device, adb shell dumpsys bluetooth_manager
Change-Id: Ieea2a2bc8b4bcb375897e609275207b6c3eccdce
Fixes: 62985817

6 years agoLogging for widget versions
Jan Althaus [Wed, 15 Nov 2017 10:20:58 +0000 (11:20 +0100)]
Logging for widget versions

Bug: 67674199
Test: Changed Editor to log a version number and manually checked output
Change-Id: Idbc1ba41bf68c229f857be6f769ab946cb903def

6 years agoMerge "Widget types for unselectable and custom views"
TreeHugger Robot [Wed, 15 Nov 2017 08:47:54 +0000 (08:47 +0000)]
Merge "Widget types for unselectable and custom views"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 15 Nov 2017 04:52:45 +0000 (04:52 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 15 Nov 2017 04:05:58 +0000 (04:05 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Extend FeatureFlagUtils to take a context object."
TreeHugger Robot [Wed, 15 Nov 2017 03:43:30 +0000 (03:43 +0000)]
Merge "Extend FeatureFlagUtils to take a context object."

6 years agoImport translations. DO NOT MERGE am: 16277b2ac0 -s ours
Bill Yi [Wed, 15 Nov 2017 03:40:11 +0000 (03:40 +0000)]
Import translations. DO NOT MERGE am: 16277b2ac0  -s ours
am: 46f7b91ed8  -s ours

Change-Id: Ifd1266ecc2e1cb794807b1b7f6a258e6f98ef546

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 15 Nov 2017 03:32:04 +0000 (03:32 +0000)]
Import translations. DO NOT MERGE
am: 16277b2ac0  -s ours

Change-Id: Ibcda38cf1604c2eb125a6d42643cd43ea2736924

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 15 Nov 2017 03:09:45 +0000 (03:09 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Implement System Properties Section"
TreeHugger Robot [Wed, 15 Nov 2017 03:05:18 +0000 (03:05 +0000)]
Merge "Implement System Properties Section"

6 years agoMerge "Remove AutofillManagerClient after AutofillManager is finalized" am: dd5384a4f...
Koji Fukui [Wed, 15 Nov 2017 02:56:16 +0000 (02:56 +0000)]
Merge "Remove AutofillManagerClient after AutofillManager is finalized" am: dd5384a4fe am: 8d36beec24
am: bb4a13b097

Change-Id: I5f3eea81f662d0396b7fd384b2e91c2087f41c0f

6 years agoMerge "Implement intent to uri mapping for slices"
TreeHugger Robot [Wed, 15 Nov 2017 02:52:53 +0000 (02:52 +0000)]
Merge "Implement intent to uri mapping for slices"

6 years agoMerge "Remove AutofillManagerClient after AutofillManager is finalized" am: dd5384a4fe
Koji Fukui [Wed, 15 Nov 2017 02:42:44 +0000 (02:42 +0000)]
Merge "Remove AutofillManagerClient after AutofillManager is finalized" am: dd5384a4fe
am: 8d36beec24

Change-Id: I76ac103f2d6df4a32a49c0c460344a8049d7d3c3

6 years agoMerge commit '98e12851336b7db16e583f9afac63ecc97465980' from oc-mr1-dev-plus-aosp...
Xin Li [Wed, 15 Nov 2017 02:39:52 +0000 (02:39 +0000)]
Merge commit '98e12851336b7db16e583f9afac63ecc97465980' from oc-mr1-dev-plus-aosp-without-vendor into stage-aosp- am: 220871a697  -s ours
am: 2436ec217c  -s ours

Change-Id: Idfc0b2349f7475089373c8fdceebe7f166a5cd37

6 years agoMerge "Remove AutofillManagerClient after AutofillManager is finalized"
Koji Fukui [Wed, 15 Nov 2017 02:35:18 +0000 (02:35 +0000)]
Merge "Remove AutofillManagerClient after AutofillManager is finalized"
am: dd5384a4fe

Change-Id: If0b092c5e18005fb4b8c1fd8405f4d666c98de5a

6 years agoMerge "Remove AutofillManagerClient after AutofillManager is finalized"
Treehugger Robot [Wed, 15 Nov 2017 02:23:27 +0000 (02:23 +0000)]
Merge "Remove AutofillManagerClient after AutofillManager is finalized"

6 years agoMerge commit '98e12851336b7db16e583f9afac63ecc97465980' from oc-mr1-dev-plus-aosp...
Xin Li [Wed, 15 Nov 2017 01:30:08 +0000 (01:30 +0000)]
Merge commit '98e12851336b7db16e583f9afac63ecc97465980' from oc-mr1-dev-plus-aosp-without-vendor into stage-aosp-
am: 220871a697  -s ours

Change-Id: I2d08ca9a952babfd1480278ca6331b697be2a32e

6 years agoMerge "Use callback to run binder service to avoid race"
TreeHugger Robot [Wed, 15 Nov 2017 01:16:38 +0000 (01:16 +0000)]
Merge "Use callback to run binder service to avoid race"

6 years agoMerge "Enforce REQUEST_DELETE_PACKAGES for PackageInstaller.uninstall()"
TreeHugger Robot [Wed, 15 Nov 2017 01:09:06 +0000 (01:09 +0000)]
Merge "Enforce REQUEST_DELETE_PACKAGES for PackageInstaller.uninstall()"

6 years agoExtend FeatureFlagUtils to take a context object.
Fan Zhang [Tue, 14 Nov 2017 01:38:53 +0000 (17:38 -0800)]
Extend FeatureFlagUtils to take a context object.

It's not used by anything yet, but will eventually be used to query
feature override from different data sources (such as Settings.Global)

Bug: 36222960
Test: atest
Change-Id: Ie32f7c59b4a27199da72d8c9fbfdd1aeee6c0b34

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 15 Nov 2017 01:05:12 +0000 (17:05 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ibccdfc57a7fa4d1dae4d25ead94059836d54262c
Auto-generated-cl: translation import

6 years agoMerge "Dump the overview proxy service information"
TreeHugger Robot [Wed, 15 Nov 2017 00:52:21 +0000 (00:52 +0000)]
Merge "Dump the overview proxy service information"

6 years agoMerge "Fix NullPointerException in CustomEditTextPreference."
TreeHugger Robot [Wed, 15 Nov 2017 00:33:11 +0000 (00:33 +0000)]
Merge "Fix NullPointerException in CustomEditTextPreference."

6 years agoMerge "WPS Metrics Added to wifi.proto"
Jong Wook Kim [Wed, 15 Nov 2017 00:25:13 +0000 (00:25 +0000)]
Merge "WPS Metrics Added to wifi.proto"

6 years agoMerge "Fix import of android-support-annotations"
Aurimas Liutikas [Wed, 15 Nov 2017 00:23:39 +0000 (00:23 +0000)]
Merge "Fix import of android-support-annotations"

6 years agoFixed typo in MergeCursor
Fyodor Kupolov [Tue, 14 Nov 2017 23:50:24 +0000 (15:50 -0800)]
Fixed typo in MergeCursor

Test: n/a
Bug: 68247902
Change-Id: I484d3aa23415769b205635908f7d73d8113d866b

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 14 Nov 2017 23:52:57 +0000 (15:52 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I919a3f3b5178a31b309ba22c593d5a16875a6e74

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 14 Nov 2017 23:44:29 +0000 (15:44 -0800)]
Import translations. DO NOT MERGE

Change-Id: I229da8dc27246af357d41c1c4c02a964c7ea643e
Auto-generated-cl: translation import

6 years agoUse callback to run binder service to avoid race
Lifu Tang [Mon, 13 Nov 2017 23:51:54 +0000 (15:51 -0800)]
Use callback to run binder service to avoid race

The binder interface should always be managed by ServiceWatcher, and
shouldn't be exposed to the caller. Otherwise the caller could cache an
unbound service, and could cause system crash.

Bug: 69008332
Test: build and manual test
Change-Id: I70d1fe0bace7b0fb1c3844c2c9113b1fcf95f784

6 years agoRun gc + fstrim for idle maintenance
Jin Qian [Wed, 25 Oct 2017 00:48:00 +0000 (17:48 -0700)]
Run gc + fstrim for idle maintenance

Test:
adb shell cmd jobscheduler get-job-state android 808
adb shell cmd jobscheduler run android 808
adb shell cmd jobscheduler timeout android 808

Bug: 67776637
Change-Id: I8e0d01891a689f9a9181160611657e2cda531c0f

6 years agoAdd 'idle-maint' command for use from shell
Jin Qian [Tue, 17 Oct 2017 22:51:50 +0000 (15:51 -0700)]
Add 'idle-maint' command for use from shell

Test: adb shell sm idle-maint [run|abort]
Bug: 67776637
Change-Id: I5f20adc45aad29dc9267a70bf3eea6a1fa490688

6 years agoAdd entry points to invoke idle maintenance from vold
Jin Qian [Tue, 17 Oct 2017 22:48:18 +0000 (15:48 -0700)]
Add entry points to invoke idle maintenance from vold

Test: adb shell sm idle-maint [run|abort]
Bug: 67776637
Change-Id: Ibc686a318f6f79a4f8303f56451bc1d573d829e8

6 years agoMerge "Make ic_print and ic_print_error vector graphics"
TreeHugger Robot [Tue, 14 Nov 2017 22:58:08 +0000 (22:58 +0000)]
Merge "Make ic_print and ic_print_error vector graphics"

6 years agoDump the overview proxy service information
Matthew Ng [Tue, 14 Nov 2017 22:47:05 +0000 (14:47 -0800)]
Dump the overview proxy service information

Dumps into the dependency chain of its number of connection attempts, if
user has completed setup and if the connection is currently established.

Test: adb shell dumpsys activity service com.android.systemui
Bug: 67957962
Change-Id: I1d5ffc51f99f08c21495d51a32a103ab8fed757c

6 years agoAdd tests to exercise ActivityStarter precondition failures.
Bryce Lee [Wed, 25 Oct 2017 22:54:55 +0000 (15:54 -0700)]
Add tests to exercise ActivityStarter precondition failures.

This changelist adds tests which simulate various scenarios
encountered during the initial stages of starting an activity. They
ensure that the expected errors are returned under specified
conditions.

Bug: 64750076
Test: bit FrameworksServicesTests:com.android.server.am.ActivityStarterTests

Change-Id: I93fef3dce020fe03a8b2001b75a875980506a0dd

6 years agoMake ActivityStackSupervisor instrumentable for unit tests.
Bryce Lee [Fri, 27 Oct 2017 17:57:35 +0000 (10:57 -0700)]
Make ActivityStackSupervisor instrumentable for unit tests.

Currently, the ActivityStackSupervisor passes an instance of itself
during construction to a number of its member variables. Passing
a self reference at this time leads to an incomplete object being
passed. In the case of testing, it's possible for the instance to be
copied after construction for instrumentation, leading to the
original instance being retained.

This changelist addresses this by moving the creation of these
variables to a separate initialize methods. In addition, the affected
variables accessed outside the class are now behind accessors to
prevent their modification.

Bug: 64750076
Test: bit FrameworksServicesTests:com.android.server.am.ActivityStarterTests
Test: bit FrameworksServicesTests:com.android.server.am.ActivityStackSupervisorTests
Test: bit FrameworksServicesTests:com.android.server.am.ActivityStackTests
Test: bit FrameworksServicesTests:com.android.server.am.LaunchingBoundsControllerTests
Test: bit FrameworksServicesTests:com.android.server.am.LaunchingActivityPositionerTests
Test: bit FrameworksServicesTests:com.android.server.am.LaunchingTaskPositionerTests
Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/am/RecentTasksTest.java
Change-Id: I19647b24925b82db0ab0955585d7588a28e00f94

6 years agoEnforce REQUEST_DELETE_PACKAGES for PackageInstaller.uninstall()
Philip P. Moltmann [Tue, 5 Sep 2017 19:41:15 +0000 (12:41 -0700)]
Enforce REQUEST_DELETE_PACKAGES for PackageInstaller.uninstall()

Fixes: 64576642
Test: Uninstalled apps
Change-Id: Ia7f3c047bb9c725228ca45e4c34e51a2d9177120

6 years agoImplement intent to uri mapping for slices
Mady Mellor [Thu, 19 Oct 2017 17:12:09 +0000 (10:12 -0700)]
Implement intent to uri mapping for slices

This adds the notion of creating a slice based on an intent. To use this
developers can implement onMapIntentToUri and return a uri based on the
intent. This enables SliceView to be populated via an intent.

Test: to be added...
Change-Id: I2abd861f2a3dff80ab8b6492a5c3205bc891d19c

6 years agoMerge "Dissallow Heads up when redacted"
Selim Cinek [Tue, 14 Nov 2017 22:19:32 +0000 (22:19 +0000)]
Merge "Dissallow Heads up when redacted"

6 years agoMerge "Rename "stats_events" as "atom"."
Stefan Lafon [Tue, 14 Nov 2017 22:03:54 +0000 (22:03 +0000)]
Merge "Rename "stats_events" as "atom"."

6 years agoFix NullPointerException in CustomEditTextPreference.
Doris Ling [Tue, 14 Nov 2017 21:59:25 +0000 (13:59 -0800)]
Fix NullPointerException in CustomEditTextPreference.

- check for valid dialog in getEditText() when trying to retrieve the
edit view from the dialog.

Change-Id: Ia8e2273ab0f3d75567ab16e1175bef88f7516a5d
Fixes: 69281837
Test: make RunSettingsLibRoboTests

6 years agoMerge "Add hints for toggles in Slice"
TreeHugger Robot [Tue, 14 Nov 2017 21:56:07 +0000 (21:56 +0000)]
Merge "Add hints for toggles in Slice"

6 years agoMerge "Fix the comments of onError() callback" am: 5f291e5e06 am: 802f191b2b
yinxu [Tue, 14 Nov 2017 21:38:17 +0000 (21:38 +0000)]
Merge "Fix the comments of onError() callback" am: 5f291e5e06 am: 802f191b2b
am: 5b88b69067

Change-Id: I54a9769dc9c62bce97205fe534f38cf27d0a5f8b

6 years agoMerge "TimePickerDialog OTG keyboard entry discarded" am: 8c2cb6ff08 am: 2973f63816
Tianran Li [Tue, 14 Nov 2017 21:31:38 +0000 (21:31 +0000)]
Merge "TimePickerDialog OTG keyboard entry discarded" am: 8c2cb6ff08 am: 2973f63816
am: 97997ca19e

Change-Id: I599c31481eef25311f8500df1428602051f1d04b