Commit Graph

32409 Commits

Author SHA1 Message Date
Amy Zhang
bb2bf53c0a Merge "Add Dvbc Frontend Bandwidth Settings" 2020-11-03 01:28:32 +00:00
Amy Zhang
1fc82e6109 Merge "Make DtmbFrontendCapabilities and DtmbFrontendSettings final class" 2020-11-03 01:28:12 +00:00
Songchun Fan
8cd3f230bb Merge "[pm/incremental] address API review comments for LauncherApps APIs" 2020-11-02 22:37:38 +00:00
Amy Zhang
45000c44e0 Add Dvbc Frontend Bandwidth Settings
Test: atest android.media.tv.tuner.cts
Bug: 169868608
Change-Id: I690018c8590eaddb3c261c948a3da849b0823d3a
2020-11-02 14:19:07 -08:00
Amy Zhang
1266071de6 Make DtmbFrontendCapabilities and DtmbFrontendSettings final class
Test: make -j44 dist
Bug: 171281889
Change-Id: I0f658c27eef808dd2129ead5cd3c97fb3c60d494
2020-11-02 14:11:51 -08:00
Nate Jiang
c7717f817b Merge "[AWARE] Add API to get available Aware resources" 2020-11-02 21:59:46 +00:00
Roshan Pius
78e7af30bc Merge "WifiNetworkSuggestion: Add setOemPrivate flag" 2020-11-02 17:58:27 +00:00
Jerry Chang
38af94c821 Merge "Allow children task of created-by-organizer task to be organized" 2020-11-02 03:40:38 +00:00
Roshan Pius
eca3d56838 WifiNetworkSuggestion: Add setOemPrivate flag
Also, plumb the flag to WifiInfo.

Bug: 169413079
Test: atest android.net.wifi
Change-Id: I4985c3a2544684fe067e3e5aaaa612a62c611880
2020-10-31 04:02:39 +00:00
Emilian Peev
ab1a86bf3c Merge "Expose Image and Plane for testing" am: 56804f0560 am: ce1dd0aafd am: b8a7381930 am: dbbcb14f06
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1463664

Change-Id: I707c029ac2ed1b540625a0089ee33c7258145373
2020-10-30 22:30:03 +00:00
Emilian Peev
dbbcb14f06 Merge "Expose Image and Plane for testing" am: 56804f0560 am: ce1dd0aafd am: b8a7381930
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1463664

Change-Id: Iba02e5a7e7936e93923fcd891a91be9e874888a0
2020-10-30 22:24:17 +00:00
Nate Jiang
cb7f87f751 [AWARE] Add API to get available Aware resources
Bug: 171983651
Test: atest android.net.wifi
Change-Id: I5a019cbd29c4c63e6559da9b733d82b1c0422d40
2020-10-30 21:33:10 +00:00
Songchun Fan
652c0bb190 [pm/incremental] address API review comments for LauncherApps APIs
+ change "*Progress*" to "*LoadingProgress*".
+ removed "LauncherActivityInfo.isLoading()" because it can be derived
from "LauncherActivityInfo.getLoadingProgress()".

BUG: 171804873
Test: atest LauncherAppsSingleUserTest
Change-Id: I001e8d946a13bcf43c03081e730ac07a1c3cf4bc
2020-10-30 21:15:59 +00:00
lesl
bf1582f0e2 wifi: Add new capability to indicate mac address customization support
Bug: 160752000
Test: atest -c FrameworksWifiApiTests
Change-Id: Ifb6b63879eeb8cbb86b31ff2eff19a62f1fbdc95
2020-10-30 11:40:59 +08:00
Sarah Chin
bbe735d293 Merge "Replace IconIndex as DisplayNumber" 2020-10-30 02:18:11 +00:00
Oscar Shu
2a31917357 Merge "API support for more recent failure statuses" 2020-10-30 02:09:04 +00:00
Eugene Susla
d915025779 Merge "Store user_set for notification listeners" 2020-10-29 23:37:12 +00:00
Lan Wei
a401308ab7 Merge "Avoid bad InputConnection call crashing the app" 2020-10-29 23:02:32 +00:00
Eugene Susla
13b96a67a1 Store user_set for notification listeners
Bug: 165951651
Test: atest android.app.cts.NotificationManagerTest#testGrantRevokeNotificationManagerApis_works
Change-Id: I69ec26d90b9e4c0e5836b19c695fa9ecb64d30d5
2020-10-29 13:39:54 -07:00
Steven Moreland
e5bf87598c Merge "Revert "[AWARE] Add API to get available aware resources"" 2020-10-29 19:23:51 +00:00
Steven Moreland
8c83b09b4b Revert "[AWARE] Add API to get available aware resources"
Revert "[AWARE] API to get available aware resources"

Revert "[CTS] Add test for AwareResources API."

Revert submission 12903772-awareResources

Reason for revert: b/171991392
Reverted Changes:
I74949effc:[CTS] Add test for AwareResources API.
I8ed29471b:[AWARE] Add API to get available aware resources
Ie207af078:[AWARE] API to get available aware resources

Change-Id: Icaea00cc84f406521f8181f2912f505d05a4bd72
2020-10-29 19:22:32 +00:00
Zimuzo Ezeozue
039e53c1ac Merge "Add MediaStore API to bypass transcoding" 2020-10-29 18:31:53 +00:00
Nate Jiang
b98e279d84 Merge "[AWARE] Add API to get available aware resources" 2020-10-29 17:47:02 +00:00
Chris Li
97c97911c5 Merge "Return the existing DisplayAreas when registering an organizer" 2020-10-29 17:07:24 +00:00
Hongwei Wang
01c2bd141d Merge "Allow resource override on max number of actions in PiP" 2020-10-29 16:58:56 +00:00
Sarah Chin
73157571a8 Replace IconIndex as DisplayNumber
Test: atest TelephonyManagerTest
Fix: 171770692
Change-Id: I256649ad0ddcada29e4a7012de3e5889348adb17
2020-10-29 09:36:40 -07:00
Kweku Adams
6dac7fd2d0 Merge "Migrate AppStandbyController to DeviceConfig." 2020-10-29 15:25:26 +00:00
Julia Reynolds
1bac483432 Merge "Update api name for clarity" 2020-10-29 15:24:06 +00:00
Snild Dolkow
2e686f164c Expose Image and Plane for testing
Test: cts builds
Test: the new cts tests run
Bug: 170981222
Reference: I39921ef80c62cc331bb2d72a8d614986d3166eb9
Change-Id: I82d9581c2892eff282de02ce5810cf819a35d1d4
2020-10-29 13:18:51 +01:00
Lan Wei
1e72ef2893 Avoid bad InputConnection call crashing the app
Update InputConnection#getTextBeforeCursor(int, int) and
InputConnection#getTextAfterCursor(int, int) API to
specify that the paramter {@code n} must be non-negative.
If the IME using the API incorrectly, throw
IllegalArgumentException.

Also update these two APIs that return nullable result (no
behaivor change). For editor App, return null for bad case.

Test: atest BaseInputConnectionTest#testInvalidGetTextBeforeOrAfterCursorRequest
Test: atest InputConnectionWrapperTest#testInvalidGetTextBeforeOrAfterCursorRequest

BUG: 169114026

Change-Id: I95169735198f8363c981a61e20234dfebfd645b1
2020-10-29 16:51:49 +08:00
Jerry Chang
e6fc6a3c2a Allow children task of created-by-organizer task to be organized
Allows to organize direct child of root task created by organizer and
extends TaskInfo to reveal the parent task id.

To organize child task properly for each features, passes all child
task organizer events to the listener listening to its parent task if
feasible.

Fix: 169267298
Fix: 169266482
Test: atest WindowOrganizerTests
Test: atest SplitScreenTests
Test: atest PinnedStackTests
Test: atest WindowInsetPolicyTests
Test: atest WMShellUnitTests
Test: split screen works
Change-Id: I8e66f810c86fcdac3287adfa208d8e34786fc9b5
2020-10-29 16:20:19 +08:00
Jack Yu
9d851f9329 Merge "Added global retry support" 2020-10-29 02:29:53 +00:00
Nate Jiang
6b1264cc88 [AWARE] Add API to get available aware resources
Bug: 159100865
Test: atest android.net.wifi

Change-Id: I8ed29471be987822ab27b91452c62e9e6a09cb12
2020-10-28 14:44:55 -07:00
Hall Liu
3f78b81b23 Merge "Expose PackageManager methods around system apps" 2020-10-28 20:03:11 +00:00
Chris Li
a9e67cd9aa Return the existing DisplayAreas when registering an organizer
A list of existing DisplayAreas of the given feature are returned when
registering the organizer, and the organizer will not receive
onDisplayAreaAppeared() for these DisplayAreas.

Fix: 162028888
Test: atest WmTests:DisplayAreaOrganizerTest
Test: atest OneHandedDisplayAreaOrganizerTest
Change-Id: I3f4c5921a31c06e5b6c0040397df15cdee6ebcdd
2020-10-28 12:09:09 -07:00
Nikita Dubrovsky
909bb8a045 Merge "Use a separate code path for rich content in augmented autofill" 2020-10-28 18:43:30 +00:00
Julia Reynolds
c361d7b5e7 Update api name for clarity
Test: cts
Fixes: 170705349
Change-Id: Id1355e8c93e2b88f701834c06669ed390cd503fb
2020-10-28 16:06:06 +00:00
Hongwei Wang
8bd88f8894 Allow resource override on max number of actions in PiP
Moved the query of max number of pip actions from
ActivityTaskManagerService to ActivityTaskManager.

Note that TaskInfo#pictureInPictureParams is exposed via
TaskInfo#getPictureInPictureParams (annotated as @TestApi).

Bug: 168800594
Test: atest PinnedStackTests#testMaxNumberOfActions \
            PinnedStackTests#testFillMaxAllowedActions \
            PinnedStackTests#testRejectExceededActions
Change-Id: Ibcf2302e3ec87909543a1d6da0b64fd4565a061c
2020-10-28 08:26:21 -07:00
Louis Chang
34a8fd02af Merge "Deprecate MANAGE_ACTIVITY_STACKS permission" 2020-10-28 13:33:14 +00:00
Antoan Angelov
6206a46b15 Merge "Revert "Revert "Add STATE_USER_PROFILE_FINALIZED as an additional user state""" 2020-10-28 12:23:32 +00:00
Les Lee
11c6fc839a Merge "wifi: Add APIs to set dual bands and dual channels" 2020-10-28 10:53:00 +00:00
Kyunglyul Hyun
f21135e7e9 Merge "Make MediaController#controlsSameSession" 2020-10-28 06:58:15 +00:00
lesl
3d5a0d065a wifi: Add APIs to set dual bands and dual channels
1. Add new APIs (get/set Bands/Channels) to support config the dual APs
mode.

2. Update the old API (get Band/Channel) to return smallest band/channel
which associated to the smallest band in dual bands setting.

The valid bands doesn't limit to 2GHZ & 5GHZ,
but the daul APs setting should be 2.4GHZ and 5GHZ on pixel.

PS: Also fix incorrect java doc link and descritpion.

Bug: 162686273
CTS-Coverage-Bug: 171179478
Test: atest FrameworksWifiApiTests
Change-Id: Id000a600c4786bd343e0ef69a7d489658f017037
2020-10-28 14:39:46 +08:00
Jack Yu
7d8a77dad6 Added global retry support
The retry timer suggested by the network will persist
accross network requests. Also changed the retry timer
to a 64-bit value to be consistent with types used in
Android time APIs.

Test: FrameworksTelephonytests
Fix: 159672248
Change-Id: I632d4dc07fb545fa04eb3aefb0ff3270ee8f6ff8
2020-10-27 21:30:50 -07:00
xshu
e5e923aaa3 API support for more recent failure statuses
Added new failure statuses and the ability to last update timestamp.

Bug: 155697192
Test: atest android.net.wifi

Change-Id: I46d20f2804601eb7efd3712928fd5c4727b17fb4
2020-10-27 18:20:22 -07:00
Louis Chang
5510ecdfa9 Deprecate MANAGE_ACTIVITY_STACKS permission
Adding MANAGE_ACTIVITY_TASKS permission as the replacement, but
still grant the deprecated MANAGE_ACTIVITY_STACKS permission for
app compatibility.

Bug: 157876448
Test: presubmit

Change-Id: I894ee66e058b1024a731d3be4b33b69626451f08
2020-10-28 09:20:00 +08:00
James Mattis
bc2592b80a Merge "Add OEM_PRIVATE NetworkCapability" am: 7415f6f9b5 am: 32fbc09bd0 am: 689181f342 am: 59502e6ef9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1472326

Change-Id: I33da7fd0b61eb0d5a6b45b4ba2140b39c377e15a
2020-10-28 00:38:12 +00:00
James Mattis
59502e6ef9 Merge "Add OEM_PRIVATE NetworkCapability" am: 7415f6f9b5 am: 32fbc09bd0 am: 689181f342
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1472326

Change-Id: Id8605eb5f8f4d8b977ff04359a12061c68527971
2020-10-28 00:10:47 +00:00
Nikita Dubrovsky
00d2ce0b6f Use a separate code path for rich content in augmented autofill
Image suggestions (and other rich content) are not handled the same way
as primitive autofill values. These suggestions are also only applicable
to augmented autofill. Therefore, instead of reusing AutofillType and
AutofillValue, we use a separate code path to insert rich content. A
follow-on change will remove AUTOFILL_TYPE_RICH_CONTENT and the
corresponding code on AutofillValue.

Bug: 168837034
Test: Manual and unit tests
  atest CtsAutoFillServiceTestCases:DatasetTest
  atest CtsAutoFillServiceTestCases:InlineAugmentedAuthTest
  atest CtsAutoFillServiceTestCases:InlineAugmentedLoginActivityTest
Change-Id: I4fa3baf2b545908fc25f3a6e28a7addc7004786b
2020-10-27 16:16:06 -07:00
James Mattis
13135f3003 Add OEM_PRIVATE NetworkCapability
Adding network capability to be used with networks to be only used by
OEM apps.

Bug: 171505922
Test: atest CtsNetTestCasesLatestSdk:NetworkCapabilitiesTest
Change-Id: Ib55ebec0e178b6317d92f17e1aff060dacdfb2b1
2020-10-27 13:14:06 -07:00