Home
last modified time | relevance | path

Searched refs:APP_A (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/tests/PackageWatchdog/src/com/android/server/
H A DPackageWatchdogTest.java90 private static final String APP_A = "com.package.a"; field in PackageWatchdogTest
484 assertThat(observerLowPackages).containsExactly(APP_A); in testPackageFailureNotifyAllDifferentImpacts()
613 assertThat(requestedPackages).containsExactly(APP_A, APP_B); in testExplicitHealthChecks()
616 controller.setPackagePassed(APP_A); in testExplicitHealthChecks()
660 assertThat(requestedPackages).containsExactly(APP_A, APP_B); in testExplicitHealthCheckStateChanges()
719 controller.setSupportedPackages(Arrays.asList(APP_A)); in testExplicitHealthCheckFailureBeforeExpiry()
750 controller.setSupportedPackages(Arrays.asList(APP_A)); in testExplicitHealthCheckFailureAfterExpiry()
1164 Set.of(APP_A), in testSyncHealthCheckRequests()
1165 Set.of(APP_A, APP_B), in testSyncHealthCheckRequests()
1166 Set.of(APP_A, APP_B, APP_C), in testSyncHealthCheckRequests()
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/rollback/
H A DRollbackPackageHealthObserverTest.java82 private static final String APP_A = "com.package.a"; field in RollbackPackageHealthObserverTest
125 VersionedPackage testFailedPackage = new VersionedPackage(APP_A, VERSION_CODE); in testHealthCheckLevels()
178 assertFalse(observer.mayObservePackage(APP_A)); in testMayObservePackage_withoutAnyRollback()
192 when(mMockPackageManager.getApplicationInfo(APP_A, 0)).thenReturn(info); in testMayObservePackage_forPersistentApp()
193 assertTrue(observer.mayObservePackage(APP_A)); in testMayObservePackage_forPersistentApp()
205 when(mMockPackageManager.getApplicationInfo(APP_A, 0)) in testMayObservePackage_forNonPersistentApp()
207 assertFalse(observer.mayObservePackage(APP_A)); in testMayObservePackage_forNonPersistentApp()