summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-14Merge "AndroidRuntime: Expose javaAttachThread / javaDetachThread."android-s-beta-4android-s-beta-3android-s-beta-4Yifan Hong
2021-07-14Merge "Cleanup the public API getActiveNetworkForUid on AOSP"Frank Li
2021-07-14Merge "Delete the unused netlink-client lib from service.net."Treehugger Robot
2021-07-14Delete the unused netlink-client lib from service.net.Xiao Ma
This cl also paves the path for netlink-client lib migration, after moving the netlink-client library to frameworks/libs/net/common and build it as an individual library, deprecate the netlink-client lib and use net-utils-device-common-netlink instead. Bug: 192535368 Test: atest FrameworksNetTests Change-Id: Iad91562d56c503399230e1fe6a635db68e07541d
2021-07-14Cleanup the public API getActiveNetworkForUid on AOSPlifr
Use reflection method to replace the use of public api getActiveNetworkForUid. Android 12 version, the public API getActiveNetworkForUid and all (outside the module) callers of the API have been removed and replaced. Unfortunately, the related delete/replace code cannot be synced to AOSP ,so in order to keep the public api consistent in Android 12 & AOSP, The commit uses reflection method to replace the caller of this public api, Then we can delete this public API in another commit in AOSP. Bug: 183465229 Test: atest ConnectivityControllerTest atest CtsJobSchedulerTestCases:ConnectivityConstraintTest Merged-In: Ie93cd22b11cc28135a385c0cf6ad6b577b61d1b7 Change-Id: Ia636480b12a9b4a9e2c5dd2ec9259af3167df909
2021-07-14Merge "Use tmpArgBuffer correctly when argBuffer is null"Hans Boehm
2021-07-13Merge changes from topics "getApnTypeString", "qns_switched_pref"Jack Yu
* changes: [Telephony] Clean up: remove getApnTypeStringInternal Disallow data when QNS switched the preference
2021-07-13Merge "Implement permission check for virtualizationservice"Jiyong Park
2021-07-13Merge "HDMICEC: Add equals test for ActiveSource"Treehugger Robot
2021-07-13Merge "Allow usage of SdkLevel in the framework/wifi services"Treehugger Robot
2021-07-13Merge "Update PhoneAccountHandle API docs."Treehugger Robot
2021-07-13Merge "Merge RQ3A.210705.001 to aosp-master - DO NOT MERGE"Bill Yi
2021-07-12Merge "Fix a potential NPE when allocating space for compressed apex"Treehugger Robot
2021-07-13Implement permission check for virtualizationserviceJiyong Park
For the service to be able to check permission, the AIDL interface is exported to the virt APEX where virtualizationservice is in. In addition, the VM permissions are granted to shell so that developers can use the 'vm' tool on the shell. Bug: 168588769 Test: /apex/com.android.virt/bin/vm run-app --log /dev/null /data/local/tmp/virt/MicrodroidDemoApp.apk /data/local/tmp/virt/MicrodroidDemoApp.apk.idsig assets/vm_config.json Change-Id: I00db58ba9cef3b83f43db68ef86f062b59a0e6e1
2021-07-12[Telephony] Clean up: remove getApnTypeStringInternalZoey Chen
Bug: 181696914 Test: make Merged-In: Ia79bb9eaa1fc43a2995730da47289274f94d67fe Change-Id: Ia79bb9eaa1fc43a2995730da47289274f94d67fe (cherry picked from commit 6930ca1e6d0a4bca33c376a227a5954bfb243e2d)
2021-07-12Disallow data when QNS switched the preferenceJack Yu
When the preference has switched to another transport, do not allow data setup. This avoid the case that data service keeps asking telephony to retry while QNS already switched the preference to another transport. Test: Manual Fix: 182899920 Fix: 175399007 Merged-In: I1a0c86a978756d5b05851d939e011010f8f1afc2 Change-Id: I1a0c86a978756d5b05851d939e011010f8f1afc2 (cherry picked from commit 50a8fccec78c09d70e428a729d56c011776a15c4)
2021-07-12Merge RQ3A.210705.001 to aosp-master - DO NOT MERGEBill Yi
Merged-In: I867df303b8da1b9748e5a775dd8bf4a1b910c434 Merged-In: Ia19f336f9eca3b493157dcd3ad07d267b6526e8f Merged-In: Ia19f336f9eca3b493157dcd3ad07d267b6526e8f Change-Id: I16c6e1ee5e172100a22995ae464c5f2c596d2381
2021-07-12Merge "getGpuDmaBufUsageKb: Report usage in Kilobytes"Kalesh Singh
2021-07-12Fix a potential NPE when allocating space for compressed apexKelvin Zhang
Bug: 189369298 Test: th Change-Id: I9357be8021e77fc8c3839f15a4a53c2a3c63cb13
2021-07-12getGpuDmaBufUsageKb: Report usage in KilobytesKalesh Singh
getGpuDmabufUsageKb currently reports the total size of dma-bufs attached by the GPU device from /sys/kernel/dmabuf/buffer/<inode>/size nodes. However these sysfs nodes report the buffer size in bytes. Convert the value returned by getGpuDmaBufUsageKb to KB. Bug: 193403146 Test: Manual Change-Id: Ie17382794f7e4db34ddadf75488d8f82de435ae0
2021-07-11Use tmpArgBuffer correctly when argBuffer is nullWang Han
* Seems to be a typo and can cause NPE. Change-Id: I7e253c97e02767a076d9450e88ccea08c5122bb1
2021-07-09Merge "Add System.runFinalization() call"Hans Boehm
2021-07-09Add System.runFinalization() callHans Boehm
Lone calls to System.gc() generally don't do anything. Runtime.getRuntime().gc() would force a GC, but it would be ineffective without waiting for reference processing and finalization to complete. Adding the runFinalization() call implicitly makes the preceding GC call effective. Bug: 183912710 Test: Treehugger Change-Id: I0f4806b8e3f9ca898eb7ea1b1c8de14aa94e2646
2021-07-09Merge "Remove hidden preconditions, binder usage in Vpn"Treehugger Robot
2021-07-09Merge "Fix long characteristic write concurrency bug."Johanna Ye
2021-07-09Merge "Map SELINUX_LATEST_CHANGES to Build.CUR_DEVELOPMENT"Bram Bonné
2021-07-09HDMICEC: Add equals test for ActiveSourceVenkatarama NG. Avadhani
Add an equality test for the nested class ActiveSource in HdmiCecLocalDevice. Bug: 168713324 Test: atest HdmiCecLocalDeviceTest#testEqualsActiveSource Change-Id: I1312004c3a91d8638033c9bb815f3dd61eb3f8cc Merged-In: I1312004c3a91d8638033c9bb815f3dd61eb3f8cc
2021-07-09Map SELINUX_LATEST_CHANGES to Build.CUR_DEVELOPMENTBram Bonné
The SELINUX_LATEST_CHANGES AppCompat flag should always put the app in the SELinux domain targeting the current release. Fixing its target SDK to CUR_DEVELOPMENT ensures that it always gets added to the latest SELinux domain. Bug: 193151214 Bug: 171572148 Test: atest CtsSelinuxTargetSdkCurrentTestCases Test: atest CtsSelinuxTargetSdk30TestCases Test: atest CtsSelinuxTargetSdk29TestCases Test: atest CtsSelinuxTargetSdk28TestCases Test: atest CtsSelinuxTargetSdk27TestCases Test: atest CompatChangesSelinuxTest Change-Id: I643a65e79e076518c27c31d05229ee509fa35ec5
2021-07-09Remove hidden preconditions, binder usage in VpnRemi NGUYEN VAN
The hidden APIs cause problems when Vpn is used in connectivity tests, as their package (com.android.internal.util for Preconditions and ThrowingRunnable used by lambdas) gets jarjared by Connectivity, but the utils are not actually statically linked into the tests. Remove usage of the hidden utilities, which will also be useful if Vpn needs to build against SDK in the near future. Bug: 187935317 Test: atest ConnectivityCoverageTests:ConnectivityServiceTest Change-Id: I6152f07e7e88a88c202d78f03e370173fdd9a016
2021-07-09Merge "Remove the dependency of dnsresolver_aidl_interface-java"Lucas Lin
2021-07-08Merge "Keystore 2.0 SPI: Add EC_CURVE tag on key generation."Treehugger Robot
2021-07-08Keystore 2.0 SPI: Add EC_CURVE tag on key generation.Janis Danisevskis
The KeyMint spec requires the specification of the EC_CURVE tag when generating an EC key. This patch adds the correct curve tag parameter to the parameter list. Test: CtsVerifier Protected confirmation test. Bug: 192908276 Merged-In: I2e7dd4868abda85d244e73592ff12d688f5c21fc Change-Id: I2e7dd4868abda85d244e73592ff12d688f5c21fc
2021-07-08Merge "Report prebuilt and vdex compilation reasons to TRON."Nicolas Geoffray
2021-07-08Allow usage of SdkLevel in the framework/wifi servicesChalard Jean
This is necessary for EthernetNetworkFactory because it uses the static lib NetworkFactory which needs to test where it runs. Wifi services also need this for its own factories. Bug: 183902758 Test: ClientModeImplTest OemWifiNetworkFactoryTest TelephonyNetworkFactoryTest UntrustedWifiNetworkFactoryTest WifiNetworkFactoryTest Change-Id: I73cc38d7857934fe50995c666915662de4c154ce Merged-In: I73cc38d7857934fe50995c666915662de4c154ce
2021-07-08Remove the dependency of dnsresolver_aidl_interface-javaLucas Lin
There is no one in platform that refers to dnsresolver_aidl_interface-java, so remove the dependency of dnsresolver_aidl_interface-java from platform. Bug: 184015724 Test: atest FrameworksNetTests Change-Id: Id229f68404ddf50a5ed8da800a3dbe8acead2d20 Merged-In: Id229f68404ddf50a5ed8da800a3dbe8acead2d20
2021-07-07Merge "Revert "Add ota_dexopt_aidl_interface""Nikita Ioffe
2021-07-06Revert "Add ota_dexopt_aidl_interface"Nikita Ioffe
Revert "Move otadexopt-related logic to otapreopt_chroot binary" Revert "Allow otapreopt_chroot to call otadexopt binder service" Revert submission 1750144-otapreopt_chroot_speed_up Reason for revert: Breaks postinstall step on some devices Reverted Changes: I56dec13c8:Add ota_dexopt_aidl_interface Ib32cbbbf8:Allow otapreopt_chroot to call otadexopt binder se... I02e80a8e6:Move otadexopt-related logic to otapreopt_chroot b... Bug: 190817237 Change-Id: I86845838bf16268e7b1c87bb3faa7238e7b3426d
2021-07-06Merge "add OWNERS file to new compat.overrides sub- package"Tom Natan
2021-07-06Report prebuilt and vdex compilation reasons to TRON.Nicolas Geoffray
They were currently being reported as "unknown". Test: m Bug: 192408935 Change-Id: I00c3761413899d28316910f37efab7cd2e942832
2021-07-05add OWNERS file to new compat.overrides sub- packagetomnatan
This package will host the service that applies per-app compat overrides. Bug: 190024878 Test: none Change-Id: I2d875c8fa9028b6940124e78dd5d581e5b87e26d
2021-07-05Merge "Move BitUtils, RingBuffer test to coretests"Remi NGUYEN VAN
2021-07-04Merge "Import translations. DO NOT MERGE ANYWHERE"Treehugger Robot
2021-07-04Merge "Import translations. DO NOT MERGE ANYWHERE"Treehugger Robot
2021-07-04Merge "Import translations. DO NOT MERGE ANYWHERE"Treehugger Robot
2021-07-04Merge "Import translations. DO NOT MERGE ANYWHERE"Treehugger Robot
2021-07-04Merge "Import translations. DO NOT MERGE ANYWHERE"Treehugger Robot
2021-07-04Merge "Import translations. DO NOT MERGE ANYWHERE"Treehugger Robot
2021-07-04Merge "Import translations. DO NOT MERGE ANYWHERE"Treehugger Robot
2021-07-04Merge "Import translations. DO NOT MERGE ANYWHERE"Treehugger Robot
2021-07-04Merge "Import translations. DO NOT MERGE ANYWHERE"Treehugger Robot