Home
last modified time | relevance | path

Searched refs:KEY1 (Results 1 – 16 of 16) sorted by relevance

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DKeyedFrequencyCapTest.java49 KeyedFrequencyCapFixture.KEY1, in testBuildValidKeyedFrequencyCap_success()
54 assertThat(originalCap.getAdCounterKey()).isEqualTo(KeyedFrequencyCapFixture.KEY1); in testBuildValidKeyedFrequencyCap_success()
63 KeyedFrequencyCapFixture.KEY1, in testParcelKeyedFrequencyCap_success()
74 assertThat(capFromParcel.getAdCounterKey()).isEqualTo(KeyedFrequencyCapFixture.KEY1); in testParcelKeyedFrequencyCap_success()
84 KeyedFrequencyCapFixture.KEY1) in testEqualsIdentical_success()
88 KeyedFrequencyCapFixture.KEY1) in testEqualsIdentical_success()
98 KeyedFrequencyCapFixture.KEY1) in testEqualsDifferent_success()
112 KeyedFrequencyCapFixture.KEY1) in testEqualsNull_success()
123 KeyedFrequencyCapFixture.KEY1) in testHashCodeIdentical_success()
127 KeyedFrequencyCapFixture.KEY1) in testHashCodeIdentical_success()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DHistogramEventTest.java44 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildValidHistogramEvent_success()
53 assertThat(event.getAdCounterKey()).isEqualTo(KeyedFrequencyCapFixture.KEY1); in testBuildValidHistogramEvent_success()
83 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetBuyer_throws()
98 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetCustomAudienceOwnerWithWinType_throws()
111 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetCustomAudienceOwnerWithNonWinType_success()
119 assertThat(event.getAdCounterKey()).isEqualTo(KeyedFrequencyCapFixture.KEY1); in testBuildUnsetCustomAudienceOwnerWithNonWinType_success()
134 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetCustomAudienceNameWithWinType_throws()
147 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetCustomAudienceNameWithNonWinType_success()
155 assertThat(event.getAdCounterKey()).isEqualTo(KeyedFrequencyCapFixture.KEY1); in testBuildUnsetCustomAudienceNameWithNonWinType_success()
170 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetAdEventType_throws()
[all …]
DFrequencyCapFilteringE2ETest.java167 KeyedFrequencyCapFixture.KEY1,
DAdSelectionServiceImplTest.java10381 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testSetAdCounterHistogramOverrideNullCallbackThrows()
10425 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testSetAdCounterHistogramOverrideCallbackErrorReported()
10470 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testSetAdCounterHistogramOverrideSuccess()
10509 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testRemoveAdCounterHistogramOverrideNullCallbackThrows()
10551 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testRemoveAdCounterHistogramOverrideCallbackErrorReported()
10594 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testRemoveAdCounterHistogramOverrideSuccess()
DOnDeviceAdSelectionRunnerTest.java3075 KeyedFrequencyCapFixture.KEY1, in testFilterOneAd_appInstall()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DDBHistogramEventDataTest.java52 .setAdCounterIntKey(KeyedFrequencyCapFixture.KEY1) in testBuildValidEventData_success()
62 assertThat(originalEventData.getAdCounterIntKey()).isEqualTo(KeyedFrequencyCapFixture.KEY1); in testBuildValidEventData_success()
72 .setAdCounterIntKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetRowId_success()
82 assertThat(originalEventData.getAdCounterIntKey()).isEqualTo(KeyedFrequencyCapFixture.KEY1); in testBuildUnsetRowId_success()
93 .setAdCounterIntKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetForeignKey_throws()
105 .setAdCounterIntKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetAdEventType_throws()
117 .setAdCounterIntKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetTimestamp_throws()
148 KeyedFrequencyCapFixture.KEY1); in testCreateValidEventData_success()
157 assertThat(originalEventData.getAdCounterIntKey()).isEqualTo(KeyedFrequencyCapFixture.KEY1); in testCreateValidEventData_success()
168 KeyedFrequencyCapFixture.KEY1); in testCreateNullRowId_success()
[all …]
DFrequencyCapDaoTest.java1555 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testDeleteExactNumOldestHistogramEventData()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/
DRemoveAdCounterHistogramOverrideInputTest.java41 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildValidInput_success()
47 expect.that(originalInput.getAdCounterKey()).isEqualTo(KeyedFrequencyCapFixture.KEY1); in testBuildValidInput_success()
56 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testParcelValidInput_success()
68 expect.that(inputFromParcel.getAdCounterKey()).isEqualTo(KeyedFrequencyCapFixture.KEY1); in testParcelValidInput_success()
86 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testToString()
95 KeyedFrequencyCapFixture.KEY1, in testToString()
114 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetAdEventType()
140 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetBuyer_throws()
DSetAdCounterHistogramOverrideInputTest.java51 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildValidInput_success()
60 expect.that(originalInput.getAdCounterKey()).isEqualTo(KeyedFrequencyCapFixture.KEY1); in testBuildValidInput_success()
73 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testParcelValidInput_success()
88 expect.that(inputFromParcel.getAdCounterKey()).isEqualTo(KeyedFrequencyCapFixture.KEY1); in testParcelValidInput_success()
110 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testToString()
123 KeyedFrequencyCapFixture.KEY1, in testToString()
170 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetAdEventType()
204 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetHistogramTimestamps_success()
220 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetBuyer_throws()
234 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetCustomAudienceOwner_throws()
[all …]
DSetAdCounterHistogramOverrideRequestTest.java50 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildValidRequest_success()
59 expect.that(originalRequest.getAdCounterKey()).isEqualTo(KeyedFrequencyCapFixture.KEY1); in testBuildValidRequest_success()
72 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testToString()
85 KeyedFrequencyCapFixture.KEY1, in testToString()
134 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetAdEventType()
168 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetHistogramTimestamps_success()
184 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetBuyer_throws()
198 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetCustomAudienceOwner_throws()
212 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetCustomAudienceName_throws()
DRemoveAdCounterHistogramOverrideRequestTest.java38 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildValidRequest_success()
44 expect.that(originalRequest.getAdCounterKey()).isEqualTo(KeyedFrequencyCapFixture.KEY1); in testBuildValidRequest_success()
53 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testToString()
62 KeyedFrequencyCapFixture.KEY1, in testToString()
81 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetAdEventType()
107 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in testBuildUnsetBuyer_throws()
/packages/modules/Virtualization/libs/bssl/tests/
Daead_test.rs19 const KEY1: [u8; 32] = [ constant
41 let aead_ctx = AeadContext::new(Aead::aes_256_gcm(), &KEY1, tag_len)?; in aes_256_gcm_encrypts_and_decrypts_successfully()
53 let aead_ctx = AeadContext::new(Aead::aes_256_gcm(), &KEY1, tag_len)?; in aes_256_gcm_fails_to_encrypt_with_invalid_nonce()
91 let aead_ctx = AeadContext::new(Aead::aes_256_gcm(), &KEY1, tag_len)?; in aes_256_gcm_fails_to_decrypt_with_different_ad()
108 let aead_ctx = AeadContext::new(Aead::aes_256_gcm(), &KEY1, tag_len)?; in aes_256_gcm_fails_to_decrypt_with_different_nonce()
126 let aead_ctx = AeadContext::new(Aead::aes_256_gcm(), &KEY1, tag_len)?; in aes_256_gcm_fails_to_decrypt_corrupted_ciphertext()
139 let aead_ctx = AeadContext::new(Aead::aes_256_gcm(), &KEY1, tag_len)?; in aes_256_gcm_encrypt()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/common/
DKeyedFrequencyCapFixture.java29 public static final int KEY1 = 1; field in KeyedFrequencyCapFixture
41 getValidKeyedFrequencyCapBuilderOncePerDay(KEY1).build(),
48 getValidKeyedFrequencyCapBuilderOncePerDay(KEY1).build(),
DAdDataFixture.java44 KeyedFrequencyCapFixture.KEY1, in getAdCounterKeys()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeE2ETest.java221 KeyedFrequencyCapFixture.KEY1,
231 KeyedFrequencyCapFixture.KEY1,
2321 Collections.singleton(KeyedFrequencyCapFixture.KEY1), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_noFilters()
2322 Collections.singleton(KeyedFrequencyCapFixture.KEY1), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_noFilters()
2323 Collections.singleton(KeyedFrequencyCapFixture.KEY1)); in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_noFilters()
2483 Collections.singleton(KeyedFrequencyCapFixture.KEY1), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudience_appInstallFilters()
2484 Collections.singleton(KeyedFrequencyCapFixture.KEY1), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudience_appInstallFilters()
2485 Collections.singleton(KeyedFrequencyCapFixture.KEY1)); in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudience_appInstallFilters()
2647 Collections.singleton(KeyedFrequencyCapFixture.KEY1), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_bothFilters()
2648 Collections.singleton(KeyedFrequencyCapFixture.KEY1), in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_bothFilters()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/adselection/
DHistogramEventFixture.java97 .setAdCounterKey(KeyedFrequencyCapFixture.KEY1) in getValidHistogramEventBuilder()