Home
last modified time | relevance | path

Searched refs:getDatabasePath (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/backup/
DFullBackupTest.java286 new File(mContext.getDatabasePath("foo").getParentFile(), "include2.txt") in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes()
291 mContext.getDatabasePath("foo").getParentFile(), in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes()
297 mContext.getDatabasePath("foo").getParentFile(), in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes()
337 new File(mContext.getDatabasePath("foo").getParentFile(), "exclude2.txt") in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes()
341 new File(mContext.getDatabasePath("foo").getParentFile(), "exclude2.txt-journal") in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes()
345 new File(mContext.getDatabasePath("foo").getParentFile(), "exclude2.txt-wal") in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCompatibilityWalFlagsTest.java105 .openOrCreateDatabase(ctx.getDatabasePath("SQLiteCompatibilityWalFlagsTest"), null); in testApplyFlags()
119 .openOrCreateDatabase(ctx.getDatabasePath("SQLiteCompatibilityWalFlagsTest"), null); in testApplyFlags_thenDisableWriteAheadLogging()
DSQLiteConnectionPoolTest.java56 .openOrCreateDatabase(mContext.getDatabasePath("pool_test"), null); in setup()
/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java182 public File getDatabasePath(String name) { in getDatabasePath() method in RenamingDelegatingContext
183 return mFileContext.getDatabasePath(renamedFileName(name)); in getDatabasePath()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseStressTest.java42 mDatabaseFile = c.getDatabasePath("database_test.db"); in setUp()
DSQLiteOpenHelperTest.java94 mContext.getDatabasePath(mTestHelper.getDatabaseName())); in teardown()
/frameworks/base/test-runner/api/
Dlint-baseline.txt106 MissingNullability: android.test.RenamingDelegatingContext#getDatabasePath(String):
107 Missing nullability on method `getDatabasePath` return
108 MissingNullability: android.test.RenamingDelegatingContext#getDatabasePath(String) parameter #0:
109 Missing nullability on parameter `name` in method `getDatabasePath`
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java392 final String databaseDir = ceContext.getDatabasePath("foo").getParentFile() in onFullBackup()
403 final String deviceDatabaseDir = deContext.getDatabasePath("foo").getParentFile() in onFullBackup()
620 dbDir = ceContext.getDatabasePath("foo").getParentFile().getCanonicalPath(); in fullBackupFile()
629 deviceDbDir = deContext.getDatabasePath("foo").getParentFile().getCanonicalPath(); in fullBackupFile()
DFullBackup.java366 DATABASE_DIR = ceContext.getDatabasePath("foo").getParentFile(); in BackupScheme()
374 DEVICE_DATABASE_DIR = deContext.getDatabasePath("foo").getParentFile(); in BackupScheme()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGeneratorTest.java77 mDatabaseFile = context.getDatabasePath(DATABASE_FILE_NAME); in setUp()
DPlatformKeyManagerTest.java95 mDatabaseFile = context.getDatabasePath(DATABASE_FILE_NAME); in setUp()
DKeySyncTaskTest.java122 mDatabaseFile = context.getDatabasePath(DATABASE_FILE_NAME); in setUp()
DRecoverableKeyStoreManagerTest.java175 mDatabaseFile = context.getDatabasePath(DATABASE_FILE_NAME); in setUp()
/frameworks/base/core/java/android/webkit/
DWebSettings.java1160 public abstract String getDatabasePath(); in getDatabasePath() method in WebSettings
/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java371 final File filePath = mContext.getDatabasePath(mName); in getDatabaseLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java245 File db = InstrumentationRegistry.getContext().getDatabasePath("locksettings.db"); in tearDown_baseServices()
DLockSettingsStorageTests.java87 mDb = InstrumentationRegistry.getContext().getDatabasePath("locksettings.db"); in setUp()
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
DDynamicCodeLoggerIntegrationTests.java305 File ourPath = sContext.getDatabasePath("android_pay"); in testGeneratesEvents_spoofed_otherAppFile()
/frameworks/base/core/java/android/content/
DContextWrapper.java333 public File getDatabasePath(String name) { in getDatabasePath() method in ContextWrapper
334 return mBase.getDatabasePath(name); in getDatabasePath()
DContext.java1696 public abstract File getDatabasePath(String name); in getDatabasePath() method in Context
/frameworks/base/core/java/android/app/
DContextImpl.java821 File f = getDatabasePath(name); in openOrCreateDatabase()
837 final File source = sourceContext.getDatabasePath(name); in moveDatabaseFrom()
838 final File target = getDatabasePath(name); in moveDatabaseFrom()
847 File f = getDatabasePath(name); in deleteDatabase()
855 public File getDatabasePath(String name) { in getDatabasePath() method in ContextImpl
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java262 public File getDatabasePath(String name) { in getDatabasePath() method in MockContext
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java150 File databaseFile = mContext.getDatabasePath(getDatabaseName()); in dropDatabase()
162 File databaseFile = mContext.getDatabasePath(getDatabaseName()); in backupDatabase()
166 File backupFile = mContext.getDatabasePath(getDatabaseName() in backupDatabase()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java372 File databaseFile = context.getDatabasePath(devicePropertiesName); in initDeviceProperties()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java69 mDatabaseFile = context.getDatabasePath(DATABASE_FILE_NAME); in setUp()

12