summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-12Merge "Snap for 8580505 from 821acc6177c2c6459d223e0a6ecef7f3d24d8876 to ↵main-cg-testing-releaseAndroid Build Coastguard Worker
main-cg-testing-release" into main-cg-testing-release
2022-05-12Snap for 8580505 from 821acc6177c2c6459d223e0a6ecef7f3d24d8876 to ↵Android Build Coastguard Worker
main-cg-testing-release Change-Id: I062c42a1369d5b8f5bddb6ac3e4de5cde62c58ce
2022-05-12Merge changes I5241086c,I3e96ab6aTreehugger Robot
* changes: Cleanup in EmulatorClipboardMonitor (2) Cleanup in EmulatorClipboardMonitor (1)
2022-05-12Merge "Make PCC indication logic consistent between HIDL and AIDL"Treehugger Robot
2022-05-12Merge "Add default value for TCP buffers"Treehugger Robot
2022-05-12Merge "Keystore: Wire up Ed25519 signing"Treehugger Robot
2022-05-12Merge "Add dataFailCause existence check"Treehugger Robot
2022-05-12Merge "Add in sandbox UIDs when configuring VPN."Martijn Coenen
2022-05-12Merge "Fixed the incorrect APN dedupling"Treehugger Robot
2022-05-12Keystore: Wire up Ed25519 signingEran Messeri
Wire Ed25519 signing into Keystore. This consists of registering a provider for Ed25519. Ed25519 has its own digest scheme, so the caller should specify "none" as the digest scheme, and that's the tag that's going to be passed into KeyMint. However, unlike other uses of the "NONE" digest scheme, the input to the signature algorithm should not be truncated. Bug: 194359292 Test: atest android.keystore.cts.Curve25519Test Merged-In: Icce4f7f2f8fa10081a9c6beff4813c2d91756469 Change-Id: Ic59ad0aa8343c6aecf6d5c273166d1f4d10e4f21
2022-05-12Merge "Added enhanced IWLAN handover check support"Treehugger Robot
2022-05-12Add default value for TCP buffersSarah Chin
Test: build Bug: 222323543 Change-Id: I9741ccb720219b6e68dac6db4fd2da3a65f90f22 Merged-In: I9741ccb720219b6e68dac6db4fd2da3a65f90f22
2022-05-12Make PCC indication logic consistent between HIDL and AIDLSarah Chin
Test: atest PhysicalChannelConfigTest Bug: 228909053 Change-Id: Ib1045aafe5e59cb1a6545612d87514929e60b6a6 Merged-In: Ib1045aafe5e59cb1a6545612d87514929e60b6a6
2022-05-12Add dataFailCause existence checkLing Ma
Fix: 231530653 Test: manual Change-Id: I7409e40a7b5c1468112938f663c37508a4f3b1f0 Merged-In: I7409e40a7b5c1468112938f663c37508a4f3b1f0
2022-05-12Fixed the incorrect APN deduplingJack Yu
Fixed that APN settings can't be merged when one APN entry has MTU set, but the other doesn't. Also default MTU unset value to 0 for backwards compatability. Test: atest DataProfileManagerTest & Manual testing Fix: 226563054 Change-Id: I02190be62855f5f3b86c41677bbf7ff6a362e652 Merged-In: I02190be62855f5f3b86c41677bbf7ff6a362e652
2022-05-12Added enhanced IWLAN handover check supportJack Yu
Added enhanced IWLAN handover check support, where telephony frameworks will not perform handover if the target transport is out of service, or VoPS not supported. The network will be torn down on the source transport, and re-established on the target transport when condition is allowed for bringing up a new network. Fix: 229151428 Test: atest DataNetworkControllerTest & Sanity testing Change-Id: Iad41d4e8e23001b9c19a81edac04b1099e550f3e Merged-In: Iad41d4e8e23001b9c19a81edac04b1099e550f3e
2022-05-11Cleanup in EmulatorClipboardMonitor (2)Roman Kiryanov
The whole `openPipe` function does not have to be synchronized. Bug: 231345789 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I5241086c947a4227fb32648f0693303be66f4d46
2022-05-11Cleanup in EmulatorClipboardMonitor (1)Roman Kiryanov
Bug: 231345789 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: I3e96ab6ada8f0c892613a1f9dcc6b6ae12f6d73b
2022-05-12Merge "Remove services/core/OWNERS"Colin Cross
2022-05-12Merge "Correct stream type for BLE input device"Kyunglyul Hyun
2022-05-12Merge "Skip ApkVerityTest on HWASan."Treehugger Robot
2022-05-11Merge "Fix indicator can't disappear in some cases"Nate Myren
2022-05-11Skip ApkVerityTest on HWASan.Florian Mayer
This is consistently broken. Change-Id: I0e68d63a54923987aec5f2e6e0d2304c32fff515
2022-05-11Merge "Use lint database from api_version_public"Anton Hansson
2022-05-11Merge "Label emulator clipboards with `SUPPRESS_CLIPBOARD_OVERLAY`"Roman Kiryanov
2022-05-11Correct stream type for BLE input deviceKyunglyul Hyun
Correct the stream type of an active BLE input device as STREAM_DEFAULT. Bug: 230556991 Test: Switching BLE -> Phone -> BLE to check if Blutooth volume is recovered (A2DP is tested as well to ensure no regression) Change-Id: I883cce5e2525d6a10970fe38bd36e676438d016a Merged-In: I0dc289d9b670133928513aa5e5c1edd240351aef
2022-05-11Merge "Ignore tests in RecoverableKeyStoreManagerTest"Dmitry Dementyev
2022-05-10Ignore tests in RecoverableKeyStoreManagerTestDmitry Dementyev
Expired cerificate causes tests failure. Bug: 231667368 Test: N/A Change-Id: I2bbc952a95f983d0ea4d85e519b55322a5d88568
2022-05-10Label emulator clipboards with `SUPPRESS_CLIPBOARD_OVERLAY`Roman Kiryanov
Emulator QA found this popup too noisy to be useful. Bug: 222604628 Test: boot the emulator, copy on the host Test: check if there is no popup in the guest Change-Id: I46323732a64202dabdd3a43bf17df7e7f3f9dd9c Signed-off-by: Roman Kiryanov <rkir@google.com>
2022-05-10Merge "Populate carrier id in anomaly reports."Kiwon Park
2022-05-10Merge "Add wrappers around IO functions to check the return values"Roman Kiryanov
2022-05-10Populate carrier id in anomaly reports.Kiwon Park
Test: statsd_testdrive Bug: 188462677 Change-Id: Id3859dad6a64be61d38865562887879878d08af9 (cherry picked from commit 9e41ab3c4bf2c8aae5535179ebf33264970e756e) Merged-In: Id3859dad6a64be61d38865562887879878d08af9
2022-05-10Merge "Unset platform_apis if sdk_version is already set"Vinh Tran
2022-05-10Merge "Add a Y2038 check into the time_detector"Neil Fuller
2022-05-10Merge "Keystore: Support Ed25519 keys"Eran Messeri
2022-05-10Add a Y2038 check into the time_detectorNeil Fuller
Add a Y2038 check into the time_detector and add infrastructure to allow command-line testing to confirm it works. This is before removing a Y2038 check from NITZ parsing code in the telephony process. After this change, Androdi will consistently block >= Y2038 suggestions, not just time signals that come in via telephony. The initial checks attempt to limit the restriction to devices with 32-bit ABIs, since the main issue we're aware of is that time_t is a 32-bit signed int under bionic, hence there could be issues with that type in 32-bit processes on 32-bit / mixed 32/64-bit devices. Bug: 204193177 Test: adb shell cmd time_detector suggest_network_time --reference_time 2480587 --unix_epoch_time 1646473966056 Test: Run with 32-bit + 64-bit only builds, inspect adb shell dumpsys time_detector Merged-In: Ib9d6472f5ca7a62d59b3224f1845846f99a0b52d Change-Id: Ib9d6472f5ca7a62d59b3224f1845846f99a0b52d
2022-05-10Keystore: Support Ed25519 keysEran Messeri
Implement support for Ed25519 signing keys in Android Keystore. Because Conscrypt does not yet handle those keys, the Keystore classes implement EdECPublicKey directly and parse the keys. Specifically, AndroidKeyStoreEdECPublicKey can take an encoded X.509 key specification, validate the encoding is of an Ed25519 key, then parse the oddity and Y point on the curve. RFC8032 describes EdDSA signature scheme, particularly Ed25519. RFC8410, Section 3, defines the OID for Ed25519 keys (1.3.101.112). RFC8410, Section 4, describes the encoding of the public key. Bug: 195309719 Bug: 194359292 Bug: 214203951 Test: atest android.security.keystore2.AndroidKeyStoreEdECPublicKeyTest Merged-In: I07b793cbd5029630768368ad4a863bbc1c828ced Change-Id: I477e87658b98bc3340da9a062d81508aad041c07
2022-05-09Add wrappers around IO functions to check the return valuesRoman Kiryanov
Os.read and Os.write don't throw exceptions if `fd` is closed on the other end. Bug: 231345789 Test: save a snapshot Test: use clipboard both, check if there is no Test: infinite loops which sets the clipboard Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: If98fb3adf58f2e4e13d483b78ea05ea9d8d61b58
2022-05-09Unset platform_apis if sdk_version is already setVinh Tran
Unsetting platform_apis while keeping sdk_version as is does not affect the module's deps Test: m queryview && builozer 'print soong_module_deps' :target (to ensure the deps aren't affected Bug: 219755537 Change-Id: Ic0d02c5e7fec24843e4cd2541cc5106381c7180e
2022-05-09Merge "Revert "Remove sdk_version if platform_apis is set""Vinh Tran
2022-05-09Merge "Keep ArtStasLog write() functions"Treehugger Robot
2022-05-09Merge "Improved data fail cause debug message"Jack Yu
2022-05-09Merge changes from topic "deny-create-user-dirs"Eric Biggers
* changes: Zygote: relabel to either system_userdir_file or system_data_file BrightnessTracker: don't create stuff directly in /data/system_de
2022-05-09Revert "Remove sdk_version if platform_apis is set"Vinh Tran
This reverts commit 160172d92d83338bd80c4996c0237ca866bc20ae. Reason for revert: Should have removed platform_apis instead because removing platform_apis doesn't change the module deps (done in aosp/2085943) Test: CI Bug: 219755537 Change-Id: I9657e569d942bf845c79352a042553c6fc6b0fd3
2022-05-09Use lint database from api_version_publicAnton Hansson
These two databases are (nearly) identical but the latter is generated in a much more efficient way. The diffs are very minor and it's not clear to me which versions is more correct than the other, though I'm fairly confident they don't matter. https://paste.googleplex.com/5567994005553152 Droidstubs now support using the api-versions.xml from another droidstubs module, so reuse the one from api_versions_public in framework-doc-stubs. Bug: 187398174 Test: diff api-versions.xml Test: diff stubs of framework-doc-stubs Change-Id: I774be9097e97d6b180fe54d799c94515780be6ec
2022-05-09Merge "Snap for 8559592 from 0d0729a62fd8a9c38b708b51f9813e199c9082ea to ↵Android Build Coastguard Worker
main-cg-testing-release" into main-cg-testing-release
2022-05-09Snap for 8559592 from 0d0729a62fd8a9c38b708b51f9813e199c9082ea to ↵Android Build Coastguard Worker
main-cg-testing-release Change-Id: I3926382770414ccc6ff3a362e000683d364a6913
2022-05-08Improved data fail cause debug messageJack Yu
Test: Manual Fix: 228611718 Merged-In: Ic3a5a64a4e57ed49dd4445ff31018b78e833f73f Change-Id: Ic3a5a64a4e57ed49dd4445ff31018b78e833f73f
2022-05-09Merge changes from topics "enterprise_internet", "set_data_enabled"Jack Yu
* changes: Improved the network type to string SetDataEnabled indicate calling package
2022-05-08Improved the network type to stringJack Yu
Bug: 227781379 Test: atest DataNetworkControllerTest DataProfileManagerTest Merged-In: I6d09ade1650e226a965547e3f78e74f3f2ffec59 Change-Id: I6d09ade1650e226a965547e3f78e74f3f2ffec59