Commit Graph

560253 Commits

Author SHA1 Message Date
Remi NGUYEN VAN
3d70ab73eb Merge "Move module sources to packages/Connectivity" 2021-02-01 05:25:15 +00:00
Chalard Jean
1595b1aa38 Merge "Start VcnManagementService after ConnectivityService" 2021-02-01 04:38:08 +00:00
Remi NGUYEN VAN
a31d729863 Move module sources to packages/Connectivity
Files that are planned to be part of the connectivity module are grouped
in packages/Connectivity, so they can be built separately and moved in
one operation with their history into packages/modules/Connectivity.

This places the files in the existing framework-connectivity-sources
filegroup instead of the current framework-core-sources filegroup. Both
are used the same way in framework-non-updatable-sources.

Bug: 171540887
Test: m
Change-Id: I62d9d91574ace6f5c4624035d190260c3126b91e
2021-02-01 11:52:14 +09:00
Calvin Pan
d2d77dba7d Merge "Add TelephonyShellCommand to get EAB contact" 2021-02-01 02:46:16 +00:00
Alex Buynytskyy
00c3346e2d Merge "create owners" 2021-02-01 02:13:19 +00:00
Lorenzo Colitti
2836d8b703 Merge "Allow RNDIS and NCM to be enabled at the same time." 2021-01-31 14:27:45 +00:00
Jakub Pawlowski
a0c7f5115f Merge changes Iec48eba9,I4358aac8
* changes:
  docs: fix typo HDP->HFP in BluetoothHeadset
  docs: Use correct profile for intent
2021-01-30 15:29:21 +00:00
Treehugger Robot
193dfa0a19 Merge "add shell user permissions for Asistant GTS tests" 2021-01-30 01:53:58 +00:00
Tomasz Wasilczyk
13466883b0 Merge "Fix initialization of USER_ROTATION setting." 2021-01-30 00:55:53 +00:00
Kevin Han
6857f6ed91 Merge "Introduce global package hibernation" 2021-01-30 00:37:19 +00:00
Nicholas Ambur
57969acf86 add shell user permissions for Asistant GTS tests
Bug: 177271291
Test: gts-tradefed run gts -m GtsAssistIntentTestCases
Change-Id: I6c6134a9912a73039556a4d700bbb0bb97b6b3d4
Merged-In: I293d66811f8a27170f2bc4cb74b7d4c9ec55fac8
2021-01-29 16:28:19 -08:00
Elliott Hughes
1528efe4b1 Merge "Remove __ANDROID_API__ #if checks." 2021-01-30 00:15:18 +00:00
Junyu Lai
ac0dbac04c Merge "[VCN07.6] Add NOT_VCN_MANAGED for NetworkAgent implementations" 2021-01-29 23:15:32 +00:00
Julius D'souza
6131ca7d2f Merge "Add setup usage for ACCESS_KEYGUARD_SECURE_STORAGE." 2021-01-29 22:56:00 +00:00
Varun Shah
98fc96fc65 Merge "Fixed to prevent usagestats file corruption when writing" 2021-01-29 22:10:29 +00:00
Steven Moreland
4c0600b406 Merge "WatchDog: support dumping AIDL HALs" 2021-01-29 21:24:26 +00:00
Tianjie Xu
b7682d401f Merge "Fixes how unbindService works" 2021-01-29 21:20:22 +00:00
Leon Scroggins
59e8bb9e98 Merge "Apply bilinear filter for Ninepatch." 2021-01-29 21:18:05 +00:00
Amit Mahajan
0a35aae9d6 Merge "Add config config_voice_data_sms_auto_fallback" 2021-01-29 21:06:24 +00:00
Etan Cohen
ec8ebce98e Merge "Revert "Grant shell permissions for Airplane Mode to Shell to support CTS"" 2021-01-29 21:05:59 +00:00
Cody Kesting
ba04ef8481 Merge "Allow system components to request underlying network policies." 2021-01-29 18:58:00 +00:00
Junyu Lai
6194d765d2 Merge "[FUI16] Expose setSubscriberId in NetworkAgentConfig as system API" 2021-01-29 17:15:28 +00:00
Treehugger Robot
c63817d8f0 Merge "add ownership" 2021-01-29 17:14:58 +00:00
junyulai
ded9b18406 [VCN07.6] Add NOT_VCN_MANAGED for NetworkAgent implementations
Follow-up from aosp/1549897, the capability will not be in
default capabilities, but will be in most of the NetworkRequests
which requires internet. Thus, add the capabilities into all
NetworkAgent implementations by default to provide
backward compatibility.

Test: TH
Bug: 175662146
Change-Id: Id706fea7ac3136779e51853956bc1251f1f54611
2021-01-29 14:46:45 +00:00
junyulai
0ee85f3bf8 [FUI16] Expose setSubscriberId in NetworkAgentConfig as system API
The wifi (mainline module) need to set the subscriberId for specific
wifi network.

Bug: 176396812
Test: TreeHugger
Change-Id: Ib568ce0c2d1b629e1c20e7ac8d8b78579cf4825c
2021-01-29 22:09:10 +08:00
Junyu Lai
561626b20d Merge "[FUI04] Refactor VpnInfo" 2021-01-29 13:54:53 +00:00
Naomi Musgrave
a1721e71ca Merge "Introduce OWNERS file for Display unit tests" 2021-01-29 11:33:30 +00:00
Junyu Lai
7e0d8315d1 Merge "[VCN06] Support request background network" 2021-01-29 11:02:02 +00:00
junyulai
d242947ae2 [FUI04] Refactor VpnInfo
As a preparation of exposing system API. This patch does some
harmless refactoring, which includes:
  1. Change raw arrays into lists according to API guidelines.
  2. Write test.
  3. Rename class to UnderlyingNetworkInfo.
  4. Rename vpnIface to iface.
  5. Make underlyingIfaces @NonNull in order to adapt new
     unparceling code.
  6. implement equals and hashCode for testing.

Test: atest android.net.UnderlyingNetworkInfoTest
Bug: 174123988

Change-Id: I405c21e57c4af8a12a9dd0a1749b9e6690f87045
2021-01-29 17:44:32 +08:00
Jakub Pawlowski
1b9358bfe6 docs: fix typo HDP->HFP in BluetoothHeadset
Bug: 158742305
Test: m ds-docs-java
Exempt-From-Owner-Approval: Docs-only change
Change-Id: Iec48eba9a29e1cb7c2565e773ae876db662552ef
2021-01-29 09:21:00 +01:00
Kevin Hufnagle
633ec9f636 docs: Use correct profile for intent
The ACTION_AUDIO_STATE_CHANGED intent action uses the HDP profile,
not the A2DP profile.

Bug: 158742305
Test: m ds-docs-java
Exempt-From-Owner-Approval: Docs-only change
Change-Id: I4358aac8c8aa9fc8b36e517e568e5a9db538555e
(cherry picked from commit fcd519fde9)
2021-01-29 09:16:33 +01:00
Junyu Lai
15f4a9cd7c [VCN06] Support request background network
This will be mainly used by VCN management service which will
need to hold the networks but preserve the backgrounded-ness
of the networks.

Test: android.net.ConnectivityManagerTest#testRequestType
Test: android.net.cts.ConnectivityManagerTest#testRequestBackgroundNetwork /
      --rerun-until-failure 100
Test: ConnectivityServiceTest#testBackgroundNetworks
Test: m -j doc-comment-check-docs
Bug: 175662146

Change-Id: I463c7a3139a286e50ea71e674060975ce228caa9
2021-01-29 14:42:32 +08:00
Todd Kennedy
7a7726e420 create owners
Change-Id: I2791a9f9a80b6f68a948c706d6930d24ed59516d
2021-01-29 05:05:09 +00:00
Cody Kesting
7de2e8443c Allow system components to request underlying network policies.
This CL updates VcnManager to allow system components with permission
NETWORK_FACTORY to request the current VcnUnderlingNetworkPolicy for a
specific Network's NetworkCapabilities and LinkProperties.

Bug: 175900686
Test: atest FrameworksVcnTests
Change-Id: I16416e619bdb03630582f5660260b0090730e9eb
2021-01-28 19:38:06 -08:00
Lucas Lin
6a5d57c2ee Merge "Remove unused method from MatchAllNetworkSpecifier" 2021-01-29 02:47:00 +00:00
calvinpan
c20a67c5c5 Add TelephonyShellCommand to get EAB contact
Bug: 174166728
Test: atest
Change-Id: I102f67d7747c1bdd905a23d5deca6fbbd91ad890
2021-01-29 01:41:33 +00:00
Julius D'souza
1bed1e56ca Add setup usage for ACCESS_KEYGUARD_SECURE_STORAGE.
The SET_INITIAL_LOCK permission takes the "signature|setup" protection
level. Replicate this for secure storage access as this is an implicit
requirement.

Bug: 153726356
Test: N/A
Signed-off-by: Julius D'Souza <jdsouza@google.com>
Change-Id: If03cbf54d69125ee262a0f6ba7a7e11744a442de
Merged-In: If03cbf54d69125ee262a0f6ba7a7e11744a442de
2021-01-28 17:15:43 -08:00
Treehugger Robot
ac165ae86d Merge "Add stange@ to the list of ContextHub owners" 2021-01-29 01:01:53 +00:00
Treehugger Robot
7bbf421612 Merge "Throw IllegalStateException to fail fast in IMS" 2021-01-28 23:59:11 +00:00
Kevin Han
f4261d7215 Introduce global package hibernation
Introduce the concept of global package hibernation / package-level
hibernation. This opens the way for optimizations at the package or
APK level based off usage across all users.

Bug: 175829330
Test: atest AppHibernationServiceTest
Test: adb shell cmd app_hibernation get-state --global
com.google.android.deskclock

Change-Id: Ic989fc09a4c60f3bbf28b34fe38fa07e77eedacb
2021-01-28 15:32:23 -08:00
Steven Moreland
f6fee67b6e WatchDog: support dumping AIDL HALs
Similar to how HIDL HALs are here, we don't know the commandline of the
service, so we can dump them based on service name prefixes.

Power stats and lights are added here, for parity w/ HIDL since these
hvae been converted to AIDL.

Fixes: 175322136
Test: after `adb shell am hang`, we can verify the light service is
  dumped, when it wasn't before:

  vsoc_x86_64:/data/anr # cat anr_2021-01-28-22-42-44-969  | grep light
  Cmd line: /vendor/bin/hw/android.hardware.lights-service.example

Change-Id: I8c8b0cff0c102221875114015a5524c03cfb5b5c
2021-01-28 22:53:23 +00:00
Jiachen Zhao
cf7b9b9a3d Fixes how unbindService works
We shouldn't create a new object to do unbinding.

Bug: 172780686
Test: TreeHugger; try server based ror, no exception for unbind

Change-Id: I4f3cc29380125c21ae7a3b975282244a4de25db9
2021-01-28 14:34:43 -08:00
Baligh Uddin
d985fe7b0e Merge "Migrate apex/permission to packages/modules/Permission" 2021-01-28 22:33:05 +00:00
Treehugger Robot
008819a578 Merge "Create owners" 2021-01-28 22:04:48 +00:00
Anthony Stange
657eb5b233 Add stange@ to the list of ContextHub owners
Change-Id: I91b4d30f94b7a75f50ece7c6fddab666e43d01b9
Test: presubmits
2021-01-28 20:49:20 +00:00
Treehugger Robot
9aba68730c Merge "Keystore 2.0 SPI: Add back-off hint to BackendBusyException." 2021-01-28 20:39:01 +00:00
Treehugger Robot
49467f1cdf Merge "Fix race condition in linearblock release between TIS and MediaCodec" 2021-01-28 20:01:11 +00:00
Jiashen Wang
f2193be3f0 Merge changes from topics "downloadable_init_change_1", "downloadable_init_change_2"
* changes:
  Do now throw exception when activation code is empty
  Init DownloadableSubscription with Confirmation Code
2021-01-28 19:53:49 +00:00
James Lin
4548fab7d6 Merge "Expose the RCS UCE APIs for capabilities request with presence mechanism." 2021-01-28 19:35:54 +00:00
Henry Fang
64cd9d3cf9 Fix race condition in linearblock release between TIS and MediaCodec
Bug: 177247275
Test: Manual
Change-Id: I13f924adc3586607eb3a60d184e7786536c7b788
Merged-In: I13f924adc3586607eb3a60d184e7786536c7b788
2021-01-28 18:42:50 +00:00