/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/ |
D | CustomAudienceDaoTest.java | 851 .setOwner(ca1.getOwner()) in testListDebuggableCustomAudiences_happyPath() 868 ca1.getOwner(), ca1.getBuyer()); in testListDebuggableCustomAudiences_happyPath() 899 ca.getOwner(), ca.getBuyer()); in testListBackgroundDebuggableCustomAudiences_happyPath() 923 expected.getOwner(), expected.getBuyer(), expected.getName()); in testViewDebuggableCustomAudiences_happyPath() 938 .setOwner(ca.getOwner()) in testViewBackgroundDebuggableCustomAudiences_happyPath() 949 ca.getOwner(), ca.getBuyer(), ca.getName()); in testViewBackgroundDebuggableCustomAudiences_happyPath() 962 ca.getOwner(), ca.getBuyer(), ca.getName()); in testViewDebuggableCustomAudiences_withNoResult_returnsNull() 975 ca.getOwner(), ca.getBuyer(), ca.getName()); in testViewBackgroundDebuggableCustomAudiences_withNoResult_throwsException() 1308 CUSTOM_AUDIENCE_NO_USER_BIDDING_SIGNALS.getOwner(), in testCreateOrUpdate_immediatelyEligibleForUpdate() 1314 CUSTOM_AUDIENCE_NO_USER_BIDDING_SIGNALS.getOwner(), in testCreateOrUpdate_immediatelyEligibleForUpdate() [all …]
|
D | DBCustomAudienceQuarantineTest.java | 47 assertEquals(CustomAudienceFixture.VALID_OWNER, dbCustomAudienceQuarantine.getOwner()); in testBuildDBFetchCustomAudienceQuarantineSucceeds() 61 assertEquals(CustomAudienceFixture.VALID_OWNER, dbCustomAudienceQuarantine.getOwner()); in testCreateDBFetchCustomAudienceQuarantineSucceeds()
|
D | CustomAudienceStatsTest.java | 44 assertThat(stats.getOwner()).isNull(); in testBuildDefault() 69 assertThat(stats.getOwner()).isEqualTo(CustomAudienceFixture.VALID_OWNER); in testBuildWithValues()
|
D | DBCustomAudienceBackgroundFetchDataTest.java | 58 assertEquals(CustomAudienceFixture.VALID_OWNER, fetchData.getOwner()); in testBuildFetchDataSuccess() 82 assertEquals(CustomAudienceFixture.VALID_OWNER, fetchData.getOwner()); in testBuildFetchDataDefaultFailuresSuccess() 125 assertEquals(CustomAudienceFixture.VALID_OWNER, fetchData.getOwner()); in testCreateFetchDataSuccess() 151 assertEquals(CustomAudienceFixture.VALID_OWNER, fetchData.getOwner()); in testCreateDebuggableFetchDataSuccess()
|
D | DBScheduledCustomAudienceUpdateTest.java | 58 .that(dbScheduledCustomAudienceUpdate.getOwner()) in testBuildDBScheduledCustomAudienceUpdate_BuilderSuccess() 92 .that(dbScheduledCustomAudienceUpdate.getOwner()) in testBuildDBScheduledCustomAudienceUpdate_CreateSuccess()
|
D | CustomAudienceOverrideTest.java | 54 assertEquals(dbCustomAudienceOverride.getOwner(), CustomAudienceFixture.VALID_OWNER); in testBuildDBAdSelectionOverride() 171 assertEquals(dbCustomAudienceOverride.getOwner(), CustomAudienceFixture.VALID_OWNER); in testNoBiddingLogicJsVersion()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/ |
D | CustomAudienceViewCommandTest.java | 58 .setOwner(CUSTOM_AUDIENCE_1.getOwner()) 80 CUSTOM_AUDIENCE_1.getOwner(), in testRun_happyPath_returnsSuccess() 85 CUSTOM_AUDIENCE_1.getOwner(), in testRun_happyPath_returnsSuccess() 102 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_notPresent_returnsEmpty() 105 CUSTOM_AUDIENCE_1.getOwner(), in testRun_notPresent_returnsEmpty() 118 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_presentButNotDebuggable_returnsEmpty() 122 CUSTOM_AUDIENCE_1.getOwner(), in testRun_presentButNotDebuggable_returnsEmpty() 135 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_presentButBackgroundFetchDataNotDebuggable_returnsEmpty() 138 CUSTOM_AUDIENCE_1.getOwner(), in testRun_presentButBackgroundFetchDataNotDebuggable_returnsEmpty()
|
D | CustomAudienceListCommandTest.java | 59 .setOwner(CUSTOM_AUDIENCE_1.getOwner()) 66 .setOwner(CUSTOM_AUDIENCE_2.getOwner()) 75 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_simpleCase_returnsSuccess() 78 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_simpleCase_returnsSuccess() 97 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_missingBackgroundFetchData_returnsEmpty() 100 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_missingBackgroundFetchData_returnsEmpty() 146 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_complexCase_returnsSuccess() 149 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_complexCase_returnsSuccess()
|
D | CustomAudienceHelperTest.java | 86 assertThat(customAudience.getOwner()).isEqualTo(CustomAudienceFixture.VALID_OWNER); in testCustomAudienceFromJson_happyPath() 139 assertThat(customAudienceBackgroundFetchData.getOwner()) in testCustomAudienceBackgroundFetchDataFromJson_happyPath()
|
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | DelegatorTest.java | 72 assertEquals(InstrumentationRegistry.getTargetContext().getPackageName(), getOwner(uri)); in testPushAllowed() 78 assertEquals(PERMISSIONLESS_APP, getOwner(uri)); in testPushAllowed() 89 assertEquals(null, getOwner(uri)); in testOrphanedAllowed() 95 assertEquals(PERMISSIONLESS_APP, getOwner(uri)); in testOrphanedAllowed() 106 assertEquals(PERMISSIONLESS_APP, getOwner(uri)); in testPullBlocked() 113 assertEquals(PERMISSIONLESS_APP, getOwner(uri)); in testPullBlocked() 127 private String getOwner(Uri uri) throws Exception { in getOwner() method in DelegatorTest
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | ScheduledUpdatesHandlerTest.java | 180 UPDATE.getOwner(), in testPerformScheduledUpdates_Success() 209 .leaveCustomAudience(UPDATE.getOwner(), UPDATE.getBuyer(), LEAVE_CA_1); in testPerformScheduledUpdates_Success() 211 .leaveCustomAudience(UPDATE.getOwner(), UPDATE.getBuyer(), LEAVE_CA_2); in testPerformScheduledUpdates_Success() 255 UPDATE.getOwner(), in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsEnabled() 284 .leaveCustomAudience(UPDATE.getOwner(), UPDATE.getBuyer(), LEAVE_CA_1); in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsEnabled() 286 .leaveCustomAudience(UPDATE.getOwner(), UPDATE.getBuyer(), LEAVE_CA_2); in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsEnabled() 337 UPDATE.getOwner(), in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsDisabled() 366 .leaveCustomAudience(UPDATE.getOwner(), UPDATE.getBuyer(), LEAVE_CA_1); in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsDisabled() 368 .leaveCustomAudience(UPDATE.getOwner(), UPDATE.getBuyer(), LEAVE_CA_2); in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsDisabled() 423 UPDATE.getOwner(), in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsEnabledButNoFlagsInResponse() [all …]
|
D | CustomAudienceBlobTest.java | 123 assertEquals(mCustomAudienceBlob.getOwner(), VALID_OWNER); in testOverrideFromFetchAndJoinCustomAudienceInput_validValues() 149 assertEquals(mCustomAudienceBlob.getOwner(), VALID_OWNER); in testOverrideFromPartialCustomAudience_validValues() 167 assertEquals(mCustomAudienceBlob.getOwner(), VALID_OWNER); in testOverrideFromJSONObject_validValues() 221 assertEquals(blob.getOwner(), VALID_OWNER); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled() 267 assertEquals(blob.getOwner(), VALID_OWNER); in testOverrideFromJSONObject_invalidValuesWithAuctionServerRequestFlagsEnabled() 317 assertEquals(blob.getOwner(), VALID_OWNER); in testOverrideFromJSONObject_UnexpectedValuesWithAuctionServerRequestFlagsEnabled() 361 assertEquals(mCustomAudienceBlob.getOwner(), VALID_OWNER); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsDisabled() 398 assertEquals(mCustomAudienceBlob.getOwner(), VALID_OWNER); in testGetOwner_valid() 403 assertThrows(NullPointerException.class, mCustomAudienceBlob::getOwner); in testGetOwner_unsetThrows() 410 assertEquals(mCustomAudienceBlob.getOwner(), VALID_OWNER); in testSetOwner_valid() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | CompressedBuyerInputCreatorHelperTest.java | 78 expect.that(customAudience.getOwner()).isEqualTo(dbCustomAudience.getOwner()); in testBuildCustomAudienceProto() 101 expect.that(customAudience.getOwner()).isEqualTo(dbCustomAudience.getOwner()); in testBuildCustomAudienceProtoOmitAdsEnabled_CADoesNotOmitsAds() 124 expect.that(customAudience.getOwner()).isEqualTo(dbCustomAudience.getOwner()); in testBuildCustomAudienceProtoOmitAdsEnabled_CAOmitsAds()
|
D | CompressedBuyerInputCreatorNoOptimizationsTest.java | 231 expect.that(buyerInputCA.getOwner()).isEqualTo(dbCustomAudience.getOwner()); in assertCAsEqual()
|
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/ |
D | WifiP2pGroupList.java | 143 WifiP2pDevice groupOwner = grp.getOwner(); in getNetworkId() 172 WifiP2pDevice groupOwner = grp.getOwner(); in getNetworkId() 199 WifiP2pDevice groupOwner = grp.getOwner(); in getOwnerAddr()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/managers/registration/ |
D | BinderListenerRegistration.java | 62 extends BinderListenerRegistration<TListener>, ?> getOwner(); in getOwner() method in BinderListenerRegistration 103 getOwner().removeRegistration(key); in remove()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | CustomAudienceSignalsTest.java | 42 assertEquals(CustomAudienceFixture.VALID_OWNER, customAudienceSignals.getOwner()); in testBuildCustomAudienceSignals() 63 assertEquals(CustomAudienceFixture.VALID_OWNER, customAudienceSignals.getOwner()); in testBuildFromCustomAudience()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/ |
D | DBCustomAudienceBackgroundFetchData.java | 51 public abstract String getOwner(); in getOwner() method in DBCustomAudienceBackgroundFetchData 171 .setOwner(getOwner()) in copyWithUpdatableData()
|
D | CustomAudienceStats.java | 33 public abstract String getOwner(); in getOwner() method in CustomAudienceStats
|
D | DBCustomAudienceQuarantine.java | 51 public abstract String getOwner(); in getOwner() method in DBCustomAudienceQuarantine
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
D | CustomAudienceSignals.java | 89 public String getOwner() { in getOwner() method in CustomAudienceSignals 163 .setOwner(customAudience.getOwner()) in buildFromCustomAudience()
|
D | DBWinningCustomAudience.java | 44 public abstract String getOwner(); in getOwner() method in DBWinningCustomAudience
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AdCounterHistogramUpdaterImpl.java | 101 .setCustomAudienceOwner(dbAdSelection.getCustomAudienceSignals().getOwner()) in updateWinHistogram() 137 .setCustomAudienceOwner(winningCustomAudience.getOwner()) in updateWinHistogram()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceCallbackAidlImplTest.java | 500 assertNotNull(group.getOwner()); in testOnGroupStarted_success() 501 assertEquals(group.getOwner().deviceAddress, mDeviceAddress1String); in testOnGroupStarted_success() 570 assertNotNull(group.getOwner()); in testOnGroupStartedWithParams_success() 571 assertEquals(group.getOwner().deviceAddress, mDeviceAddress1String); in testOnGroupStartedWithParams_success() 652 assertNotNull(group.getOwner()); in testOnGroupStartedWithParams_vendorData_success() 653 assertEquals(group.getOwner().deviceAddress, mDeviceAddress1String); in testOnGroupStartedWithParams_vendorData_success() 1110 assertEquals(mDeviceAddress2String, group.getOwner().deviceAddress); in testOnInvitationReceived() 1136 assertEquals(mDeviceAddress2String, group.getOwner().deviceAddress); in testOnInvitationReceivedWithParams()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/datahandlers/ |
D | WinningCustomAudience.java | 33 public abstract String getOwner(); in getOwner() method in WinningCustomAudience
|