Full draw will be happened on HWUI under 90/120Hz device,there are
more draw commands under renderFrameImpl than in the 60Hz fps device,
frame.bufferAge() > (int)mSwapHistory.size() resulting in an increase
in power usage.
So need to increase (int)mSwapHistory.size() to 8, set mSwapHistory
add to 7.
Bug: 209371516
Test: Manual
Change-Id: Ic6f21e7b9dc5e7c8f36d03c57b01fa7210cff86f
Merged-In: Ic6f21e7b9dc5e7c8f36d03c57b01fa7210cff86f
Add audio device type definition for a Bluetooth LE
audio broadcast group.
Bug: 150670922
Test: make.
Change-Id: I8b2c7966ab6d1f3c637a043c4c802b8433ba697b
Merged-In: I8b2c7966ab6d1f3c637a043c4c802b8433ba697b
When an application crashes or ANRs in the foreground, or when the
application actively commits suicide in the foreground. It is often
impossible to switch to the PAUSED state of ActivityRecord. At this
time, the Timer in BatteryStats cannot be terminated, and it will keep
timing, which will eventually lead to errors in foreground activity time
statistics. So we'll settle in the handleAppDied function to fix that.
Bug: 208355716
Change-Id: I23baf545105e0bb9322dc4a1702e38e0ef825c53
Signed-off-by: unknown <80264454@adc.com>
This allows system_server to search/read skfilter BPF programs. Skfilter
BPF programs status were previously dumped by Netd. In Android T, the
related code are mainlined and dumped by system_server process.
system_server needs to be in net_admin group so that it can read program
status.
$ adb root; adb shell ls -l /sys/fs/bpf/
-r--r----- 1 root net_admin ... prog_netd_skfilter_allowlist_xtbpf
-r--r----- 1 root net_admin ... prog_netd_skfilter_denylist_xtbpf
-r--r----- 1 root net_admin ... prog_netd_skfilter_egress_xtbpf
-r--r----- 1 root net_admin ... prog_netd_skfilter_ingress_xtbpf
Bug: 202086915
Test: test in Ib0e935ee2b714ac61daceba6d13fa7a20f97f68f
Change-Id: I8c48230a5da6873eee7d0ba183cb83e1d92cd8f6
* changes:
Fix CTS failure caused by ag/16284012
Add Provisioning bundle for indicating if MMTEL/RCS provisioning is required
Add public API to ProvisioningManager for IMS/RCS provisioning by updatable provisioning app
ImsService Subscription Notifications
Expose an API to allow VPNs app to ask for running the validation
check on the VPN network built from Ikev2VpnProfile.
Bug: 184750836
Test: New test in Ikev2VpnTest
Also FrameworksNetTests
Change-Id: I385bb887b6c697d8f5d87af750dbd2aab44afca6
CTS-Coverage-Bug: 184750836
(but CTS is in the same topic, just not detected by the tool)
Surface the service-specific error message. To avoid API changes, the
error message is surfaced in the toString / getMessage methods.
Test: atest android.security.keystore.KeyStoreExceptionTest
Bug: 217593122
Change-Id: Id4090564b46db9b3b10ea390390f6683f7314463
Update the Keystore owners file:
* Remove Rob Barnes
* Add myself.
This will remove the dependency on US-based reviewers for all Keystore
Java CLs.
Non-trivial CLs, CLs that are not strictly in the Java layer, or both,
would still be sent to the right US-based reviewer.
Bug: N/A
Test: N/A
Change-Id: Id8931516b90be4b97e684cb8d7f9de8d71643db4
Since data usage related code is going to move to mainline module,
hidden classes and methods can no longer be accessed. However,
some of the hidden classes in the platform are still needed, and
cannot be moved because of other callers.
Thus, create a shared srcs filegroup to allow these classes
build with the module to solve the dependencies.
Test: TH
Bug: 204830222
(cherry-picked from ag/16656704)
Change-Id: I3813bc2177b2f0b4237056f64c57c63fa29c3081
Merged-In: I3813bc2177b2f0b4237056f64c57c63fa29c3081
Replace matchesSubscriberId with an equivalent check based on the stable
API getSubscriberIds().
Bug: 197717846
Test: atest DataUsageUtilsTest
(cherry-picked from ag/16801786)
Change-Id: Icf86598dc2e4e8b24e08135de8a842f52ac4ab5b
Merged-In: Icf86598dc2e4e8b24e08135de8a842f52ac4ab5b
As commented in the test, it is broken today and barely builds.
Nothing seems to be referencing this library anywhere: remove it.
Ignore-AOSP-First: submitting in AOSP separately from topic
Bug: 197717846
Test: m
(cherry-picked from ag/16781269)
Change-Id: I0dd12dfd3f9bf99c9723d58e2dc656ea7db3a1f3
Merged-In: I0dd12dfd3f9bf99c9723d58e2dc656ea7db3a1f3
This is needed to solve the dependencies where platform
code such as ITelephony.aidl needs aidl definitions.
Test: TH
Bug: 204830222
Change-Id: Ie19a258c2e8a724dc087bc5ad5f8f522e29feca5
Merged-In: Ie19a258c2e8a724dc087bc5ad5f8f522e29feca5