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.java26 File mStorageDir; field in AppIdleHistoryTests
34 mStorageDir = new File(getContext().getFilesDir(), "appidle"); in setUp()
35 mStorageDir.mkdirs(); in setUp()
40 FileUtils.deleteContents(mStorageDir); in tearDown()
46 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 0); in testFilesCreation()
55 assertTrue(new File(new File(mStorageDir, "users/" + userId), in testFilesCreation()
60 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testScreenOnTime()
73 AppIdleHistory aih2 = new AppIdleHistory(mStorageDir, 0); in testScreenOnTime()
81 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testPackageEvents()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTestable.java25 public File mStorageDir; field in LockSettingsStorageTestable
29 mStorageDir = storageDir; in LockSettingsStorageTestable()
34 return makeDirs(mStorageDir, in getLockPatternFilename()
40 return makeDirs(mStorageDir, in getLockPasswordFilename()
46 return makeDirs(mStorageDir, in getChildProfileLockFile()
52 return makeDirs(mStorageDir, super.getSyntheticPasswordDirectoryForUser( in getSyntheticPasswordDirectoryForUser()
DLockSettingsStorageTests.java56 File mStorageDir; field in LockSettingsStorageTests
63 mStorageDir = new File(getContext().getFilesDir(), "locksettings"); in setUp()
66 assertTrue(mStorageDir.exists() || mStorageDir.mkdirs()); in setUp()
67 assertTrue(FileUtils.deleteContents(mStorageDir)); in setUp()
DBaseLockSettingsServiceTests.java96 File storageDir = mStorage.mStorageDir; in setUp()
191 File storageDir = mStorage.mStorageDir; in tearDown()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java84 private final File mStorageDir; field in AppIdleHistory
102 mStorageDir = storageDir; in AppIdleHistory()
134 return new File(mStorageDir, "screen_on_time"); in getScreenOnTimeFile()
288 return new File(new File(new File(mStorageDir, "users"), in getUserFile()