- Dec 16, 2021
-
-
Steven Moreland authored
-
Ayush Sharma authored
-
Ayush Sharma authored
Revert "Suppress NewApi warnings for @SystemApi -> public APIs" Revert "Add VpnServiceBuilderShim for VpnService.Builder" Revert submission 1551943-vpn-impl Reason for revert: <DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=aosp-master&target=mainline_modules_x86_64-userdebug&lkgb=8007224&lkbb=8008168&fkbb=8007902 >, bug b/210979001 Reverted Changes: I0e7aa077a:Add VpnServiceBuilderShim for VpnService.Builder Ib12f5ab39:Suppress NewApi warnings for @SystemApi -> public ... I59b9185cf:Unhide RouteInfo#getType and related fields Ie5b62b2b2:Unhide IpPrefix(InetAddress, int) I993a32d40:Add CTS tests for exclude VPN routes APIs Ib24b2d3fb:Suppress NewApi warnings for @SystemApi -> public ... Ic3b10464a:Add APIs that allow to exclude routes from VPN Change-Id: I89209357ab4bb206d206adcf9fd6d3498ce6ef4c BUG: 210979001
-
Treehugger Robot authored
-
Xiao Ma authored
-
Aaron Huang authored
-
Taras Antoshchuk authored
-
Junyu Lai authored
-
Xiao Ma authored
ethernet-service is going to be moved into Connectivity mainline module. Move all ethernet related files in f/b/ to f/b/packages/ConnectivityT so that it's easier to migrate these files to Connectivity module finally after clearing the hidden API usages. Below files to be moved: Ethernet framework related files: - EthernetManager.java - EthernetNetworkSpecifier.java - IEthernetManager.aidl - IEthernetServiceListener.aidl - ITetheredInterfaceCallback.aidl Ethernet service related files: - IpConfigStore.java(EthernetConfigStore has dependency on the class) For the ethernet-service related files, keep it as-is temproraliy and fix the hiden API dependencies in f/opt/net/ethernet/. After this work is done, then migrating the whole of ethernet folder to Connectivity module completely. This CL also fixes some minor errors of code style format to pass the code style check. Bug: 210586283 Test: build pass atest FrameworksNetTests atest EthernetServiceTests Change-Id: Ib359d29d5221105f648bc4194c6d6dbe4cc6e3e5
-
Treehugger Robot authored
-
Rambo Wang authored
-
Hyundo Moon authored
-
Steven Moreland authored
If other types of exceptions happen here, we should still recycle the Parcel. Bug: 207778694 Test: boot Change-Id: I3375b87a674c45f8bc66848dfaf899497f5acaa8
-
Hunter Knepshield authored
-
Rambo Wang authored
CarrierService#onLoadConfig is called from platform to carrier service to load carrier-specific configuration values. In case when the multiple subscriptions are supported for the same carrier (e.g. Fi on pSIM + Fi on eSIM case), the current API is not able to distinguish on which subscription the carrier config should be loaded. The subscription parameter introduced in the API can resolve the problem. If carrier app has no need to distinguish configs by subscriptions, it can simply ignore overriding the new version of the API. Bug: 131697791 Test: atest CarrierServiceTest CTS-Coverage-Bug: 210143342 Change-Id: Id7cd75c24f01119749cb5bf31d4335c638547aaf
-
- Dec 15, 2021
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Rambo Wang authored
-
Treehugger Robot authored
-
Rambo Wang authored
-
Rambo Wang authored
SignalStrengthUpdateRequest#setSystemThresholdReportingRequestedWhileIdle is built to replace the deprecated feature PhoneStateListener#LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH. The only client (Bluetooth) does not allow hidden API call. @SystemApi is the next option while the API is not intended to be public yet. The javadoc is also updated to be more precise on when the permission is required. Bug: 205544105 Test: atest TelephonyManagerTest CTS-Coverage-Bug: 205602896 Change-Id: Ia72cc1c77cf5b97458f8f6191a24bfa77a861234
-
Etienne Ruffieux authored
-
Treehugger Robot authored
Merge "Delete skipCallbacks when Exception dispatchInputEvent beacuse calling finishInputEvent twice will cause 'Native Crash'"
-
Avinash Malipatil authored
associated with CBRS pSIM Bug: 209555162 Test: build Change-Id: I4429a0bada9632dff0935fabafdd23785837f184
-
Treehugger Robot authored
-
Aurimas Liutikas authored
Fixes: frameworks/base/packages/SystemUI/src/com/android/systemui/media/RecommendationViewHolder.kt:50:40: error: this annotation is not applicable to target 'type usage' val mediaCoverItemsResIds = listOf<@IntegerRes Int>( ^ Test: make -j Merged-In: I55129c609ecc26ee71f234778de379d31c9e9cb6 Change-Id: I55129c609ecc26ee71f234778de379d31c9e9cb6
-
Rambo Wang authored
Current APIs does not include subId or phoneId to locate which carrier network reported the change. A patch based on carrier privilege were deployed in Q to temprarily fix the issue. However, multiple subscriptions which all have the carrier privileges will all get notified, even only one of them has the real change. To throughly resolve the issue, the subscription is introduced in the API to distinguish which network actually has the change. Bug: 131697791 Test: atest TelephonyRegistryManagerTest CarrierServiceTest Change-Id: Ie7ee25f53da605c15e1a9228482cc8c4e7406d2a
-
Treehugger Robot authored
-
Jon Eckenrode authored
-
Etienne Ruffieux authored
Tag: #feature Bug: 197210455 Test: set/get sysprop with SystemProperties Merged-In: I613808dbc930c90e391df9857a173a86aedc4acf Change-Id: I613808dbc930c90e391df9857a173a86aedc4acf
-
Aaron Huang authored
IpSec is going to move to Connectivity mainline module so hidden API usage should be removed. There's no formal API could be an alternative for Build.IS_ENG. Considering isUnsafeBuild() is not a really helpful method because it only prints the log in eng build. Therefore, remove it. Bug: 204153604 Test: FrameworksNetTests Change-Id: Ic354e12423629b0d72e8087843893953a0c8c465
-
Aaron Huang authored
IpSecService is going to be moved into ConnectivityService module. So, NetdService won't be visible to IpSecService since it is a hidden class. NetdService.get(timeout) is a method that blocks for specified time until INetd instance is available. In SystemServer IpSecService is created after NetworkManagementService and NMS uses NetdService.get() to get INetd instance which is a method that blocks until an INetd instance is available. Thus, connectNativeNetdService can be removed because NMS already waits for INetd instance is available so IpSecService should be able to get INetd instance immediately. Bug: 204153604 Test: FrameworksNetTest Change-Id: I007cb28de63783d60084f93dddb4de78faa0e868
-
Hyunho Shin authored
-
Aaron Huang authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Jing Ji authored
-
Alice Kuo authored
The patch contains two topic. 1. Add test case for csip set member device add/remove logic 2. Fix clearNonBondedDevices issue. Remove object from set as iterating, it would cause ConcurrentModificationException, make a copy as iterating to achieve the safe remove. Bug: 205507889 Bug: 150670922 Bug: 178981521 Test: make -j50 RunSettingsLibRoboTests ROBOTEST_FILTER=CachedBluetoothDeviceManagerTest Change-Id: I3fa3fd9a9e13e011ce2ce01a8142511c86ccbf1c
-