Home
last modified time | relevance | path

Searched refs:getDir (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/exportimport/
DImportManagerTest.java102 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/
DBaseVoicemailProviderTest.java114 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/
DMmsProvider.java577 .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()
DMmsPartsCleanup.java88 String partsDirPath = context.getDir(MmsProvider.PARTS_DIR_NAME, 0) in getAllMmsPartsInPartsDir()
DMmsSmsDatabaseHelper.java552 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/
DLogSaver.java204 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/
DHealthConnectDatabaseTestRule.java56 File mockDataDirectory = mContext.getDir("mock_data", Context.MODE_PRIVATE); in before()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DFileUtilUnitTest.java45 mTestDir = context.getDir("test_dir", Context.MODE_PRIVATE).getPath(); in setup()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaApplication.java113 final File persistentDir = this.getDir("logs", Context.MODE_PRIVATE); in onCreate()
/packages/modules/Permission/tests/apex/java/com/android/role/persistence/
DRolesPersistenceTest.kt65 mockDataDirectory = context.getDir("mock_data", Context.MODE_PRIVATE) in createMockDataDirectory()
/packages/modules/Permission/tests/apex/java/com/android/permission/persistence/
DRuntimePermissionsPersistenceTest.kt62 mockDataDirectory = context.getDir("mock_data", Context.MODE_PRIVATE) in createMockDataDirectory()
/packages/services/Telephony/src/com/android/phone/
DCallTime.java199 File file = PhoneGlobals.getInstance().getDir ("phoneTrace", Context.MODE_PRIVATE); in startTrace()
/packages/providers/MediaProvider/legacy/src/com/android/providers/media/
DLegacyMediaProvider.java79 final File persistentDir = context.getDir("logs", Context.MODE_PRIVATE); in onCreate()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DGrantTimePersistenceUnitTest.java97 mMockDataDirectory = context.getDir("mock_data", Context.MODE_PRIVATE); in mockApexEnvironment()
/packages/modules/HealthFitness/backuprestore/tests/src/com/android/health/connect/backuprestore/
DHealthConnectBackupAgentTest.java80 mBackupDataDirectory = mContext.getDir("mock_data", Context.MODE_PRIVATE); in setUp()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/backuprestore/
DBackupRestoreTest.java145 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/
DSatelliteAccessController.java474 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/
DVoicemailContentTable.java213 File dataDirectory = mContext.getDir(DATA_DIRECTORY, Context.MODE_PRIVATE); in generateDataFile()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchActivity.kt82 val traceFile: String = File(getDir("traces", 0), "qsb-start.trace").getAbsolutePath() in onCreate()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DAbstractDeviceProfileTest.kt334 File(context.getDir("dumpTests", Context.MODE_PRIVATE), fileName).writeText(content) in <lambda>()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxStorageManagerUnitTest.java76 mTestDir = context.getDir("test_dir", Context.MODE_PRIVATE).getPath(); in setup()
DSdkSandboxRestrictionsUnitTest.java143 /*rootDir=*/ context.getDir( in setup()
DSdkSandboxStatsdMetricsUnitTest.java205 /*rootDir=*/ context.getDir( in setup()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/
DHealthConnectServiceImplTest.java223 mMockDataDirectory = mContext.getDir("mock_data", Context.MODE_PRIVATE); in setUp()
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewBrowserActivity.java576 geolocation = getDir("geolocation", 0); in initializeSettings()

12