Commit Graph

560045 Commits

Author SHA1 Message Date
Jeff Sharkey
24bbd50cea Merge "Add the owner for those files related to voice." 2021-01-25 19:21:12 +00:00
Jordan Liu
11dff58d5e Merge "Add carrier config for carrier key" 2021-01-25 18:52:10 +00:00
Jeffrey Vander Stoep
bb448f504f Merge "Add alanstokes@ to privileged permissions OWNERS" 2021-01-25 18:27:44 +00:00
Allen Su
725e04e4f1 Merge "[RCS]Add getEncodedMessage() in SipMessage.java" 2021-01-25 18:10:11 +00:00
Daniel Bright
8910e2c51b Merge "Add method to match address \ port with QosFilter" 2021-01-25 18:03:32 +00:00
Tyler Gunn
7a58ad001b Merge "Add support for sending d2d messages through adb shell command." 2021-01-25 17:46:42 +00:00
Robin Lee
821b08ecf6 Merge changes from topic "atv-rro"
* changes:
  Move keyguard enabled to Component Override
  Move device/google/atv overlays into SystemUI
2021-01-25 17:45:49 +00:00
Will Osborn
bd8cffcd86 Merge "Revert "Replace Context#sendStickyBroadcastAsUser()"" 2021-01-25 17:20:29 +00:00
Seigo Nonaka
61bb2cfccc Merge "Add OWNERS for font manager related module" 2021-01-25 16:30:36 +00:00
Will Osborn
f068636d2c Revert "Replace Context#sendStickyBroadcastAsUser()"
This reverts commit 40b2df50b3.

Reason for revert: DroidMonitor: Potential culprit for Bug http://b/178367782 - verifying through Forrest before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: I7fd74bf481febf1cba8b6c8fbf01c4908f847606
2021-01-25 14:34:30 +00:00
Paul Hu
7166f0b425 Merge "Replace Context#sendStickyBroadcastAsUser()" 2021-01-25 05:57:22 +00:00
Remi NGUYEN VAN
a4a9e9bbc8 Merge "Remove hidden API usage of Proxy.validate" 2021-01-25 04:04:40 +00:00
Remi NGUYEN VAN
68dcdfa29b Merge "Add test for proxy spec building" 2021-01-25 02:06:18 +00:00
Brian Stack
94f23cd4c5 Merge "Add UWB APIs to SystemApi" 2021-01-23 00:09:02 +00:00
Jordan Liu
60173db15f Add carrier config for carrier key
Give carriers the option of including a backup IMSI encryption key as a
carrier config.

Bug: 175801497
Test: manual and atest TelephonyManagerTest
Change-Id: I89d88daf2022672bf27125baae0247b75638bb6e
Merged-In: I89d88daf2022672bf27125baae0247b75638bb6e
2021-01-22 15:22:44 -08:00
Kevin Chyn
29a92ff8e8 Merge "Fix wrong indent of SystemUI Android.bp" 2021-01-22 21:52:52 +00:00
Tyler Gunn
b6110a2158 Add support for sending d2d messages through adb shell command.
Adding in AIDL definition for sending test messages.

Test: Verified operation of the adb shell command which lets test message
be sent.
Bug: 163085177

Change-Id: I7b1c5398e2117077482a02ea4fec6c5d773ca3f5
2021-01-22 13:39:38 -08:00
Daniel Bright
e44156cfd6 Merge "Add Radio Interface Capabilities" 2021-01-22 19:08:21 +00:00
George Burgess IV
972a78726b Merge "androidfw: use a vector instead of manually managing memory" 2021-01-22 18:20:58 +00:00
Seigo Nonaka
580f6ddeb2 Add OWNERS for font manager related module
Bug: N/A
Test: N/A
Change-Id: I8a653349bd6df6365e1d6cbb2fc3b3ac10c8fcd7
2021-01-22 10:07:27 -08:00
utzcoz
4e9a4a3306 Fix wrong indent of SystemUI Android.bp
It shows error in vi and Intellij IDEA.

Test: m SystemUI

Change-Id: I3e30767d9e074379d0b4c710455ec14f08f03232
Signed-off-by: utzcoz <utzcoz@gmail.com>
2021-01-23 01:24:02 +08:00
Cody Kesting
59035bd8c7 Merge "Implement Policy Listener add/remove in VcnService." 2021-01-22 17:20:12 +00:00
Corina Grigoras
d17c69bccb Merge "Add all storage team to owners." 2021-01-22 16:57:22 +00:00
Gavin Corkery
5c67510b4f Merge "Remove dumpstate error race condition" 2021-01-22 16:14:43 +00:00
vichang
e17a139088 Merge changes from topic "icu68"
* changes:
  Update test expectation due to locale data change in ICU 68.2
  Regenerate LocaleDataTables.cpp due to ICU 68 upgrade
2021-01-22 15:24:51 +00:00
Daniel Bright
c947317a4b Add method to match address \ port with QosFilter
* The match method is only for local address and port since we have
no other use case.

Bug: 155176305
Test: Added new test
Change-Id: I7b45f9912af6a192fc60606f5e0b4cc479aea93f
2021-01-22 06:24:41 -08:00
rickywai
4d53e3b9bc Merge "Return error in "sm unmount-app-data-dirs" if app data isolation is not enabled" 2021-01-22 14:19:52 +00:00
Paul Hu
ce1b5d00d9 Merge "Replace NetworkPolicyManagerInternal#isUidRestrictedOnMeteredNetworks()" 2021-01-22 14:18:47 +00:00
Corina
6915543849 Add all storage team to owners.
Bug: no
Test: no
Change-Id: Ib4fba7af30cec8efd5fb9115fec9bd354e07a2fc
2021-01-22 14:10:07 +00:00
Gavin Corkery
faf53d2a76 Remove dumpstate error race condition
Removes the race condition between the dumpstate binder service
death recipient and the dumpstate listener error callback. This
is done by adding a small wait when the death recipient is
invoked. This ensures that the caller of the Bugreport API does
not erroneously receive an incorrect runtime error callback.

Alters internal tests to account for this new delay.

Bug: 147703592
Test: atest BugreportManagerTest
Test: Manual. Take bugreport, ensure that the death recipient
      does not send an error callback when dumpstate finishes
      successfully, or fails and exits. Test error case by
      manually invoking signalErrorAndExit in DumpstateService.
Change-Id: I8c5b14c88502f0cf4f4f0e5c41d90d6065bfd1d4
2021-01-22 13:31:14 +00:00
Chalard Jean
8e39c04b56 Merge "Add Qos Callback support" 2021-01-22 13:09:24 +00:00
Chalard Jean
d346446302 Merge "Add Qos Callback files" 2021-01-22 13:06:43 +00:00
lpeter
7593a84876 Add the owner for those files related to voice.
Bug: 177641730
Test: n/a
Change-Id: Ib693e399efd14acbc00a83421e1bff77fede6cd6
2021-01-22 20:49:30 +08:00
Paul Hu
64625e9706 Merge "Expose Build.VERSION.FIRST_SDK_INT as module-lib API" 2021-01-22 11:50:09 +00:00
Victor Chang
68a592163b Update test expectation due to locale data change in ICU 68.2
Bug: 160356314
Test: atest FrameworksCoreTests:android.text.format
Change-Id: I1c98de411794b9a964236a3bd128e8aaad52da97
2021-01-22 11:29:41 +00:00
Kohsuke Yatoh
984e3764a5 Merge "Add services/core/j/c/a/server/security/OWNERS." 2021-01-22 11:11:02 +00:00
Ricky Wai
2007b0564e Return error in "sm unmount-app-data-dirs" if app data isolation is not enabled
This command should not do anything when feature flag is off,
and let developer knows this command fails.

Bug: 177228735
Test: run "sm unmount-app-data-dirs" when the app data isolation flag is off and returns error message
Change-Id: If07107712e8215a58ffade08aedce3e80ad1ac12
2021-01-22 10:15:01 +00:00
Remi NGUYEN VAN
c74d6f3115 Merge "Mark connectivity test utilities as module API" 2021-01-22 10:11:39 +00:00
paulhu
f0b4cd7fed Replace NetworkPolicyManagerInternal#isUidRestrictedOnMeteredNetworks()
Connectivity service is going to become a mainline module which
will not able to access hidden APIs. NetworkPolicyManagerInternal
is a internal serivce that CS can't be access after be a mainline
module. Thus, create NPMS#isUidRestrictedOnMeteredNetworks() and
NPM#isUidRestrictedOnMeteredNetworks() to replace
NPMI#isUidRestrictedOnMeteredNetworks().

Also correct the permission check in isUidNetworkingBlocked()
that needs to check OBSERVE_NETWORK_POLICY only.

Bug: 170598012
Test: atest FrameworksNetTests
Test: atest FrameworksCoreTests:NetworkPolicyManagerTest
Test: atest FrameworksServicesTests:NetworkPolicyManagerServiceTest
Test: atest CtsNetTestCases
Test: atest CtsHostsideNetworkTests
Change-Id: I5801a3a2076f3eb199a0226c38c85014b26c64e7
2021-01-22 16:14:28 +08:00
paulhu
69f79b0aca Expose Build.VERSION.FIRST_SDK_INT as module-lib API
Connectivity service is going to become a mainline module which
will not be able to access hidden APIs. But PermissionMonitor
needs know Build.VERSION.FIRST_SDK_INT for granting network
restricted permission to system packages. Thus, expose the value
as module-lib API to support the usage.

Bug: 170598012
Test: make update-api
Change-Id: Id0ae42120f69faee43eeb7ebd35cae9e26cb7561
2021-01-22 15:30:07 +08:00
Remi NGUYEN VAN
649e3a28dd Mark connectivity test utilities as module API
The API surface is planned to move to the Connectivity module, meaning
that it will be maintained across multiple Android releases.
This is incompatible with TestApi semantics, which are designed to be
removable across releases. Effectively the APIs become SystemApi, so
mark them as such considering that TestApi is not supported by modules.

Remove the NetworkCapabilities.getCapabilities test API that is not
essential for tests, and mark other APIs as module API.

Test: m
Bug: 174436414
Change-Id: Ic04551a9874b3d756cf5e6c77ceabfc7c85d52a6
2021-01-22 16:16:57 +09:00
Remi NGUYEN VAN
ad78bf1f22 Remove hidden API usage of Proxy.validate
Proxy is planned to move to the connectivity module, so framework
classes like DevicePolicyManager cannot depend on its private symbols.

Replace usage of ProxyInfo.validate by the equivalent isValid method on
ProxyInfo.

Bug: 174436414
Test: atest DevicePolicyManagerTest#testGetProxyParameters
Change-Id: I6da49a34c9893d07ef7cbee6a7386c9258839467
2021-01-22 14:05:40 +09:00
Remi NGUYEN VAN
a1495b8c6a Add test for proxy spec building
In preparation for a refactor of the logic, add a test to verify proxy
spec building and validation in DevicePolicyManager#setGlobalProxy.

Bug: 174436414
Test: atest DevicePolicyManagerTest#testGetProxyParameters
Merged-In: Ic1c8bf6e8f5e79a7a1736af6cc1d50a7969fb9ad

Change-Id: Ic1c8bf6e8f5e79a7a1736af6cc1d50a7969fb9ad
2021-01-22 14:05:33 +09:00
Daniel Bright
2cc8ead3d6 Add Qos Callback support
* Provide App Developers Qos related info associated to
  a bound socket through ConnectivityManager
* Qos sessions are generated and filtered by Network Agents
  and sent back through the Connectivity Service to the
  API consumer.
* The structure of the code within com.android.server
  is designed to support different types of filters in the
  the future.
* The first type of Qos Attributes are related to EPS
  Bearers in order support RCS.

Bug: 155176305
Test: Added to cts/NetworkAgentTest
Test: Added to ConnectivityServiceTest
Change-Id: I145dd065d9deeee449eb9695ab3f6c8556ee7c09
2021-01-21 20:14:52 -08:00
Daniel Bright
289920808b Add Qos Callback files
* Add QosCallback stub files

Bug: 155176305
Test: N/A
Change-Id: I7c231d60880c37ae1ce49fa8a621badf386ab8a7
2021-01-21 19:50:24 -08:00
Jack Yu
286dc55bc9 Merge "Add intent to notify applications when the secure element state changed" 2021-01-22 02:58:28 +00:00
Paul Hu
846e5f178d Merge "Expose Context#sendStickyBroadcast(Intent, Bundle)" 2021-01-22 02:11:13 +00:00
Louis Chang
6004efd8ee Merge "Do not attach the added recent task to TDA" 2021-01-22 01:24:18 +00:00
Remi NGUYEN VAN
a6f4de3432 Merge "Use network list in UNDERLYING_NETWORKS_CHANGED" 2021-01-22 01:06:01 +00:00
Tianjie Xu
70127316bf Merge "Check slot in reboot function" 2021-01-21 23:18:55 +00:00