Home
last modified time | relevance | path

Searched refs:setMetadata (Results 1 – 25 of 76) sorted by relevance

1234

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAdDataTest.java49 .setMetadata(AdDataFixture.VALID_METADATA) in testBuildValidAdDataSuccess()
69 .setMetadata(AdDataFixture.VALID_METADATA) in testParcelValidAdDataWithUnsetKeysAndFiltersSuccess()
89 .setMetadata(AdDataFixture.VALID_METADATA) in testParcelValidAdDataWithUnsetRenderIdSuccess()
107 assertThrows(NullPointerException.class, () -> new AdData.Builder().setMetadata(null)); in testSetNullMetadataAdDataThrows()
137 .setMetadata(AdDataFixture.VALID_METADATA) in testBuildUnsetAdCounterKeysSuccess()
154 .setMetadata(AdDataFixture.VALID_METADATA) in testBuildValidAdDataWithUnsetFiltersSuccess()
170 .setMetadata(AdDataFixture.VALID_METADATA) in testAdDataToString()
190 .setMetadata(AdDataFixture.VALID_METADATA) in testAdDataDescribeContent()
201 .setMetadata(AdDataFixture.VALID_METADATA) in testParcelWithFilters_success()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/common/
DAdDataFixture.java109 .setMetadata(INVALID_METADATA) in getInvalidAdsByBuyer()
113 .setMetadata(INVALID_METADATA) in getInvalidAdsByBuyer()
117 .setMetadata(INVALID_METADATA) in getInvalidAdsByBuyer()
121 .setMetadata(INVALID_METADATA) in getInvalidAdsByBuyer()
136 .setMetadata(metadata); in getValidAdDataBuilderByBuyer()
180 .setMetadata(metadata) in getValidFilterAdDataWithAdRenderIdByBuyer()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DExerciseCompletionGoalTest.java96 .isEqualTo(record.setMetadata(createMetadata(id)).build()); in distanceGoal_insertionAndRead()
130 .isEqualTo(record.setMetadata(createMetadata(id)).build()); in stepsGoal_insertionAndRead()
165 .isEqualTo(record.setMetadata(createMetadata(id)).build()); in durationGoal_insertionAndRead()
200 .isEqualTo(record.setMetadata(createMetadata(id)).build()); in repetitionsGoal_insertionAndRead()
247 .isEqualTo(record.setMetadata(createMetadata(id)).build()); in totalCaloriesBurnedGoal_insertionAndRead()
299 .isEqualTo(record.setMetadata(createMetadata(id)).build()); in activeCaloriesBurnedGoal_insertionAndRead()
321 assertThat(restored).isEqualTo(record.setMetadata(createMetadata(id)).build()); in distanceWithVariableRestGoal_insertionAndRead()
351 .isEqualTo(record.setMetadata(createMetadata(id)).build()); in unspecifiedGoal_insertionAndRead()
DExercisePerformanceGoalTest.java118 .isEqualTo(record.setMetadata(createMetadata(id)).build()); in powerGoal_insertAndRead()
182 .isEqualTo(record.setMetadata(createMetadata(id)).build()); in speedGoal_insertAndRead()
219 .isEqualTo(record.setMetadata(createMetadata(id)).build()); in cadenceGoal_insertAndRead()
255 .isEqualTo(record.setMetadata(createMetadata(id)).build()); in heartRateGoal_insertAndRead()
293 .isEqualTo(record.setMetadata(createMetadata(id)).build()); in weightGoal_insertAndRead()
329 .isEqualTo(record.setMetadata(createMetadata(id)).build()); in rpeGoal_insertAndRead()
350 .isEqualTo(record.setMetadata(createMetadata(id)).build()); in amrapGoal_insertAndRead()
/packages/modules/Bluetooth/android/pandora/server/src/
DMediaPlayerBrowserService.kt65 mediaSession.setMetadata(null) in setupMediaSession()
114 mediaSession.setMetadata(metadataItems.get("" + currentTrack)) in play()
119 mediaSession.setMetadata(null) in stop()
138 mediaSession.setMetadata(metadataItems.get("" + currentTrack)) in forward()
146 mediaSession.setMetadata(metadataItems.get("" + currentTrack)) in backward()
152 mediaSession.setMetadata(metadataItems.get("" + currentTrack)) in setLargeMetadata()
/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/cts/src/android/adservices/utils/
DCustomAudienceTestFixture.java127 .setMetadata("{\"result\":" + bids.get(i) + "}") in createCustomAudience()
162 .setMetadata( in createCustomAudienceWithAdCost()
195 .setMetadata("{\"result\":" + bids.get(i) + "}") in createCustomAudienceWithSubdomains()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DAdBiddingOutcomeFixture.java42 .setMetadata("{'example': 'metadata', 'valid': true}") in anAdBiddingOutcomeBuilder()
71 .setMetadata("{'example': 'metadata', 'valid': true}") in anAdBiddingOutcomeBuilderWithBuyerContextualSignals()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/common/
DDBAdDataFixture.java46 .setMetadata(mirrorAdData.getMetadata()); in getValidDbAdDataNoFiltersBuilder()
54 .setMetadata(mirrorAdData.getMetadata()); in getValidDbAdDataNoFiltersBuilder()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdDataValidatorTest.java62 .setMetadata("{\"a\":1}") in testInvalidUri()
83 .setMetadata("invalid[json]field") in testInvalidMetadata()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceAdsValidatorTest.java167 .setMetadata("{\"a\":1}") in testValidator_malformedAds()
172 .setMetadata("not[valid]json") in testValidator_malformedAds()
177 .setMetadata("{\"a\":1}") in testValidator_malformedAds()
DCustomAudienceValidatorTest.java277 .setMetadata("{\"a\":1}") in testInvalidAdData()
284 .setMetadata("not[valid]json") in testInvalidAdData()
291 .setMetadata("{\"a\":1}") in testInvalidAdData()
DCustomAudienceFieldSizeValidatorTest.java155 .setMetadata( in testAdsTooBig()
181 .setMetadata(AdSelectionSignals.EMPTY.toString()) in testAdsCountTooBig()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DCustomAudienceShellCommandsScenarioTest.java95 .setMetadata("{\"valid\":1}") in testRun_refreshCustomAudiences_verifyCustomAudienceChanged()
102 .setMetadata("{\"valid\":2}") in testRun_refreshCustomAudiences_verifyCustomAudienceChanged()
DFledgeCtsDebuggableTest.java3034 .setMetadata("{\"result\":" + bidsForBuyer2.get(i) + "}") in testFledgeAuctionAppFilteringFlow_overall_Success()
3169 .setMetadata("{\"result\":" + bidsForBuyer2.get(i) + "}") in testFledgeAuctionAppFilteringFlow_overall_AppInstallFailure()
3292 .setMetadata("{\"result\":10}") in testFrequencyCapFiltering_NonWinEvent_FiltersAds()
3305 .setMetadata("{\"result\":5}") in testFrequencyCapFiltering_NonWinEvent_FiltersAds()
3464 .setMetadata("{\"result\":10}") in testFrequencyCapFiltering_DifferentNonWinEvent_IsNotFiltered()
3477 .setMetadata("{\"result\":5}") in testFrequencyCapFiltering_DifferentNonWinEvent_IsNotFiltered()
3637 .setMetadata("{\"result\":10}") in testFrequencyCapFiltering_NonWinEventDifferentKey_IsNotFiltered()
3661 .setMetadata("{\"result\":5}") in testFrequencyCapFiltering_NonWinEventDifferentKey_IsNotFiltered()
3805 .setMetadata("{\"result\":10}") in testFrequencyCapFiltering_NonWinEventDifferentBuyer_IsNotFiltered()
3817 .setMetadata("{\"result\":5}") in testFrequencyCapFiltering_NonWinEventDifferentBuyer_IsNotFiltered()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackMediaSessionHelper.java250 mMediaSession.setMetadata(metadata); in updateMetadataTextInfo()
263 mMediaSession.setMetadata(builder.build()); in updateMetadataImageInfo()
277 mMediaSession.setMetadata(builder.build()); in updateMetadataImageInfo()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/common/
DDBAdData.java149 setMetadata(copyFrom.getMetadata()); in Builder()
161 public Builder setMetadata(@NonNull String metadata) { in setMetadata() method in DBAdData.Builder
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamPreference.java79 mAudioStream.setMetadata(metadata); in setAudioStreamMetadata()
219 private void setMetadata(BluetoothLeBroadcastMetadata metadata) { in setMetadata() method in AudioStreamPreference.AudioStream
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/signature/
DBinarySerializerSignedContextualAdsTest.java134 .setMetadata(metadata) in testContextualAdSerialization_fullObject_success()
202 .setMetadata(metadata) in testContextualAdSerialization_minimalistObject_success()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DBluetoothMediaBrowserService.java310 sBluetoothMediaBrowserService.mSession.setMetadata(track.toMediaMetadata()); in trackChanged()
312 sBluetoothMediaBrowserService.mSession.setMetadata(null); in trackChanged()
410 sBluetoothMediaBrowserService.mSession.setMetadata(null); in reset()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/utils/
DCustomAudienceSetupRule.java110 .setMetadata(metadata) in customAudienceFromInterestGroup()
194 .setMetadata("{\"result\":" + bids.get(i) + "}")
/packages/apps/TV/src/com/android/tv/
DMediaSessionWrapper.java222 mMediaSession.setMetadata(builder.build()); in updateMediaMetadata()
239 mMediaSession.setMetadata(builder.build()); in updateMediaMetadata()
/packages/apps/TV/tests/common/src/com/android/tv/testing/shadows/
DShadowMediaSession.java66 public void setMetadata(MediaMetadata metadata) { in setMetadata() method in ShadowMediaSession
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/
DDBAdDataTest.java128 .setMetadata(original.getMetadata()) in testFromServiceObjectBothFilteringDisabled()
277 .setMetadata(SAMPLE_AD_DATA.getMetadata()) in testBuilder()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAdDataArgumentUtil.java61 .setMetadata(jsonObject.getJSONObject(METADATA_FIELD_NAME).toString()); in parseJsonResponse()

1234