OSDN Git Service
Fyodor Kupolov [Wed, 20 Dec 2017 00:44:26 +0000 (16:44 -0800)]
Offload switchUser calls to worker threads
Some switchUser callbacks can block ActivityManager thread for 100+ ms.
The work can be done on a worker thread instead.
Test: Manual create/switch to user
Bug:
37579992
Change-Id: I45034fa8c8bdf457bcc3737c8064057fbfaf32f5
Andrew Scull [Tue, 19 Dec 2017 18:01:56 +0000 (18:01 +0000)]
Merge "DPMS: password blacklist"
Esteban Talavera [Tue, 19 Dec 2017 17:46:06 +0000 (17:46 +0000)]
Merge "Fix usagestats DUMP OF SERVICE"
TreeHugger Robot [Tue, 19 Dec 2017 17:33:25 +0000 (17:33 +0000)]
Merge "Fix bold italic docs"
Richard Ledley [Tue, 19 Dec 2017 17:14:27 +0000 (17:14 +0000)]
Merge "Add entity types to Options."
TreeHugger Robot [Tue, 19 Dec 2017 17:09:21 +0000 (17:09 +0000)]
Merge "Remove non-junit android.test.base classes from android.jar"
Siyamed Sinir [Tue, 19 Dec 2017 16:37:47 +0000 (16:37 +0000)]
Merge "Fix DynamicLayout block index calculation after edit"
Naomi Musgrave [Wed, 6 Dec 2017 12:06:26 +0000 (12:06 +0000)]
Handle overflow of id in NetworkEvent.
Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/NetworkEventTest.java
Bug:
63910201
Change-Id: I48e1ac0fabae4db7913ce6698a1cf932898d9642
Esteban Talavera [Tue, 19 Dec 2017 11:48:43 +0000 (11:48 +0000)]
Fix usagestats DUMP OF SERVICE
DUMP OF SERVICE Usagestats was empty in bugreports
because an unexpected -a argument was being passed.
adb shell pm dump <package> had a similar issue with --packages
Change-Id: Ic67c723b8edc74ec7c9c48582b08896ca3430a4a
Fix:
70777338
Test: adb shell pm dump <package> and bugreports now contain usage stats
Richard Ledley [Thu, 30 Nov 2017 17:33:51 +0000 (17:33 +0000)]
Add entity types to Options.
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Bug: b/
67629726
Change-Id: I9cad0159ab539a71d9f504019ebe91fe18206d60
Clara Bayarri [Tue, 19 Dec 2017 13:17:49 +0000 (13:17 +0000)]
Fix bold italic docs
Bug:
68971062
Test: none, just docs
Change-Id: I101b0bcd41d0b38218a56204b46413458bf786a2
Ricky Wai [Tue, 19 Dec 2017 10:59:00 +0000 (10:59 +0000)]
Merge "Add differential privacy library and algorithms"
Paul Duffin [Wed, 13 Dec 2017 14:34:31 +0000 (14:34 +0000)]
Remove non-junit android.test.base classes from android.jar
This removes those android.test.** classes which are part of the
android.test.base 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.base classes being in android.jar and so
would require yet more changes.
Bug:
30188076
Test: make checkbuild
Change-Id: I9a4df968835166cc3d30c076ef3036711dfe5b7f
TreeHugger Robot [Tue, 19 Dec 2017 10:06:29 +0000 (10:06 +0000)]
Merge "Make WebView data directory configurable."
TreeHugger Robot [Tue, 19 Dec 2017 09:26:18 +0000 (09:26 +0000)]
Merge "Import translations. DO NOT MERGE"
Robert Berry [Tue, 19 Dec 2017 07:50:30 +0000 (07:50 +0000)]
Merge "Add PlatformKeyManager helper for RecoverableKeyStoreLoader"
Siyamed Sinir [Tue, 19 Dec 2017 02:47:37 +0000 (18:47 -0800)]
Fix DynamicLayout block index calculation after edit
DynamicLayout made wrong adjustments to the block indices set to be
redrawn. Every indice after the first change was being added the
diff count in the blocks. However this meant when there are 2 deletes
and an index as 1, it would become -1 (wrong array index). The change
should be applied to indices outside of [firstBlock, lastBlock].
Test: Added android.text.DynamicLayoutTest#testReflow_afterSpannableEdit
Test: bit FrameworksCoreTests:android.text.DynamicLayoutTest
Test: bit FrameworksCoreTests:android.text.DynamicLayoutBlocksTest
Test: bit CtsTextTestCases:android.text.cts.DynamicLayoutTest
Bug:
67405337
Change-Id: Ie5e5658ffca4293f32f7b574d22d307e9e8d52dc
TreeHugger Robot [Tue, 19 Dec 2017 07:28:27 +0000 (07:28 +0000)]
Merge "Statsd anomaly detection atom"
TreeHugger Robot [Tue, 19 Dec 2017 07:25:30 +0000 (07:25 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 19 Dec 2017 07:12:23 +0000 (07:12 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 19 Dec 2017 07:04:34 +0000 (07:04 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 19 Dec 2017 04:58:42 +0000 (04:58 +0000)]
Merge "Increase screen-on delay in ConnOnActivityStartTest."
Bill Yi [Tue, 19 Dec 2017 03:44:46 +0000 (19:44 -0800)]
Import translations. DO NOT MERGE
Change-Id: I221002ba36f7421b5f894f4db4ef05ecf5e4e16f
Auto-generated-cl: translation import
TreeHugger Robot [Tue, 19 Dec 2017 03:17:29 +0000 (03:17 +0000)]
Merge "Add RecoverableKeyStoreLoader implementation in LockSettingsService."
TreeHugger Robot [Tue, 19 Dec 2017 02:30:28 +0000 (02:30 +0000)]
Merge "Remove IIncidentReportCompleted and gmscore WW module would listen to android.intent.action.DROPBOX_ENTRY_ADDED and look up incident tag then upload the report."
Bill Yi [Tue, 19 Dec 2017 02:10:17 +0000 (18:10 -0800)]
Import translations. DO NOT MERGE
Change-Id: If9842d6d8f20245c2e29ec0827e859135d2e8916
Auto-generated-cl: translation import
TreeHugger Robot [Tue, 19 Dec 2017 01:51:50 +0000 (01:51 +0000)]
Merge "align metrics start time to the previous 5 min start, instead of the next 5 min start. Also refactor config check condition to be more readable."
Sudheer Shanka [Tue, 19 Dec 2017 01:44:50 +0000 (17:44 -0800)]
Increase screen-on delay in ConnOnActivityStartTest.
Test: ran the test.
Change-Id: Ib3ae7719b2621877f5dbeea0de8d18cdebfbd3b9
TreeHugger Robot [Tue, 19 Dec 2017 01:34:49 +0000 (01:34 +0000)]
Merge "incidentd: Adding graphicsstats dump."
Sean Stout [Tue, 19 Dec 2017 01:14:30 +0000 (01:14 +0000)]
Merge "Renaming a file causes it to be rescanned"
TreeHugger Robot [Tue, 19 Dec 2017 01:07:49 +0000 (01:07 +0000)]
Merge "incidentd: Dumping java process meminfo data."
Bill Yi [Tue, 19 Dec 2017 01:05:03 +0000 (17:05 -0800)]
Import translations. DO NOT MERGE
Change-Id: I74e2abd1288eb7ae69b5832f5450fbb71980ddef
Auto-generated-cl: translation import
Steve Paik [Tue, 19 Dec 2017 00:56:33 +0000 (00:56 +0000)]
Merge "Rename set_wakeup_callback" am:
7e3de17f3d am:
5611305abe
am:
9eb7d2e002
Change-Id: I1c50e19d06d3f667f9eb4e00156d22494cbb44c3
Elliott Hughes [Tue, 19 Dec 2017 00:50:31 +0000 (00:50 +0000)]
Merge "Private API became public..." am:
eb44ebbfcd am:
85fc4d6dd6
am:
746a738276
Change-Id: Ifb1fd8dc812d160cd998ba23371e0cfff0c43adb
Benedict Wong [Tue, 19 Dec 2017 00:41:55 +0000 (00:41 +0000)]
Merge "[ipsec-qtaguid] Tag sockets upon creation of encap sockets" am:
d0ac50bcad am:
8caa274ade
am:
9de5c77303
Change-Id: I4140f386687c579044f9b5fe59dd7e05f86000fe
Steve Paik [Tue, 19 Dec 2017 00:40:59 +0000 (00:40 +0000)]
Merge "Rename set_wakeup_callback" am:
7e3de17f3d
am:
5611305abe
Change-Id: I3434d6657ca905b12fb73beca65473f3149202bb
Elliott Hughes [Tue, 19 Dec 2017 00:35:58 +0000 (00:35 +0000)]
Merge "Private API became public..." am:
eb44ebbfcd
am:
85fc4d6dd6
Change-Id: I9ccfc88dc7d86462e323e32ce2b13726e05ec1c3
TreeHugger Robot [Tue, 19 Dec 2017 00:29:31 +0000 (00:29 +0000)]
Merge "Move heavy-weight process state down to cached range."
Steve Paik [Tue, 19 Dec 2017 00:29:22 +0000 (00:29 +0000)]
Merge "Rename set_wakeup_callback"
am:
7e3de17f3d
Change-Id: Ic4a3d630d76e333e71a746a237d45a5fb3414994
Benedict Wong [Tue, 19 Dec 2017 00:27:57 +0000 (00:27 +0000)]
Merge "[ipsec-qtaguid] Tag sockets upon creation of encap sockets" am:
d0ac50bcad
am:
8caa274ade
Change-Id: I2f27c76a1f493ff4f0bd423c06f159e629866d4d
Elliott Hughes [Tue, 19 Dec 2017 00:24:28 +0000 (00:24 +0000)]
Merge "Private API became public..."
am:
eb44ebbfcd
Change-Id: I9ec4e8bb8609a29ed48d2862913c007d8f4e83c6
Hugo Benichi [Tue, 19 Dec 2017 00:23:04 +0000 (00:23 +0000)]
Merge changes I798d8fec,I4a2d5866 am:
c5212b6654 am:
99be302c71
am:
fe9e89820d -s ours
Change-Id: Ib8024661997e84e64cd56a3ca9ee17c514122ead
TreeHugger Robot [Tue, 19 Dec 2017 00:18:49 +0000 (00:18 +0000)]
Merge changes from topic "aod_wallpapers"
* changes:
Hide AoD wallpaper after 1min
Support wallpapers in AoD
Benedict Wong [Tue, 19 Dec 2017 00:16:29 +0000 (00:16 +0000)]
Merge "[ipsec-qtaguid] Tag sockets upon creation of encap sockets"
am:
d0ac50bcad
Change-Id: If2f71108d0c3d5742ee39b041f5fa886aac820cb
Bill Yi [Tue, 19 Dec 2017 00:06:28 +0000 (16:06 -0800)]
Import translations. DO NOT MERGE
Change-Id: I73ab704a940d42820e1df773a877f969292e6213
Auto-generated-cl: translation import
Treehugger Robot [Tue, 19 Dec 2017 00:06:15 +0000 (00:06 +0000)]
Merge "Rename set_wakeup_callback"
Hugo Benichi [Tue, 19 Dec 2017 00:06:00 +0000 (00:06 +0000)]
Merge changes I798d8fec,I4a2d5866 am:
c5212b6654
am:
99be302c71
Change-Id: I41b507c4e4bf9b8b9082f5e7eaab8985b5bbef41
TreeHugger Robot [Tue, 19 Dec 2017 00:05:31 +0000 (00:05 +0000)]
Merge "Add popup item content to id/content where applicable"
Dmitry Dementyev [Mon, 11 Dec 2017 19:33:12 +0000 (11:33 -0800)]
Add RecoverableKeyStoreLoader implementation in LockSettingsService.
1) Updates to ILockSettings.aidl
Since we can't pass arbitrary exception using IPC, Serrvice
converts them to ServiceSpecificException with an error code.
2) Added RecoverableKeyStoreManager class which is used as interface
between RecoverableKeyStoreLoader implementation and
LockSettingsService.
Test: none
Bug:
66499222
Change-Id: I03b695bc0ced1a91ea7ca5de179e121053dfe416
Bookatz [Mon, 18 Dec 2017 21:01:10 +0000 (13:01 -0800)]
Statsd anomaly detection atom
Creates an atom to represent when statsd's anomaly detection alert
fires, so that statsd can log when it detects an anomaly (in the output
and for any further processing).
Test: manually confirmed that atom was logged
Change-Id: I3376e4038bdc3402a536aab7cebad24b104a9aee
Elliott Hughes [Mon, 18 Dec 2017 23:58:15 +0000 (23:58 +0000)]
Merge "Private API became public..."
Hugo Benichi [Mon, 18 Dec 2017 23:57:15 +0000 (23:57 +0000)]
Merge changes I798d8fec,I4a2d5866
am:
c5212b6654
Change-Id: Idf04186ece2738c113e2e33c5e7a5133aa437933
Chenjie Yu [Mon, 18 Dec 2017 23:20:00 +0000 (15:20 -0800)]
align metrics start time to the previous 5 min start, instead
of the next 5 min start. Also refactor config check condition
to be more readable.
Test: unit test
Change-Id: Iaa6b4a59d27c52996723862d92080d90c9e794cb
Ying Xu [Mon, 18 Dec 2017 23:51:01 +0000 (23:51 +0000)]
Merge "Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL" am:
7be7d422a2 am:
784a690ec7
am:
74ee537cca
Change-Id: I35d6ac35a2244cbfcf69cec2da4cd71e721e5e6b
Benedict Wong [Mon, 18 Dec 2017 23:50:52 +0000 (23:50 +0000)]
Merge "[ipsec-qtaguid] Tag sockets upon creation of encap sockets"
Hugo Benichi [Mon, 18 Dec 2017 23:43:06 +0000 (23:43 +0000)]
Merge changes I798d8fec,I4a2d5866
* changes:
MacAddress: address api review comments
Expose the MacAddress class in the api
Ying Xu [Mon, 18 Dec 2017 23:42:03 +0000 (23:42 +0000)]
Merge "Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL" am:
7be7d422a2
am:
784a690ec7
Change-Id: I0e4098cfd0fe0d78e2d5de33a193da1095974ea6
Kweku Adams [Thu, 14 Dec 2017 20:56:28 +0000 (12:56 -0800)]
incidentd: Adding graphicsstats dump.
Thanks to ag/
3249934, the graphicsstats.proto file no longer needs to
explicitly declare "optimize_for = LITE_RUNTIME".
Bug:
65750815
Test: flash device and check incident.proto output.
Change-Id: I2d3d44d5351c225b2cd45bab0ed3a435a4467187
Ying Xu [Mon, 18 Dec 2017 23:34:51 +0000 (23:34 +0000)]
Merge "Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL"
am:
7be7d422a2
Change-Id: I9d71fb9956f2300d683893da8dd3a78ca8320bc8
Ying Xu [Mon, 18 Dec 2017 23:26:25 +0000 (23:26 +0000)]
Merge "Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL"
Robert Berry [Mon, 11 Dec 2017 14:34:29 +0000 (14:34 +0000)]
Add PlatformKeyManager helper for RecoverableKeyStoreLoader
Manages generating the platform key and then loading it into AndroidKeyStore
with different permissions for 'decrypt' and 'encrypt'. Encrypt should be always
available, so as to enable us to generate application keys at any time, and be
able to sync them wrapped with the platform key to disk. Decrypt should only be
available shortly after a screen unlock - i.e., so that we can unwrap the keys
persisted to disk, then rewrap them with the recovery key and sync them to the
remote storage.
Test: adb shell am instrument -w -e package com.android.server.locksettings.recoverablekeystore com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I7575ea1c3c78d5544ef763324ac47dffb3993b55
Robert Berry [Mon, 18 Dec 2017 23:24:44 +0000 (23:24 +0000)]
Merge "Add PlatformEncryptionKey (again)"
Kweku Adams [Wed, 6 Dec 2017 22:53:50 +0000 (14:53 -0800)]
incidentd: Dumping java process meminfo data.
Bug:
65750823
Test: flash device and check incident.proto output
Change-Id: I9b10daddf0580b3fab4ed7970fb838a605eef0e6
Dianne Hackborn [Sat, 16 Dec 2017 00:32:19 +0000 (16:32 -0800)]
Move heavy-weight process state down to cached range.
This allows us to generally treat heavy-weight processes in
the background as cached processes, applying all of the limitations
we want for such things -- disable wake locks, etc.
Test: run-am-test ActivityManagerProcessStateTest
Bug:
63937884
Change-Id: I7c140c8f48188f6aa9c09731e83e3db4e4405e77
Fyodor Kupolov [Mon, 18 Dec 2017 22:29:31 +0000 (22:29 +0000)]
Merge "Enabled SQLiteCompatibilityWalFlags class"
Siyamed Sinir [Mon, 18 Dec 2017 22:24:53 +0000 (22:24 +0000)]
Merge "Presubmit FormatterTest and SpannableStringBuilderTest"
Android Build Merger (Role) [Mon, 18 Dec 2017 22:15:26 +0000 (22:15 +0000)]
Merge "Merge "Merge "[CHERRY-PICK] API for apps to tag sockets with their own UID." am:
bef8c59634 am:
826657a9c2" into oc-mr1-dev-plus-aosp am:
11448df5a1 -s ours"
Android Build Merger (Role) [Mon, 18 Dec 2017 22:14:52 +0000 (22:14 +0000)]
Merge "Merge "[CHERRY-PICK] API for apps to tag sockets with their own UID." am:
bef8c59634 am:
826657a9c2" into oc-mr1-dev-plus-aosp
am:
11448df5a1 -s ours
Change-Id: I3289c409e2014c898cba8ba14768ea174937ffed
Android Build Merger (Role) [Mon, 18 Dec 2017 22:08:50 +0000 (22:08 +0000)]
Merge "docs: Touch-up edits to ShortcutManager class reference. am:
4777f37f78 am:
6f2f0f639b"
TreeHugger Robot [Mon, 18 Dec 2017 22:08:38 +0000 (22:08 +0000)]
Merge "Add isMobileDataEnabled in TelephonyManager."
Kevin Hufnagle [Mon, 18 Dec 2017 22:07:56 +0000 (22:07 +0000)]
docs: Touch-up edits to ShortcutManager class reference. am:
4777f37f78
am:
6f2f0f639b
Change-Id: I7be85e7c7dbbc26a76a840422cfe4c95041840b0
Android Build Merger (Role) [Mon, 18 Dec 2017 21:57:05 +0000 (21:57 +0000)]
Merge "Merge "[CHERRY-PICK] API for apps to tag sockets with their own UID." am:
bef8c59634 am:
826657a9c2" into oc-mr1-dev-plus-aosp
Benedict Wong [Mon, 18 Dec 2017 21:56:41 +0000 (21:56 +0000)]
Merge "[CHERRY-PICK] API for apps to tag sockets with their own UID." am:
bef8c59634
am:
826657a9c2
Change-Id: Ia06653e6c1cccddcd2de17dd88a9ef47263f5c79
Kevin Hufnagle [Mon, 18 Dec 2017 21:55:02 +0000 (21:55 +0000)]
docs: Touch-up edits to ShortcutManager class reference.
am:
4777f37f78
Change-Id: Ibc90a8a2771a3e9fe5e59398be986b75490c60c2
Jeff Davidson [Mon, 18 Dec 2017 21:52:01 +0000 (21:52 +0000)]
Merge "Update SmsMessage.FORMAT_ Javadocs."
Benedict Wong [Mon, 18 Dec 2017 21:46:18 +0000 (21:46 +0000)]
Merge "[CHERRY-PICK] API for apps to tag sockets with their own UID."
am:
bef8c59634
Change-Id: I38da928c8484eb0bbb5d9cbc473d6d36de35e1e8
TreeHugger Robot [Mon, 18 Dec 2017 21:45:50 +0000 (21:45 +0000)]
Merge "Implements onNanoAppAborted callback"
Benedict Wong [Mon, 18 Dec 2017 21:32:10 +0000 (21:32 +0000)]
Merge "[CHERRY-PICK] API for apps to tag sockets with their own UID."
TreeHugger Robot [Mon, 18 Dec 2017 21:26:32 +0000 (21:26 +0000)]
Merge "Make isUsingUnifiedPassword throw when used on parent instance"
TreeHugger Robot [Mon, 18 Dec 2017 21:04:15 +0000 (21:04 +0000)]
Merge "Removed Parcelable from FieldClassification."
TreeHugger Robot [Mon, 18 Dec 2017 20:58:13 +0000 (20:58 +0000)]
Merge "Returns signing version from ApkSignatureVerifier"
TreeHugger Robot [Mon, 18 Dec 2017 20:53:35 +0000 (20:53 +0000)]
Merge "AudioService: fix isInCommunication()"
TreeHugger Robot [Mon, 18 Dec 2017 20:48:32 +0000 (20:48 +0000)]
Merge "Removes unnecessary logs from ContextHubService"
Eric Laurent [Mon, 18 Dec 2017 20:10:46 +0000 (20:10 +0000)]
Merge "Use broadcast receiver to update BT A2DP status"
TreeHugger Robot [Mon, 18 Dec 2017 20:05:41 +0000 (20:05 +0000)]
Merge "Fix issue #
70722141: Fix broken WindowTest.testSetLocalFocus"
TreeHugger Robot [Mon, 18 Dec 2017 19:56:43 +0000 (19:56 +0000)]
Merge "Implemented multiple matches on FieldClassification.getMatches()"
Siyamed Sinir [Mon, 18 Dec 2017 19:21:09 +0000 (11:21 -0800)]
Presubmit FormatterTest and SpannableStringBuilderTest
Adds the following tests to presubmit.
- android.text.format.FormatterTest
- android.text.SpannableStringBuildeTest
Test: None
Bug:
70506734
Change-Id: Ie5a93be3673df143ee1f33ca39173784457c336a
Benedict Wong [Mon, 4 Dec 2017 03:42:36 +0000 (19:42 -0800)]
[ipsec-qtaguid] Tag sockets upon creation of encap sockets
Added calls to tag encap sockets to that of the UID for which the encap
socket is being created on behalf of. This ensures that all data
accounting generated for the UDP-encap-ESP socket is correctly billed to
the right UID.
Bug:
62994731
Test: New tests added to IpSecServiceTest.java, passing
Change-Id: I15365ea9c982fd7b4e3cdeff314ddfba2289c86e
Tony Mantler [Mon, 18 Dec 2017 19:45:53 +0000 (19:45 +0000)]
Merge changes from topics "tv-settings-manage-power", "applicationsstate-lifecycle"
* changes:
Move PowerWhitelistBackend to SettingsLib
Move ApplicationsState to support lib Lifecycle
Jeff Sharkey [Wed, 29 Nov 2017 18:18:23 +0000 (11:18 -0700)]
[CHERRY-PICK] API for apps to tag sockets with their own UID.
This enables app A to create a socket, pass it to app B, and have
app B accept blame for the traffic performed on that socket.
Also adds helpful public APIs for tagging raw FileDescriptor sockets
instead of making developers go through shady SocketImpl wrappers.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AppSecurityTests#testAppFailAccessPrivateData
Bug:
63932076
Change-Id: I08925c843974675fc82e4080cec2eaab9ab7cd41
Merged-In: I08925c843974675fc82e4080cec2eaab9ab7cd41
(cherry picked from commit
70dc4f4d16082c598cd1774d366c1e60c2016126)
Arthur Ishiguro [Mon, 18 Dec 2017 18:02:35 +0000 (10:02 -0800)]
Implements onNanoAppAborted callback
Bug:
67734082
Bug:
31049861
Test: Fake a handleAppAbort callback at the HAL implementation for
walleye, run a test app that registers a client callback, and verify
client receives the onNanoAppAborted callback.
Change-Id: Ic1ab3a1ef0f903a9aad04f732dac1a04f3fc5169
Lucas Dupin [Wed, 13 Dec 2017 08:13:57 +0000 (00:13 -0800)]
Hide AoD wallpaper after 1min
Hide wallpaper by cross fading back scrim. This increases
battery life since black pixels won't drain power.
Bug:
64155983
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Test: set AoD wallpaper, wait for 1 min.
Test: set AoD wallpaper, wait for 50 sec, go to pulsing, wait 10 sec.
Change-Id: Ie830c2fd20f9e60efbfd9e78f248603df07ae93c
Robert Berry [Mon, 18 Dec 2017 19:26:22 +0000 (19:26 +0000)]
Add PlatformEncryptionKey (again)
Version 2 of this. The other change had to be reverted due to breaking
the build. This is almost identical, just with some additional fixes for
the database api.
Test: adb shell am instrument -w -e package com.android.server.locksettings.recoverablekeystore com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I02928a9351739673bdffec55013c6ee7789edc1c
Lucas Dupin [Tue, 22 Aug 2017 19:51:25 +0000 (12:51 -0700)]
Support wallpapers in AoD
Such wallpaper has to define supportsAmbientMode,
and set it to true on its android.service.wallpaper
meta data.
Also introduces WallpaperService.Engine#onAmbientModeChanged
to notify a live wallpaper that the display state has changed.
Change-Id: I49e846069a698b3cc3bb6e7cda98172920eaae4c
Bug:
64155983
Test: runtest -x frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeWallpaperStateTest.java
Test: runtest -x frameworks/base/tests/Internal/src/android/app/WallpaperInfoTest.java
Test: runtest -x frameworks/base/tests/Internal/src/android/service/wallpaper/WallpaperServiceTest.java
Test: set AoD wallpaper, go to aod, lock screen, launcher
Test: set regular wallpaper, go to aod, lock screen, launcher
Robert Berry [Mon, 18 Dec 2017 18:58:48 +0000 (18:58 +0000)]
Merge "Revert "Add platform key generation ID to WrappedKey instances""
Robert Berry [Mon, 18 Dec 2017 18:56:22 +0000 (18:56 +0000)]
Revert "Add platform key generation ID to WrappedKey instances"
This reverts commit
9fa18c621e82d4a6e2b647fc3268ddc89e64b73c.
Reason for revert: broke the build, sorry
Change-Id: I6425160e9ac565664e25ee5c92ce1a5813dd4c28
Arthur Ishiguro [Fri, 15 Dec 2017 23:21:42 +0000 (15:21 -0800)]
Removes unnecessary logs from ContextHubService
Bug:
67734082
Test: None
Change-Id: Ibb6d2626334603bbda4e826e5fd7f7c47c7a436d
Kevin Hufnagle [Mon, 18 Dec 2017 17:57:39 +0000 (09:57 -0800)]
docs: Touch-up edits to ShortcutManager class reference.
Test: make ds-docs -j16
Bug:
64727234
Change-Id: Ieb2c2f6ee6706f206e2cc0d5be8bc3a5cdd9f345
TreeHugger Robot [Mon, 18 Dec 2017 18:45:35 +0000 (18:45 +0000)]
Merge "New motion curves in resources for material2"
Pavel Grafov [Mon, 18 Dec 2017 18:02:47 +0000 (18:02 +0000)]
Make isUsingUnifiedPassword throw when used on parent instance
It doesn't make sense to call it via parent instance.
Bug:
70788883
Test: cts-tradefed run cts -m DevicePolicyManager -t com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled
Change-Id: I66334757ca8e9ee2525dbe88c83216563837aee6