Home
last modified time | relevance | path

Searched refs:mPackageStatusStorage (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/
DPackageStatusStorageTest.java45 private PackageStatusStorage mPackageStatusStorage; field in PackageStatusStorageTest
54 mPackageStatusStorage = new PackageStatusStorage(dataDir); in setUp()
55 mPackageStatusStorage.initialize(); in setUp()
60 mPackageStatusStorage.deleteFileForTests(); in tearDown()
75 assertNull(mPackageStatusStorage.getPackageStatus()); in getPackageStatus_initialState()
81 assertNull(mPackageStatusStorage.getPackageStatus()); in resetCheckState()
83 CheckToken token1 = mPackageStatusStorage.generateCheckToken(VALID_PACKAGE_VERSIONS); in resetCheckState()
86 assertNotNull(mPackageStatusStorage.getPackageStatus()); in resetCheckState()
89 mPackageStatusStorage.resetCheckState(); in resetCheckState()
92 assertNull(mPackageStatusStorage.getPackageStatus()); in resetCheckState()
[all …]
DPackageTrackerTest.java67 private PackageStatusStorage mPackageStatusStorage; field in PackageTrackerTest
82 mPackageStatusStorage = new PackageStatusStorage(context.getFilesDir()); in setUp()
92 mPackageStatusStorage, in setUp()
98 if (mPackageStatusStorage != null) { in tearDown()
99 mPackageStatusStorage.deleteFileForTests(); in tearDown()
168 mPackageStatusStorage.generateCheckToken(INITIAL_APP_PACKAGE_VERSIONS); in trackingDisabled_unsolicitedResultsIgnored_withToken()
827 mPackageStatusStorage.forceCheckStateForTests( in trackingEnabled_reliabilityTrigger_afterRebootNoTriggerNeeded()
867 mPackageStatusStorage.forceCheckStateForTests( in trackingEnabled_reliabilityTrigger_afterRebootTriggerNeededBecausePreviousFailed()
913 mPackageStatusStorage.forceCheckStateForTests( in trackingEnabled_reliabilityTrigger_repeatedFailures()
972 mPackageStatusStorage.forceCheckStateForTests( in trackingEnabled_reliabilityTrigger_failureCountIsReset()
[all …]
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageTracker.java64 private final PackageStatusStorage mPackageStatusStorage; field in PackageTracker
116 mPackageStatusStorage = packageStatusStorage; in PackageTracker()
145 mPackageStatusStorage.initialize(); in start()
290 PackageStatus packageStatus = mPackageStatusStorage.getPackageStatus(); in triggerUpdateIfNeeded()
316 mPackageStatusStorage.generateCheckToken(currentInstalledVersions); in triggerUpdateIfNeeded()
366 mPackageStatusStorage.resetCheckState(); in recordCheckResult()
391 mPackageStatusStorage.resetCheckState(); in recordCheckResult()
401 mPackageStatusStorage.markChecked(checkToken, success); in recordCheckResult()
528 mPackageStatusStorage.dump(fout); in dump()