Commit Graph

86371 Commits

Author SHA1 Message Date
Andreas Gampe
627da5b264 Merge "Debug: Add attachJvmtiAgent with classloader" am: 940c0341f0 am: 878abd8e91
am: 03eb67c287

Change-Id: Ib3b8b14907253b3438588fda8b5059f61b5594cf
2018-01-22 20:14:49 +00:00
Benedict Wong
77dad60634 Merge "Rename create/delete transform methods" am: 7ee26e72cf am: 5b71c4a0a5
am: 5b3e788908

Change-Id: Ie07b0b608b3dfcbfc4228a15e26fe6f6559315f9
2018-01-22 20:03:48 +00:00
Andreas Gampe
03eb67c287 Merge "Debug: Add attachJvmtiAgent with classloader" am: 940c0341f0
am: 878abd8e91

Change-Id: I862a822ef7600030f7b435fe9b9368961cf4694b
2018-01-22 20:01:18 +00:00
TreeHugger Robot
db0e05e576 Merge "Don't use user-tagged Uris in slice callbacks" 2018-01-22 20:00:30 +00:00
Yin-Chia Yeh
0c9f1e5ff5 Merge "Camera: codegen spec update" 2018-01-22 19:55:20 +00:00
Benedict Wong
5b3e788908 Merge "Rename create/delete transform methods" am: 7ee26e72cf
am: 5b71c4a0a5

Change-Id: I16bfb511ac2d6094e246f79d51fe4520d3e765cd
2018-01-22 19:53:15 +00:00
Andreas Gampe
878abd8e91 Merge "Debug: Add attachJvmtiAgent with classloader"
am: 940c0341f0

Change-Id: I0c9179b373040e7d4f54a5ad9835d14624012999
2018-01-22 19:48:28 +00:00
Benedict Wong
5b71c4a0a5 Merge "Rename create/delete transform methods"
am: 7ee26e72cf

Change-Id: I76576d1f3193fcbb3680fb29893cf696ea7a41fe
2018-01-22 19:44:43 +00:00
Vladislav Kuzkokov
ea4e107ada Merge "Unhide printing policy API." 2018-01-22 19:16:48 +00:00
Treehugger Robot
940c0341f0 Merge "Debug: Add attachJvmtiAgent with classloader" 2018-01-22 18:22:07 +00:00
Nancy Zheng
d57c1df388 Merge "Add setting/experiment for small battery devices to have all forced app standby enabled except for when the device is charging." 2018-01-22 17:59:35 +00:00
Benedict Wong
7ee26e72cf Merge "Rename create/delete transform methods" 2018-01-22 17:57:15 +00:00
TreeHugger Robot
9bc9d4ce0b Merge "Added @NonNull to Instrumentation.startActivitySync" 2018-01-22 17:02:28 +00:00
Allen Webb
e3f5fdfa9c Merge "base: core: java: android: security: keymaster: Synced with updates to keymaster HAL." 2018-01-22 16:29:59 +00:00
Jason Monk
74848ae43f Don't use user-tagged Uris in slice callbacks
Test: uiservicestests
Bug: 68751119
Change-Id: I440400b20bb6d89d5e066efab420a6afee0ad123
2018-01-22 11:11:31 -05:00
Wale Ogunwale
2632c97c9b Added @NonNull to Instrumentation.startActivitySync
Per API council recommendation.

Change-Id: Ib45381278a2bf7f3d1d2c68b84422a645bd706e3
Fixes: 71584604
Test: N/A
2018-01-22 06:54:48 -08:00
Artem Iglikov
45354354a5 Merge "Revert "Add accessibility support for tooltips"" 2018-01-22 13:56:10 +00:00
Przemyslaw Szczepaniak
995165c853 Merge "Revert "Reject apks targeting deprecated sdk"" 2018-01-22 13:47:15 +00:00
Przemyslaw Szczepaniak
aef1221d25 Revert "Reject apks targeting deprecated sdk"
This reverts commit ab223112d1.

Reason for revert: Android P will only show a warning dialog for
deprecated apks.

Test: -
Change-Id: Iff792b9d371cffbb0ba0d2ba53a4758a9779b1c7
2018-01-22 11:09:44 +00:00
Artem Iglikov
b43225adf3 Revert "Add accessibility support for tooltips"
This reverts commit 4365cef6dd.

Reason for revert: Cannot access views by resource-id via uiautomator

Bug: 72271943

Change-Id: I5e07a8c5775aa79df0c240b2133daaf62f6d460b
2018-01-22 09:53:59 +00:00
TreeHugger Robot
3c365cb21d Merge "Policy transparency for mandatory backups." 2018-01-22 09:17:50 +00:00
TreeHugger Robot
2537932fb1 Merge "No camera for idle uids - framework" 2018-01-21 19:27:26 +00:00
Jason Monk
93eb9243e6 Merge "Revert "Revert "Slices permission model""" 2018-01-21 18:53:04 +00:00
Jason Monk
e8f8be7698 Revert "Revert "Slices permission model""
This reverts commit 1214c878a8.

Test: boot device
Bug: 72270082
Bug: 68751119
Change-Id: I7d0e709a04ffeb8b877aef539a978ee251a75742
2018-01-21 11:53:28 -05:00
Lorenzo Colitti
ca74e23b02 Merge changes from topic "multipath-datausage"
* changes:
  Add the defaultNetwork element to the netstats.proto.
  Add getDefaultNetwork to the NetworkStats public API.
2018-01-21 16:07:29 +00:00
TreeHugger Robot
6ebcfe3109 Merge "Revert "Slices permission model"" 2018-01-21 13:14:37 +00:00
Artem Iglikov
1214c878a8 Revert "Slices permission model"
This reverts commit f762496b7f.

Reason for revert: continuous crash, blocks LON from working on master

Test: flashed build from TreeHugger and verified that it boots and doesn't crash anymore
Bug: 72270082
Change-Id: I68d771357488c5c17ab00803d8f51a6c7ed37d01
2018-01-21 13:09:23 +00:00
Svet Ganov
82f09bcf93 No camera for idle uids - framework
If a UID is idle (being in the background for more than
cartain amount of time) it should not be able to use the
camera. If the UID becomes idle we generate an eror and
close the cameras for this UID. If an app in an idle UID
tries to use the camera we immediately generate an error.
Since apps already should handle these errors it is safe
to apply this policy to all apps to protect user privacy.

Test: Pass - cts-tradefed run cts -m CtsCameraTestCases
      Added - CameraTest#testCameraAccessForIdleUid

Change-Id: If6ad1662f2af6592b6aca1aeee4bd481389b5e00
2018-01-21 02:55:49 -08:00
TreeHugger Robot
6e3be00778 Merge "Slices permission model" 2018-01-21 03:31:27 +00:00
Mike Digman
b1f6ddc3ce Merge "Send valid and invalid rotation proposal changes to SysUI" 2018-01-21 02:23:43 +00:00
Jason Monk
f762496b7f Slices permission model
- Launcher/assistant get access to all slices
 - Apps with uri access to access a specific slice
 - Apps without access get a permission granting slice
 - If the user authorizes access to the slice for the app
   then the app will be granted access to the app's slices
   (this happens through a temp grant in the service, and a
   full uri grant from the app the next time it binds)
 - Add a hint that apps to add to allow them to return different
   slices depending on the caller, this allows custom permission
   checks.

Test: runtest --path frameworks/base/services/tests/uiservices
Bug: 68751119
Change-Id: I8f8cd0182cfcbfba3f307e2eaba5aae6f6fbe214
2018-01-20 20:35:31 -05:00
TreeHugger Robot
d931b34944 Merge "Add new HardwareBuffer usages and formats." 2018-01-20 16:42:51 +00:00
TreeHugger Robot
31078d777c Merge "Split string properly in package name validator" 2018-01-20 16:24:30 +00:00
Michal Karpinski
29a7472974 Split string properly in package name validator
Test: atest frameworks/base/core/tests/coretests/src/android/provider/SettingsValidatorsTest.java
Bug: 64988620
Change-Id: I35b93a9ba317dc31494bffb7ad3576ad7290220f
2018-01-20 14:31:29 +00:00
Sudheer Shanka
4fc5ee4c07 Merge "Load admin data in DPMS asynchronously during boot." 2018-01-20 08:26:32 +00:00
Qingxi Li
3925860658 Merge "Change RecoverySystem#wipeEuiccData to public" 2018-01-20 06:20:02 +00:00
Phil Weaver
db28e90bde Merge "Add accessibility support for tooltips" 2018-01-20 05:13:38 +00:00
Felipe Leme
ebfd1e26f0 Merge "Minor API changes on Autofill Field Classification:" 2018-01-20 05:01:43 +00:00
Felipe Leme
c560ecc64c Merge "Implemented getAlgorithm() and getDefaultAlgorithm() using manifest metadata." 2018-01-20 04:59:23 +00:00
Phil Weaver
aa993a65b5 Merge "Add a11y action to take screenshot" 2018-01-20 02:56:04 +00:00
TreeHugger Robot
0116f7cbe4 Merge "No sensor access to idle UIDs - framework" 2018-01-20 01:37:29 +00:00
TreeHugger Robot
f74e56af8c Merge "Update JavaDoc for BackgroundColorSpan and ForegroundColorSpan." 2018-01-20 01:00:54 +00:00
TreeHugger Robot
dd05c12f67 Merge "Double the battery history size on userdebug/eng" 2018-01-20 00:26:24 +00:00
Phil Weaver
d0429743fa Add a11y action to take screenshot
Bug: 70392997
Test: Adding unit test for functionality, cts test
for presence of api.

Change-Id: Ib5bc2217e1d29f527db0f0fadb69fd8249d6c279
2018-01-19 15:43:53 -08:00
TreeHugger Robot
3a29ce00bd Merge "ApkSignatureVerifier: expose verity interfaces" 2018-01-19 23:33:07 +00:00
Nancy Zheng
525aaa13dc Add setting/experiment for small battery devices to have
all forced app standby enabled except for when the device
is charging.

Reverting the revert of this CL. The only change is to use
EXTRA_PLUGGED instead of EXTRA_STATUS in detecting charging
state. Verified that this passes CTS test for battery saver.

Bug: 69259147
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/ForceAppStandbyTrackerTest.java
Test: atest CtsBatterySavingTestCases
Change-Id: I4f3ffc0c865a1a3a035b6d9d6838b5056b666eb9
2018-01-19 15:27:42 -08:00
Yi Jin
d1238e7b50 Merge "Fix permissions problems of incidentd." 2018-01-19 23:27:32 +00:00
TreeHugger Robot
9c68323763 Merge "Fix buffer overflow when the last chunk is 4kb" 2018-01-19 23:08:15 +00:00
Tomasz Wasilczyk
e8caa3bc5c Merge "Update ProgramSelector to match HAL 2.0." 2018-01-19 22:51:47 +00:00
Makoto Onuki
44d6460b50 Double the battery history size on userdebug/eng
Bug: 67297625
Test: Build & boot. (we experimented with the factor of 4 previously on OMR1.)
Change-Id: Ie03c31ade89c76efd05e907a5a0b74942e3f3df5
2018-01-19 14:26:22 -08:00