Commit Graph

77766 Commits

Author SHA1 Message Date
Hall Liu
1bf615cb96 Merge "Add feature flag for RTT in call log" am: 138d07f82d am: 9a5e663d97
am: 51c68e6570

Change-Id: I44de419a5b170d6fd5b1d26f4291eb3750b11c59
2017-12-21 22:56:27 +00:00
Hall Liu
51c68e6570 Merge "Add feature flag for RTT in call log" am: 138d07f82d
am: 9a5e663d97

Change-Id: Ibdf102659e079844e81faac327b0d9cfb3b0d9de
2017-12-21 22:47:29 +00:00
Hansong Zhang
f3caa4dc5a Merge "BluetoothHidDevice: rename onIntrData to onInterruptData (1/5)" am: 045fdae1b3
am: d6c2722094

Change-Id: I7ef265d36f4a42e7e9a74e63e8b343b28b63c8b3
2017-12-21 22:31:53 +00:00
Hall Liu
138d07f82d Merge "Add feature flag for RTT in call log" 2017-12-21 22:31:45 +00:00
TreeHugger Robot
7e3cae8584 Merge "Workaround apps that are doing very very bad things" 2017-12-21 22:07:15 +00:00
Treehugger Robot
045fdae1b3 Merge "BluetoothHidDevice: rename onIntrData to onInterruptData (1/5)" 2017-12-21 21:56:10 +00:00
Siddharth Ray
331962242a Merge "Obtain cellular related battery statistics" 2017-12-21 19:53:54 +00:00
Chenbo Feng
71436b32e9 Merge "Use NetworkStatsService to get stats for apps" am: 693d8a2ab1 am: fa7f4015fc
am: 09a81e4da1

Change-Id: I90ce68a72afbf596e28d987e925795709d24dd52
2017-12-21 19:49:25 +00:00
TreeHugger Robot
1034bf17fa Merge "Add TestApi to disable the TextClock clock tick." 2017-12-21 19:23:41 +00:00
Chenbo Feng
09a81e4da1 Merge "Use NetworkStatsService to get stats for apps" am: 693d8a2ab1
am: fa7f4015fc

Change-Id: I14f614a86214bd4f006415c48b9a8323e06c737f
2017-12-21 19:15:29 +00:00
Andrew Solovay
7ad3eb8db0 Merge "doc: Fixing Javadoc formatting problems." into oc-mr1-dev
am: 7835c650b2

Change-Id: I662ac186b079d88fc503fa546b52b1297b98a036
2017-12-21 17:42:46 +00:00
Fan Zhang
3b8a596f05 Merge "Enable settings search v2 experiement" 2017-12-21 17:29:32 +00:00
TreeHugger Robot
0ce51f60b4 Merge "Added @TestApi on new Autofill settings for field classification." 2017-12-21 17:12:12 +00:00
Naomi Musgrave
d7dd779ec2 Merge "Add id to SecurityEvent." 2017-12-21 16:09:32 +00:00
TreeHugger Robot
316de4a7f9 Merge "Add plsCertsNoVerifyOnlyCerts to ApkSignatureVerifier." 2017-12-21 16:00:22 +00:00
Jason Monk
24d12a327d Workaround apps that are doing very very bad things
Disable AppComponentFactory for them.

Test: manual
Bug: 70776434
Change-Id: Iccfc47af360b719578f0ab9771849a822118518d
2017-12-21 10:39:17 -05:00
Naomi Musgrave
db980f4a3c Add id to SecurityEvent.
Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/SecurityEventTest.java
Bug: 63910201
Change-Id: I053ec9d6c8281d637ace5dc89057e5f7b5ad6554
2017-12-21 15:34:11 +00:00
TreeHugger Robot
af5bac3d23 Merge "Profile lock timeout." 2017-12-21 13:37:42 +00:00
Narayan Kamath
6192f7322d WorkSource: Fix NPE on set(int) / set(int, String).
mChains might be null.

Bug: 62390666
Test: WorkSourceTest
Test: run cts-dev -m CtsOsTestCases -t android.os.cts.WorkSourceTest
Change-Id: I1dbc2abc576c280ad41ad6214745b0d34c5727a0
2017-12-21 10:24:52 +00:00
Hugo Benichi
4674242df7 Merge "MacAddress: address api review comments" 2017-12-21 05:01:49 +00:00
TreeHugger Robot
9f66eb4f7c Merge changes Ie1eb63dc,Ib7cc4d52
* changes:
  Renames setCallbackOnComplete method in ContextHubTransaction
  Rename ContextHubTransaction.Result IntDef
2017-12-21 04:55:15 +00:00
TreeHugger Robot
17f3d1abb5 Merge "New Autofill API:AutofillManager.getAutofillServiceComponentName()" 2017-12-21 04:48:35 +00:00
Sudheer Shanka
fa4bda70c3 Merge "Update BatteryStatsImpl to track per-procstate cpu times." 2017-12-21 03:51:40 +00:00
TreeHugger Robot
0be794a14c Merge "Add more methods to RecoverableKeyStoreLoader." 2017-12-21 02:01:15 +00:00
TreeHugger Robot
bd55ffc0f6 Merge "Support new Autofill session after service returns a null FillResponse." 2017-12-21 02:00:56 +00:00
TreeHugger Robot
1edc6a3c28 Merge "Implement startRecoverySession" 2017-12-21 01:27:18 +00:00
TreeHugger Robot
da8d32efbb Merge changes from topic "work_mode_api1"
* changes:
  Add access control to trySetWorkModeEnabled and make it public
  Merge setQuietModeEnabled and trySetQuietModeDisabled into one API
2017-12-21 01:20:28 +00:00
Felipe Leme
bbfed90230 Added @TestApi on new Autofill settings for field classification.
Test: atest CtsAutoFillServiceTestCases:FieldsClassificationTest CtsAutoFillServiceTestCases:UserDataTest

Bug: 70407264

Change-Id: Ia4413e5aa8973bafa0149093c6c17602dd498ae5
2017-12-20 16:16:45 -08:00
Dan Cashman
636ea5e888 Add plsCertsNoVerifyOnlyCerts to ApkSignatureVerifier.
There are currently two conceptual operations performed by PackageParser
while parsing APKs: collecting certificates and verifying them.
ApkSignatureVerifier relies on the systemDir flag to indicate whether or
not it should do a full verification of a package, but this only applies
when verifying V1 (jar signed) APKs.  This distinction should be explicitly
made.  This creates cleaner code and also saves time when verifying V2
signed systemDir APKs.

Bug: 64686581
Test: Builds, boots, passes
android.appsecurity.cts.PkgInstallSignatureVerificationTest.

Change-Id: Ie8a0f8cad3dd8f70da791f2f1f4516e84e2ae4d0
2017-12-20 16:02:51 -08:00
Hugo Benichi
824565dfba MacAddress: address api review comments
1) toSafeString() is renamed to toOuiString()
2) toOuiString() returns a String that only contains the first 3 bytes
   of the mac address.

Bug: 70336442
Test: runtest frameworks-net
Change-Id: I798d8fec32dbff5687a682028e5d90eb941f81c1
Merged-In: I798d8fec32dbff5687a682028e5d90eb941f81c1

(cherry pick from commit a0ecf38d30)
2017-12-21 08:34:05 +09:00
TreeHugger Robot
247791f9ce Merge "Allow hover tooltips for disabled views." 2017-12-20 23:15:51 +00:00
Arthur Ishiguro
10f8ce4be5 Renames setCallbackOnComplete method in ContextHubTransaction
setOnCompleteCallback seems easier to understand.

Bug: 67734082
Test: None
Change-Id: Ie1eb63dc5b90a35e847bd5d2a350f97ca277342d
2017-12-20 15:00:01 -08:00
Siddharth Ray
a1fd057c85 Obtain cellular related battery statistics
API to obtain cellular battery stats for power
drain diagnostics.

Test: Manual

BUG:67647477
Change-Id: Iffdb1471cd55847b6454313c94497ab2cd6533cc
2017-12-20 14:56:29 -08:00
Felipe Leme
23c75ffdae New Autofill API:AutofillManager.getAutofillServiceComponentName()
Also minor fixes on isFieldClassificationEnabled() to make sure it's ignored
when not called by the service app and its calls are properly synchronized.

Test: atest CtsAutoFillServiceTestCases:LoginActivityTest#testGetAutofillServiceComponentName

Fixes: 70678279

Change-Id: I58ccb313d22c30af907f3da62f727f067240fa66
2017-12-20 14:02:17 -08:00
George Mount
1c9b3136f7 Add TestApi to disable the TextClock clock tick.
Bug: 70771205

In order to test TextClock being only updated by the 12/24
hour setting, we must disable the clock tick from causing
the text to change. Otherwise whenever the minute changes,
the clock text would update. This leads to a flaky test.

Test: I4917a2296744697f1b50a17e3c5eb5873d567a47
Change-Id: Ifb669af3e6b882eb7c158b7de16e7eb2f0c48f61
2017-12-20 13:54:39 -08:00
Robert Berry
e16fa98a9e Implement startRecoverySession
Test: adb shell am instrument -w -e package com.android.server.locksettings.recoverablekeystore com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I25e99f6014ef5e831420367040de7e1a80f134f0
2017-12-20 21:24:38 +00:00
Mady Mellor
cdba028b5d Merge "Add subtype for priority" 2017-12-20 21:16:17 +00:00
TreeHugger Robot
5bebd1e932 Merge "Unhide HINT_HIDDEN from slices api and rename to HINT_SHORTCUT" 2017-12-20 21:04:38 +00:00
TreeHugger Robot
2756ddb85d Merge "Communicate relevantEvents=0 for packages excluded from whitelist" 2017-12-20 20:40:57 +00:00
TreeHugger Robot
aa91b0d180 Merge "Improve Fragment+Loader deprecation Javadoc" 2017-12-20 20:08:28 +00:00
Dmitry Dementyev
b8b030bdbb Add more methods to RecoverableKeyStoreLoader.
1) Methods to get key status.
2) Register pending intent to get notification about new recovery
snapshots.

Test: none
Bug: 66499222
Change-Id: I4d5f8c1a6581b5e08f4589e19961d93c499689e1
2017-12-20 12:07:24 -08:00
Hansong Zhang
b06bb2186a BluetoothHidDevice: rename onIntrData to onInterruptData (1/5)
Bug: 63384609
Test: make
Merged-In: I3b55f7383d2a84162d681ebf3740ddc9e8a55bbb
Change-Id: I3b55f7383d2a84162d681ebf3740ddc9e8a55bbb
(cherry picked from commit 42324278bf)
2017-12-20 11:10:53 -08:00
Fan Zhang
b0a15b6d18 Enable settings search v2 experiement
Test: FeatureFlagUtilsTest
Change-Id: I6008cdbf4e0ba2e0351e5859dd178fe7a5a83200
2017-12-20 11:07:49 -08:00
TreeHugger Robot
6b93e3931e Merge "BluetoothHidDevice: rename onIntrData to onInterruptData (1/5)" 2017-12-20 19:02:49 +00:00
Phil Weaver
348bd7191f Merge "Make accessibility anchor id a long" 2017-12-20 19:02:40 +00:00
Mady Mellor
ca8e884b85 Add subtype for priority
Intended to use with SliceItem type int to note the priority of an item
(such as an action) within a template.

Test: none
Bug: 68378561
Change-Id: I109adf4ea77638b7d27f3aaa7f8eb1c325287f0c
2017-12-20 10:45:36 -08:00
Eugene Susla
4b7c919e72 Communicate relevantEvents=0 for packages excluded from whitelist
Together with checking isObservableEventType this will result in a11y events
not being generated for packages that are excluded form a11y-service(s)
package whitelist

Test: cts-tradefed run singleCommand cts -d --module CtsAccessibilityServiceTestCases
Change-Id: Id65607aaccc7af7d870d009d609917ff3c6d0712
2017-12-20 10:41:12 -08:00
Ian Lake
1f4e67b6e1 Improve Fragment+Loader deprecation Javadoc
Make it clear that the framework versions of
Fragments and Loaders should be replaced with their
identically named versions in the Support Library.

Reference the recent work on Lifecycle as an example
of a Support Library only change that should motivate
developers to switch to the Support Library
equivalents.

Test: Reviewed new Javadoc
BUG: 70336450
Change-Id: I93151fa0a316bba824c2e55f80f7de9d30bed3c6
2017-12-20 18:16:40 +00:00
Andrew Solovay
0472643736 doc: Fixing Javadoc formatting problems.
No code changes, just fixing typos in the doc comments.

Doc is staged to:

http://go/dac-stage/reference/android/service/autofill/AutofillService.html
http://go/dac-stage/reference/android/service/autofill/FillRequest.html

Test: make ds-docs
Bug: 70812346
Merged-In: Ia76121c60197275c6be1717c8003fe1c4baf5f97
Change-Id: I5ee04bb96234441c5740665540b5e803fcf9710f
2017-12-20 18:08:46 +00:00
TreeHugger Robot
518d202413 Merge "Cherrypick from from oc-mr1-dev doc: Fixing Javadoc formatting. Original-Change-Id: I5ee04bb96234441c5740665540b5e803fcf9710f" 2017-12-20 18:06:17 +00:00