Home
last modified time | relevance | path

Searched refs:mStorageDir (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppIdleHistoryTests.java42 File mStorageDir; field in AppIdleHistoryTests
54 mStorageDir = new File(getContext().getFilesDir(), "appidle"); in setUp()
55 mStorageDir.mkdirs(); in setUp()
60 FileUtils.deleteContents(mStorageDir); in tearDown()
65 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 0); in testFilesCreation()
74 assertTrue(new File(new File(mStorageDir, "users/" + USER_ID), in testFilesCreation()
79 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testScreenOnTime()
92 AppIdleHistory aih2 = new AppIdleHistory(mStorageDir, 0); in testScreenOnTime()
100 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testBuckets()
136 aih = new AppIdleHistory(mStorageDir, 4000); in testBuckets()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTestable.java35 public final File mStorageDir; field in LockSettingsStorageTestable
42 mStorageDir = storageDir; in LockSettingsStorageTestable()
105 File mappedPath = new File(mStorageDir, origPath.toString()); in remapToStorageDir()
DLockSettingsStorageTests.java87 private File mStorageDir; field in LockSettingsStorageTests
96 mStorageDir = new File(origContext.getFilesDir(), "locksettings"); in setUp()
99 assertTrue(mStorageDir.exists() || mStorageDir.mkdirs()); in setUp()
100 assertTrue(FileUtils.deleteContents(mStorageDir)); in setUp()
DBaseLockSettingsServiceTests.java152 File storageDir = mStorage.mStorageDir; in setUp_baseServices()
359 File storageDir = mStorage.mStorageDir; in tearDown_baseServices()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppIdleHistory.java165 private final File mStorageDir; field in AppIdleHistory
208 mStorageDir = storageDir; in AppIdleHistory()
238 return new File(mStorageDir, "screen_on_time"); in getScreenOnTimeFile()
698 return new File(new File(new File(mStorageDir, "users"), in getUserFile()