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
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
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
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>
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
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
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
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
This reverts commit 160172d92d.
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
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
Some of these functions are called from IsolatedCompilationMetrics, a
class added to the system server classpath by the (non-updatabale)
com.android.compos APEX. Without this they are stripped as apparently
unused, leading to system server crashing when we try to call them.
Bug: 231271783
Test: Stage APEX, observe no crash, job scheduled successfully
Test: atest CompOsSigningHostTest#verifyArtUpgradeGeneratesAnyArtifacts
Change-Id: I5ad0249b0aae87e98ebdd3deb6e8c58bfb691ebc
Merged-In: I5ad0249b0aae87e98ebdd3deb6e8c58bfb691ebc
Temporarily disabled new data stack until all CTS fixed
on aosp_master.
Fix: 226046162
Test: atest CtsNetTestCases
Change-Id: Ie40ca14ae986192542bc1318bd345d9d31562680
Invert the flag so even if this flag does not exist in the
resource, the new data stack is still enabled by default.
Fix: 228813515
Test: Manual && atest FrameworksTelephonyTests
Merged-In: I75737c0ef9bce91385f815133e1878e5abea68ff
Change-Id: I75737c0ef9bce91385f815133e1878e5abea68ff
Not create DcTracker and TransportManager instances
when new data stack is enabled.
Test: atest FrameworksTelephonyTests and manually tested on
Pixel 4 and Pixel 6.
Bug: 222323544
Merged-In: Ice595f329e2f4e531dc577cd3db7c863ba15d6d6
Change-Id: Ice595f329e2f4e531dc577cd3db7c863ba15d6d6