Commit Graph

29997 Commits

Author SHA1 Message Date
Kyunglyul Hyun
c19b3cc14a MediaRouter: Add features to distinguish audio routes
This CL adds more route features to give
media apps more information.
It also clarifies the values of pre defined route features.

Bug: 152024707
Test: cts test and mediaroutertest

Change-Id: Ia89b45191c4f3fe23210aaca7f336637725fe3b3
2020-03-21 03:04:26 +09:00
Daniel Bright
9c11d2ec45 Merge "Remove simColors from public.xml and rename" into rvc-dev 2020-03-20 04:57:42 +00:00
Jacky Kao
658dd8047d Merge "Reply error through callback for takeScreenshot()" into rvc-dev 2020-03-20 04:12:24 +00:00
TreeHugger Robot
3fe090f737 Merge "Cleanup Frontend Status" into rvc-dev 2020-03-20 02:44:35 +00:00
Betty Chang
4ce79c63de Merge "[Telephony Mainline] To mark @hide for mainline module reverting" into rvc-dev 2020-03-20 02:30:50 +00:00
TreeHugger Robot
71591b6ba8 Merge "Tuner API: clean up permission check" into rvc-dev 2020-03-20 01:02:57 +00:00
TreeHugger Robot
9f81230589 Merge "Tuner API: remove builder of filter/Settings.java" into rvc-dev 2020-03-20 01:02:44 +00:00
Jacky Kao
6c8bdbb511 Reply error through callback for takeScreenshot()
Passing the error code through callback to the caller.

Bug: 150865445
Test: a11y CTS & unit tests
Change-Id: I8ca75908289a9fbd888689788a982f68cc7392ad
2020-03-20 08:40:55 +08:00
TreeHugger Robot
d200e5deb6 Merge "Un-expose LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH for R." into rvc-dev 2020-03-19 23:35:18 +00:00
Grace Jia
886efd654f Merge "Revert add isProfileForeground SystemApi in ActivityManager." into rvc-dev 2020-03-19 23:27:03 +00:00
TreeHugger Robot
f75c281d9c Merge "Make ScanCallback methods verbs" into rvc-dev 2020-03-19 23:10:46 +00:00
Evgenii Stepanov
21c6a0f598 Merge "Convert enableGwpAsan to @IntDef and rename to gwpAsanMode." into rvc-dev 2020-03-19 22:47:05 +00:00
Radhika Agrawal
66a3e59965 Merge "API review comments Test: make Bug: b/150126235" into rvc-dev 2020-03-19 22:09:23 +00:00
Wonsik Kim
de9e6f71d0 Merge "MediaCodec: address API review #2" into rvc-dev 2020-03-19 21:46:28 +00:00
Amit Mahajan
aed5beae53 Un-expose LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH for R.
Test: TH
Bug: 147322848
Change-Id: Ie8e4842264eb47e09397c9e56355d00c732c86c1
2020-03-19 14:39:00 -07:00
Hall Liu
2227afaacb Merge "Rename NotificationChannel#setBlockableSystem" into rvc-dev 2020-03-19 21:06:53 +00:00
Winson Chiu
5051748f22 Merge "Convert InstantAppRequestInfo to getters and add @MainThread" into rvc-dev 2020-03-19 21:02:36 +00:00
TreeHugger Robot
cff44bd82e Merge "Change createRequestInteractAcrossProfilesIntent to throw Exception" into rvc-dev 2020-03-19 20:51:30 +00:00
Peter Wang
24f63edb41 Merge "[Telephony Mainline] Hide setSystemAppState and related constants for R" into rvc-dev 2020-03-19 20:50:10 +00:00
TreeHugger Robot
0b3db44d5b Merge "RESTRICT AUTOMERGE: Camera: Hide keys for the rotate-and-crop controls" into rvc-dev 2020-03-19 20:37:08 +00:00
Peter Wang
d9773f2ca6 Merge "[Telephony Mainline] Rename getActiveAndHiddenSubscriptionIdList and guard with permission" into rvc-dev 2020-03-19 20:12:38 +00:00
Peter Wang
77bdf2a0c0 Merge "[API Review] APIs in SubscriptionManager" into rvc-dev 2020-03-19 20:07:38 +00:00
Peter Wang
bcb1f3dbb0 Merge "[Telephony Mainline] Hide notifyUserActivity API in R" into rvc-dev 2020-03-19 19:21:29 +00:00
Peter Wang
f4885bf28f Merge "[Telephony Mainline] Hide all PermissionManager APIs for R" into rvc-dev 2020-03-19 19:21:21 +00:00
Songchun Fan
2f83e15e18 Merge "remove dynamicArgs from public methods" into rvc-dev 2020-03-19 19:07:18 +00:00
radhika
96eff34a0a API review comments
Test: make
Bug: b/150126235

Change-Id: I2f474bb978dccb939bb17a190447253dcd61cff9
2020-03-19 11:22:12 -07:00
Eino-Ville Talvala
9f9bb3b734 RESTRICT AUTOMERGE: Camera: Hide keys for the rotate-and-crop controls
Implementation is not complete yet, so hide the feature for now.

Test: Adjusted camera CTS continues to pass
Bug: 150036107
Change-Id: Ifc49766d3e7ebd5a785424cf9a59e9c0f805aabc
2020-03-19 11:05:56 -07:00
Eric Laurent
5eed7459d3 Merge "AudioEffect: add isEffectSupportedForDevice() API" into rvc-dev 2020-03-19 17:57:50 +00:00
shubang
49d8694338 Tuner API: clean up permission check
1. Now permission check is done in system process,
TunerResourceManagerService.
2. Settings or configs classes themselves don't access tuner resouces,
so permission is not necessary. Permissions are checked when they are
used as parameters to access tuner resource. i.e.
openFilter(filterConfig, ...)

Bug: 149785806
Test: mmm
Change-Id: Id0d7a6aa3b8c894acece109885b58f774ab1b024
2020-03-19 17:50:07 +00:00
Evgenii Stepanov
d43d109af8 Convert enableGwpAsan to @IntDef and rename to gwpAsanMode.
Following API feedback, make
  ApplicationInfo.enableGwpAsan
  ProcessInfo.enableGwpAsan
a @IntDef integers instead of @Nullable booleans.

Rename both, and the manifest attribute, to gwpAsanMode.
Turn the manifest attribute into an enum.
Fix manifest documentation to match the implementation.

Bug: 151262688
Test: CtsGwpAsanTestCases
Exempt-From-Owner-Approval: cherrypick
Merged-In: Ie33954700e1526f9764a751e474a3f930a65e957
Change-Id: Ie33954700e1526f9764a751e474a3f930a65e957
(cherry picked from commit 7487f249dd)
2020-03-19 16:35:41 +00:00
Mark Chien
746033739a Merge "Hide startTethering with type function to module-lib only" into rvc-dev 2020-03-19 14:55:09 +00:00
Remi NGUYEN VAN
23b888f92c Merge "Add a test API for testing NetworkStack.getService" into rvc-dev 2020-03-19 14:53:35 +00:00
Lorenzo Colitti
0c36573a57 Merge "Make Ethernet interfaces more testable." into rvc-dev 2020-03-19 14:31:57 +00:00
TreeHugger Robot
0e56c85768 Merge "Renamed DisplayInfo to TelephonyDisplayInfo" into rvc-dev 2020-03-19 14:29:24 +00:00
TreeHugger Robot
22f1801dc7 Merge "Move NetworkCallback to last parameter for new exposed requestNetwork" into rvc-dev 2020-03-19 13:40:51 +00:00
markchien
11ee813537 Hide startTethering with type function to module-lib only
Bug: 151918384
Test: m
Change-Id: Icef8b363aae97dd020d618bcb397f661aa6c4750
2020-03-19 21:04:04 +08:00
changbetty
f68a8b0e26 [Telephony Mainline] To mark @hide for mainline module reverting
SubscriptionManager
      - setIconTint
      - setDisplayName
    TelephonyManager
      - setAlwaysAllowMmsData

Bug: 146309719
Test: make
Change-Id: I1f457c0df1682b99d75958c5b71a51d1a419bf8a
2020-03-19 20:33:14 +08:00
Lorenzo Colitti
6fba2a8b7e Make Ethernet interfaces more testable.
This CL adds a setIncludeTestInterfaces method to EthernetManager
that, when called, causes the Ethernet service to recognize and
manage test interfaces created by TestNetworkManager.

Bug: 150644681
Test: Tested by EthernetTetheringTest in same topic
Change-Id: I86eef7a93267f800dbfc8eafd307effa76a344ca
Merged-In: I86eef7a93267f800dbfc8eafd307effa76a344ca
(cherry picked from commit 3410fb0aa9)
2020-03-19 12:30:39 +00:00
Mark Chien
b2842cf476 Merge "TetheringManager API clean up" into rvc-dev 2020-03-19 12:04:05 +00:00
markchien
97c029e87d Move NetworkCallback to last parameter for new exposed requestNetwork
Bug: 151243698
Test: atest TetheringTests
Change-Id: I87ef1d451eefa6998b9793c4eacabae978376d24
2020-03-19 19:10:23 +08:00
Mark Chien
17c6d8f4fb Merge "Support static address configuration" into rvc-dev 2020-03-19 10:03:56 +00:00
markchien
62a625df98 TetheringManager API clean up
Per API review:
- @IntDef defined on the type integer parameter
- have getters on each parameter that is set in the
  TetheringRequest.Builder
- new added API should not be deprecated
Below APIs is moved from system-current to module-lib-current that only
plafrom code(e.g. ConnectivityManager and Settings) can use them.
TetheringRequest.
onTetherableInterfaceRegexpsChanged, TetheringInterfaceRegexps:
Only platform code can use them because interfaces by regular
expressions are a mechanism which is planning to be deprecated.

Also rename some constants for easier to understand.

Bug: 149858697
Bug: 151243337
Test: m doc-comment-check-docs
      atest TetheringTests
Change-Id: Idd041f0fbeca411ea23e49786a50dd7feb77ef45
2020-03-19 16:32:37 +08:00
Peter Wang
5bc1744d57 [Telephony Mainline] Hide notifyUserActivity API in R
Bug: 151076594
Fix: 151076594
Test: Build
Change-Id: I93fef90456c724d17559f8a2188ba85e26f7835c
2020-03-18 22:18:20 -07:00
Peter Wang
256683e3a8 [Telephony Mainline] Hide all PermissionManager APIs for R
Bug: 142019744
Fix: 142019744
Test: Build
Change-Id: Ic1e08757ccba510fac3636c5bae33e8da23b7e6b
2020-03-18 22:07:22 -07:00
Peter Wang
1b0836a826 [Telephony Mainline] Hide setSystemAppState and related constants for R
Bug: 146904426
Fix: 146904426
Test: Build
Change-Id: Ia331068ac49f6f6bc97643766b521b27bff2e6b6
2020-03-18 21:55:52 -07:00
Automerger Merge Worker
37a22754c8 Support static address configuration
Application can specify static ipv4 server and client address to setup
tethering and this is one shot configuration. Tethering service would
not save the configuration and the configuration would be reset when
tethering stop or start failure.

When startTethering callback fired, it just mean tethering is requested
successful. Therefore, callers may call startTethering again if
startTethering successful but do not receive following tethering active
notification for a while. Tethering service never actually does anything
synchronously when startTethering is called:
  -startProvisioningIfNeeded just posts a message to the handler thread.
  -enableTetheringInternal doesn't do anything synchronously, it just
  asks the downstreams to get their interfaces ready and waits for
  callbacks.
If tethering is already enabled with a different request,
tethering would be disabled and re-enabled.

Bug: 141256482
Test: -build, flash, boot
      -atest TetheringTests
      -atest CtsTetheringTest

Change-Id: I2b2dd965a673e6f1626738d41b5d443f0f9fbd0e
Merged-In: I0399917e7cefa1547d617e688225544c4fc1a231
(cherry picked from commit 5d6723e24e)
2020-03-19 12:39:46 +08:00
Rick Yiu
cb03c9e932 Merge "Revert "[Telephony Mainline] To mark @hide for mainline module r..."" into rvc-dev 2020-03-19 04:23:32 +00:00
Betty Chang
57cbb378a3 Revert "[Telephony Mainline] To mark @hide for mainline module r..."
Revert "[Telephony Mainline] To mark @hide for mainline module r..."

Revert submission 10665971-TML_revertSystemApi

Reason for revert: cause the build break
Reverted Changes:
I12a98578c:[Telephony Mainline] To mark @hide for mainline mo...
Ib12145dc0:[Telephony Mainline] To mark @hide for mainline mo...

Change-Id: I5a320c062058af9573a84fabbd06ace68682f3be
2020-03-19 03:54:39 +00:00
shubang
d8b040b5a9 Tuner API: remove builder of filter/Settings.java
Feedback from API review.
And other minor changes mentioned in b/150725571

Bug: 150725571
Test: mmm;
Change-Id: I566e8725ed850708313b23c1bec73538aee6844e
2020-03-18 20:52:38 -07:00
Winson Chung
c2a7be7e3c Merge "Update some policy around multi-window windowing mode" into rvc-dev 2020-03-19 03:40:35 +00:00