/packages/modules/AdServices/adservices/tests/unittest/service-core/adid/src/com/android/adservices/service/adid/ |
D | AdIdCacheManagerTest.java | 101 mAdIdCacheManager.getAdId(PACKAGE_NAME, DUMMY_CALLER_UID, callback1); in testGetAdId_cacheEnabled() 104 AdId actualAdId = new AdId(result.getAdId(), result.isLatEnabled()); in testGetAdId_cacheEnabled() 116 mAdIdCacheManager.getAdId(PACKAGE_NAME, DUMMY_CALLER_UID, callback2); in testGetAdId_cacheEnabled() 118 actualAdId = new AdId(result.getAdId(), result.isLatEnabled()); in testGetAdId_cacheEnabled() 133 mAdIdCacheManager.getAdId(PACKAGE_NAME, DUMMY_CALLER_UID, callback3); in testGetAdId_cacheEnabled() 136 actualAdId = new AdId(result.getAdId(), result.isLatEnabled()); in testGetAdId_cacheEnabled() 157 mAdIdCacheManager.getAdId(PACKAGE_NAME, DUMMY_CALLER_UID, callback); in testGetAdId_cacheDisabled() 160 AdId actualAdId = new AdId(result.getAdId(), result.isLatEnabled()); in testGetAdId_cacheDisabled() 184 mAdIdCacheManager.getAdId(PACKAGE_NAME, DUMMY_CALLER_UID, callback); in testGetAdIdOnError() 204 new UpdateAdIdRequest.Builder(adIdUpdate.getAdId()) in testUpdateAdId_success() [all …]
|
D | AdIdServiceImplTest.java | 253 public void getAdId() throws Exception { in getAdId() method in AdIdServiceImplTest 277 adidService.getAdId(mRequest, mCallerMetadata, callback); in testGetAdId_enforceCallingPackage_invalidPackage() 347 mAdIdServiceImpl.getAdId(request, mCallerMetadata, callback); in invokeGetAdIdAndVerifyError() 382 assertThat(getAdIdResult.getAdId()).isEqualTo(expectedGetAdIdResult.getAdId()); in runGetAdId() 394 adIdServiceImpl.getAdId(mRequest, mCallerMetadata, callback); in getAdIdResults()
|
D | AdIdWorkerTest.java | 48 mAdIdWorker.getAdId(PACKAGE_NAME, DUMMY_CALLER_UID, CALLBACK); in testGetAdId() 50 verify(mMockAdIdCacheManager).getAdId(PACKAGE_NAME, DUMMY_CALLER_UID, CALLBACK); in testGetAdId()
|
/packages/modules/AdServices/adservices/tests/cts/adid/src/com/android/adservices/tests/adid/ |
D | AdIdManagerTest.java | 64 mAdIdManager.getAdId(sCallbackExecutor, callback); in testAdIdManager_SPlus() 72 mAdIdManager.getAdId(sCallbackExecutor, callback); in testAdIdManager_R() 81 assertWithMessage("getAdId()").that(resultAdId.getAdId()).isNotNull(); in validateAdIdManagerTestResults() 131 mAdIdManager.getAdId(sCallbackExecutor, callback); 136 mAdIdManager.getAdId(sCallbackExecutor, callback); 164 adIdManager.getAdId(sCallbackExecutor, receiver); 176 adIdManager.getAdId(sCallbackExecutor, receiver); 181 return adId == null ? null : adId.getAdId();
|
D | AdIdCompatibleManagerTest.java | 70 adIdCompatibleManager.getAdId(CALLBACK_EXECUTOR, callback); in testAdIdCompatibleManager() 72 assertThat(resultAdId.getAdId()).isNotNull(); in testAdIdCompatibleManager() 87 adIdCompatibleManager.getAdId(CALLBACK_EXECUTOR, callback); in testAdIdCompatibleManager_verifyRateLimitReached() 94 adIdCompatibleManager.getAdId(CALLBACK_EXECUTOR, callback); in testAdIdCompatibleManager_verifyRateLimitReached() 100 adIdCompatibleManager.getAdId(CALLBACK_EXECUTOR, callback); in testAdIdCompatibleManager_verifyRateLimitReached() 115 adIdCompatibleManager.getAdId(CALLBACK_EXECUTOR, callback);
|
D | AdIdProviderTest.java | 81 callback.onResult(new AdId(result.getAdId(), result.isLatEnabled())); in testAdIdProvider() 90 Assert.assertEquals(ZEROED_OUT_AD_ID, resultAdId.getAdId()); in testAdIdProvider()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/adid/ |
D | AdIdManager.java | 105 public void getAdId( in getAdId() method in AdIdManager 108 mImpl.getAdId(executor, OutcomeReceiverConverter.toAdServicesOutcomeReceiver(callback)); in getAdId() 120 public void getAdId( in getAdId() method in AdIdManager 123 mImpl.getAdId(executor, callback); in getAdId()
|
D | AdIdCompatibleManager.java | 119 public void getAdId( in getAdId() method in AdIdCompatibleManager 149 service.getAdId( in getAdId() 163 resultParcel.getAdId(), in getAdId()
|
D | IAdIdService.aidl | 32 void getAdId(in GetAdIdParam adIdParam, in CallerMetadata callerMetadata, in getAdId() method
|
D | AdId.java | 65 public @NonNull String getAdId() { in getAdId() method in AdId
|
/packages/modules/AdServices/adservices/samples/adid/java/com/example/adservices/samples/adid/app/ |
D | MainActivity.java | 71 mAdIdButton.setOnClickListener(v -> getAdId(mExecutor, adIdCallback)); in registerAdIdButton() 75 private void getAdId(Executor executor, AdServicesOutcomeReceiver<AdId, Exception> callback) { in getAdId() method in MainActivity 79 mAdIdManager.getAdId(executor, callback); in getAdId() 91 return "AdId: " + adId.getAdId() + "\n" + "LAT: " + adId.isLimitAdTrackingEnabled(); in getAdIdDisplayString()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adid/ |
D | AdIdCacheManager.java | 102 public void getAdId(String packageName, int appUid, IGetAdIdCallback callback) { in getAdId() method in AdIdCacheManager 130 updateAdIdRequest.getAdId(), in updateAdId() 168 new AdId(resultParcel.getAdId(), resultParcel.isLatEnabled()); in getAdIdFromProvider() 223 editor.putString(SHARE_PREFS_CACHED_AD_ID_KEY, adId.getAdId()) in setAdIdInStorage() 250 SHARE_PREFS_CACHED_AD_ID_KEY, UNSET_AD_ID.getAdId()); in getAdIdInStorage() 298 .setAdId(resultAdId.getAdId()) in setCallbackOnResult()
|
D | AdIdWorker.java | 76 public void getAdId(String packageName, int appUid, IGetAdIdCallback callback) { in getAdId() method in AdIdWorker 79 mAdIdCacheManager.getAdId(packageName, appUid, callback); in getAdId()
|
D | AdIdServiceImpl.java | 97 public void getAdId( in getAdId() method in AdIdServiceImpl 130 mAdIdWorker.getAdId(packageName, callingUid, callback); in getAdId()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/ |
D | MeasurementCompatibleManager.java | 128 return !AdId.ZERO_OUT.equals(adId.getAdId()); in isAdIdPermissionEnabled() 219 getAdId( in registerSource() 282 getAdId( in registerSource() method 357 getAdId( in registerWebSource() 442 getAdId( in registerWebTrigger() 505 getAdId( in registerTrigger() 701 private void getAdId(MeasurementAdIdCallback measurementAdIdCallback) { in getAdId() method in MeasurementCompatibleManager 705 mAdIdManager.getAdId( in getAdId() 711 adIdValue.set(adId.getAdId().equals(AdId.ZERO_OUT) ? null : adId.getAdId()); in getAdId()
|
/packages/modules/AdServices/adservices/tests/cts/sandbox/adid/providers/adidsdk/src/com/android/tests/providers/adidsdk/ |
D | AdIdSdk.java | 58 adIdManager.getAdId(CALLBACK_EXECUTOR, callback); in onLoadSdk() 62 if (resultAdId.getAdId() != null) { in onLoadSdk() 67 + resultAdId.getAdId()); in onLoadSdk()
|
/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/ |
D | MeasurementCompatibleManagerTest.java | 187 .getAdId(any(), any()); in testRegisterSource_adIdEnabled_register() 226 .getAdId(any(), any()); in testRegisterSource_adIdZeroOut_register() 264 .getAdId(any(), any()); in testRegisterSource_adIdDisabled_register() 302 .getAdId(any(), any()); in testRegisterSource_adIdTimeOut_register() 525 .getAdId(any(), any()); in testRegisterWebSource_adIdEnabled_register() 563 .getAdId(any(), any()); in testRegisterWebSource_adIdZeroOut_register() 600 .getAdId(any(), any()); in testRegisterWebSource_adIdDisabled_register() 637 .getAdId(any(), any()); in testRegisterWebSource_adIdTimeOut_register() 760 .getAdId(any(), any()); in testRegisterWebTrigger_adIdEnabled_register() 798 .getAdId(any(), any()); in testRegisterWebTrigger_adIdZeroOut_register() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/ |
D | ReportInteractionInputTest.java | 83 expect.that(fromParcel.getAdId()).isEqualTo(AD_ID); in testWriteToParcel_nonNullOptionalParameters() 113 expect.that(fromParcel.getAdId()).isEqualTo(AD_ID); in testWriteToParcel_nullInputEvent() 144 expect.that(fromParcel.getAdId()).isNull(); in testWriteToParcel_nullAdId() 175 expect.that(fromParcel.getAdId()).isEqualTo(AD_ID); in testWriteToParcel_nullCallerSdkName()
|
D | AdSelectionManagerTest.java | 128 expect.that(input.getAdId()).isEqualTo(AD_ID); in testAdSelectionManager_reportEvent_adIdEnabled() 154 expect.that(input.getAdId()).isNull(); in testAdSelectionManager_reportEvent_adIdZeroOut() 180 expect.that(input.getAdId()).isNull(); in testAdSelectionManager_reportEvent_adIdDisabled() 357 public void getAdId( in getAdId() method in AdSelectionManagerTest.MockAdIdManager
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/iapc/ |
D | GetAdIdApiCallBase.java | 68 adIdManager.getAdId(sCallbackExecutor, callback); in callGetAdId() 77 expect.withMessage("getAdId()").that(resultAdId.getAdId()).isNotNull(); in callGetAdId()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AdIdFetcher.java | 155 mAdIdWorker.getAdId( in convertToCallback() 161 String id = getAdIdResult.getAdId(); in convertToCallback()
|
D | ReportAndRegisterEventImpl.java | 248 input.getAdId() != null, in reportAndRegisterUris() 251 input.getAdId()); in reportAndRegisterUris()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/ |
D | AdSelectionManager.java | 777 getAdId((adIdValue) -> inputBuilder.setAdId(adIdValue)); in reportEvent() 985 private void getAdId(AdSelectionAdIdCallback adSelectionAdIdCallback) { in getAdId() method in AdSelectionManager 989 mAdIdManager.getAdId( in getAdId() 994 String id = adId.getAdId(); in getAdId()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adid/ |
D | AdIdTest.java | 35 expect.that(adId1.getAdId()).isEqualTo(TEST_AD_ID); in testAdId()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/ |
D | UpdateAdIdRequestTest.java | 63 expect.that(request.getAdId()).isEqualTo(adIdString); in testBuildAndGetUpdateAdIdRequest()
|