OSDN Git Service
TreeHugger Robot [Tue, 19 Dec 2017 18:47:19 +0000 (18:47 +0000)]
Merge "Make TOP_SLEEPING procstate more like a cached process."
Android Build Merger (Role) [Tue, 19 Dec 2017 18:45:15 +0000 (18:45 +0000)]
Merge "Merge "API updated for ICU4J 60.1" am:
71b25c06a7 am:
68f1995d19 am:
902679c071 -s ours"
vichang [Tue, 19 Dec 2017 18:44:28 +0000 (18:44 +0000)]
Merge "API updated for ICU4J 60.1" am:
71b25c06a7 am:
68f1995d19
am:
902679c071 -s ours
Change-Id: I2df3ae1f7431c1770efb7079f90114ad2611ced3
Arthur Ishiguro [Tue, 19 Dec 2017 18:41:23 +0000 (18:41 +0000)]
Merge "Modify ContextHubInfo to implement Parcelable"
vichang [Tue, 19 Dec 2017 18:35:40 +0000 (18:35 +0000)]
Merge "API updated for ICU4J 60.1" am:
71b25c06a7
am:
68f1995d19
Change-Id: I572007ea58f4011d24004c90730b14e154cfae92
vichang [Tue, 19 Dec 2017 18:24:59 +0000 (18:24 +0000)]
Merge "API updated for ICU4J 60.1"
am:
71b25c06a7
Change-Id: I3968eda2e73fe3641abd45684f6ae992d6e780d3
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
vichang [Tue, 19 Dec 2017 13:13:13 +0000 (13:13 +0000)]
Merge "API updated for ICU4J 60.1"
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."
Dianne Hackborn [Tue, 19 Dec 2017 00:45:52 +0000 (16:45 -0800)]
Make TOP_SLEEPING procstate more like a cached process.
When an app is on the top of the activity stack but the screen
is not on, this doesn't really count as a top app in the normal
sense. In particular, we'd really like to apply the normal
restrictions we have on background and cached apps: no network
access, no ability to use wake locks, etc. (In other words, in
this state the app's activity is stopped, so from its perspective
it is no different than the user leaving it to go to another app.)
To do this, we change the order of the TOP_SLEEPING proc state
out from the range of foreground states down to between the
cached and background states.
Test: ActivityManagerProcessStateTest
Bug:
70808931
Change-Id: I994caba8c27553a452de75efa358be0e683d046f
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