/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/compat/ |
D | FileCompatUtilsTest.java | 61 assertThat(FileCompatUtils.getAdservicesFilename(BASE_FILENAME)) in testShouldPrependAdservices_SMinus() 68 assertThat(FileCompatUtils.getAdservicesFilename(FILENAME_STARTS_WITH_ADSERVICES)) in testShouldNotPrependAdservicesIfNameStartsWithAdservices_Sminus() 70 assertThat(FileCompatUtils.getAdservicesFilename(ANOTHER_FILENAME_STARTS_WITH_ADSERVICES)) in testShouldNotPrependAdservicesIfNameStartsWithAdservices_Sminus() 78 assertThat(FileCompatUtils.getAdservicesFilename(BASE_FILENAME)).isEqualTo(BASE_FILENAME); in testShouldNotPrependAdservices_TPlus() 85 FileCompatUtils.roomDatabaseBuilderHelper(mContext, CacheDatabase.class, BASE_FILENAME); in testRoomDatabaseBuilderHelper_shouldPrependAdservices_SMinus() 100 FileCompatUtils.roomDatabaseBuilderHelper( in testRoomDatabaseBuilderHelper_shouldNotPrependAdservices_TPlus() 116 File file = FileCompatUtils.getDatabasePathHelper(mContext, BASE_FILENAME); in testGetDatabasePathHelper_shouldPrependAdservices_SMinus() 124 File file = FileCompatUtils.getDatabasePathHelper(mContext, BASE_FILENAME); in testGetDatabasePathHelper_shouldNotPrependAdservices_TPlus() 132 File file = FileCompatUtils.newFileHelper(new File("parent", "child"), BASE_FILENAME); in testNewFileHelper_shouldPrependAdservices_SMinus() 140 File file = FileCompatUtils.newFileHelper(new File("parent", "child"), BASE_FILENAME); in testNewFileHelper_shouldNotPrependAdservices_TPlus() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/signals/ |
D | EncoderPersistenceDao.java | 27 import com.android.adservices.service.common.compat.FileCompatUtils; 118 FileCompatUtils.newFileHelper( in deleteEncoder() 119 FileCompatUtils.newFileHelper(mFilesDir, ENCODERS_DIR), in deleteEncoder() 144 File encodersDir = FileCompatUtils.newFileHelper(mFilesDir, ENCODERS_DIR); in createEncodersDirectoryIfDoesNotExist() 162 File file = FileCompatUtils.newFileHelper(directory, fileName); in createFileInDirectory() 211 File file = FileCompatUtils.newFileHelper(directory, fileName); in readDataFromFile()
|
D | ProtectedSignalsDatabase.java | 25 import com.android.adservices.service.common.compat.FileCompatUtils; 49 FileCompatUtils.getAdservicesFilename("protectedsignals.db"); 66 FileCompatUtils.roomDatabaseBuilderHelper( in getInstance()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/ |
D | CobaltDataServiceFactory.java | 23 import com.android.adservices.service.common.compat.FileCompatUtils; 38 private static final String DB_NAME = FileCompatUtils.getAdservicesFilename("cobalt_db"); 46 FileCompatUtils.roomDatabaseBuilderHelper(context, CobaltDatabase.class, DB_NAME) in createDataService()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
D | AdSelectionDebugReportingDatabase.java | 27 import com.android.adservices.service.common.compat.FileCompatUtils; 41 FileCompatUtils.getAdservicesFilename("adselection_debug_reporting.db"); 56 FileCompatUtils.roomDatabaseBuilderHelper( in getInstance()
|
D | SharedStorageDatabase.java | 28 import com.android.adservices.service.common.compat.FileCompatUtils; 47 FileCompatUtils.getAdservicesFilename("sharedstorage.db"); 63 FileCompatUtils.roomDatabaseBuilderHelper( in getInstance()
|
D | AdSelectionServerDatabase.java | 28 import com.android.adservices.service.common.compat.FileCompatUtils; 54 FileCompatUtils.getAdservicesFilename("adselectionserver.db"); 67 FileCompatUtils.roomDatabaseBuilderHelper( in getInstance()
|
D | AdSelectionDatabase.java | 28 import com.android.adservices.service.common.compat.FileCompatUtils; 65 FileCompatUtils.getAdservicesFilename("adselection.db"); 80 FileCompatUtils.roomDatabaseBuilderHelper( in getInstance()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/kanon/ |
D | KAnonDatabase.java | 27 import com.android.adservices.service.common.compat.FileCompatUtils; 38 public static final String DATABASE_NAME = FileCompatUtils.getAdservicesFilename("kanon.db"); 53 FileCompatUtils.roomDatabaseBuilderHelper( in getInstance()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/cache/ |
D | CacheDatabase.java | 30 import com.android.adservices.service.common.compat.FileCompatUtils; 49 FileCompatUtils.getAdservicesFilename("fledgehttpcache.db"); 60 FileCompatUtils.roomDatabaseBuilderHelper( in getInstance()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/ |
D | CustomAudienceDatabase.java | 32 import com.android.adservices.service.common.compat.FileCompatUtils; 62 FileCompatUtils.getAdservicesFilename("customaudience.db"); 107 FileCompatUtils.roomDatabaseBuilderHelper( in getInstance()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/ui/data/ |
D | UxStatesDao.java | 26 import com.android.adservices.service.common.compat.FileCompatUtils; 41 FileCompatUtils.getAdservicesFilename("adservices.uxstates.xml"); 45 FileCompatUtils.getAdservicesFilename("adservices.uxstates.test.xml");
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/common/ |
D | BooleanFileDatastore.java | 21 import com.android.adservices.service.common.compat.FileCompatUtils; 42 FileCompatUtils.newFileHelper( in BooleanFileDatastore()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/extdata/ |
D | AdServicesExtDataStorageServiceDebugProxy.java | 38 import com.android.adservices.service.common.compat.FileCompatUtils; 63 FileCompatUtils.getSharedPreferencesHelper( in AdServicesExtDataStorageServiceDebugProxy() 65 FileCompatUtils.getAdservicesFilename(KEY_EXT_ADEXT_SERVICE_PROXY_PREFS), in AdServicesExtDataStorageServiceDebugProxy()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/ |
D | ConsentConstants.java | 19 import com.android.adservices.service.common.compat.FileCompatUtils; 54 FileCompatUtils.getAdservicesFilename("ConsentManagerStorageIdentifier.xml");
|
D | AdExtDataConsentMigrationUtilsV2.java | 37 import com.android.adservices.service.common.compat.FileCompatUtils; 75 FileCompatUtils.getSharedPreferencesHelper( in handleConsentMigrationFromAdExtDataIfNeededV2()
|
D | AdExtDataConsentMigrationUtils.java | 38 import com.android.adservices.service.common.compat.FileCompatUtils; 76 FileCompatUtils.getSharedPreferencesHelper( in handleConsentMigrationFromAdExtDataIfNeeded()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/compat/ |
D | FileCompatUtils.java | 32 public final class FileCompatUtils { class 35 private FileCompatUtils() { in FileCompatUtils() method in FileCompatUtils
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/ |
D | DbHelper.java | 44 import com.android.adservices.service.common.compat.FileCompatUtils; 70 FileCompatUtils.getAdservicesFilename("adservices.db"); 87 mDbFile = FileCompatUtils.getDatabasePathHelper(context, dbName); in DbHelper()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/ |
D | DbHelperTest.java | 55 import com.android.adservices.service.common.compat.FileCompatUtils; 119 final String databaseName = FileCompatUtils.getAdservicesFilename("testsize.db"); in testGetDbFileSize() 193 String dbName = FileCompatUtils.getAdservicesFilename("test_db"); in testOnUpgrade_topicsV8Migration_loggedTopicColumnExist() 330 String dbName = FileCompatUtils.getAdservicesFilename("test_db"); in testOnUpgrade_measurementMigration_tablesExist() 343 String dbName = FileCompatUtils.getAdservicesFilename("test_db_2"); in testOnUpgrade_measurementMigration_tablesDoNotExist()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/ |
D | AppSearchMeasurementRollbackWorker.java | 32 import com.android.adservices.service.common.compat.FileCompatUtils; 52 FileCompatUtils.getAdservicesFilename("measurement_rollback");
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/ |
D | MeasurementDbHelper.java | 63 import com.android.adservices.service.common.compat.FileCompatUtils; 78 FileCompatUtils.getAdservicesFilename("adservices_msmt.db"); 91 mDbFile = FileCompatUtils.getDatabasePathHelper(context, dbName); in MeasurementDbHelper()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/shared/ |
D | SharedDbHelper.java | 45 import com.android.adservices.service.common.compat.FileCompatUtils; 69 FileCompatUtils.getAdservicesFilename("adservices_shared.db"); 82 mDbFile = FileCompatUtils.getDatabasePathHelper(context, dbName); in SharedDbHelper()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | AppManifestConfigMetricsLogger.java | 35 import com.android.adservices.service.common.compat.FileCompatUtils; 53 FileCompatUtils.getAdservicesFilename("AppManifestConfigMetricsLogger");
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/consent/ |
D | AppConsentDao.java | 26 import com.android.adservices.service.common.compat.FileCompatUtils; 50 FileCompatUtils.getAdservicesFilename("adservices.appconsent.xml");
|