Searched refs:mStorageDir (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppIdleHistoryTests.java | 26 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/ |
D | LockSettingsStorageTestable.java | 25 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()
|
D | LockSettingsStorageTests.java | 56 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()
|
D | BaseLockSettingsServiceTests.java | 96 File storageDir = mStorage.mStorageDir; in setUp() 191 File storageDir = mStorage.mStorageDir; in tearDown()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppIdleHistory.java | 84 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()
|