Home
last modified time | relevance | path

Searched refs:ADSERVICES_PREFIX (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/compat/
DFileCompatUtilsTest.java50 private static final String ADSERVICES_PREFIX = "adservices_"; field in FileCompatUtilsTest
62 .isEqualTo(ADSERVICES_PREFIX + BASE_FILENAME); in testShouldPrependAdservices_SMinus()
92 mContext, CacheDatabase.class, ADSERVICES_PREFIX + BASE_FILENAME)); in testRoomDatabaseBuilderHelper_shouldPrependAdservices_SMinus()
108 mContext, CacheDatabase.class, ADSERVICES_PREFIX + BASE_FILENAME), in testRoomDatabaseBuilderHelper_shouldNotPrependAdservices_TPlus()
117 assertThat(file.getName()).isEqualTo(ADSERVICES_PREFIX + BASE_FILENAME); in testGetDatabasePathHelper_shouldPrependAdservices_SMinus()
133 assertThat(file.getName()).isEqualTo(ADSERVICES_PREFIX + BASE_FILENAME); in testNewFileHelper_shouldPrependAdservices_SMinus()
150 .getSharedPreferences(ADSERVICES_PREFIX + BASE_FILENAME, Context.MODE_PRIVATE); in testGetSharedPreferencesHelper_shouldPrependAdservices_SMinus()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/compat/
DFileCompatUtils.java33 private static final String ADSERVICES_PREFIX = "adservices"; field in FileCompatUtils
46 || ADSERVICES_PREFIX.regionMatches( in getAdservicesFilename()
51 /* len= */ ADSERVICES_PREFIX.length())) { in getAdservicesFilename()
55 return ADSERVICES_PREFIX + "_" + basename; in getAdservicesFilename()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/signals/
DEncoderPersistenceDaoTest.java19 import static com.android.adservices.data.signals.EncoderPersistenceDao.ADSERVICES_PREFIX;
78 ADSERVICES_PREFIX + BUYER_1.toString() + ENCODER_FILE_SUFFIX, in testGenerateFileName()
107 ADSERVICES_PREFIX + BUYER_1 + ENCODER_FILE_SUFFIX, in testCreateFileInDirectory()
183 File tempFile = new File(CONTEXT.getFilesDir(), ADSERVICES_PREFIX + "temp_file"); in testWriteAndReadForFile()
/packages/modules/ExtServices/java/src/android/ext/services/common/
DAdServicesFilesCleanupBootCompleteReceiver.java52 private static final String ADSERVICES_PREFIX = "adservices"; field in AdServicesFilesCleanupBootCompleteReceiver
150 return ADSERVICES_PREFIX.regionMatches( in doesFileNameStartWithPrefix()
155 /* len= */ ADSERVICES_PREFIX.length()); in doesFileNameStartWithPrefix()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/signals/
DEncoderPersistenceDao.java51 @VisibleForTesting static final String ADSERVICES_PREFIX = "adservices_"; field in EncoderPersistenceDao
53 @VisibleForTesting static final String ENCODERS_DIR = ADSERVICES_PREFIX + "encoders";
250 return ADSERVICES_PREFIX + buyer + ENCODER_FILE_SUFFIX; in generateFileNameForBuyer()