/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | AdDataTest.java | 49 .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/ |
D | AdDataFixture.java | 109 .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/ |
D | ExerciseCompletionGoalTest.java | 96 .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()
|
D | ExercisePerformanceGoalTest.java | 118 .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/ |
D | MediaPlayerBrowserService.kt | 65 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/ |
D | AuctionServerCustomAudienceFiltererTest.java | 195 .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/ |
D | CustomAudienceTestFixture.java | 127 .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/ |
D | AdBiddingOutcomeFixture.java | 42 .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/ |
D | DBAdDataFixture.java | 46 .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/ |
D | AdDataValidatorTest.java | 62 .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/ |
D | CustomAudienceAdsValidatorTest.java | 167 .setMetadata("{\"a\":1}") in testValidator_malformedAds() 172 .setMetadata("not[valid]json") in testValidator_malformedAds() 177 .setMetadata("{\"a\":1}") in testValidator_malformedAds()
|
D | CustomAudienceValidatorTest.java | 277 .setMetadata("{\"a\":1}") in testInvalidAdData() 284 .setMetadata("not[valid]json") in testInvalidAdData() 291 .setMetadata("{\"a\":1}") in testInvalidAdData()
|
D | CustomAudienceFieldSizeValidatorTest.java | 155 .setMetadata( in testAdsTooBig() 181 .setMetadata(AdSelectionSignals.EMPTY.toString()) in testAdsCountTooBig()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | CustomAudienceShellCommandsScenarioTest.java | 95 .setMetadata("{\"valid\":1}") in testRun_refreshCustomAudiences_verifyCustomAudienceChanged() 102 .setMetadata("{\"valid\":2}") in testRun_refreshCustomAudiences_verifyCustomAudienceChanged()
|
D | FledgeCtsDebuggableTest.java | 3034 .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/ |
D | DvrPlaybackMediaSessionHelper.java | 250 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/ |
D | DBAdData.java | 149 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/ |
D | AudioStreamPreference.java | 79 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/ |
D | BinarySerializerSignedContextualAdsTest.java | 134 .setMetadata(metadata) in testContextualAdSerialization_fullObject_success() 202 .setMetadata(metadata) in testContextualAdSerialization_minimalistObject_success()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | BluetoothMediaBrowserService.java | 310 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/ |
D | CustomAudienceSetupRule.java | 110 .setMetadata(metadata) in customAudienceFromInterestGroup() 194 .setMetadata("{\"result\":" + bids.get(i) + "}")
|
/packages/apps/TV/src/com/android/tv/ |
D | MediaSessionWrapper.java | 222 mMediaSession.setMetadata(builder.build()); in updateMediaMetadata() 239 mMediaSession.setMetadata(builder.build()); in updateMediaMetadata()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/shadows/ |
D | ShadowMediaSession.java | 66 public void setMetadata(MediaMetadata metadata) { in setMetadata() method in ShadowMediaSession
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/ |
D | DBAdDataTest.java | 128 .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/ |
D | AdDataArgumentUtil.java | 61 .setMetadata(jsonObject.getJSONObject(METADATA_FIELD_NAME).toString()); in parseJsonResponse()
|