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.java38 File mStorageDir; field in AppIdleHistoryTests
48 mStorageDir = new File(getContext().getFilesDir(), "appidle"); in setUp()
49 mStorageDir.mkdirs(); in setUp()
54 FileUtils.deleteContents(mStorageDir); in tearDown()
59 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 0); in testFilesCreation()
68 assertTrue(new File(new File(mStorageDir, "users/" + USER_ID), in testFilesCreation()
73 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testScreenOnTime()
86 AppIdleHistory aih2 = new AppIdleHistory(mStorageDir, 0); in testScreenOnTime()
94 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testBuckets()
117 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.java80 File mStorageDir; field in LockSettingsStorageTests
86 mStorageDir = new File(InstrumentationRegistry.getContext().getFilesDir(), "locksettings"); in setUp()
89 assertTrue(mStorageDir.exists() || mStorageDir.mkdirs()); in setUp()
90 assertTrue(FileUtils.deleteContents(mStorageDir)); in setUp()
DBaseLockSettingsServiceTests.java128 File storageDir = mStorage.mStorageDir; in setUp_baseServices()
248 File storageDir = mStorage.mStorageDir; in tearDown_baseServices()
/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()
507 return new File(new File(new File(mStorageDir, "users"), in getUserFile()