/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/exportimport/ |
D | ExportManagerTest.java | 99 mExportedDbContext.getDatabasePath(REMOTE_EXPORT_DATABASE_FILE_NAME)); in tearDown() 100 mExportedDbContext.getDatabasePath(REMOTE_EXPORT_ZIP_FILE_NAME).delete(); in tearDown() 114 mExportedDbContext.getDatabasePath(REMOTE_EXPORT_ZIP_FILE_NAME), in runExport_deletesAccessLogsTableContent() 115 mExportedDbContext.getDatabasePath(REMOTE_EXPORT_DATABASE_FILE_NAME)); in runExport_deletesAccessLogsTableContent() 133 mExportedDbContext.getDatabasePath(REMOTE_EXPORT_ZIP_FILE_NAME), in runExport_deletesChangeLogsTableContent() 134 mExportedDbContext.getDatabasePath(REMOTE_EXPORT_DATABASE_FILE_NAME)); in runExport_deletesChangeLogsTableContent() 152 assertThat(databaseContext.getDatabasePath(LOCAL_EXPORT_DATABASE_FILE_NAME).exists()) in runExport_deletesLocalCopies() 154 assertThat(databaseContext.getDatabasePath(LOCAL_EXPORT_ZIP_FILE_NAME).exists()).isFalse(); in runExport_deletesLocalCopies() 167 mExportedDbContext.getDatabasePath(REMOTE_EXPORT_ZIP_FILE_NAME), in runExport_makesRemoteCopyOfDatabase() 168 mExportedDbContext.getDatabasePath(REMOTE_EXPORT_DATABASE_FILE_NAME)); in runExport_makesRemoteCopyOfDatabase() [all …]
|
D | ImportManagerTest.java | 120 File originalDb = mTransactionManager.getDatabasePath(); in copiesAllData() 158 File originalDb = mTransactionManager.getDatabasePath(); in skipsMissingTables() 198 File originalDb = mTransactionManager.getDatabasePath(); in deletesTheDatabase() 228 File originalDb = mTransactionManager.getDatabasePath(); in runImport_versionMismatch_setsVersionMismatchError()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | DataMigrationTest.java | 290 when(mMockContext.getDatabasePath("btopp.db")) in testIncompleteDbMigration() 291 .thenReturn(mTargetContext.getDatabasePath("TestOppDb")); in testIncompleteDbMigration() 292 when(mMockContext.getDatabasePath("bluetooth_db")) in testIncompleteDbMigration() 293 .thenReturn(mTargetContext.getDatabasePath("TestBluetoothDb")); in testIncompleteDbMigration() 312 when(mMockContext.getDatabasePath("bluetooth_db")) in testBluetoothDbMigration() 313 .thenReturn(mTargetContext.getDatabasePath("TestBluetoothDb")); in testBluetoothDbMigration() 400 when(mMockContext.getDatabasePath("btopp.db")) in testOppDbMigration() 401 .thenReturn(mTargetContext.getDatabasePath("TestOppDb")); in testOppDbMigration()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/ |
D | DatabaseUpgradeHelperTest.java | 42 when(mContext.getDatabasePath(anyString())) in setUp() 46 .getDatabasePath("mock")); in setUp()
|
D | HealthConnectDatabaseTest.java | 52 when(mContext.getDatabasePath(anyString())) in setUp() 56 .getDatabasePath("mock")); in setUp()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/ |
D | HealthConnectDatabase.java | 73 public File getDatabasePath() { in getDatabasePath() method in HealthConnectDatabase 74 return mContext.getDatabasePath(getDatabaseName()); in getDatabasePath()
|
D | TransactionManager.java | 551 return context.getDatabasePath(getReadableDb().getPath()).length(); in getDatabaseSize() 748 public File getDatabasePath() { in getDatabasePath() method in TransactionManager 749 return mHealthConnectDatabase.getDatabasePath(); in getDatabasePath() 968 SQLiteDatabase.deleteDatabase(sTransactionManager.getDatabasePath()); in cleanUpForTest()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | RenamingDelegatingContext.java | 181 public File getDatabasePath(String name) { in getDatabasePath() method in RenamingDelegatingContext 183 return mFileContext.getDatabasePath(name); in getDatabasePath() 185 return mFileContext.getDatabasePath(renamedFileName(name)); in getDatabasePath()
|
D | ContactsDatabaseMigrationTest.java | 57 final File sourceDbFile = getTestContext().getDatabasePath("contacts2.db"); in testPhoneAccountHandleMigrationMarkingOnUpgrade()
|
/packages/modules/Bluetooth/android/BluetoothLegacyMigration/ |
D | BluetoothLegacyMigration.kt | 185 val databasePath = ctx.getDatabasePath(dbName) in toCursor() 203 val databasePath = ctx.getDatabasePath(dbName) in delete()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/ |
D | HealthConnectManagerServiceTest.java | 120 when(mContext.getDatabasePath(anyString())) in setUp() 124 .getDatabasePath("mock")); in setUp()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastDatabaseHelper.java | 182 File oldDb = mContext.getDatabasePath(OLD_DATABASE_NAME); in tryToMigrateV13() 183 File newDb = mContext.getDatabasePath(DATABASE_NAME_V13); in tryToMigrateV13()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/ |
D | HealthConnectUserContext.java | 47 public File getDatabasePath(String name) { in getDatabasePath() method in HealthConnectUserContext
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/ |
D | DatabaseContext.java | 64 public File getDatabasePath(String name) { in getDatabasePath() method in DatabaseContext
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/compat/ |
D | FileCompatUtils.java | 76 return context.getDatabasePath(getAdservicesFilename(name)); in getDatabasePathHelper()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProviderUpgradeReceiver.java | 69 if (context.getDatabasePath(helper.getDatabaseName()).exists()) { in onReceive()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarUpgradeReceiver.java | 67 if (context.getDatabasePath(helper.getDatabaseName()).exists()) { in onReceive()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/topics/migration/ |
D | TopicsDbHelperV6.java | 79 File databaseFile = context.getDatabasePath(DATABASE_NAME_TOPICS_MIGRATION); in clearDatabase()
|
D | TopicsDbHelperV8.java | 77 File databaseFile = context.getDatabasePath(DATABASE_NAME_TOPICS_MIGRATION); in clearDatabase()
|
D | TopicsDbHelperV7.java | 78 File databaseFile = context.getDatabasePath(DATABASE_NAME_TOPICS_MIGRATION); in clearDatabase()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/shared/migration/ |
D | SharedDbMigratorTestBase.java | 72 .map(sContext::getDatabasePath) in setup()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/migration/ |
D | MeasurementDbMigratorTestBaseDeprecated.java | 52 File databaseFile = sContext.getDatabasePath(DATABASE_NAME_FOR_MIGRATION); in setup()
|
D | MeasurementDbMigratorTestBase.java | 72 .map(sContext::getDatabasePath) in setup()
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/data/topics/ |
D | TopicsDbHelper.java | 61 mDbFile = context.getDatabasePath(dbName); in TopicsDbHelper()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | DumpDatabaseAction.java | 59 final File inFile = context.getDatabasePath(dbName); in executeAction()
|