Home
last modified time | relevance | path

Searched refs:getCallerPackageName (Results 1 – 25 of 60) sorted by relevance

123

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DReportAndRegisterEventImpl.java133 notifyFailureToCaller(input.getCallerPackageName(), callback, t); in reportInteraction()
167 input.getCallerPackageName(), in performReporting()
178 input.getCallerPackageName(), in performReporting()
184 input.getCallerPackageName(), in performReporting()
207 input.getCallerPackageName()); in canMeasurementRegisterAndReport()
223 if (!PermissionHelper.hasAttributionPermission(mContext, input.getCallerPackageName())) { in canMeasurementRegisterAndReport()
246 input.getCallerPackageName(), in reportAndRegisterUris()
DUpdateAdCounterHistogramWorker.java135 inputParams.getCallerPackageName(), in updateAdCounterHistogram()
138 notifySuccess(inputParams.getCallerPackageName(), callback); in updateAdCounterHistogram()
146 invokeFailure(inputParams.getCallerPackageName(), callback, t); in updateAdCounterHistogram()
159 inputParams.getCallerPackageName(), in submitUpdateAdCounterHistogram()
176 inputParams.getCallerPackageName(), in validateRequest()
187 inputParams.getCallerPackageName())) { in validateRequest()
190 inputParams.getCallerPackageName()); in validateRequest()
DReportEventImpl.java107 notifyFailureToCaller(input.getCallerPackageName(), callback, t); in reportInteraction()
137 input.getCallerPackageName(), in performReporting()
148 input.getCallerPackageName(), in performReporting()
154 input.getCallerPackageName(), in performReporting()
DAdSelectionServiceImpl.java391 inputParams.getCallerPackageName(), in getAdSelectionData()
403 inputParams.getCallerPackageName(), in getAdSelectionData()
417 inputParams.getCallerPackageName(), in getAdSelectionData()
426 mContext, inputParams.getCallerPackageName(), apiName, PERMISSIONS_SET); in getAdSelectionData()
454 inputParams.getCallerPackageName(), in persistAdSelectionResult()
466 inputParams.getCallerPackageName(), in persistAdSelectionResult()
480 inputParams.getCallerPackageName(), in persistAdSelectionResult()
489 mContext, inputParams.getCallerPackageName(), apiName, PERMISSIONS_SET); in persistAdSelectionResult()
589 inputParams.getCallerPackageName(), in selectAds()
598 mContext, inputParams.getCallerPackageName(), apiName, PERMISSIONS_SET); in selectAds()
[all …]
DReportAndRegisterEventFallbackImpl.java120 notifyFailureToCaller(input.getCallerPackageName(), callback, t); in reportInteraction()
162 input.getCallerPackageName(), in performReporting()
173 input.getCallerPackageName(), in performReporting()
179 input.getCallerPackageName(), in performReporting()
DOutcomeSelectionRunner.java258 inputParams.getCallerPackageName(), in runOutcomeSelection()
280 inputParams.getCallerPackageName(), in runOutcomeSelection()
289 inputParams.getCallerPackageName(), result, callback); in runOutcomeSelection()
310 inputParams.getCallerPackageName(), in runOutcomeSelection()
315 inputParams.getCallerPackageName(), t, callback); in runOutcomeSelection()
324 notifyFailureToCaller(inputParams.getCallerPackageName(), t, callback); in runOutcomeSelection()
554 inputParams.getCallerPackageName(),
DAppInstallAdvertisersSetter.java127 input.getCallerPackageName()))) in setAppInstallAdvertisers()
137 input.getCallerPackageName(), in setAppInstallAdvertisers()
160 input.getCallerPackageName(), in setAppInstallAdvertisers()
166 input.getCallerPackageName(), callback, t); in setAppInstallAdvertisers()
DAdSelectionRunner.java335 String callerAppPackageName = inputParams.getCallerPackageName(); in runAdSelection()
358 inputParams.getCallerPackageName()), in runAdSelection()
401 inputParams.getCallerPackageName(), in runAdSelection()
406 inputParams.getCallerPackageName(), callback, t); in runAdSelection()
453 notifyFailureToCaller(inputParams.getCallerPackageName(), callback, t); in runAdSelection()
495 inputParams.getCallerPackageName(),
777 .setCallerPackageName(dbAdSelection.getCallerPackageName())
DEventReporter.java151 input.getCallerPackageName(), in filterAndValidateRequest()
159 input.getAdSelectionId(), input.getCallerPackageName()); in filterAndValidateRequest()
177 input.getAdSelectionId(), input.getCallerPackageName()); in getReportingUris()
/packages/modules/AdServices/adservices/framework/java/android/adservices/customaudience/
DCustomAudienceManager.java115 return new TestCustomAudienceManager(this, getCallerPackageName()); in getTestCustomAudienceManager()
173 getCallerPackageName(), in joinCustomAudience()
240 getCallerPackageName()) in fetchAndJoinCustomAudience()
305 getCallerPackageName(), in leaveCustomAudience()
500 getCallerPackageName(), in scheduleCustomAudienceUpdate()
526 private String getCallerPackageName() { in getCallerPackageName() method in CustomAudienceManager
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/customaudience/
DFetchAndJoinCustomAudienceInputTest.java62 .that(request.getCallerPackageName()) in testBuildValidRequest_all_success()
75 .that(request.getCallerPackageName()) in testBuildValidRequest_onlyFetchUriAndCallerPackageName_success()
92 .that(request.getCallerPackageName()) in testBuildValidRequest_withName_success()
109 .that(request.getCallerPackageName()) in testBuildValidRequest_withActivationTime_success()
126 .that(request.getCallerPackageName()) in testBuildValidRequest_withExpirationTime_success()
143 .that(request.getCallerPackageName()) in testBuildValidRequest_withUserBiddingSignals_success()
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/
DAdSelectionManager.java239 .setCallerPackageName(getCallerPackageName()) in getAdSelectionData()
339 .setCallerPackageName(getCallerPackageName()) in persistAdSelectionResult()
443 .setCallerPackageName(getCallerPackageName()) in selectAds()
553 .setCallerPackageName(getCallerPackageName()) in selectAds()
694 .setCallerPackageName(getCallerPackageName()) in reportImpression()
773 .setCallerPackageName(getCallerPackageName()) in reportEvent()
852 .setCallerPackageName(getCallerPackageName()) in setAppInstallAdvertisers()
930 getCallerPackageName()) in updateAdCounterHistogram()
957 private String getCallerPackageName() { in getCallerPackageName() method in AdSelectionManager
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DDBAdSelectionTest.java84 assertEquals(CALLER_PACKAGE_NAME, dbAdSelection.getCallerPackageName()); in testBuildDBAdSelection()
210 assertEquals(CALLER_PACKAGE_NAME, dbAdSelection.getCallerPackageName()); in testBuildDBAdSelectionWithNullAdCounterKeys()
237 assertEquals(CALLER_PACKAGE_NAME, dbAdSelection.getCallerPackageName()); in testBuildDBAdSelectionWithNullSellerContextualSignals()
266 assertEquals(CALLER_PACKAGE_NAME, dbAdSelection.getCallerPackageName()); in testBuildDBAdSelectionWithEmptyAdCounterKeys()
293 assertEquals(CALLER_PACKAGE_NAME, dbAdSelection.getCallerPackageName()); in testBuildDBAdSelectionWithUnsetAdCounterKeys()
320 assertEquals(CALLER_PACKAGE_NAME, dbAdSelection.getCallerPackageName()); in testBuildDBAdSelectionWithUnsetSellerContextualSignals()
DAdSelectionEntryDaoTest.java1473 DB_AD_SELECTION_WITH_AD_COUNTER_KEYS.getCallerPackageName())) in testGetMissingAdSelectionHistogramInfoOnDeviceTables()
1482 DB_AD_SELECTION_WITH_AD_COUNTER_KEYS.getCallerPackageName())) in testGetMissingAdSelectionHistogramInfoWithUnifiedTables()
1491 DB_AD_SELECTION_WITH_AD_COUNTER_KEYS.getCallerPackageName())) in testGetMissingAdSelectionHistogramInfo()
1506 DB_AD_SELECTION_1.getCallerPackageName()); in testGetAdSelectionHistogramInfoInOnDeviceTableWithNullAdCounterKeys()
1524 DB_AD_SELECTION_1.getCallerPackageName()); in testGetAdSelectionHistogramInfoWithNullAdCounterKeys()
1547 AD_SELECTION_ID_2, AD_SELECTION_INITIALIZATION_1.getCallerPackageName()); in testGetAdSelectionHistogramInfoWithNullAdCounterKeys()
1572 AD_SELECTION_ID_1, AD_SELECTION_INITIALIZATION_1.getCallerPackageName()); in testGetAdSelectionHistogramInfoWithUnifiedTablesNullAdCounterKeys()
1597 AD_SELECTION_ID_1, AD_SELECTION_INITIALIZATION_1.getCallerPackageName()); in testGetAdSelectionHistogramInfoWithUnifiedTables()
1615 DB_AD_SELECTION_1.getCallerPackageName()); in testGetAdSelectionHistogramInfoWithUnifiedTablesDoesNotReadFromLegacyTables()
1630 DB_AD_SELECTION_WITH_AD_COUNTER_KEYS.getCallerPackageName()); in testGetAdSelectionHistogramInfoInOnDeviceTable()
[all …]
DDBAdSelectionInitializationTest.java80 dbAdSelectionInitialization.getCallerPackageName()); in testBuild_allFieldsSet_success()
110 dbAdSelectionInitialization.getCallerPackageName()); in testCreate_allFieldsSet_success()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/
DAdSelectionFromOutcomesInputTest.java46 expect.that(inputParams.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testBuildValidAdSelectionFromOutcomesInputSuccess()
63 expect.that(fromParcel.getCallerPackageName()) in testParcelValidInputSuccess()
64 .isEqualTo(inputParams.getCallerPackageName()); in testParcelValidInputSuccess()
DGetAdSelectionDataInputTest.java51 expect.that(getAdSelectionDataInput.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testBuildGetAdSelectionDataInput()
68 expect.that(getAdSelectionDataInput.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testBuildGetAdSelectionDataInputWithSellerConfiguration()
91 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testParcelGetAdSelectionDataInput()
112 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testParcelGetAdSelectionDataInputWithNullValues()
DReportInteractionInputTest.java79 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testWriteToParcel_nonNullOptionalParameters()
110 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testWriteToParcel_nullInputEvent()
140 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testWriteToParcel_nullAdId()
171 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testWriteToParcel_nullCallerSdkName()
DPersistAdSelectionResultInputTest.java57 expect.that(persistAdSelectionResultInput.getCallerPackageName()) in testBuildPersistAdSelectionResultInput()
80 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testParcelPersistAdSelectionResultInput()
102 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testParcelPersistAdSelectionResultInputWithNullValues()
DUpdateAdCounterHistogramInputTest.java55 expect.that(originalInput.getCallerPackageName()).isEqualTo(VALID_PACKAGE_NAME); in testBuildValidInput_success()
78 expect.that(requestFromParcel.getCallerPackageName()).isEqualTo(VALID_PACKAGE_NAME); in testParcelInput_success()
179 expect.that(originalInput.getCallerPackageName()).isEqualTo(otherPackageName); in testAllSettersOverwrite_success()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DScheduleCustomAudienceUpdateImpl.java115 mCallerAppPackageName = input.getCallerPackageName(); in doScheduleCustomAudienceUpdate()
176 input.getCallerPackageName())) { in filterAndValidateRequest()
184 input.getCallerPackageName(), in filterAndValidateRequest()
212 String owner = input.getCallerPackageName(); in scheduleUpdate()
DCustomAudienceServiceImpl.java321 input.getCallerPackageName(), in fetchAndJoinCustomAudience()
325 final int callerUid = getCallingUid(apiName, input.getCallerPackageName()); in fetchAndJoinCustomAudience()
393 input.getCallerPackageName(), in scheduleCustomAudienceUpdate()
404 input.getCallerPackageName(), in scheduleCustomAudienceUpdate()
408 final int callerUid = getCallingUid(apiName, input.getCallerPackageName()); in scheduleCustomAudienceUpdate()
DFetchCustomAudienceImpl.java259 mCallerAppPackageName = request.getCallerPackageName(); in doFetchCustomAudience()
315 mOwner = input.getCallerPackageName(); in filterAndValidateRequest()
326 input.getCallerPackageName(), in filterAndValidateRequest()
343 PLACEHOLDER_CUSTOM_AUDIENCE, input.getCallerPackageName()); in filterAndValidateRequest()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DProtectedSignalsServiceImpl.java205 EMPTY_PACKAGE_NAME : updateSignalsInput.getCallerPackageName(); in updateSignals()
241 updateSignalsInput.getCallerPackageName(), in updateSignals()
286 input.getCallerPackageName(), in doUpdateSignals()
322 input.getCallerPackageName())) { in doUpdateSignals()
328 input.getCallerPackageName(), in doUpdateSignals()
/packages/modules/AdServices/adservices/framework/java/android/adservices/signals/
DProtectedSignalsManager.java203 updateSignalsRequest.getUpdateUri(), getCallerPackageName()) in updateSignals()
226 private String getCallerPackageName() { in getCallerPackageName() method in ProtectedSignalsManager

123