Home
last modified time | relevance | path

Searched refs:DATABASE_NAME (Results 1 – 25 of 86) sorted by relevance

1234

/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchManagerServiceTest.java163 private static final String DATABASE_NAME = "databaseName"; field in AppSearchManagerServiceTest
319 DATABASE_NAME, in testSetSchemaStatsLogging()
326 verifyCallStats(mContext.getPackageName(), DATABASE_NAME, CallStats.CALL_TYPE_SET_SCHEMA); in testSetSchemaStatsLogging() local
333 assertThat(setSchemaStats.getDatabase()).isEqualTo(DATABASE_NAME); in testSetSchemaStatsLogging()
346 mContext.getPackageName(), DATABASE_NAME, mUserHandle, in testLocalGetSchemaStatsLogging()
350 verifyCallStats(mContext.getPackageName(), DATABASE_NAME, CallStats.CALL_TYPE_GET_SCHEMA); in testLocalGetSchemaStatsLogging() local
361 otherPackageName, DATABASE_NAME, mUserHandle, BINDER_CALL_START_TIME, in testGlobalGetSchemaStatsLogging()
365 verifyCallStats(mContext.getPackageName(), DATABASE_NAME, in testGlobalGetSchemaStatsLogging() local
375 mCallingPid), DATABASE_NAME, in testGetNamespacesStatsLogging()
379 verifyCallStats(mContext.getPackageName(), DATABASE_NAME, in testGetNamespacesStatsLogging() local
[all …]
/packages/modules/Bluetooth/android/BluetoothLegacyMigration/
DBluetoothLegacyMigration.kt58 BLUETOOTH(BluetoothDatabase.DATABASE_NAME, ::BluetoothDatabase),
59 OPP(OppDatabase.DATABASE_NAME, ::OppDatabase),
209 private class BluetoothDatabase(ctx: Context) : DatabaseHandler(ctx, DATABASE_NAME) {
211 const val DATABASE_NAME = "bluetooth_db" constant
217 private class OppDatabase(ctx: Context) : DatabaseHandler(ctx, DATABASE_NAME) {
219 const val DATABASE_NAME = "btopp.db" constant
246 BluetoothDatabase.DATABASE_NAME -> BluetoothDatabase(mContext) in call()
247 OppDatabase.DATABASE_NAME -> OppDatabase(mContext) in call()
/packages/apps/KeyChain/robotests/src/com/android/keychain/internal/
DGrantsDatabaseTest.java48 private static final String DATABASE_NAME = "grants.db"; field in GrantsDatabaseTest
182 super(context, DATABASE_NAME, null /* CursorFactory */, dbVersion);
266 context.deleteDatabase(DATABASE_NAME);
289 context.deleteDatabase(DATABASE_NAME);
320 context.deleteDatabase(DATABASE_NAME);
361 context.deleteDatabase(DATABASE_NAME);
/packages/modules/ConfigInfrastructure/service/java/com/android/server/deviceconfig/db/
DDeviceConfigDbHelper.java29 public static final String DATABASE_NAME = "config_infrastructure.db"; field in DeviceConfigDbHelper
71 super(context, DATABASE_NAME, null, DATABASE_VERSION); in DeviceConfigDbHelper()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSatelliteDatabaseHelper.java26 private static final String DATABASE_NAME = "satellite.db"; field in SatelliteDatabaseHelper
35 super(context, DATABASE_NAME, null, DATABASE_VERSION); in SatelliteDatabaseHelper()
DCarrierDatabaseHelper.java31 private static final String DATABASE_NAME = "CarrierInformation.db"; field in CarrierDatabaseHelper
41 super(context, DATABASE_NAME, null, DATABASE_VERSION); in CarrierDatabaseHelper()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarCache.java35 public static final String DATABASE_NAME = "CalendarCache"; field in CalendarCache
190 db.replace(DATABASE_NAME, null /* null column hack */, values); in writeDataLocked()
225 Cursor cursor = db.query(DATABASE_NAME, sProjection, in readDataLocked()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DAdSelectionDebugReportingDatabase.java40 public static final String DATABASE_NAME = field in AdSelectionDebugReportingDatabase
59 DATABASE_NAME) in getInstance()
DSharedStorageDatabase.java46 public static final String DATABASE_NAME = field in SharedStorageDatabase
64 context, SharedStorageDatabase.class, DATABASE_NAME) in getInstance()
DAdSelectionServerDatabase.java53 public static final String DATABASE_NAME = field in AdSelectionServerDatabase
68 context, AdSelectionServerDatabase.class, DATABASE_NAME) in getInstance()
DAdSelectionDatabase.java64 public static final String DATABASE_NAME = field in AdSelectionDatabase
81 context, AdSelectionDatabase.class, DATABASE_NAME) in getInstance()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/kanon/
DKAnonDatabase.java38 public static final String DATABASE_NAME = FileCompatUtils.getAdservicesFilename("kanon.db"); field in KAnonDatabase
54 context, KAnonDatabase.class, DATABASE_NAME) in getInstance()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/signals/
DProtectedSignalsDatabase.java48 public static final String DATABASE_NAME = field in ProtectedSignalsDatabase
69 DATABASE_NAME) in getInstance()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/cache/
DCacheDatabase.java48 public static final String DATABASE_NAME = field in CacheDatabase
61 context, CacheDatabase.class, DATABASE_NAME) in getInstance()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileDatabaseHelper.java32 private static final String DATABASE_NAME = "profile.db"; field in ProfileDatabaseHelper
57 sSingleton = new ProfileDatabaseHelper(context, DATABASE_NAME, true, in getInstance()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DCardDatabaseHelper.java31 private static final String DATABASE_NAME = "homepage_cards.db"; field in CardDatabaseHelper
101 super(context, DATABASE_NAME, null, DATABASE_VERSION); in CardDatabaseHelper()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DTvProviderForTesting.java83 private static final String DATABASE_NAME = "tvtest.db"; field in TvProviderForTesting.DatabaseHelperForTesting
86 super(context, DATABASE_NAME, version); in DatabaseHelperForTesting()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DEnterpriseContactsTest.java162 AppSearchHelper.DATABASE_NAME).build(); in setUp()
240 AppSearchHelper.DATABASE_NAME, getDocumentRequest).get(); in testGetEnterpriseContact()
292 AppSearchHelper.DATABASE_NAME, getDocumentRequest).get(); in testGetEnterpriseContact_withProjection()
419 AppSearchHelper.DATABASE_NAME).get(); in testEnterpriseContacts_canAccessWithOnlyContactsAccess()
444 AppSearchHelper.DATABASE_NAME).get(); in testEnterpriseContacts_canNotAccessWithoutContactsAccess()
472 AppSearchHelper.DATABASE_NAME).get(); in testEnterpriseContacts_canNotAccessWithOnlyCallerIdAccess()
514 if (changeInfo.getDatabaseName().equals(AppSearchHelper.DATABASE_NAME) in testEnterpriseContactsInSystemPackage_transformPerson()
530 AppSearchHelper.DATABASE_NAME, getDocumentRequest).get(); in testEnterpriseContactsInSystemPackage_transformPerson()
544 AppSearchHelper.DATABASE_NAME, getDocumentRequest).get(); in testEnterpriseContactsInSystemPackage_transformPerson()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
DFilterStackDBHelper.java26 public static final String DATABASE_NAME = "filterstacks.db"; field in FilterStackDBHelper
55 this(context, DATABASE_NAME); in FilterStackDBHelper()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberDatabaseHelper.java29 private static final String DATABASE_NAME = "blockednumbers.db"; field in BlockedNumberDatabaseHelper
88 instanceIsForTesting ? null : DATABASE_NAME, null, DATABASE_VERSION); in BlockedNumberDatabaseHelper()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DCustomAudienceDatabase.java61 public static final String DATABASE_NAME = field in CustomAudienceDatabase
108 context, CustomAudienceDatabase.class, DATABASE_NAME) in getInstance()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/data/topics/
DTopicsDbHelper.java43 private static final String DATABASE_NAME = "adservices_topics.db"; field in TopicsDbHelper
70 sSingleton = new TopicsDbHelper(ctx, DATABASE_NAME, CURRENT_DATABASE_VERSION); in getInstance()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDatabaseHelper.java33 private static final String DATABASE_NAME = "battery_settings.db"; field in AnomalyDatabaseHelper
154 super(context, DATABASE_NAME, null, DATABASE_VERSION); in AnomalyDatabaseHelper()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/
DRemoteAccessStorageUnitTest.java19 import static com.android.car.remoteaccess.RemoteAccessStorage.RemoteAccessDbHelper.DATABASE_NAME;
60 mDatabaseFile = mContext.getDatabasePath(DATABASE_NAME); in setUp()
/packages/apps/Settings/src/com/android/settings/slices/
DSlicesDatabaseHelper.java36 private static final String DATABASE_NAME = "slices_index.db"; field in SlicesDatabaseHelper
163 super(context, DATABASE_NAME, null /* CursorFactor */, DATABASE_VERSION); in SlicesDatabaseHelper()

1234