OSDN Git Service

android-x86/frameworks-base.git
6 years agoTurn on connected device by default
jackqdyulei [Fri, 15 Dec 2017 18:59:15 +0000 (10:59 -0800)]
Turn on connected device by default

Bug: 69926683
Test: Build
Change-Id: Ia3389f459e7c9c6de3f549c60470bf12660d7a87

6 years agoMerge "Fix accessibility window position information."
Jorim Jaggi [Fri, 15 Dec 2017 16:56:51 +0000 (16:56 +0000)]
Merge "Fix accessibility window position information."

6 years agoMerge "Export aidl files for framework" am: f5e37d18de am: 28064dd526
Colin Cross [Fri, 15 Dec 2017 16:42:07 +0000 (16:42 +0000)]
Merge "Export aidl files for framework" am: f5e37d18de am: 28064dd526
am: 79aee072bb

Change-Id: I1491878b8d009c0fe8e688c2397ea9380ff0335c

6 years agoMerge "Export aidl files for framework" am: f5e37d18de
Colin Cross [Fri, 15 Dec 2017 16:34:12 +0000 (16:34 +0000)]
Merge "Export aidl files for framework" am: f5e37d18de
am: 28064dd526

Change-Id: Iae7bdf79e68160c3ff7392cb0ff5c3f28996c910

6 years agoMerge "Track API changes in libcore" am: 63ae028ae0 am: 96211469a6
Neil Fuller [Fri, 15 Dec 2017 16:30:21 +0000 (16:30 +0000)]
Merge "Track API changes in libcore" am: 63ae028ae0 am: 96211469a6
am: 387817726e  -s ours

Change-Id: I25600a433c5f79aa340ea4dfc491eb6a790aea28

6 years agoMerge "Export aidl files for framework"
Colin Cross [Fri, 15 Dec 2017 16:26:19 +0000 (16:26 +0000)]
Merge "Export aidl files for framework"
am: f5e37d18de

Change-Id: If2e9391da213b064e1b55fa0da56e78ac144c89b

6 years agoMerge changes I5a26c853,Ie4ec660a
TreeHugger Robot [Fri, 15 Dec 2017 16:23:23 +0000 (16:23 +0000)]
Merge changes I5a26c853,Ie4ec660a

* changes:
  Implements disableNanoApp
  Implements enableNanoApp

6 years agoMerge "Track API changes in libcore" am: 63ae028ae0
Neil Fuller [Fri, 15 Dec 2017 16:22:14 +0000 (16:22 +0000)]
Merge "Track API changes in libcore" am: 63ae028ae0
am: 96211469a6

Change-Id: Ia6739db882bbc585ad7aa142795b59b4cba87fdb

6 years agoMerge "Export aidl files for framework"
Colin Cross [Fri, 15 Dec 2017 16:14:33 +0000 (16:14 +0000)]
Merge "Export aidl files for framework"

6 years agoMerge "Track API changes in libcore"
Neil Fuller [Fri, 15 Dec 2017 16:14:08 +0000 (16:14 +0000)]
Merge "Track API changes in libcore"
am: 63ae028ae0

Change-Id: I0163f365395c262b2a1402f674bdb7d0cc1b0e74

6 years agoMerge "Fix security bug: collect certs for non-systemDir apks."
TreeHugger Robot [Fri, 15 Dec 2017 16:12:51 +0000 (16:12 +0000)]
Merge "Fix security bug: collect certs for non-systemDir apks."

6 years agoMerge "Track API changes in libcore"
Neil Fuller [Fri, 15 Dec 2017 16:03:45 +0000 (16:03 +0000)]
Merge "Track API changes in libcore"

6 years agoMerge "Log an App Op when an accessibility action is performed."
Peter Visontay [Fri, 15 Dec 2017 15:58:12 +0000 (15:58 +0000)]
Merge "Log an App Op when an accessibility action is performed."

6 years agoMerge "Refactor scanPackagesDirtyLI()"
TreeHugger Robot [Fri, 15 Dec 2017 15:12:18 +0000 (15:12 +0000)]
Merge "Refactor scanPackagesDirtyLI()"

6 years agoMerge "Move Mutable{Int,Long} from libcore to framework." am: ba9db527ec am: cac71f08e4
Tobias Thierer [Fri, 15 Dec 2017 14:22:57 +0000 (14:22 +0000)]
Merge "Move Mutable{Int,Long} from libcore to framework." am: ba9db527ec am: cac71f08e4
am: 14886ae27b  -s ours

Change-Id: Ifd95001c08d746669ee77d05f6cf2a9665427f5c

6 years agoMerge "Track removal of android.system.Os.{sendfile,waitpid}." am: 833aa452a8 am...
Tobias Thierer [Fri, 15 Dec 2017 14:14:15 +0000 (14:14 +0000)]
Merge "Track removal of android.system.Os.{sendfile,waitpid}." am: 833aa452a8 am: 0712266bd4
am: 6cade7fdd5  -s ours

Change-Id: Id4e5329ee78a816fd3212882ceb927c92da339fe

6 years agoMerge "Move Mutable{Int,Long} from libcore to framework." am: ba9db527ec
Tobias Thierer [Fri, 15 Dec 2017 14:12:41 +0000 (14:12 +0000)]
Merge "Move Mutable{Int,Long} from libcore to framework." am: ba9db527ec
am: cac71f08e4

Change-Id: Iea66238ac89df2f7b8e71f6df8dc7cadb2396d24

6 years agoMerge "Track removal of android.system.Os.{sendfile,waitpid}." am: 833aa452a8
Tobias Thierer [Fri, 15 Dec 2017 14:05:11 +0000 (14:05 +0000)]
Merge "Track removal of android.system.Os.{sendfile,waitpid}." am: 833aa452a8
am: 0712266bd4

Change-Id: Idb94dd6559afb1cc72f3d84698306ee4e69c35dd

6 years agoMerge "Move Mutable{Int,Long} from libcore to framework."
Tobias Thierer [Fri, 15 Dec 2017 14:02:28 +0000 (14:02 +0000)]
Merge "Move Mutable{Int,Long} from libcore to framework."
am: ba9db527ec

Change-Id: I5c0ef040b00a9482cd3ae3500e4cdce2a9490072

6 years agoFix accessibility window position information.
Jorim Jaggi [Fri, 15 Dec 2017 13:56:19 +0000 (14:56 +0100)]
Fix accessibility window position information.

Since the position is now split up between WS and WSA, we need to
take both into account when calculating the window position.

Test: ViewTest, PermissionsHostTest, etc
Change-Id: I5d8396cee072316744cbb4a7e6585a820e808f60
Fixes: 70682698

6 years agoMerge "Track removal of android.system.Os.{sendfile,waitpid}."
Tobias Thierer [Fri, 15 Dec 2017 13:56:00 +0000 (13:56 +0000)]
Merge "Track removal of android.system.Os.{sendfile,waitpid}."
am: 833aa452a8

Change-Id: Ieed0816cddba7d05bbebceae9ca6f5bc1f55bd08

6 years agoMerge "Introduce DISALLOW_UNIFIED_PASSWORD."
Pavel Grafov [Fri, 15 Dec 2017 13:47:55 +0000 (13:47 +0000)]
Merge "Introduce DISALLOW_UNIFIED_PASSWORD."

6 years agoMerge "Move Mutable{Int,Long} from libcore to framework."
Tobias Thierer [Fri, 15 Dec 2017 13:46:52 +0000 (13:46 +0000)]
Merge "Move Mutable{Int,Long} from libcore to framework."

6 years agoMerge "Track removal of android.system.Os.{sendfile,waitpid}."
Tobias Thierer [Fri, 15 Dec 2017 13:45:12 +0000 (13:45 +0000)]
Merge "Track removal of android.system.Os.{sendfile,waitpid}."

6 years agoLog an App Op when an accessibility action is performed.
Peter Visontay [Thu, 2 Nov 2017 20:32:03 +0000 (20:32 +0000)]
Log an App Op when an accessibility action is performed.

Bug: 63907873
Test: manually tested that the app op is being logged for TalkBack and a 3rd party accessibility service. Ran UIAutomator-based tests to check that they work as expected.
Change-Id: I1a40d4ead52ba2258cc7ddc8be594a13895d8340

6 years agoMerge "Merge "Switch to modern ArgumentMatchers" am: 343c512834 am: 3f5a8e019e am...
Android Build Merger (Role) [Fri, 15 Dec 2017 12:03:28 +0000 (12:03 +0000)]
Merge "Merge "Switch to modern ArgumentMatchers" am: 343c512834 am: 3f5a8e019e am: b4fb45f755"

6 years agoMerge "Switch to modern ArgumentMatchers" am: 343c512834 am: 3f5a8e019e
Philip P. Moltmann [Fri, 15 Dec 2017 11:59:37 +0000 (11:59 +0000)]
Merge "Switch to modern ArgumentMatchers" am: 343c512834 am: 3f5a8e019e
am: b4fb45f755

Change-Id: I6cecbe5ea337156f148a45e4c51782b62af96eda

6 years agoMerge "Remove non-junit android.test.runner classes from android.jar"
Paul Duffin [Fri, 15 Dec 2017 11:55:38 +0000 (11:55 +0000)]
Merge "Remove non-junit android.test.runner classes from android.jar"

6 years agoTrack API changes in libcore
Neil Fuller [Thu, 30 Nov 2017 15:54:50 +0000 (15:54 +0000)]
Track API changes in libcore

Bug: 35910877
Test: Build
(cherry picked from commit 12a747e656be08e208d44f6313d242436d5973ca)
Merged-In: Ia2e966e55d7a6d4d190e77af3af6a568e2ab5dee
Change-Id: Ia2e966e55d7a6d4d190e77af3af6a568e2ab5dee

6 years agoMerge "Log when an app shows a UI overlay."
Peter Visontay [Fri, 15 Dec 2017 11:20:38 +0000 (11:20 +0000)]
Merge "Log when an app shows a UI overlay."

6 years agoMerge "Implement RecoverableKeyStoreLoader loading keys into users' keystores"
Robert Berry [Fri, 15 Dec 2017 11:15:57 +0000 (11:15 +0000)]
Merge "Implement RecoverableKeyStoreLoader loading keys into users' keystores"

6 years agoMerge "Switch to modern ArgumentMatchers" am: 343c512834
Philip P. Moltmann [Fri, 15 Dec 2017 11:03:51 +0000 (11:03 +0000)]
Merge "Switch to modern ArgumentMatchers" am: 343c512834
am: 3f5a8e019e

Change-Id: I7103c06cf8c397a5ec2d536a4b7b16258f686244

6 years agoMerge "Switch to modern ArgumentMatchers"
Philip P. Moltmann [Fri, 15 Dec 2017 10:47:38 +0000 (10:47 +0000)]
Merge "Switch to modern ArgumentMatchers"
am: 343c512834

Change-Id: I25f39cefde34f5a27a9abf5d97fe94dcbcfee3cd

6 years agoMerge "Switch to modern ArgumentMatchers"
Treehugger Robot [Fri, 15 Dec 2017 10:33:14 +0000 (10:33 +0000)]
Merge "Switch to modern ArgumentMatchers"

6 years agoMerge "Improve testibility of applicatin switches."
TreeHugger Robot [Fri, 15 Dec 2017 10:00:26 +0000 (10:00 +0000)]
Merge "Improve testibility of applicatin switches."

6 years agoMerge "Revert "Send empty LinkProperties when entering StoppedState."" am: e8a4cb13e9...
Erik Kline [Fri, 15 Dec 2017 07:37:48 +0000 (07:37 +0000)]
Merge "Revert "Send empty LinkProperties when entering StoppedState."" am: e8a4cb13e9 am: bb8c1a501a
am: 327462b2f7

Change-Id: Ie43fa6ffba91df2d38011d17008c8033ad29cf7b

6 years agoRemove non-junit android.test.runner classes from android.jar
Paul Duffin [Tue, 12 Dec 2017 16:16:26 +0000 (16:16 +0000)]
Remove non-junit android.test.runner classes from android.jar

This removes those android.test.** classes which are part of the
android.test.runner stubs jar from the main android.jar.

The junit classes will be removed at a later date. It cannot be done at
the moment because it requires a lot of changes to the build files.

This change is being done now rather than wait until they can all be
removed together because the code base is a moving target. Doing this
change minimizes the window during which other developers could either
revert the previous changes that make this possible or add new code that
relies on the android.test.runner classes being in android.jar and so
would require yet more changes.

Bug: 30188076
Test: make checkbuild
Change-Id: I4e3c3bfea77ce15ca7a9ba7d36aee5396f67affb

6 years agoMerge "Revert "Send empty LinkProperties when entering StoppedState."" am: e8a4cb13e9
Erik Kline [Fri, 15 Dec 2017 07:29:10 +0000 (07:29 +0000)]
Merge "Revert "Send empty LinkProperties when entering StoppedState."" am: e8a4cb13e9
am: bb8c1a501a

Change-Id: I78bd3c062e9ae89f43dda93ff0d8785cd2cbff70

6 years agoMerge "Revert "Send empty LinkProperties when entering StoppedState.""
Erik Kline [Fri, 15 Dec 2017 07:20:33 +0000 (07:20 +0000)]
Merge "Revert "Send empty LinkProperties when entering StoppedState.""
am: e8a4cb13e9

Change-Id: Ib8b889f0c80f90eff4d079ee7e0686ebd2812885

6 years agoMerge "Revert "Send empty LinkProperties when entering StoppedState.""
Erik Kline [Fri, 15 Dec 2017 07:09:24 +0000 (07:09 +0000)]
Merge "Revert "Send empty LinkProperties when entering StoppedState.""

6 years agoMerge "Send empty LinkProperties when entering StoppedState." am: 5557fe3e2d am:...
Erik Kline [Fri, 15 Dec 2017 06:57:20 +0000 (06:57 +0000)]
Merge "Send empty LinkProperties when entering StoppedState." am: 5557fe3e2d am: de336f18f9
am: d71ec3be6f

Change-Id: Ie775de7719bedc4fb0d1a50a3be6acad9651a9d9

6 years agoMerge "Send empty LinkProperties when entering StoppedState." am: 5557fe3e2d
Erik Kline [Fri, 15 Dec 2017 06:49:11 +0000 (06:49 +0000)]
Merge "Send empty LinkProperties when entering StoppedState." am: 5557fe3e2d
am: de336f18f9

Change-Id: Ida8252c45d7e4680282b49f995fc564cb7227adf

6 years agoMerge "Send empty LinkProperties when entering StoppedState."
Erik Kline [Fri, 15 Dec 2017 06:39:22 +0000 (06:39 +0000)]
Merge "Send empty LinkProperties when entering StoppedState."
am: 5557fe3e2d

Change-Id: I5b343fdd2da7f64284b4c4b357516320c8c81594

6 years agoRevert "Send empty LinkProperties when entering StoppedState."
Erik Kline [Fri, 15 Dec 2017 06:36:50 +0000 (06:36 +0000)]
Revert "Send empty LinkProperties when entering StoppedState."

This reverts commit 94209ab7686b202cfad6e42e07056bb9511006a8.

Reason for revert: should not have auto-submitted prior to more extensive wifi team testing.

Change-Id: Ie81b10473caf34971226948038bc20dc4fa6a1ae

6 years agoMerge "Send empty LinkProperties when entering StoppedState."
Treehugger Robot [Fri, 15 Dec 2017 06:29:15 +0000 (06:29 +0000)]
Merge "Send empty LinkProperties when entering StoppedState."

6 years agoMerge "Added compatibility WAL flags for Global.Settings"
Fyodor Kupolov [Fri, 15 Dec 2017 01:40:17 +0000 (01:40 +0000)]
Merge "Added compatibility WAL flags for Global.Settings"

6 years agoMerge "It's legit for AMS to throw IllegalArgumentException"
Chris Tate [Fri, 15 Dec 2017 01:30:58 +0000 (01:30 +0000)]
Merge "It's legit for AMS to throw IllegalArgumentException"

6 years agoMerge "Move task positioning tasks from WindowManagerService.mH"
TreeHugger Robot [Fri, 15 Dec 2017 01:24:34 +0000 (01:24 +0000)]
Merge "Move task positioning tasks from WindowManagerService.mH"

6 years agoMerge "Don't allow certain bucket overrides"
TreeHugger Robot [Fri, 15 Dec 2017 00:46:24 +0000 (00:46 +0000)]
Merge "Don't allow certain bucket overrides"

6 years agoMerge "Restore bounds w/o adjusting it."
TreeHugger Robot [Fri, 15 Dec 2017 00:33:31 +0000 (00:33 +0000)]
Merge "Restore bounds w/o adjusting it."

6 years agoMerge "Fix broken test due to API rename" am: 0abc93177f am: ee898c81a7
nharold [Thu, 14 Dec 2017 23:38:17 +0000 (23:38 +0000)]
Merge "Fix broken test due to API rename" am: 0abc93177f am: ee898c81a7
am: d569d33ac4

Change-Id: Ie52ce3da0507421313a73688e831d3802b888cfd

6 years agoMerge "clearCallingIdentity before calling into getPackageUidAsUser"
Tony Mak [Thu, 14 Dec 2017 23:29:33 +0000 (23:29 +0000)]
Merge "clearCallingIdentity before calling into getPackageUidAsUser"

6 years agoImprove testibility of applicatin switches.
Dianne Hackborn [Thu, 14 Dec 2017 01:52:26 +0000 (17:52 -0800)]
Improve testibility of applicatin switches.

Things can be flaky, because window focus changes are
dispatched to the window on a separate path from input events,
and the window will drop events if it gets them before it sees
the focus change.  I am trying to mitigate this some by noting
ASAP what the next upcoming focus state will be, so we can check
that and dispatch it before dispatching a key event if needed.

This definitely makes things better, but not perfect.  ctate
suggested that maybe we should be dispatching window focus events
through the input system, which at a glance sounds like a really
really good idea to me...  so maybe we can look at that later.

Also changed the wm command to just be a shell wrapper around
all of the implementation that is now in WindowManagerShellCommand.

And fixed a few places where we write debug info to streams that
would trigger strict mode violations that we really don't care
about.

Test: manual
Change-Id: I5235653bcec5522ab84c7f2e1de96d86f2f59326

6 years agoMerge "Fix broken test due to API rename" am: 0abc93177f
nharold [Thu, 14 Dec 2017 23:28:16 +0000 (23:28 +0000)]
Merge "Fix broken test due to API rename" am: 0abc93177f
am: ee898c81a7

Change-Id: I7e99991cd2c71c66e1acb3aa3957efb28c9a426a

6 years agoExport aidl files for framework
Colin Cross [Thu, 14 Dec 2017 23:18:42 +0000 (15:18 -0800)]
Export aidl files for framework

Export the aidl files for framework so that anything building
against the framework automatically gets the default aidl
includes.

Test: m checkbuild
Change-Id: I26c599c79babd8ac91340a4e9d2c75d3f211f776

6 years agoMerge "Fix broken test due to API rename"
nharold [Thu, 14 Dec 2017 23:20:11 +0000 (23:20 +0000)]
Merge "Fix broken test due to API rename"
am: 0abc93177f

Change-Id: I75a3f96e0d6d7cf05bbd8eb0dae03d114ac76f3e

6 years agoMerge "Fix broken test due to API rename"
Nathan Harold [Thu, 14 Dec 2017 23:14:57 +0000 (23:14 +0000)]
Merge "Fix broken test due to API rename"

6 years agoFix broken test due to API rename
Nathan Harold [Thu, 14 Dec 2017 22:46:46 +0000 (14:46 -0800)]
Fix broken test due to API rename

A race condition during an Api rename has caused
the name change from reserveSecurityParameterIndex
to allocateSecurityParameterIndex to be wrong in
a test. Fixing.

Bug: 69128142
Test: runtest frameworks-net
Change-Id: I12fb9832cb938dc19f463b1f1124127435d7b173

6 years agoMerge "Fix broken test due to API rename"
nharold [Thu, 14 Dec 2017 23:07:53 +0000 (23:07 +0000)]
Merge "Fix broken test due to API rename"

6 years agoFix broken test due to API rename
Nathan Harold [Thu, 14 Dec 2017 22:46:46 +0000 (14:46 -0800)]
Fix broken test due to API rename

A race condition during an Api rename has caused
the name change from reserveSecurityParameterIndex
to allocateSecurityParameterIndex to be wrong in
a test. Fixing.

Bug: 69128142
Test: runtest frameworks-net
Change-Id: I12fb9832cb938dc19f463b1f1124127435d7b173

6 years agoMerge "Merge "Confirmation code second try." am: df0f5e9791 am: cdc3c3ec77 am: 5ad2fb...
Android Build Merger (Role) [Thu, 14 Dec 2017 22:58:07 +0000 (22:58 +0000)]
Merge "Merge "Confirmation code second try." am: df0f5e9791 am: cdc3c3ec77 am: 5ad2fbabf8  -s ours"

6 years agoMerge "Add more owners"
TreeHugger Robot [Thu, 14 Dec 2017 22:57:43 +0000 (22:57 +0000)]
Merge "Add more owners"

6 years agoMerge "Confirmation code second try." am: df0f5e9791 am: cdc3c3ec77
Holly Jiuyu Sun [Thu, 14 Dec 2017 22:56:38 +0000 (22:56 +0000)]
Merge "Confirmation code second try." am: df0f5e9791 am: cdc3c3ec77
am: 5ad2fbabf8  -s ours

Change-Id: I806e1dc1a2fa399db4578f6b5919dec70a313f7d

6 years agoMerge "Add RecoverableKeyStoreLoader APIs."
Dmitry Dementyev [Thu, 14 Dec 2017 22:50:44 +0000 (22:50 +0000)]
Merge "Add RecoverableKeyStoreLoader APIs."

6 years agoMerge "Confirmation code second try." am: df0f5e9791
Holly Jiuyu Sun [Thu, 14 Dec 2017 22:46:29 +0000 (22:46 +0000)]
Merge "Confirmation code second try." am: df0f5e9791
am: cdc3c3ec77

Change-Id: I4c0de71e0c488551f6d0fa5e1f73ca2971e4a5f6

6 years agoMerge "Confirmation code second try."
Holly Jiuyu Sun [Thu, 14 Dec 2017 22:37:58 +0000 (22:37 +0000)]
Merge "Confirmation code second try."
am: df0f5e9791

Change-Id: I426c5fcb2610cd1740fb9d6cd0a98a7bacfcb58a

6 years agoMerge "AAPT2: Enable mangled symbol lookup in AssetManagerSymbolTable"
Adam Lesinski [Thu, 14 Dec 2017 22:27:02 +0000 (22:27 +0000)]
Merge "AAPT2: Enable mangled symbol lookup in AssetManagerSymbolTable"

6 years agoMerge "Confirmation code second try."
Holly Jiuyu Sun [Thu, 14 Dec 2017 22:25:37 +0000 (22:25 +0000)]
Merge "Confirmation code second try."

6 years agoMerge "Add KeySyncUtils"
Robert Berry [Thu, 14 Dec 2017 22:00:21 +0000 (22:00 +0000)]
Merge "Add KeySyncUtils"

6 years agoMerge changes from topic "radio-2.0"
Tomasz Wasilczyk [Thu, 14 Dec 2017 21:57:14 +0000 (21:57 +0000)]
Merge changes from topic "radio-2.0"

* changes:
  Move HAL 1.x related service to its own directory.
  Initial implementation of HAL 2.0 counterpart for radio service.

6 years agoMerge "Merge "Use consistent naming for allocating SPI." am: bf48afea49 am: 4753ed4b1...
Android Build Merger (Role) [Thu, 14 Dec 2017 21:50:52 +0000 (21:50 +0000)]
Merge "Merge "Use consistent naming for allocating SPI." am: bf48afea49 am: 4753ed4b1b am: f71c95dfe4"

6 years agoMerge "Adds hint summary to slice"
Mady Mellor [Thu, 14 Dec 2017 21:48:59 +0000 (21:48 +0000)]
Merge "Adds hint summary to slice"

6 years agoMerge "Use consistent naming for allocating SPI." am: bf48afea49 am: 4753ed4b1b
nharold [Thu, 14 Dec 2017 21:48:58 +0000 (21:48 +0000)]
Merge "Use consistent naming for allocating SPI." am: bf48afea49 am: 4753ed4b1b
am: f71c95dfe4

Change-Id: Ib6845ab0d7f385fbd1d59c0179771542e12c8be0

6 years agoFix security bug: collect certs for non-systemDir apks.
Dan Cashman [Thu, 14 Dec 2017 21:32:49 +0000 (13:32 -0800)]
Fix security bug: collect certs for non-systemDir apks.

ag/3340390 changed untrusted value to systemDir while going through
code review, flipping the meaning of the variable, but this was not
reflected in the call site.  As a result, systemDir apps are the
only ones being fully verified, which is the opposite of what we want.

Test: Builds, eventually CTS.

Change-Id: I585ac65c957f0d8db6c73f003d3a3eb2b79c8883

6 years agoMerge "Use consistent naming for allocating SPI." am: bf48afea49
nharold [Thu, 14 Dec 2017 21:36:32 +0000 (21:36 +0000)]
Merge "Use consistent naming for allocating SPI." am: bf48afea49
am: 4753ed4b1b

Change-Id: Ib5d89044313341790b1ee9271642072ddce181af

6 years agoMerge "Filter out position jitter in hover tooltip handling"
TreeHugger Robot [Thu, 14 Dec 2017 21:36:28 +0000 (21:36 +0000)]
Merge "Filter out position jitter in hover tooltip handling"

6 years agoMerge "Use consistent naming for allocating SPI."
nharold [Thu, 14 Dec 2017 21:21:06 +0000 (21:21 +0000)]
Merge "Use consistent naming for allocating SPI."
am: bf48afea49

Change-Id: I9adb5c14e91b33f09707c85c865cf2fc454f80ba

6 years agoMerge changes from topic "no-battery"
Todd Poynor [Thu, 14 Dec 2017 21:14:58 +0000 (21:14 +0000)]
Merge changes from topic "no-battery"

* changes:
  BatteryService: don't set battery low or critical states if no battery
  BatteryStats: Don't collect battery stats if no battery

6 years agoMerge "Use consistent naming for allocating SPI."
nharold [Thu, 14 Dec 2017 21:10:16 +0000 (21:10 +0000)]
Merge "Use consistent naming for allocating SPI."

6 years agoMove HAL 1.x related service to its own directory.
Tomasz Wasilczyk [Wed, 13 Dec 2017 19:47:20 +0000 (11:47 -0800)]
Move HAL 1.x related service to its own directory.

Bug: 69958777
Test: instrumentation
Change-Id: I4739568d9b1f32db7eebb7448f24f177ba2fc831

6 years agoInitial implementation of HAL 2.0 counterpart for radio service.
Tomasz Wasilczyk [Wed, 13 Dec 2017 16:26:25 +0000 (08:26 -0800)]
Initial implementation of HAL 2.0 counterpart for radio service.

Test: KitchenSink
Bug: 69958777
Change-Id: I7c697af76114e8c5d158ca592d2711b980101d60

6 years agoIntroduce DISALLOW_UNIFIED_PASSWORD.
Pavel Grafov [Thu, 26 Oct 2017 15:34:25 +0000 (16:34 +0100)]
Introduce DISALLOW_UNIFIED_PASSWORD.

When DISALLOW_UNIFIED_PASSWORD is enforced by managed profile
owner, the user is disallowed to user single lock for both primary
user and the profile.

DMP.isUsingUnifiedPassword() can be called by DPC to check if
this restriction is obeyed.

Test: make cts-verifier
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases -t
  com.android.cts.devicepolicy.ManagedProfileTest#testIsUsingUnifiedPassword
Test: cts-tradefed run cts -m CtsAdminTestCases -t
  android.admin.cts.DevicePolicyManagerTest#testIsUsingUnifiedPassword_failIfNotProfileOwner
Bug: 63909482
Change-Id: Ib758e32d4bf4012d805185bce874f481e17576ba

6 years agoMerge "Further reduce statsd memory usage."
TreeHugger Robot [Thu, 14 Dec 2017 20:46:42 +0000 (20:46 +0000)]
Merge "Further reduce statsd memory usage."

6 years agoAdd RecoverableKeyStoreLoader APIs.
Dmitry Dementyev [Thu, 7 Dec 2017 03:05:33 +0000 (19:05 -0800)]
Add RecoverableKeyStoreLoader APIs.

Includes parcelables for
1) KeyDerivation
2) User Secret together with its type.
3) Application key entry
4) KeystoreRecoveryData block with all data  necessary to recover
keys later.

Test: none
Bug: 65979689
Change-Id: If59842a92ebbc0e77f95d6a2e5503943e2835062

6 years agoDon't allow certain bucket overrides
Amith Yamasani [Wed, 13 Dec 2017 19:52:10 +0000 (11:52 -0800)]
Don't allow certain bucket overrides

Don't allow EXEMPT to be overridden
Differentiate between shell and other callers who set
buckets.
Don't allow forced to be modified by bucketeer.
Don't allow bucketeer to modify NEVER bucket.

Fix a locking issue in listeners list. Don't use
the primary lock when calling out to listeners.

Fixes: 70622791
Fixes: 70622338

Test: atest FrameworksServicesTests:AppIdleHistoryTests
      atest FrameworksServicesTests:AppStandbyControllerTests
      atest CtsAppUsageHostTestCases
Change-Id: I22309478b947d6461235f5a77e08c7be86309e4b

6 years agoAdded compatibility WAL flags for Global.Settings
Fyodor Kupolov [Tue, 12 Dec 2017 19:52:57 +0000 (11:52 -0800)]
Added compatibility WAL flags for Global.Settings

Added Settings.Global.SQLITE_COMPATIBILITY_WAL_FLAGS -
configuration flags for SQLite Compatibility WAL. Encoded as a key-value
list, separated by commas. E.g.:
compatibility_wal_supported=true, wal_syncmode=OFF

SQLiteCompatibilityWalFlags caches the value of
SQLITE_COMPATIBILITY_WAL_FLAGS on first access and keeps it through
the lifetime of the process for consistent behavior across all
connections.

Test: SQLiteCompatibilityWalFlagsTest
Test: setting put global ... + verify that dumpsys dbinfo has the new flag
Bug: 70226732
Bug: 70517616
Change-Id: Ifacbf5908c83351ebe5dea676eeb716af039fb14

6 years agoMerge "Merge "Remove compiled classes list" am: 3adfec2de3 am: 3a3fc7a43b am: 8e50922...
Android Build Merger (Role) [Thu, 14 Dec 2017 20:09:08 +0000 (20:09 +0000)]
Merge "Merge "Remove compiled classes list" am: 3adfec2de3 am: 3a3fc7a43b am: 8e50922263  -s ours"

6 years agoMerge "Remove compiled classes list" am: 3adfec2de3 am: 3a3fc7a43b
Mathieu Chartier [Thu, 14 Dec 2017 20:07:10 +0000 (20:07 +0000)]
Merge "Remove compiled classes list" am: 3adfec2de3 am: 3a3fc7a43b
am: 8e50922263  -s ours

Change-Id: I2dd835282a9de847cd3e5fd0e5a0e54bff2538af

6 years agoMerge "Do not show keyguard dialogs on AoD."
TreeHugger Robot [Thu, 14 Dec 2017 20:05:47 +0000 (20:05 +0000)]
Merge "Do not show keyguard dialogs on AoD."

6 years agoMerge "DevicePolicyManager: Support attestation for generated keys."
Eran Messeri [Thu, 14 Dec 2017 20:04:42 +0000 (20:04 +0000)]
Merge "DevicePolicyManager: Support attestation for generated keys."

6 years agoMerge "Remove compiled classes list" am: 3adfec2de3
Mathieu Chartier [Thu, 14 Dec 2017 19:57:14 +0000 (19:57 +0000)]
Merge "Remove compiled classes list" am: 3adfec2de3
am: 3a3fc7a43b

Change-Id: Ia40246372d156d308c4e3930c3789dfe0a1010f8

6 years agoImplements disableNanoApp
Arthur Ishiguro [Tue, 12 Dec 2017 23:09:31 +0000 (15:09 -0800)]
Implements disableNanoApp

Bug: 67734082
Test: Run a test app to issue an disable request, verify HAL code is
executed via logs and client receives an error response.
Change-Id: I5a26c85372bd10a0224bf2a696982dccbca0c275

6 years agoImplements enableNanoApp
Arthur Ishiguro [Tue, 12 Dec 2017 23:01:32 +0000 (15:01 -0800)]
Implements enableNanoApp

Bug: 67734082
Test: Run a test app to issue an enable request, verify HAL code is
executed via logs and client receives an error response.
Change-Id: Ie4ec660a094082887eaefbdfc2e1fd8d1ee7c0e3

6 years agoMerge "Remove compiled classes list"
Mathieu Chartier [Thu, 14 Dec 2017 19:44:50 +0000 (19:44 +0000)]
Merge "Remove compiled classes list"
am: 3adfec2de3

Change-Id: I98d29b9f3aeeaf78ba93b631b0746cc37ac9e7e5

6 years agoMerge "Fix regression in task trimming"
Winson Chung [Thu, 14 Dec 2017 19:42:20 +0000 (19:42 +0000)]
Merge "Fix regression in task trimming"

6 years agoMerge "Fix some issues found in AM display tests"
Andrii Kulian [Thu, 14 Dec 2017 19:32:07 +0000 (19:32 +0000)]
Merge "Fix some issues found in AM display tests"

6 years agoAdd more owners
Wyatt Riley [Thu, 14 Dec 2017 19:17:56 +0000 (11:17 -0800)]
Add more owners

Test: Treehugger only
Change-Id: I873e6f3f94f00e8ed1294bbb4a917b1225e34b09

6 years agoMerge "Remove compiled classes list"
Treehugger Robot [Thu, 14 Dec 2017 19:16:47 +0000 (19:16 +0000)]
Merge "Remove compiled classes list"

6 years agoMerge "Update PhoneStateListener#onCallStateChanged Javadoc." am: 6e41b2c5c8 am:...
Jeff Davidson [Thu, 14 Dec 2017 19:01:49 +0000 (19:01 +0000)]
Merge "Update PhoneStateListener#onCallStateChanged Javadoc." am: 6e41b2c5c8 am: 67c9a43605
am: 059f59cc70  -s ours

Change-Id: I01e484836f1ac335414acba266b0abb6e191bedc

6 years agoMerge "Fix flaky WifiTrackerTest"
Michael Plass [Thu, 14 Dec 2017 18:48:16 +0000 (18:48 +0000)]
Merge "Fix flaky WifiTrackerTest"