Skip to content
Commit 9af47e2b authored by Lee Shombert's avatar Lee Shombert
Browse files

A space-efficient 2D matrix

Bug: Bug: 188447813

Convert WatchedSparseBooleanMatrix to use one bit per boolean, to
further reduce the storage required for large arrays.

Further unit-tests are developed to test the Watchable and Snappable
behaviors of the matrix class.

Test: atest
 * CtsContentTestCases:IntentFilterTest
 * CtsDynamicMimeHostTestCases
 * CtsRoleTestCases
 * FrameworksServicesTests:UserSystemPackageInstallerTest
 * FrameworksServicesTests:PackageManagerSettingsTests
 * FrameworksServicesTests:PackageManagerServiceTest
 * FrameworksServicesTests:AppsFilterTest
 * FrameworksServicesTests:PackageInstallerSessionTest
 * FrameworksServicesTests:ScanTests
 * UserLifecycleTests#startUser
 * UserLifecycleTests#stopUser
 * UserLifecycleTests#switchUser
 * FrameworksServicesTests:WatcherTest
 * android.appsecurity.cts.EphemeralTest
 * android.appsecurity.cts.InstantAppUserTest

Change-Id: I5e9ada0ad3057efeafa4cf4fcf4b371850ea344a
parent b2198d3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment