Commit Graph

2661 Commits

Author SHA1 Message Date
Julia Reynolds
58949f6da8 Merge "Provide more specific notification cancelation reasons" 2021-03-19 21:23:45 +00:00
Branden Archer
2e41d9372b Merge "Allow PO to enable security logging on work profile" into sc-dev am: 30491b1daf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13744888

Change-Id: I89d18d88338c7078cc2399b5377f52ad25f576c2
2021-03-19 20:37:47 +00:00
Branden Archer
30491b1daf Merge "Allow PO to enable security logging on work profile" into sc-dev 2021-03-19 20:24:30 +00:00
Julia Reynolds
f4a9e3ca36 Merge "Be more specific about media statuses" into sc-dev am: e363bcdbfa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13922147

Change-Id: I4071ab8786478e1a53ce630eef43df432f0e424e
2021-03-19 19:17:01 +00:00
Julia Reynolds
e363bcdbfa Merge "Be more specific about media statuses" into sc-dev 2021-03-19 19:01:23 +00:00
Kevin Chyn
d09c443146 Merge "Add BiometricPrompt.Builder#setAllowBackgroundAuthentication TestApi" into sc-dev am: 2fc40ea719
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13920971

Change-Id: I638b532b23bed81721b6745ad29a4091e3ecc08c
2021-03-19 17:42:19 +00:00
Kevin Chyn
2fc40ea719 Merge "Add BiometricPrompt.Builder#setAllowBackgroundAuthentication TestApi" into sc-dev 2021-03-19 17:26:18 +00:00
Julia Reynolds
81b4a6c77c Provide more specific notification cancelation reasons
For S+ apps

Test: CTS
Fixes: 175319604
Change-Id: I836b6632007224381a181add54e3c36a39466d4b
2021-03-19 17:03:39 +00:00
Julia Reynolds
eb1698b1d3 Be more specific about media statuses
Test: atest ConversationStatusTest
Fixes: 183130972
Change-Id: I0d05619bface3ff633c3bf4c02f8b7bf01876fe8
2021-03-19 15:24:16 +00:00
Wei Sheng Shih
b7a382544b Merge "Add API windowSplashScreenIconBackground(12/N)" into sc-dev am: 370868599b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13692971

Change-Id: I532947f60046892f77f01807ca87e04a7e361e49
2021-03-19 11:49:15 +00:00
TreeHugger Robot
ce040f416a Merge "Defined trigger result structures for positive / negative hotword triggers." into sc-dev am: 4c460aca40
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13853268

Change-Id: I3c0eac42bfa97cc8fb3726634f3d31ceada27d68
2021-03-19 11:46:43 +00:00
Wei Sheng Shih
370868599b Merge "Add API windowSplashScreenIconBackground(12/N)" into sc-dev 2021-03-19 11:44:37 +00:00
TreeHugger Robot
4c460aca40 Merge "Defined trigger result structures for positive / negative hotword triggers." into sc-dev 2021-03-19 11:24:29 +00:00
Andy Hung
faba8616eb Merge "AudioTrack: get/setStartThresholdInFrames" into sc-dev am: 45d9b3b7fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13902345

Change-Id: I94629f9533435f6ecdb3a6dd3b2b4c0a4c858918
2021-03-19 07:25:18 +00:00
Andy Hung
45d9b3b7fb Merge "AudioTrack: get/setStartThresholdInFrames" into sc-dev 2021-03-19 07:07:25 +00:00
Kevin Han
3c753aedf7 Merge "Add MANAGE_APP_HIBERNATION permission" into sc-dev am: 44a573f76d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13909632

Change-Id: I4d428ebbf7a2bd072712aab94528a1e5db4ff058
2021-03-19 06:45:24 +00:00
Kevin Han
44a573f76d Merge "Add MANAGE_APP_HIBERNATION permission" into sc-dev 2021-03-19 06:35:22 +00:00
Haining Chen
687a1bfcba Merge "Add biometric component info and face type into SensorPropertiesInternal" into sc-dev am: 82a38b099e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13793823

Change-Id: I32943a83c6da27d83702cc85b69b00dc48fa44c7
2021-03-19 04:02:57 +00:00
Haining Chen
82a38b099e Merge "Add biometric component info and face type into SensorPropertiesInternal" into sc-dev 2021-03-19 03:49:10 +00:00
wilsonshih
a4c6d8f828 Add API windowSplashScreenIconBackground(12/N)
Add new API for developer to customize starting window, set a
background color behind the icon.

Also masking the AVD and icon background like AdaptiveIconDrawable.

Ref doc: go/improved_app_launch_animations

Bug: 73289295
Test: atest SplashscreenTests
Change-Id: Ibba49ecc3ca020022cf775fed302e383908be327
2021-03-19 11:23:56 +08:00
Kevin Chyn
8115bfc791 Add BiometricPrompt.Builder#setAllowBackgroundAuthentication TestApi
By default, auth via BiometricPrompt is not allowed unless the
caller is foreground. However, for cases like CTS, which may request
auth from the test itself (and not a test activity, which has no
way of getting access to protected TestApis), auth is requested
from background.

This would also allow us to easily add regression tests for the
security bug b/159249069

Bug: 163058911
Test: atest CtsBiometricsTestCases
Test: atest com.android.server.biometrics
Change-Id: I74bfdcd7989aa9256d1bf10eefae354983b42e6c
2021-03-18 18:52:00 -07:00
SongFerng Wang
c1f7e65041 Merge "KEY_CARRIER_NR_AVAILABILITIES_INT_ARRAY change type as IntArray" into sc-dev am: 026fa948ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13835347

Change-Id: I24b8cf474b9a81265495a02fe70a85b4c0e5a1fe
2021-03-19 01:49:29 +00:00
Daniel Huang
d830a0620e Merge "Add configs for IMS Service Entitlement." into sc-dev am: 408440ed54
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13738525

Change-Id: Ifea262e375dde5c07fd2af2204b7890f5c56d9a0
2021-03-19 01:48:47 +00:00
TreeHugger Robot
55de27b3b7 Merge "Add the intent to navigate to MANAGE_MEDIA permission page" into sc-dev am: b50b960b35
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13824706

Change-Id: I2ec5997485ddbde14a42db6ab616659f71d34b0a
2021-03-19 01:47:24 +00:00
SongFerng Wang
026fa948ae Merge "KEY_CARRIER_NR_AVAILABILITIES_INT_ARRAY change type as IntArray" into sc-dev 2021-03-19 01:28:31 +00:00
Daniel Huang
408440ed54 Merge "Add configs for IMS Service Entitlement." into sc-dev 2021-03-19 01:22:57 +00:00
TreeHugger Robot
b50b960b35 Merge "Add the intent to navigate to MANAGE_MEDIA permission page" into sc-dev 2021-03-19 01:00:40 +00:00
Kevin Chyn
9f8ed88855 Merge "Add BiometricPrompt.Builder#setAllowedSensorIds TestApi" into sc-dev am: be59c0b015
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13911582

Change-Id: I8f2ad3f678af159ae2a62259cbf5a2d365efc0c2
2021-03-19 00:08:00 +00:00
Kevin Han
7d14fde4f4 Add MANAGE_APP_HIBERNATION permission
Add permission for app hibernation state manipulation.

Bug: 183058954
Test: run hibernation job and confirm the API works for
PermissionController

Change-Id: Id57ee57f49710d0b8a49a4ec561800db43089f87
2021-03-18 17:02:25 -07:00
Kevin Chyn
be59c0b015 Merge "Add BiometricPrompt.Builder#setAllowedSensorIds TestApi" into sc-dev 2021-03-18 23:55:00 +00:00
Sergey Volnov
b481d8c8f7 Defined trigger result structures for positive / negative hotword
triggers.

CTS-Coverage-Bug: 182788844
Bug: 168305377
Test: N/A committing data classes.
Change-Id: I9838d569b7cd4868d4b319a6c627f9215c71a489
2021-03-18 23:37:59 +00:00
Shuo Qian
405df3c983 Merge "Add push mechanism in DPM for ConnecitivityService Remove DPM.isNetworkSlicingEnabledForUser" into sc-dev 2021-03-18 22:55:21 +00:00
Amit Mahajan
5e01b0d82a Merge "Rename SliceInfo to NetworkSliceInfo." into sc-dev am: 463ec227c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13837768

Change-Id: I45b1ab49d72038bdf7b8192fec2fe468e872cf13
2021-03-18 22:17:02 +00:00
Shuo Qian
0c3d39fea6 Add push mechanism in DPM for ConnecitivityService
Remove DPM.isNetworkSlicingEnabledForUser

Test: Unit test added but commented; atest DevicePolicyManagerTest
Bug: 178655595
Change-Id: I77d1996f33b017221a14799e71f2df2123f99b32
Merged-In: I77d1996f33b017221a14799e71f2df2123f99b32
2021-03-18 22:15:00 +00:00
TreeHugger Robot
1632be4403 Merge "Add Executor param to TSM#newSpellCheckerSession()." into sc-dev am: c95396e1c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13612497

Change-Id: Ic40e4e67c54fbe274ec4e6bb4528de986d5bb4c4
2021-03-18 22:04:00 +00:00
TreeHugger Robot
c271c97e08 Merge "Return an empty list instead of null." into sc-dev am: df786ca150
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13908126

Change-Id: I0a24e6851337fc159a2b87e71d3d6a8b62121fc2
2021-03-18 22:03:35 +00:00
Benedict Wong
e9f3163fa5 Merge "Hide required underlying caps APIs" am: d4b7104f7b am: ead4d8c3b4 am: cf2a7d9324 am: 6456c828a2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1634485

Change-Id: Ib2fd7d61fe9d05fb28fc59deb3384a0a0330c946
2021-03-18 22:03:22 +00:00
Lorenzo Colitti
2bcaeef5c6 Merge "Add a VpnManager.TYPE_VPN_OEM." am: 9794a9444e am: 630a52226f am: 6de50c8008 am: 9eb2c374a2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1644265

Change-Id: Ie409bd0ead5fb6f7d9f32a8a9f1e1c6ca40b8541
2021-03-18 22:00:09 +00:00
Amit Mahajan
463ec227c6 Merge "Rename SliceInfo to NetworkSliceInfo." into sc-dev 2021-03-18 20:20:13 +00:00
Kevin Chyn
f8e775a357 Add BiometricPrompt.Builder#setAllowedSensorIds TestApi
Bug: 163058911
Test: atest CtsBiometricsTestCases
Change-Id: I7007e6f9803051b43d4d4909e210f3b6013b5538
2021-03-18 12:58:10 -07:00
TreeHugger Robot
c95396e1c8 Merge "Add Executor param to TSM#newSpellCheckerSession()." into sc-dev 2021-03-18 19:28:07 +00:00
TreeHugger Robot
df786ca150 Merge "Return an empty list instead of null." into sc-dev 2021-03-18 18:34:16 +00:00
Benedict Wong
6456c828a2 Merge "Hide required underlying caps APIs" am: d4b7104f7b am: ead4d8c3b4 am: cf2a7d9324
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1634485

Change-Id: I4744802196afc856eb81ac830c51c2af923e0727
2021-03-18 18:32:58 +00:00
Lorenzo Colitti
9eb2c374a2 Merge "Add a VpnManager.TYPE_VPN_OEM." am: 9794a9444e am: 630a52226f am: 6de50c8008
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1644265

Change-Id: I512785d414fcfd4819cdf26ff3c3403c049db475
2021-03-18 18:25:54 +00:00
Andy Hung
1c34209969 AudioTrack: get/setStartThresholdInFrames
setStartThresholdInFrames is used to set the start threshold
in frames for streaming AudioTrack playback.
Normally this is the entire buffer capacity in frames
but may be reduced for low latency playback,
compressed formats, and direct tracks.

See CTS test AudioTrackTest#testStartThresholdInFrames
for example calling details and behavior.

Test: atest AudioTrackTest#testStartThresholdInFrames
Test: atest AudioTrackTest#testStartThresholdInFramesExceptions
Bug: 183003720
Change-Id: I5064d04961e48b530c49071ff84c2e0d2065f41b
2021-03-18 11:20:02 -07:00
Kholoud Mohamed
e8f2973045 Merge "Add a new broadcast to notify when dpm constants change" into sc-dev am: b9f9e6fbac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13614953

Change-Id: I9c67ebef11d90179df2d0e7874703daf51e2a480
2021-03-18 17:26:15 +00:00
Benedict Wong
ead4d8c3b4 Merge "Hide required underlying caps APIs" am: d4b7104f7b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1634485

Change-Id: I46abe41479e04688a45e72de5ce4d77882057ef1
2021-03-18 17:15:50 +00:00
Benedict Wong
d4b7104f7b Merge "Hide required underlying caps APIs" 2021-03-18 17:05:37 +00:00
Kholoud Mohamed
b9f9e6fbac Merge "Add a new broadcast to notify when dpm constants change" into sc-dev 2021-03-18 17:02:55 +00:00
Anthony Stange
677f4420b9 Merge "Revert "Add an API to listen for changes in network blocked status of an uid."" 2021-03-18 16:52:08 +00:00