Searched refs:mStorageDir (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppIdleHistoryTests.java | 38 File mStorageDir; field in AppIdleHistoryTests 50 mStorageDir = new File(getContext().getFilesDir(), "appidle"); in setUp() 51 mStorageDir.mkdirs(); in setUp() 56 FileUtils.deleteContents(mStorageDir); in tearDown() 61 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 0); in testFilesCreation() 70 assertTrue(new File(new File(mStorageDir, "users/" + USER_ID), in testFilesCreation() 75 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testScreenOnTime() 88 AppIdleHistory aih2 = new AppIdleHistory(mStorageDir, 0); in testScreenOnTime() 96 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testBuckets() 132 aih = new AppIdleHistory(mStorageDir, 4000); in testBuckets() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTestable.java | 35 public File mStorageDir; field in LockSettingsStorageTestable 41 mStorageDir = storageDir; in LockSettingsStorageTestable() 68 return makeDirs(mStorageDir, in getLockPatternFilename() 74 return makeDirs(mStorageDir, in getLockPasswordFilename() 80 return makeDirs(mStorageDir, in getChildProfileLockFile() 86 return makeDirs(mStorageDir, super.getSyntheticPasswordDirectoryForUser( in getSyntheticPasswordDirectoryForUser()
|
D | LockSettingsStorageTests.java | 83 File mStorageDir; field in LockSettingsStorageTests 89 mStorageDir = new File(InstrumentationRegistry.getContext().getFilesDir(), "locksettings"); in setUp() 92 assertTrue(mStorageDir.exists() || mStorageDir.mkdirs()); in setUp() 93 assertTrue(FileUtils.deleteContents(mStorageDir)); in setUp()
|
D | BaseLockSettingsServiceTests.java | 146 File storageDir = mStorage.mStorageDir; in setUp_baseServices() 296 File storageDir = mStorage.mStorageDir; in tearDown_baseServices()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppIdleHistory.java | 126 private final File mStorageDir; field in AppIdleHistory 171 mStorageDir = storageDir; in AppIdleHistory() 201 return new File(mStorageDir, "screen_on_time"); in getScreenOnTimeFile() 577 return new File(new File(new File(mStorageDir, "users"), in getUserFile()
|