The following changes are made:
- Added new SATELLITE_ENABLED column in SimInfo db.
Bug: 263502414
Test: atest android.telephony.cts.SubscriptionManagerTest
Merged-In: I492daea290ef26bde538d1e9482936adba8fe949
Change-Id: I492daea290ef26bde538d1e9482936adba8fe949
This commit updates VCN to be able to mark a test network
as restricted. Additionally, when VCN is in safe mode, VCN will
delegate to the Android system to decide the restriction policy of
the test network.
This commit allows CTS to verify VCN's ability of restricting
networks based on the transport type.
Bug: 263415068
Test: atest VcnManagerTest (new tests)
Change-Id: I5fe0be4ce445a4d9c20cbef5ee4a2eb55403b3c8
AudioDevicePort in Java and native code do not use
a trailing semicolon for the ALSA device address.
Bug: 273252382
Test: m
Change-Id: Iccbf841aee5bb168e0771750b789e154c43ecf8b
Fix "keep in sync" comments for definitions that should match
those in system/media/audio/include/system/audio-hal-enums.h
Test: none, comment update
Change-Id: I150d1262b1cb1d204eb1ff55a7f05f5f65f81680
This patch by default disables transcoding if HEVC decoder is not
supported. It may still be enabled/disabled via persistet properties
and/or device_config settings.
Bug: 270324498
Bug: 270320827
Test: run cts -m CtsMediaProviderTranscodeTests
Test: run cts -m CtsMediaTranscodingTestCases
Change-Id: I63ac7f4dd5103bea3f67a491a3fe030bafce075c
Signed-off-by: Slawomir Rosek <srosek@google.com>
If a client adds custom crafted strings as part of matching key,
it is possible for this restriction to go unnoticed. Instead,
just all allow characters in the key. This means that we cannot
solely rely on getDeliveryGroupMatchingKey() for matching but
don't think this would be a problem for clients of this API
outside the System.
Bug: 275312433
Test: TH
Change-Id: I2ad9c6d270678ddb881168936b1f74bd375de58c
Merged-In: I76e307800017d4dd1e66233b1ff4cc5cbcef7246
After the process "android.process.acore" is killed, the null value will be returned by ContentResolver when the api "getSimAccounts" is called, which will throw NullPointerException.
Explicitly get a ContentProviderClient and call on it. When the process is killed, the RemoteException will be catched.
Bug: 231687839
Change-Id: Idb265d9fcc781612e571deae5014729e3ed59b44
Check whether routing is known when calling
canBeSpatializedOnDevice. Unknown routing is defined
by an empty list of devices for the requested
AudioAttributes.
Add test method in SpatializerHelper to force state.
Implement a unit test covering failure modes when
querying routing.
Test: atest com.android.server.audio.SpatializerHelperTest#testNoRoutingCanBeSpatialized
Bug: 267963974
Change-Id: Ib6d73fec4d57cf372361762b5c1d85329794de92
Merged-In: Ib6d73fec4d57cf372361762b5c1d85329794de92
(cherry picked from commit af85e232b7dc5503220900e0c998e54333bd5f4c)
(cherry picked from commit d5026e8c67ab4f5acfc0dd6e23418291896dd891)
The API docs were incorrect in stating that WRITE_CALL_LOG does not
allow the app to READ the call log. Contact providers have a read and
write permission and per the docs in a contact provider, the write
permission implicitly gives READ access to an app.
Fixes: 254851589
Test: Docs only change.
Change-Id: I7e7ff5cf940f582fb9aa13ccc460ba65be07760d
For improving debuggability of VPN, this commit adds below logs
into dump section.
- Logical bits in Ikev2VpnProfile
- Underlying network cap change and link properties change
- Historical calls to set always on and lockdown mode
- CarrierConfig change history
- IKE events
Test: atest FrameworksNetTests
Test: "adb shell dumpsys vpn_management" with VPN connected
Change-Id: I1a7aa81b207a0fa3cdec08e839fd8916fbff0f3c
The longLivedTcpConnectionsExpensive value relies on the keepalive
value, so the Vpn should send network capabilities update to renew
the VpnTransportInfo. The applications that may bypass VPN based
on the value could update with it accordingly.
The VpnTransportInfo should be recreated when
1. The NeworkAgent is created
2. The underlying network of the VPN network is updated
3. The carrierconfig is changed
The NetworkCapabilities may be updated more frequently than these
3 events. But the others does not affect the keepalive value so
it's fine to used the TransportInfo from existing
NetworkCapabilities.
Bug: 273422889
Test: atest FrameworksNetTests
Change-Id: Ia1a124fc06d2d882eb154f24a75493ad0a308a78
1. New API
- TelephonyDisplayInfo#IsRoaming returns true if device is roaming
overridden by carrier config.
- NetworkRegistrationInfo #isNetworkRoaming, #isNetworkRegistered,
#isNetworkSearching and #getNetworkResitrationState return
roaming value of network without overridden by carrier config or
overlay resource.
2. Deprecated API
- NetworkRegistrationInfo #isRoaming, #isRegistered, #isSearching
and #getResitrationState.
Bug: 260017781
Test: atest CtsTelephonyTestCases:NetworkRegistrationInfoTest
Merged-In: I025b64145caa772b27c410ae5836224f2e922fa1
Change-Id: I025b64145caa772b27c410ae5836224f2e922fa1