Home
last modified time | relevance | path

Searched refs:getOwner (Results 1 – 25 of 82) sorted by relevance

1234

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/
DCustomAudienceDaoTest.java851 .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 …]
DDBCustomAudienceQuarantineTest.java47 assertEquals(CustomAudienceFixture.VALID_OWNER, dbCustomAudienceQuarantine.getOwner()); in testBuildDBFetchCustomAudienceQuarantineSucceeds()
61 assertEquals(CustomAudienceFixture.VALID_OWNER, dbCustomAudienceQuarantine.getOwner()); in testCreateDBFetchCustomAudienceQuarantineSucceeds()
DCustomAudienceStatsTest.java44 assertThat(stats.getOwner()).isNull(); in testBuildDefault()
69 assertThat(stats.getOwner()).isEqualTo(CustomAudienceFixture.VALID_OWNER); in testBuildWithValues()
DDBCustomAudienceBackgroundFetchDataTest.java58 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()
DDBScheduledCustomAudienceUpdateTest.java58 .that(dbScheduledCustomAudienceUpdate.getOwner()) in testBuildDBScheduledCustomAudienceUpdate_BuilderSuccess()
92 .that(dbScheduledCustomAudienceUpdate.getOwner()) in testBuildDBScheduledCustomAudienceUpdate_CreateSuccess()
DCustomAudienceOverrideTest.java54 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/
DCustomAudienceViewCommandTest.java58 .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()
DCustomAudienceListCommandTest.java59 .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()
DCustomAudienceHelperTest.java86 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/
DDelegatorTest.java72 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/
DScheduledUpdatesHandlerTest.java180 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 …]
DCustomAudienceBlobTest.java123 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/
DCompressedBuyerInputCreatorHelperTest.java78 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()
DCompressedBuyerInputCreatorNoOptimizationsTest.java231 expect.that(buyerInputCA.getOwner()).isEqualTo(dbCustomAudience.getOwner()); in assertCAsEqual()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pGroupList.java143 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/
DBinderListenerRegistration.java62 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/
DCustomAudienceSignalsTest.java42 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/
DDBCustomAudienceBackgroundFetchData.java51 public abstract String getOwner(); in getOwner() method in DBCustomAudienceBackgroundFetchData
171 .setOwner(getOwner()) in copyWithUpdatableData()
DCustomAudienceStats.java33 public abstract String getOwner(); in getOwner() method in CustomAudienceStats
DDBCustomAudienceQuarantine.java51 public abstract String getOwner(); in getOwner() method in DBCustomAudienceQuarantine
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DCustomAudienceSignals.java89 public String getOwner() { in getOwner() method in CustomAudienceSignals
163 .setOwner(customAudience.getOwner()) in buildFromCustomAudience()
DDBWinningCustomAudience.java44 public abstract String getOwner(); in getOwner() method in DBWinningCustomAudience
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAdCounterHistogramUpdaterImpl.java101 .setCustomAudienceOwner(dbAdSelection.getCustomAudienceSignals().getOwner()) in updateWinHistogram()
137 .setCustomAudienceOwner(winningCustomAudience.getOwner()) in updateWinHistogram()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackAidlImplTest.java500 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/
DWinningCustomAudience.java33 public abstract String getOwner(); in getOwner() method in WinningCustomAudience

1234