/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/exportimport/ |
D | ImportManagerTest.java | 102 File testDir = mContext.getDir(TEST_DIRECTORY_NAME, Context.MODE_PRIVATE); in tearDown() 122 new File(mContext.getDir(TEST_DIRECTORY_NAME, Context.MODE_PRIVATE), "export.db"); in copiesAllData() 125 new File(mContext.getDir(TEST_DIRECTORY_NAME, Context.MODE_PRIVATE), "export.zip"); in copiesAllData() 160 new File(mContext.getDir(TEST_DIRECTORY_NAME, Context.MODE_PRIVATE), "export.db"); in skipsMissingTables() 174 new File(mContext.getDir(TEST_DIRECTORY_NAME, Context.MODE_PRIVATE), "export.zip"); in skipsMissingTables() 200 new File(mContext.getDir(TEST_DIRECTORY_NAME, Context.MODE_PRIVATE), "export.db"); in deletesTheDatabase() 215 mContext.getDir(TEST_DIRECTORY_NAME, Context.MODE_PRIVATE), "export.txt"); in runImport_importNotADatabase_setsWrongFileError() 217 new File(mContext.getDir(TEST_DIRECTORY_NAME, Context.MODE_PRIVATE), "export.zip"); in runImport_importNotADatabase_setsWrongFileError() 230 new File(mContext.getDir(TEST_DIRECTORY_NAME, Context.MODE_PRIVATE), "export.db"); in runImport_versionMismatch_setsVersionMismatchError() 238 new File(mContext.getDir(TEST_DIRECTORY_NAME, Context.MODE_PRIVATE), "export.zip"); in runImport_versionMismatch_setsVersionMismatchError()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseVoicemailProviderTest.java | 114 public File getDir(String name, int mode) { in createMockProviderCalls() 168 public File getDir(String name, int mode); 193 public File getDir(String name, int mode) { 194 return mDelegate.getDir(name, mode);
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsProvider.java | 577 .getDir(PARTS_DIR_NAME, 0).getCanonicalPath(); in insert() 602 path = getContext().getDir(PARTS_DIR_NAME, 0).getPath() in insert() 677 String path = getContext().getDir(PARTS_DIR_NAME, 0).getPath() in insert() 955 String path = getContext().getDir(PARTS_DIR_NAME, 0).getPath() + '/' + in update() 960 String partsDirPath = getContext().getDir(PARTS_DIR_NAME, 0).getCanonicalPath(); in update() 1091 .startsWith(getContext().getDir(PARTS_DIR_NAME, 0).getCanonicalPath())) { in safeOpenFileHelper() 1095 + getContext().getDir(PARTS_DIR_NAME, 0).getCanonicalPath()); in safeOpenFileHelper()
|
D | MmsPartsCleanup.java | 88 String partsDirPath = context.getDir(MmsProvider.PARTS_DIR_NAME, 0) in getAllMmsPartsInPartsDir()
|
D | MmsSmsDatabaseHelper.java | 552 String partsDirPath = mContext.getDir(MmsProvider.PARTS_DIR_NAME, 0) in clearMmsParts() 2104 newPartsDirPath = mContext.getDir(MmsProvider.PARTS_DIR_NAME, 0).getCanonicalPath(); in upgradeDatabaseToVersion62()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | LogSaver.java | 204 final File logDir = Factory.get().getApplicationContext().getDir( in initDiskLog() 228 final File logDir = Factory.get().getApplicationContext().getDir( in dump()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/ |
D | HealthConnectDatabaseTestRule.java | 56 File mockDataDirectory = mContext.getDir("mock_data", Context.MODE_PRIVATE); in before()
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/ |
D | FileUtilUnitTest.java | 45 mTestDir = context.getDir("test_dir", Context.MODE_PRIVATE).getPath(); in setup()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaApplication.java | 113 final File persistentDir = this.getDir("logs", Context.MODE_PRIVATE); in onCreate()
|
/packages/modules/Permission/tests/apex/java/com/android/role/persistence/ |
D | RolesPersistenceTest.kt | 65 mockDataDirectory = context.getDir("mock_data", Context.MODE_PRIVATE) in createMockDataDirectory()
|
/packages/modules/Permission/tests/apex/java/com/android/permission/persistence/ |
D | RuntimePermissionsPersistenceTest.kt | 62 mockDataDirectory = context.getDir("mock_data", Context.MODE_PRIVATE) in createMockDataDirectory()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallTime.java | 199 File file = PhoneGlobals.getInstance().getDir ("phoneTrace", Context.MODE_PRIVATE); in startTrace()
|
/packages/providers/MediaProvider/legacy/src/com/android/providers/media/ |
D | LegacyMediaProvider.java | 79 final File persistentDir = context.getDir("logs", Context.MODE_PRIVATE); in onCreate()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/ |
D | GrantTimePersistenceUnitTest.java | 97 mMockDataDirectory = context.getDir("mock_data", Context.MODE_PRIVATE); in mockApexEnvironment()
|
/packages/modules/HealthFitness/backuprestore/tests/src/com/android/health/connect/backuprestore/ |
D | HealthConnectBackupAgentTest.java | 80 mBackupDataDirectory = mContext.getDir("mock_data", Context.MODE_PRIVATE); in setUp()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/backuprestore/ |
D | BackupRestoreTest.java | 145 mMockDataDirectory = mContext.getDir("mock_data", Context.MODE_PRIVATE); in setUp() 146 mMockBackedDataDirectory = mContext.getDir("mock_backed_data", Context.MODE_PRIVATE); in setUp() 147 mMockStagedDataDirectory = mContext.getDir("mock_staged_data", Context.MODE_PRIVATE); in setUp()
|
/packages/services/Telephony/src/com/android/phone/satellite/accesscontrol/ |
D | SatelliteAccessController.java | 474 File ctsFile = phoneGlobals.getDir("cts", Context.MODE_PRIVATE); in copyTestSatS2FileToPhoneDirectory() 498 File satelliteAccessControlFile = phoneGlobals.getDir( in copySatS2FileToLocalDirectory() 525 File satelliteAccessControlFile = phoneGlobals.getDir( in getConfigUpdaterSatS2CellFileFromLocalDirectory()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailContentTable.java | 213 File dataDirectory = mContext.getDir(DATA_DIRECTORY, Context.MODE_PRIVATE); in generateDataFile()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SearchActivity.kt | 82 val traceFile: String = File(getDir("traces", 0), "qsb-start.trace").getAbsolutePath() in onCreate()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/ |
D | AbstractDeviceProfileTest.kt | 334 File(context.getDir("dumpTests", Context.MODE_PRIVATE), fileName).writeText(content) in <lambda>()
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxStorageManagerUnitTest.java | 76 mTestDir = context.getDir("test_dir", Context.MODE_PRIVATE).getPath(); in setup()
|
D | SdkSandboxRestrictionsUnitTest.java | 143 /*rootDir=*/ context.getDir( in setup()
|
D | SdkSandboxStatsdMetricsUnitTest.java | 205 /*rootDir=*/ context.getDir( in setup()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/ |
D | HealthConnectServiceImplTest.java | 223 mMockDataDirectory = mContext.getDir("mock_data", Context.MODE_PRIVATE); in setUp()
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
D | WebViewBrowserActivity.java | 576 geolocation = getDir("geolocation", 0); in initializeSettings()
|