The Font/FontFamily classes use private API calls in native
code to get the contents of an Asset. These calls need to
be made on public APIs in order to isolate the graphics module
from the rest of the system. Public Java APIs already exist so
this CL refactors the code to use those methods.
Test: CtsTextTestCases
Bug: 147136234
Change-Id: I35a6558b597684e59279d7a841669c5f909d5152
am skip reason: Change-Id Ie50315e3fd287559ed516a24de09af6707c03d2f with SHA-1 86de2275b4 is in history
Change-Id: I731fea95bf2d77fb8bdef0ace6f00f05e9ea2033
- Currently enableFullTracking has a toggle in Developer Option.
This change adds a system API for the same functionality.
- If at least one of <enableFullTracking in Developer Option> and
<enableFullTracking from the system API> is true, full tracking is
enabled when registering a GnssMeasurement callback.
- For multiple GnssMeasurement callbacks, full tracking is enabled
if *at least* one callback has fullTracking enabled. Removing a callback
might trigger restarting the measurement collection if the aggregated
requirement has changed.
Bug: 147387008
Test: atest GnssMeasurementsProviderTest
atest GnssManagerServiceTest
atest GnssMeasurementRegistrationTest
Change-Id: Iedf03edd7053aa0089cfea0d5c0357322f68d9c4
Clang's static analyzer is flagging uninitialized struct fields that
we're passing around. In particular, it's not happy that we pass this
partially-initialized struct to a pure-virtual method. I tend to agree
that this may cause issues.
Assuming zero-init gives us reasonable values for all of:
IncFsNewFileParams{}.verification.rootHash
IncFsNewFileParams{}.verification.additionalData
IncFsNewFileParams{}.verification.signature
Bug: None
Test: TreeHugger
Change-Id: I61e556cd8c0e68cdaebd50b0a7be5d5e0a4fd8ff
Delete the files, then the directory
Test: turn history off, check folder on device
Bug: 137396965
Change-Id: Ic69adf6d08219cab186c131147192f5d1ea1ee91
* A cache for isOffloadedFilteringSupported().
* A cache for getProfileConnectionState().
Bug: 140788621
Test: A special build that puts the PropertyInvalidatedCache in
verification mode was loaded on the device. Then one iteration of MPTS
was executed. No cache inconsistencies were found and no SELinux
violations (associated with the binder cache) were found. The number of
cache misses was approximately 15% of the total binder calls. A second
test was run in which bluetooth headphones were connected and
disconnected. Then bluetooth itself was disabled and then enabled. The
caches were invalidated as expected and no errors were uncovered.
Change-Id: Icfad1071725e2d1e320fd252a49f0c4ae8ce6ad0
am skip reason: Change-Id I90292cafaac1dcc64d642db072ce4880fcdb87cb with SHA-1 08b48bb91f is in history
Change-Id: Ie3022c38848c0d8a310aec149a74823d25baae5c
The _tokenize function was deleted in external/sqlite
commit c52a17358593062a7eb75a023c115df9ad89563b
Bug: 148829241
Bug: 139186193
Test: atest DatabaseGeneralTest
Change-Id: I37993fcda22736582375e13f093bd4a81aa8b1a4
BioetricPrompt was incorrectly using BiometricService directly. After
adding a few minor modifications, BiometricPrompt correctly goes through
AuthService.
Test: Verified that BiometricPromptDemo apk is able to authenticate.
Test: Verified that BiometricPromptDemo apk is able to cancel
authenticatoins.
Bug: 141025588
Change-Id: I29646c33a1904c6ad71f3ed2a4b02b6fe159517b
am skip reason: Change-Id I9f14d35ba657045e99190b7a651781a5b87d490d with SHA-1 2e2008b7a1 is in history
Change-Id: If41795e238c82c93c0f3febbda5527c0be5866c6
The tests included are unit tests for the implementation (under
FrameworksServicesTests), for the corresponding TestRule
(PlatformCompatGating) and CTS tests.
Bug: 137821288
Test: cd frameworks/base/core/java/android/app/compat && atest
Test: cd frameworks/base/services/core/java/com/android/server/compat \
&& atest
Change-Id: I1a652775715f1a9738cc72725303bc78dfa17d03
This reverts commit 7a64815b74.
And added the info.setText() part in onInitializeAccessibilityNodeInfo()
in QSTileBaseView.java so that related tests are not broken.
Test: tested with quicksettings and
android.platform.test.scenario.sysui.quicksettings.ToggleWifiOn#testToggle (pass)
and android.platform.test.scenario.sysui.statusbar.NotificationIconOverflow#testNotificationOverFlow
(fails without and with my cl).
Change-Id: I611177fcbd32d35532cfcafbb2b7a73961d1ddc2
This is a non-recoverable system internal error and let's make the
failure loud and clear.
Bug: 148159520
Test: atest com.android.server.locksettings
Change-Id: I38737113d9d06862077b873548dbdfe025578cdd