/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/enrollment/ |
D | PreEnrolledAdTechForTest.java | 19 import com.android.adservices.service.enrollment.EnrollmentData; 27 static List<EnrollmentData> getList() { in getList() 38 private static final EnrollmentData SIMPLE_ENROLLMENT = 39 new EnrollmentData.Builder() 50 private static final EnrollmentData ONE_SDK_MULTIPLE_URLS = 51 new EnrollmentData.Builder() 65 private static final EnrollmentData SECOND_ENROLLMENT = 66 new EnrollmentData.Builder() 78 private static final EnrollmentData TOPICS_SAMPLE_APPS = 79 new EnrollmentData.Builder() [all …]
|
D | IEnrollmentDao.java | 23 import com.android.adservices.service.enrollment.EnrollmentData; 32 List<EnrollmentData> getAllEnrollmentData(); in getAllEnrollmentData() 40 EnrollmentData getEnrollmentData(String enrollmentId); in getEnrollmentData() 48 EnrollmentData getEnrollmentDataFromMeasurementUrl(Uri url); in getEnrollmentDataFromMeasurementUrl() 60 EnrollmentData getEnrollmentDataForFledgeByAdTechIdentifier(AdTechIdentifier adTechIdentifier); in getEnrollmentDataForFledgeByAdTechIdentifier() 81 Pair<AdTechIdentifier, EnrollmentData> getEnrollmentDataForFledgeByMatchingAdTechIdentifier( in getEnrollmentDataForFledgeByMatchingAdTechIdentifier() 93 EnrollmentData getEnrollmentDataForPASByAdTechIdentifier(AdTechIdentifier adTechIdentifier); in getEnrollmentDataForPASByAdTechIdentifier() 114 Pair<AdTechIdentifier, EnrollmentData> getEnrollmentDataForPASByMatchingAdTechIdentifier( in getEnrollmentDataForPASByMatchingAdTechIdentifier() 123 EnrollmentData getEnrollmentDataFromSdkName(String sdkName); in getEnrollmentDataFromSdkName() 145 boolean insert(EnrollmentData enrollmentData); in insert() [all …]
|
D | EnrollmentDao.java | 49 import com.android.adservices.service.enrollment.EnrollmentData; 143 for (EnrollmentData enrollment : PreEnrolledAdTechForTest.getList()) { in seed() 187 public List<EnrollmentData> getAllEnrollmentData() { in getAllEnrollmentData() 193 List<EnrollmentData> enrollmentDataList = new ArrayList<>(); in getAllEnrollmentData() 247 public EnrollmentData getEnrollmentData(String enrollmentId) { in getEnrollmentData() 301 public EnrollmentData getEnrollmentDataFromMeasurementUrl(Uri url) { in getEnrollmentDataFromMeasurementUrl() 370 EnrollmentData data = in getEnrollmentDataFromMeasurementUrl() 459 public EnrollmentData getEnrollmentDataForFledgeByAdTechIdentifier( in getEnrollmentDataForFledgeByAdTechIdentifier() 514 EnrollmentData potentialMatch = in getEnrollmentDataForFledgeByAdTechIdentifier() 574 List<EnrollmentData> enrollmentDataFledge = in getAllFledgeEnrolledAdTechs() [all …]
|
D | SqliteObjectMapper.java | 24 import com.android.adservices.service.enrollment.EnrollmentData; 33 public static EnrollmentData constructEnrollmentDataFromCursor(Cursor cursor) { in constructEnrollmentDataFromCursor() 34 EnrollmentData.Builder builder = new EnrollmentData.Builder(); in constructEnrollmentDataFromCursor() 88 fledgeRbrUrls.addAll(EnrollmentData.splitEnrollmentInputToList(input)); in getAdTechIdentifiersFromFledgeCursor()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/enrollment/ |
D | EnrollmentDaoTest.java | 59 import com.android.adservices.service.enrollment.EnrollmentData; 90 public static final EnrollmentData ENROLLMENT_DATA1 = 91 new EnrollmentData.Builder() 106 public static final EnrollmentData ENROLLMENT_DATA1_API_BASED = 107 new EnrollmentData.Builder() 117 private static final EnrollmentData ENROLLMENT_DATA2 = 118 new EnrollmentData.Builder() 138 public static final EnrollmentData ENROLLMENT_DATA2_API_BASED = 139 new EnrollmentData.Builder() 148 private static final EnrollmentData ENROLLMENT_DATA3 = [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/enrollment/ |
D | EnrollmentDataTest.java | 19 import static com.android.adservices.service.enrollment.EnrollmentData.SEPARATOR; 60 private EnrollmentData createEnrollmentData() { in createEnrollmentData() 61 return new EnrollmentData.Builder() in createEnrollmentData() 76 EnrollmentData enrollmentData = createEnrollmentData(); in testCreation() 95 EnrollmentData enrollmentData = in testCreationFromStrings() 96 new EnrollmentData.Builder() in testCreationFromStrings() 129 assertThat(EnrollmentData.splitEnrollmentInputToList("")).isEmpty(); in testSplitEnrollmentInputToList_emptyString() 135 assertThat(EnrollmentData.splitEnrollmentInputToList(item)).containsExactly(item); in testSplitEnrollmentInputToList_singleItem() 142 assertThat(EnrollmentData.splitEnrollmentInputToList(itemListString)) in testSplitEnrollmentInputToList_multipleItems() 148 EnrollmentData enrollmentData = new EnrollmentData.Builder().build(); in testDefaults() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/enrollment/ |
D | EnrollmentData.java | 34 public class EnrollmentData { class 49 private EnrollmentData() { in EnrollmentData() method in EnrollmentData 64 if (!(obj instanceof EnrollmentData)) { in equals() 67 EnrollmentData enrollmentData = (EnrollmentData) obj; in equals() 215 public EnrollmentData.Builder cloneToBuilder() { in cloneToBuilder() 216 return new EnrollmentData.Builder() in cloneToBuilder() 231 private final EnrollmentData mBuilding; 234 mBuilding = new EnrollmentData(); in Builder() 334 public EnrollmentData build() { in build()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/ |
D | EnrollmentDataDownloadManager.java | 44 import com.android.adservices.service.enrollment.EnrollmentData; 178 Optional<List<EnrollmentData>> enrollmentDataList; in readAndInsertEnrollmentDataFromMdd() 214 private void fetchEncryptionKeysForNewEnrollment(List<EnrollmentData> enrollmentDataList) { in fetchEncryptionKeysForNewEnrollment() 216 for (EnrollmentData enrollmentData : enrollmentDataList) { in fetchEncryptionKeysForNewEnrollment() 235 private Optional<List<EnrollmentData>> processDownloadedFile( in processDownloadedFile() 247 List<EnrollmentData> newEnrollments = new ArrayList<>(); in processDownloadedFile() 255 EnrollmentData enrollmentData = in processDownloadedFile() 256 new EnrollmentData.Builder() in processDownloadedFile() 291 for (EnrollmentData enrollmentData : newEnrollments) { in processDownloadedFile() 304 private Optional<List<EnrollmentData>> processDownloadedProtoFile( in processDownloadedProtoFile() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | FledgeAuthorizationFilter.java | 43 import com.android.adservices.service.enrollment.EnrollmentData; 230 EnrollmentData enrollmentData = getEnrollmentData(adTechIdentifier, apiType); in assertAdTechAllowed() 295 private EnrollmentData getEnrollmentData(AdTechIdentifier adTechIdentifier, int apiType) { in getEnrollmentData() 301 EnrollmentData caEnrollment = in getEnrollmentData() 312 private Pair<AdTechIdentifier, EnrollmentData> getAdTechIdentifierEnrollmentDataPair( in getAdTechIdentifierEnrollmentDataPair() 320 Pair<AdTechIdentifier, EnrollmentData> caEnrollment = in getAdTechIdentifierEnrollmentDataPair() 337 EnrollmentData enrollmentData) { in isAllowedAccess() 383 Pair<AdTechIdentifier, EnrollmentData> enrollmentResult = in getAndAssertAdTechFromUriAllowed() 406 EnrollmentData enrollmentData = enrollmentResult.second; in getAndAssertAdTechFromUriAllowed() 454 EnrollmentData enrollmentData = in assertAdTechEnrolled()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/encryptionkey/ |
D | EncryptionKeyFetcherTest.java | 40 import com.android.adservices.service.enrollment.EnrollmentData; 147 private static EnrollmentData.Builder constructEnrollmentData() { in constructEnrollmentData() 148 return new EnrollmentData.Builder() in constructEnrollmentData() 200 EnrollmentData enrollmentData = constructEnrollmentData().setEncryptionKeyUrl(SITE).build(); in testFirstTimeFetchEncryptionKeysSucceed() 224 EnrollmentData enrollmentData = constructEnrollmentData().setEncryptionKeyUrl(null).build(); in testFirstTimeFetchEncryptionKeysNullEncryptionKeyUrl() 246 EnrollmentData enrollmentData = in testFirstTimeFetchEncryptionKeysEmptyEncryptionKeyUrl() 269 EnrollmentData enrollmentData = in testFirstTimeFetchEncryptionKeysSingleWhiteSpaceEncryptionKeyUrl() 292 EnrollmentData enrollmentData = constructEnrollmentData().setEncryptionKeyUrl(SITE).build(); in testFirstTimeFetchEncryptionKeysBadConnection() 315 EnrollmentData enrollmentData = constructEnrollmentData().setEncryptionKeyUrl(SITE).build(); in testFirstTimeFetchEncryptionKeysServerTimeOut() 341 EnrollmentData enrollmentData = constructEnrollmentData().setEncryptionKeyUrl(SITE).build(); in testFirstTimeFetchEncryptionKeysInvalidJSONResponse() [all …]
|
D | EncryptionKeyJobHandlerTest.java | 37 import com.android.adservices.service.enrollment.EnrollmentData; 67 private static final EnrollmentData ENROLLMENT_DATA = 68 new EnrollmentData.Builder()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/ |
D | EncryptionKeyJobHandler.java | 22 import com.android.adservices.service.enrollment.EnrollmentData; 50 List<EnrollmentData> enrollmentDataList = mEnrollmentDao.getAllEnrollmentData(); in fetchAndUpdateEncryptionKeys() 52 for (EnrollmentData enrollmentData : enrollmentDataList) { in fetchAndUpdateEncryptionKeys() 94 EnrollmentData enrollmentData = in fetchAndUpdateEncryptionKeys()
|
D | EncryptionKeyFetcher.java | 27 import com.android.adservices.service.enrollment.EnrollmentData; 108 @NonNull EnrollmentData enrollmentData, in fetchEncryptionKeys() 186 private static String constructEncryptionKeyUrl(EnrollmentData enrollmentData) { in constructEncryptionKeyUrl() 210 EnrollmentData enrollmentData, in getJsonResponse() 237 @NonNull EnrollmentData enrollmentData, in parseEncryptionKeyJSONResponse() 269 EnrollmentData enrollmentData, JSONObject jsonObject, EncryptionKey.KeyType keyType) { in buildEncryptionKeys() 348 EnrollmentData enrollmentData, in logEncryptionKeyFetchedStats()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/ |
D | EnrollmentDataDownloadManagerTest.java | 51 import com.android.adservices.service.enrollment.EnrollmentData; 159 ArgumentCaptor<EnrollmentData> enrollmentDataCaptor = in testReadFileAndInsertIntoDatabaseSuccess() 160 ArgumentCaptor.forClass(EnrollmentData.class); in testReadFileAndInsertIntoDatabaseSuccess() 294 ArgumentCaptor<EnrollmentData> captor = ArgumentCaptor.forClass(EnrollmentData.class); in testReadFileAndInsertIntoDatabaseParsingFailed() 349 ArgumentCaptor<EnrollmentData> enrollmentDataCaptor = in testEnrollmentMddRecordDeletionCallsOverwrite() 350 ArgumentCaptor.forClass(EnrollmentData.class); in testEnrollmentMddRecordDeletionCallsOverwrite() 409 ArgumentCaptor<EnrollmentData> enrollmentDataCaptor = in testReadFileAndInsertIntoDatabaseSuccess_verifyFileGroupDataInSharedPreference() 410 ArgumentCaptor.forClass(EnrollmentData.class); in testReadFileAndInsertIntoDatabaseSuccess_verifyFileGroupDataInSharedPreference() 508 ArgumentCaptor<EnrollmentData> enrollmentDataCaptor = in testReadProtoFileAndInsertIntoDatabaseSuccess() 509 ArgumentCaptor.forClass(EnrollmentData.class); in testReadProtoFileAndInsertIntoDatabaseSuccess() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/enrollment/ |
D | EnrollmentFixture.java | 23 public static final EnrollmentData getValidEnrollment() { in getValidEnrollment() 24 return new EnrollmentData.Builder() in getValidEnrollment()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/signature/ |
D | ProtectedAudienceSignatureManagerTest.java | 38 import com.android.adservices.service.enrollment.EnrollmentData; 149 doReturn(new EnrollmentData.Builder().build()) in testFetchKeys_adTechEnrollmentIdNull_failsVerification() 191 EnrollmentData enrollment = in testFetchKeys_validAdTechMultipleKeys_returnedInAscendingOrderByExpiration() 192 new EnrollmentData.Builder().setEnrollmentId(enrollmentId).build(); in testFetchKeys_validAdTechMultipleKeys_returnedInAscendingOrderByExpiration() 374 doReturn(new EnrollmentData.Builder().setEnrollmentId(BUYER_ENROLLMENT_ID).build()) in mockKeyStorage() 377 doReturn(new EnrollmentData.Builder().setEnrollmentId(SELLER_ENROLLMENT_ID).build()) in mockKeyStorage()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/ |
D | Enrollment.java | 27 import com.android.adservices.service.enrollment.EnrollmentData; 63 EnrollmentData enrollmentData = in getValidEnrollmentId()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/pas/ |
D | EncodingExecutionLogHelperImpl.java | 26 import com.android.adservices.service.enrollment.EnrollmentData; 74 EnrollmentData data = mEnrollmentDao.getEnrollmentDataForPASByAdTechIdentifier(adtech); in setAdtech()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/ |
D | EncodingExecutionLogHelperImplTest.java | 29 import com.android.adservices.service.enrollment.EnrollmentData; 61 .thenReturn(new EnrollmentData.Builder().setEnrollmentId("123").build()); in testLog()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/util/ |
D | EnrollmentTest.java | 33 import com.android.adservices.service.enrollment.EnrollmentData; 49 private static final EnrollmentData ENROLLMENT = 50 new EnrollmentData.Builder()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/signature/ |
D | ProtectedAudienceSignatureManager.java | 27 import com.android.adservices.service.enrollment.EnrollmentData; 161 EnrollmentData enrollmentData = in fetchPublicKeyForAdTech() 266 EnrollmentData enrollmentData = in resolveEnrollmentIdFromAdTechIdentifier()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | TopicsServiceImplTest.java | 99 import com.android.adservices.service.enrollment.EnrollmentData; 262 EnrollmentData fakeEnrollmentData = in setup() 263 new EnrollmentData.Builder().setEnrollmentId(ALLOWED_SDK_ID).build(); in setup() 509 EnrollmentData fakeEnrollmentData = in checkSdkHasEnrollmentIdNull() 510 new EnrollmentData.Builder().setEnrollmentId(null).build(); in checkSdkHasEnrollmentIdNull() 530 EnrollmentData fakeEnrollmentData = in checkSdkEnrollmentInBlocklist_blocked() 531 new EnrollmentData.Builder().setEnrollmentId(ALLOWED_SDK_ID).build(); in checkSdkEnrollmentInBlocklist_blocked() 554 EnrollmentData fakeEnrollmentData = in checkSdkEnrollmentIdIsDisallowed() 555 new EnrollmentData.Builder().setEnrollmentId(DISALLOWED_SDK_ID).build(); in checkSdkEnrollmentIdIsDisallowed()
|
D | EncryptionManagerTest.java | 52 import com.android.adservices.service.enrollment.EnrollmentData; 78 private static final EnrollmentData ENROLLMENT_DATA = 79 new EnrollmentData.Builder() 266 .thenReturn(new EnrollmentData.Builder().build()); in testEncryption_missingEnrollmentId()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/migration/ |
D | MeasurementDbMigratorV15.java | 31 import com.android.adservices.service.enrollment.EnrollmentData; 107 EnrollmentData.splitEnrollmentInputToList(attributionReportingColumnValue); in getEnrollmentToReportingOrigin()
|
D | MeasurementDbMigratorV14.java | 31 import com.android.adservices.service.enrollment.EnrollmentData; 130 EnrollmentData.splitEnrollmentInputToList(attributionReportingColumnValue); in getEnrollmentToReportingOrigin()
|