Home
last modified time | relevance | path

Searched refs:VALID_METADATA (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAdDataTest.java49 .setMetadata(AdDataFixture.VALID_METADATA) in testBuildValidAdDataSuccess()
56 assertThat(validAdData.getMetadata()).isEqualTo(AdDataFixture.VALID_METADATA); in testBuildValidAdDataSuccess()
69 .setMetadata(AdDataFixture.VALID_METADATA) in testParcelValidAdDataWithUnsetKeysAndFiltersSuccess()
78 assertThat(fromParcel.getMetadata()).isEqualTo(AdDataFixture.VALID_METADATA); in testParcelValidAdDataWithUnsetKeysAndFiltersSuccess()
89 .setMetadata(AdDataFixture.VALID_METADATA) in testParcelValidAdDataWithUnsetRenderIdSuccess()
137 .setMetadata(AdDataFixture.VALID_METADATA) in testBuildUnsetAdCounterKeysSuccess()
142 assertThat(validAdData.getMetadata()).isEqualTo(AdDataFixture.VALID_METADATA); in testBuildUnsetAdCounterKeysSuccess()
154 .setMetadata(AdDataFixture.VALID_METADATA) in testBuildValidAdDataWithUnsetFiltersSuccess()
159 assertThat(validAdData.getMetadata()).isEqualTo(AdDataFixture.VALID_METADATA); in testBuildValidAdDataWithUnsetFiltersSuccess()
170 .setMetadata(AdDataFixture.VALID_METADATA) in testAdDataToString()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAuctionServerCustomAudienceFiltererTest.java195 .setMetadata(AdDataFixture.VALID_METADATA) in test_isValidCustomAudience_emptyAdRenderId_returnsFalse()
230 .setMetadata(AdDataFixture.VALID_METADATA) in test_isValidCustomAudience_nullAdRenderId_returnsFalse()
250 .setMetadata(AdDataFixture.VALID_METADATA) in test_isValidCustomAudience_atLeastOneNonNullNonEmptyKeyAndAdRenderId_returnsTrue()
257 .setMetadata(AdDataFixture.VALID_METADATA) in test_isValidCustomAudience_atLeastOneNonNullNonEmptyKeyAndAdRenderId_returnsTrue()
264 .setMetadata(AdDataFixture.VALID_METADATA) in test_isValidCustomAudience_atLeastOneNonNullNonEmptyKeyAndAdRenderId_returnsTrue()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/common/
DAdDataFixture.java34 public static final String VALID_METADATA = "{\"example\": \"metadata\", \"valid\": true}"; field in AdDataFixture
129 metadata = JsonFixture.formatAsOrgJsonJSONObjectString(VALID_METADATA); in getValidAdDataBuilderByBuyer()
173 metadata = JsonFixture.formatAsOrgJsonJSONObjectString(VALID_METADATA); in getValidFilterAdDataWithAdRenderIdByBuyer()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsDashboardFragmentTest.java51 private static final String VALID_METADATA = field in AudioStreamsDashboardFragmentTest
112 intent.putExtra(KEY_BROADCAST_METADATA, VALID_METADATA); in onActivityResult_setSourceFromQrCode()
DAudioStreamsQrCodeFragmentTest.java68 private static final String VALID_METADATA = field in AudioStreamsQrCodeFragmentTest
120 BluetoothLeBroadcastMetadataExt.INSTANCE.convertToBroadcastMetadata(VALID_METADATA); in onCreateView_hasMetadata_hasQrCode()
DAudioStreamsQrCodeScanFragmentTest.java67 private static final String VALID_METADATA = field in AudioStreamsQrCodeScanFragmentTest
172 Boolean result = mFragment.isValid(VALID_METADATA); in scannerCallback_isValid()
DAudioStreamConfirmDialogTest.java76 private static final String VALID_METADATA = field in AudioStreamConfirmDialogTest
289 intent.putExtra(KEY_BROADCAST_METADATA, VALID_METADATA); in showDialog_confirmListen()