All uses of AudioManager.setParameters are a hack that we have to remove.
Bug: 196440888
Tag: #refactor
Test: Build
Change-Id: I6deeffef8fbd8ba1c501f41c74b4763503106cc0
To speed up the test. For a trivial am instrument run:
[Before]
0m01.53s real 0m00.16s user 0m00.16s system
[After]
0m00.72s real 0m00.21s user 0m00.11s system
Bug: 204195830
Test: am instrument -w
Change-Id: I66196d1db9169681dabb2e5dacdd18e6105ad75a
1. Added minimum bandwidth support. 5G+ icon is only
shown when the aggregated bandwidth is above the threshold.
2. Allowed carrier to disable 5G+ while roaming.
Bug: 198831438
Bug: 201455505
Test: atest NetworkTypeControllerTest
Merged-In: I1f40de5ee559a6d703806e74d305267bde295dcc
Change-Id: I1f40de5ee559a6d703806e74d305267bde295dcc
(cherry picked from commit 5e7b8533ef4b9d355c8df051d377e91ff7bed85a)
VCN has already known its underlying network, so set it into
NetworkCapabilities directly.
Bug: 191918368
Test: atest FrameworksVcnTests
Change-Id: Ibfe4f12bc5f3a8b7679d8a2c3b1b2f2161b9c9e5
services.net-module-wifi used to get framework annotations through
networkstack-client. This is being cleaned up, so it needs to use
framework-annotations-lib instead.
services.net-module-wifi is actually part of the Wifi module, even
though it is a legacy library left in frameworks/base.
Test: m
Change-Id: Icf169e3188ab7b6fa6ee306092b380c833c3f4bb
This reverts commit 08e2895ade6af39aa5b9feb72698ee233e7efcb6.
Reason for revert: shouldn't be used in recovery
Change-Id: I2ac8918800b577fc37c1e0ea459ffc872847f60f
Added typed read API of `readSerializable`, that takes
an extra Class<T> parameter to check that the class written
on the wire is the same or a descendant from the one provided
as argument.
Doing so could enhance the security of Parcel deserialization,
as it would prevent unexpected types of objects being deserialized.
More details can be found at go/safer-parcel.
Test: atest -d android.os.cts.ParcelTest
Bug: 195622897
Change-Id: I94e48ac7fe8f5d3ba4c54100cb76ce3e4aacdd09
IKE_OPTION_INITIAL_CONTACT
This commit updates IkeSessionParamsUtils to be able
to encode/decode IkeSessionParams with IKE_OPTION_INITIAL_CONTACT
to/from a PersistableBundle
If this option is set for an IKE Session, The
INITIAL CONTACT message is sent to the peer
to ensure that old security associations (SAs)
on the peer are deleted.
Bug: 186179788
Test: atest FrameworksIkeTests
Change-Id: I4ecd36ae222d95a84e8e6897a219f8accb9ed83b
To be used by lazy value. Now, we also remove getValueParcel() that was
copying the section of the parcel since we don't need that anymore.
Test: atest -d android.os.cts.ParcelTest android.os.cts.BundleTest android.os.BundleTest android.os.ParcelTest
Bug: 195622897
Change-Id: Ic8a0d1b6a268a81df7a1e56fa1e4b307a25210b6
Properties::isDrawingEnabled can unexpectedly return true
even if the system property debug.hwui.drawing_enabled is false,
if its called before RenderThread is created.
This commit changes the underlying logic to lazy load the
debug.hwui.drawing_enabled prop value.
Bug: 201691826
Test: m
Change-Id: I599426c8734d418f073fd0456c2b1149fb69d80c