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.java39 File mStorageDir; field in AppIdleHistoryTests
49 mStorageDir = new File(getContext().getFilesDir(), "appidle"); in setUp()
50 mStorageDir.mkdirs(); in setUp()
55 FileUtils.deleteContents(mStorageDir); in tearDown()
60 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 0); in testFilesCreation()
69 assertTrue(new File(new File(mStorageDir, "users/" + USER_ID), in testFilesCreation()
74 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testScreenOnTime()
87 AppIdleHistory aih2 = new AppIdleHistory(mStorageDir, 0); in testScreenOnTime()
95 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testBuckets()
118 aih = new AppIdleHistory(mStorageDir, 4000); in testBuckets()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTestable.java27 public File mStorageDir; field in LockSettingsStorageTestable
32 mStorageDir = storageDir; in LockSettingsStorageTestable()
37 return makeDirs(mStorageDir, in getLockPatternFilename()
43 return makeDirs(mStorageDir, in getLockPasswordFilename()
49 return makeDirs(mStorageDir, in getChildProfileLockFile()
55 return makeDirs(mStorageDir, super.getSyntheticPasswordDirectoryForUser( in getSyntheticPasswordDirectoryForUser()
DLockSettingsStorageTests.java61 File mStorageDir; field in LockSettingsStorageTests
68 mStorageDir = new File(getContext().getFilesDir(), "locksettings"); in setUp()
71 assertTrue(mStorageDir.exists() || mStorageDir.mkdirs()); in setUp()
72 assertTrue(FileUtils.deleteContents(mStorageDir)); in setUp()
DBaseLockSettingsServiceTests.java110 File storageDir = mStorage.mStorageDir; in setUp()
210 File storageDir = mStorage.mStorageDir; in tearDown()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java105 private final File mStorageDir; field in AppIdleHistory
144 mStorageDir = storageDir; in AppIdleHistory()
174 return new File(mStorageDir, "screen_on_time"); in getScreenOnTimeFile()
512 return new File(new File(new File(mStorageDir, "users"), in getUserFile()