Commit Graph

6139 Commits

Author SHA1 Message Date
Roopa Sattiraju
5e5a59183b Merge "API changes requires for Bluetooth apk inside the apex to build." 2022-01-30 18:03:50 +00:00
Alex Buynytskyy
a7f7cd8970 Merge "SDK -> SDK_PACKAGE to address API feedback." 2022-01-30 01:26:08 +00:00
Kenneth Ford
3523eab795 Merge changes from topic "device_state_manager"
* changes:
  Rename cancelRequest API to cancelStateRequest and remove the request parameter
  Updates OverrideRequestController to allow for one override request at max
2022-01-29 22:54:38 +00:00
Roopa Sattiraju
8eddbdb7f4 Merge "API changes requires for Bluetooth apk inside the apex to build." 2022-01-29 18:41:36 +00:00
TreeHugger Robot
6193b1f659 Merge "Expose 1010102 config for bitmap" 2022-01-29 17:51:09 +00:00
Grace Cheng
7d6a92400c Merge "Adds LOCATION_BYPASS permission." 2022-01-29 12:43:28 +00:00
Etienne Ruffieux
4a4797cbc1 Merge "Making CursorWindowAllocationException public" 2022-01-29 10:29:29 +00:00
Etienne Ruffieux
fa43f240c4 Merge "Moving bt stats logging to BatteryStats." 2022-01-29 10:27:49 +00:00
TreeHugger Robot
856cc8c570 Merge "Add pendingIntent to FillRequest to enable retriggering" 2022-01-29 07:00:55 +00:00
Junyu Lai
45e6bebaed Merge "[MS59.3] Expose NetworkStatsDataMigrationUtils" am: 853b6f6ede am: cfb860d019 am: 7cdd324483 am: 9beb86bd45
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1961599

Change-Id: Ie96aa4f519816b3c76f6f9e4dc2400070f4d326b
2022-01-29 05:26:20 +00:00
Junyu Lai
9beb86bd45 Merge "[MS59.3] Expose NetworkStatsDataMigrationUtils" am: 853b6f6ede am: cfb860d019 am: 7cdd324483
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1961599

Change-Id: I4951b6ce5f949246be7b247f9b4ab92b2a9de721
2022-01-29 05:05:29 +00:00
Junyu Lai
853b6f6ede Merge "[MS59.3] Expose NetworkStatsDataMigrationUtils" 2022-01-29 03:55:41 +00:00
Kenneth Ford
f18a8b8534 Rename cancelRequest API to cancelStateRequest and remove the
request parameter

With the change to only having one override request at a time,
we can simplify the cancelRequest API in DeviceStateManager
to not require a request object and have the current
override request canceled. This API is still gated
around having the CONTROL_DEVICE_STATE permission or being the
top level app.

Bug: 215400374
Test: DeviceStateManagerGlobalTest, DeviceStateManagerServiceTest &&
 OverrideRequestControllerTest
Change-Id: I565b608372c21384d401db502b16553ed85b86ee
2022-01-29 01:41:43 +00:00
Roopa Sattiraju
f2675c7315 API changes requires for Bluetooth apk inside the apex to build.
Bug: 216731966
Test: atest BluetoothInstrumentationTests
Change-Id: Idc16950373e0d90f77f1abc743127a25c09db03d
2022-01-29 00:23:58 +00:00
Hui Wu
8a0a4e6daf Merge "Changes the name from cloudsearch_service to cloudsearch" 2022-01-29 00:19:29 +00:00
Etienne Ruffieux
4c1c4ee37e Making CursorWindowAllocationException public
Exposing CursorWindowAllocationException to access it
from Bluetooth PBAP.

Tag: #feature
Bug: 211851706
Test: manual
Change-Id: I9a2c4217e5556f7b8ab10c3884a0d3e9b6a4fe36
2022-01-28 23:53:48 +00:00
Roopa Sattiraju
45de470c9e API changes requires for Bluetooth apk inside the apex to build.
Bug: 216731966
Test: Compile and Test
Change-Id: Ia9c09fb9ca83141419c9f41ef5c248385fb5a9c0
2022-01-28 15:19:23 -08:00
Salud Lemus
c117711232 Merge "Use device owner type to restrict a financed device owner" 2022-01-28 22:16:54 +00:00
Dave McCloskey
3fc735da92 Merge "Changes to support adding CTS Test TrustTestCases." 2022-01-28 19:55:11 +00:00
Salud Lemus
ad99d7570b Use device owner type to restrict a financed device owner
The restriction is to limit the APIs a financed device owner can
call.

Bug: 215754643
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest

Change-Id: Ic38b50d7388b277ad74d2c22182bc1e711a1aea4
2022-01-28 10:53:44 -08:00
Maurice Lam
a98953fd6f Merge "Unhide VDM API to allow / block specific activities" 2022-01-28 18:09:33 +00:00
Alex Buynytskyy
408108c380 SDK -> SDK_PACKAGE to address API feedback.
+documentation updated,
+don't load SDKs automatically.

Bug: 208096588
Bug: 210622326
Test: presubmit
Change-Id: I52efce96111ba72a788404f5eca92da2554fc807
2022-01-28 17:39:59 +00:00
Hui Wu
41f68c7d13 Changes the name from cloudsearch_service to cloudsearch
CTS-Coverage-Bug: 210528288
Bug: 216507592
Test: RBE Built redfin-eng and tested on a physical device
Change-Id: Ic9505f659befa01938b413e1e1944c3aaa0e8a0c
2022-01-28 09:28:48 -08:00
Etienne Ruffieux
5166da8664 Moving bt stats logging to BatteryStats.
Tag: #feature
Bug: 211851706
Test: manual
Change-Id: I7e40b64eaa334792dd409837fb9f512714f65eec
2022-01-28 17:16:50 +00:00
skxu
ac9836b49e Add pendingIntent to FillRequest to enable retriggering
Bug: 190232037
Test: atest DelayFillTest
Change-Id: Ic224958c51d531b1d0de091ab9e2bf12756d8d0e
2022-01-28 16:21:24 +00:00
Felipe Leme
11ef3cc33c Merge "Improves dump() to handle special cases." 2022-01-28 15:57:19 +00:00
Antoan Angelov
7cb84c79f3 Merge "Protect getPersistentDataPackageName with ACCESS_PDB_STATE" 2022-01-28 14:32:07 +00:00
Pablo Gamito
d72672e545 Merge "Add option to override background color for animation through overridePendingTransition" 2022-01-28 14:26:11 +00:00
Lalit Maganti
d145d12784 Merge "base: add support for routing traces to reporters" am: 3a24d6bffb am: 26a716c74e am: a70c08c6f5 am: 8df5573e81
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1918624

Change-Id: I3831fc11a7c105177256fe4f3e0fad53f03da319
2022-01-28 13:21:32 +00:00
Lalit Maganti
8df5573e81 Merge "base: add support for routing traces to reporters" am: 3a24d6bffb am: 26a716c74e am: a70c08c6f5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1918624

Change-Id: I99d8f5456585dceda748857f525a2eee8c73a337
2022-01-28 13:07:19 +00:00
Robert Horvath
5dfac22224 Merge changes from topics "low-power-standby-api", "lps-wakelock-testapi"
* changes:
  Add API to configure LPS maintenance mode behavior
  Add TestApi to force Low Power Standby to be active
  Add TestApi wakelock flag to have system acquire wakelock
  Allowlist active voice interaction session from Low Power Standby
  Introduce Low Power Standby API and wakelock restrictions
2022-01-28 12:27:05 +00:00
junyulai
07c4c8657d [MS59.3] Expose NetworkStatsDataMigrationUtils
Test: TH
Bug: 204830222
Change-Id: I15a45fbadeb69b70a0e983b00de9e934d29749d6
2022-01-28 11:03:53 +00:00
Felipe Leme
4381e4f0fa Improves dump() to handle special cases.
When "dumpsys activity" is called with special arguments (like
--list-dumpables), dump() should be handled by Activity itself,
not the subclasses, otherwise the end result would be spammed.

This CL fixes that behavior, but only for apps targeting T (so it
maintains backward compatibility for apps that are explicitly
checking for the special values).

Bug: 149254050

Test: m update-api
Test: manual verification with 'adb dumpsys activity ...'
Test: atest CtsAppTestCases:android.app.cts.ActivityDumpTest
Test: adb shell dumpsys platform_compat|grep DUMP_IGNORES_SPECIAL_ARGS||echo NOT_FOUND

Change-Id: I918c9a6649cb66f9e2b6509a643005fac110d152
2022-01-28 00:06:24 -08:00
Ahaan Ugale
00e99e742a Merge changes from topic "aff_bottom_sheet"
* changes:
  Add bottom sheet fill UI for Autofill
  Implement actions on client and service for bottom sheet
  Notify Autofill while activity started
  Adds APIs for Autofill bottom sheet UI
2022-01-28 06:01:03 +00:00
TreeHugger Robot
0891d4b390 Merge "Add all the Smartspace UI templates' corresponding data classes." 2022-01-28 05:43:15 +00:00
Zach Johnson
c63b02afc0 Merge "Add SystemApi getter to bluetooth constant" 2022-01-28 05:30:43 +00:00
Sailendra Bathi
00049d6db7 Merge changes from topic "bug209973853_ 213658045"
* changes:
  Make StorageVolume#getOwner public
  Add API getStorageVolumesIncludingSharedProfiles()
2022-01-28 04:35:11 +00:00
Henry Fang
71a3900ab0 Merge "Unhide TvInputManager#getClientPid()" 2022-01-28 03:42:01 +00:00
Kevin Han
4ababf8746 Merge "Introduce API to get hibernation stats" 2022-01-28 02:24:30 +00:00
Grace Cheng
74bfabdade Adds LOCATION_BYPASS permission.
Bug: 215299508
Test: presubmit

Change-Id: I3768fb7bcc8da64ddad1d2e0a4bb3feaec244104
2022-01-28 01:33:30 +00:00
William Escande
60c210dfe2 Add SystemApi getter to bluetooth constant
Bluetooth is going mainline and need to have access to constant defined
in both settings.secure and settings.Global

Test: build
Bug: 211851706
Tag: #refactor
Change-Id: Id47da2e5606d29ccd2924d9105e8322a1b697ee1
2022-01-28 01:14:33 +01:00
TreeHugger Robot
806d7fb113 Merge "Update FrontendStatusReadiness APIs." 2022-01-28 00:13:14 +00:00
Rob Carr
faaf3151b2 Merge "SurfaceControlViewHost: Expose IPC helpers" 2022-01-27 23:34:29 +00:00
Kyeongkab.Nam
81a7bdb52b Unhide TvInputManager#getClientPid()
Make TvInputManager#getClientPid() to System SDK API for MediaCodec
resource reclaiming on multi-window w/ multi TV apps.

Bug: 179813957
Test: run cts -m CtsTvTestCases -t
    android.media.tv.cts.TvInputManagerTest
Change-Id: Ifd5193707979f7e5f3e2e9061a81d0f7286e7d64
2022-01-27 23:24:53 +00:00
Eva Chen
b9314e1681 Merge "Update GNSS S2R APIs based on API Council feedback." 2022-01-27 23:05:30 +00:00
Alec Mouri
1efd0a5df6 Expose 1010102 config for bitmap
Bug: 200307898
Test: CtsGraphicsTestCases
Change-Id: I33153e080292a95c0cc3d6edada8b274f0b06ac7
2022-01-27 22:55:18 +00:00
TYM Tsai
523f1f5f9e Adds APIs for Autofill bottom sheet UI
Adds APIs for set up field presentations for bottom sheet. Also reduce
the APIs overloading for setting the presentations.

Bug: 210926084
Test: Manual
Change-Id: Iacb8d3352303650afbfa2072ce7c382d0baed702
2022-01-27 14:42:33 -08:00
Robert Horvath
abb95aecf3 Add API to configure LPS maintenance mode behavior
Allow Low Power Standby to be active during doze maintenance modes.

Bug: 190822356
Test: atest LowPowerStandbyControllerTest
Change-Id: I6db6e1a37f48d63d618245f308ea1053c45fb64b
2022-01-27 23:08:32 +01:00
Robert Horvath
e57eb6d07e Add TestApi to force Low Power Standby to be active
Since Low Power Standby depends on multiple factors to activate,
including the private device configuration for the delay after the
device becomes non-interactive, having this TestApi makes testing
faster and more reliable.

Bug: 190822356
Test: atest LowPowerStandbyTest
Change-Id: I5a16083f996bd7421197b08c6632655c8c3d8c29
2022-01-27 23:08:32 +01:00
Robert Horvath
4845efb60d Add TestApi wakelock flag to have system acquire wakelock
Allows CTS tests to test power restrictions that disable wakelocks
without the system suspending (since system-wakelocks are exempt).

Bug: 190822356
Test: atest LowPowerStandbyTest
Change-Id: I91f44ae93480be992151d845175606fb66ecb127
2022-01-27 23:08:32 +01:00