Commit Graph

30659 Commits

Author SHA1 Message Date
Michael Groover
f3d732b0ad Merge "Update permission requirements for TelecomManager#getLine1Number" into rvc-dev am: f4cd234bcb
Change-Id: I870b599d2c6f5d98d9a6eecbdc1c69462c395386
2020-04-09 17:28:14 +00:00
Michael Groover
f4cd234bcb Merge "Update permission requirements for TelecomManager#getLine1Number" into rvc-dev 2020-04-09 17:21:42 +00:00
TreeHugger Robot
0e8486557c Merge "Make OPSTR_MANAGE_EXTERNAL_STORAGE test API" into rvc-dev am: ffce5f2b7c
Change-Id: I029689affca7a450379110651fb54f18723f10e8
2020-04-08 23:24:41 +00:00
TreeHugger Robot
ffce5f2b7c Merge "Make OPSTR_MANAGE_EXTERNAL_STORAGE test API" into rvc-dev 2020-04-08 23:21:23 +00:00
Andrii Kulian
8e0f3c3a94 Merge "6/n Manage multiple task display area in the policy" into rvc-dev am: ac4b972e7a
Change-Id: Id4e4883d5ce7dbd0ab1f6ea8c3f75520b31bd796
2020-04-08 17:38:20 +00:00
Andrii Kulian
ac4b972e7a Merge "6/n Manage multiple task display area in the policy" into rvc-dev 2020-04-08 17:35:42 +00:00
shafik
2a20790621 Make OPSTR_MANAGE_EXTERNAL_STORAGE test API
We need that to enable CTS for Environment#isExternalStorageManager API

Test: build
Bug: 152478019
Change-Id: I8c24c08991558629c83a25b4bed89c817723d732
2020-04-08 17:49:47 +01:00
Jorim Jaggi
d04e3ed6c0 Merge "Re-apply local client state when leash changes" into rvc-dev am: 9c50a64e91
Change-Id: I751a0e054e87db48de185442bfc0d35b666ad6f5
2020-04-08 11:16:16 +00:00
Andrii Kulian
44b3c569f4 6/n Manage multiple task display area in the policy
Delegate task display area creation and container management to the
display area policy implementation. This should allow creating and
handling device-specific task display area arrangements.

Bug: 152116619
Test: WM CTS and unit tests
Change-Id: Ic1182d064e7d8387f701f04fb267e2bb6d4da0c5
2020-04-07 21:30:26 -07:00
Jorim Jaggi
ee54070608 Re-apply local client state when leash changes
When leash changes, we need to re-apply our local state, to ensure
new leash has same state as before and new leash is visible on
screen.

Test: Switch IME while open
Test: SurfaceControlTest
Fixes: 152876819
Change-Id: Ieae1aecdc3ddc427ccb89c4aa7ef7ae9283f39eb
2020-04-07 23:04:44 +00:00
Steven Thomas
c5fc057244 Merge "Add frame rate flexibility token" into rvc-dev am: 2845ad86a4
Change-Id: I097b98b81419b442805ae88bf3468f7b73b8114d
2020-04-07 18:32:43 +00:00
Steven Thomas
2845ad86a4 Merge "Add frame rate flexibility token" into rvc-dev 2020-04-07 18:20:36 +00:00
TreeHugger Robot
236c8f84a2 Merge "Expose Display.getType() via TestApi." into rvc-dev am: bd745f763a
Change-Id: Ic55bb7836e4d0e3ea2b0736ed5d73c043b7da2e4
2020-04-07 16:49:59 +00:00
Santos Cordon
29d5b8f43e Expose Display.getType() via TestApi.
Bug: 151124371
Test: atest android.display.cts.DisplayTest
Change-Id: Id3c25fe675c1fa2b0070cf95736c608315b5e26b
2020-04-07 09:56:16 +00:00
TreeHugger Robot
8bfdc107cc Merge "Store conversation requirement in a setting" into rvc-dev am: 5eb9c8fada
Change-Id: I7cb2dde555ac4480d3ad18c675f3a6466184345b
2020-04-07 03:58:21 +00:00
TreeHugger Robot
5eb9c8fada Merge "Store conversation requirement in a setting" into rvc-dev 2020-04-07 03:47:02 +00:00
Eric Laurent
1a533b5f70 Merge "AudioSystem: add annotation on API used by CTS media" into rvc-dev am: 3b13f5ef87
Change-Id: I1d8b8b49615310332290efe39217fd95a61a66b9
2020-04-07 01:09:58 +00:00
François Gaffie
d83e946d53 AudioSystem: add annotation on API used by CTS media
Add @TestApi for the class so some methods and
constants can be visible to test API.
  Also @hide for all other members of the class
that are not @TestApi, as they are exposed to the
test API visibility.

Bug: 136121584
Test: run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioProductStrategyTest
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioVolumeGroupTest
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioVolumeGroupChangeHandlerTest
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioManagerTest#testPermissionsForVolumePerAttributes
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioManagerTest#testGetAndValidateProductStrategies
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioManagerTest#testGetAndValidateVolumeGroups
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioManagerTest#testSetGetVolumePerAttributesWithInvalidAttributes
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioManagerTest#testSetGetVolumePerAttributes
run cts-dev -m CtsMediaTestCase --test android.media.cts.AudioManagerTest#testVolumeGroupCallback
Signed-off-by: François Gaffie <francois.gaffie@renault.com>

Change-Id: Iff9abda2cf971d9c234dcf7df7c2b9a4ad5294c3
2020-04-06 15:04:22 -07:00
Joanne Chung
6828c3e551 Merge "Made ExplicitHealthCheckService testable." into rvc-dev am: 62cd75f90d
Change-Id: I9a7fe8c35d760302355e57a0d52af1c89e2ecd8b
2020-04-06 02:42:03 +00:00
Joanne Chung
62cd75f90d Merge "Made ExplicitHealthCheckService testable." into rvc-dev 2020-04-06 02:33:24 +00:00
Steven Thomas
6ec6fbc2cc Add frame rate flexibility token
Add support for temporarily relaxing frame rate restrictions in surface
flinger. This is used by CTS tests to get a consistent device state
while running frame rate tests.

Bug: 148033900

Test: - On a Pixel 4, I turned the brightness down and covered the
ambient light sensor, causing the display manager to set a frame rate
restriction. I ran the frame rate CTS test without these CLs applied,
and confirmed the test failed because surface flinger couldn't switch
frame rates, as expected. Then I ran the tests with the CLs applied, and
confirmed the tests pass.

- I confirmed that, without adopting shell permission identity, the CTS
test is denied the request to acquire a frame rate flexibility token. So
normal apps won't be able to access this.

Change-Id: Ie2b611cf5726c14a7a22e315a85bf6200d190682
2020-04-04 19:55:00 -07:00
Henry Fang
d7b5f4399a Merge "Add test api for CTS to test resource lost event" into rvc-dev am: bc93009274
Change-Id: I4786e76cd24c014f7e1c3d00b9f5cba0a4d0715d
2020-04-03 20:29:05 +00:00
Henry Fang
1eef1d2f26 Add test api for CTS to test resource lost event
bug: 152343262
Test: Manual
Change-Id: I5660cea3e57771c8a09f57ed88723064bb592c30
2020-04-03 17:39:13 +00:00
Amith Yamasani
c8cc71a091 Merge "Mark secondary lockscreen API as SystemApi." into rvc-dev am: 040563da5f
Change-Id: Idd633967cc9eb5f16d7dbf29de9f2ea6efb09e1e
2020-04-03 14:28:23 +00:00
Amith Yamasani
040563da5f Merge "Mark secondary lockscreen API as SystemApi." into rvc-dev 2020-04-03 14:13:43 +00:00
Lorenzo Colitti
d7c9d9fbfe Merge "Added a new capability for temporarily unmetered network." into rvc-dev am: 0edabc5e4e
Change-Id: I4d43b28d25529d4dd9e4304c4edf95edb5c5110b
2020-04-03 05:07:20 +00:00
Jack Yu
30be5e5d3d Added a new capability for temporarily unmetered network.
Added a new network capability TEMOPORARILY_NOT_METERED to support
the case that a network can temporarily become unmetered. This
allows carriers to deploy unmetered 5G network. When devices
camp on 5G network, this capability will be dynamically added
to the network and will be removed once leaving 5G coverage.

Bug: 153081494
Test: Manual
Change-Id: I10e26cb0852e67f614e7b9c4e49f95e078602e21
2020-04-02 19:28:41 -07:00
Julia Reynolds
e24faa2c86 Store conversation requirement in a setting
So we can show it in developer options. Also fix a bug
where the setting wasn't being respected in systemui.

Test: atest
Bug: 152907434
Change-Id: I1eaed93a0c8a1ec4486c7072972e2f924402bb94
2020-04-02 16:28:40 -04:00
Yvonne Jiang
70a62376d0 Mark secondary lockscreen API as SystemApi.
It is currently not meant for use by general enterprise device admins.

Bug: 152478326

Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Test: atest KeyguardUpdateMonitorTest
Test: atest AdminSecondaryLockScreenControllerTest
Change-Id: I6d60bc35a4e8f74b1da55b042582a2f2fa89d57f
2020-04-02 08:41:04 +00:00
Joanne Chung
ea12c719b6 Made ExplicitHealthCheckService testable.
Bug: 149077550
Test: atest CtsPackageWatchdogTestCases
Change-Id: I588052de62bce6cbfa8118d1be56257a1dde422f
2020-04-01 22:54:35 +08:00
Wale Ogunwale
1bdc601c4f Merge "Add TestApi interfaces for window organizers" into rvc-dev am: 1df5eb0130
Change-Id: I2bbb327fede2bb789669e55f8dedb586e4384999
2020-04-01 13:43:41 +00:00
Wale Ogunwale
adf116ec95 Add TestApi interfaces for window organizers
Enables testing the API surfaces from CTS.

Bug: 149338177
Test: they pass!
Change-Id: I7e1f2852585a10c20d299bd87e9a87f828d06d6a
2020-04-01 13:25:23 +00:00
Feng Cao
526ddca90c Merge "Replace Nullable bundle with NonNull and use Bundle.EMPTY" into rvc-dev am: f1771c0d33
Change-Id: I6f20690be1dd45b240ee382b70ea9de8fcaf79a8
2020-04-01 02:50:05 +00:00
Feng Cao
edb332c645 Replace Nullable bundle with NonNull and use Bundle.EMPTY
Test: atest InlineSuggestionsRequestTest
Bug: 152525467

Change-Id: Ie510e08ced8be4cc8df486f1acfa6eb330d194ef
2020-03-31 14:50:51 -07:00
TreeHugger Robot
075cf8e503 Merge "Add sample flags to MediaParser" into rvc-dev am: aa9d95ed9f
Change-Id: If207e3c60358f2fa137fcfe98b53a262b9b5119b
2020-03-31 20:12:08 +00:00
TreeHugger Robot
aa9d95ed9f Merge "Add sample flags to MediaParser" into rvc-dev 2020-03-31 19:42:44 +00:00
Michael Wright
9dc277395f Merge "Remove registerSection API with optional Executor" into rvc-dev am: ca87d86d59
Change-Id: I3f1e6601a5871ec0ddaa0c0de742f028f7dae7fd
2020-03-31 18:02:20 +00:00
Michael Wright
ca87d86d59 Merge "Remove registerSection API with optional Executor" into rvc-dev 2020-03-31 17:54:36 +00:00
Santiago Seifert
c648f4eccb Add sample flags to MediaParser
Bug: 152757624
Test: atest CtsMediaParserTestCases
Change-Id: I080b759656e160aba2c378fe72790b1a9d10ad81
2020-03-31 15:52:59 +01:00
Mike Ma
1b75683d4f Remove registerSection API with optional Executor
This patch addresses an issue from API review:
registerSection cannot have an optional Executor

registerSection is an unreleased API in R, therefore can be hard
removed.

Fixes: 148867197
Test: Build
Change-Id: Icdb8b97f7fa3f1880aa3039dbbe82f8331a45202
2020-03-30 17:13:39 -07:00
TreeHugger Robot
30438ad6c2 Merge "Remove replaced PreciseDataConnectionState methods from SDK." into rvc-dev am: da50240343
Change-Id: Icc26b7446d88911ba40e5b0a3d888370af7d1c8e
2020-03-30 22:45:36 +00:00
TreeHugger Robot
da50240343 Merge "Remove replaced PreciseDataConnectionState methods from SDK." into rvc-dev 2020-03-30 22:24:30 +00:00
Michael Wright
d4922dbf83 Merge "Remove replaced BubbleMetadata methods from SDK." into rvc-dev am: 603713009e
Change-Id: I68e991a45ac39a98b2aa74cd5cd914f21e10149f
2020-03-30 21:15:23 +00:00
Michael Wright
603713009e Merge "Remove replaced BubbleMetadata methods from SDK." into rvc-dev 2020-03-30 20:58:43 +00:00
Michael Wright
eec778ccdd Remove replaced PreciseDataConnectionState methods from SDK.
Prior to finalization, we need to remove all methods which were
replaced but kept around for short-term compatibility purposes.
PreciseDataConnectionState had a couple methods that fell into this
category that had yet to be removed.

Bug: 152787887
Test: builds
Change-Id: Ib175b2530791cec7e31684a1d3f318c95e27f707
2020-03-30 20:39:27 +00:00
Michael Wright
b6ffb2293e Remove replaced BubbleMetadata methods from SDK.
Prior to finalization, we need to remove all methods which were
replaced but kept around for short-term compatibility purposes.
BubbleMetadata had a few methods that fell into this category that had
yet to be removed.

Bug: 152761169
Test: build
Change-Id: Ic9f8d600721e15119fc28d308ff1bc444d61e399
2020-03-30 19:02:37 +01:00
Jeff Sharkey
19b826429f Merge "Add ability to execute per-connection SQL." into rvc-dev am: 071e55a03a
Change-Id: I7889d286fee519f690a8e39c43dbcd01702e0c5a
2020-03-30 16:23:26 +00:00
Jeff Sharkey
071e55a03a Merge "Add ability to execute per-connection SQL." into rvc-dev 2020-03-30 15:58:19 +00:00
Adam He
4a71b59fad Merge "Migrate android.view.inline to android.widget.inline" into rvc-dev am: 5a3a3f2239
Change-Id: I13f89011cf76e1c15d374c04f9285b96995d917f
2020-03-30 07:00:52 +00:00
Adam He
5a3a3f2239 Merge "Migrate android.view.inline to android.widget.inline" into rvc-dev 2020-03-30 06:53:35 +00:00