Home
last modified time | relevance | path

Searched refs:GetAdIdResult (Results 1 – 13 of 13) sorted by relevance

/packages/modules/AdServices/adservices/framework/java/android/adservices/adid/
DGetAdIdResult.java33 public final class GetAdIdResult extends AdServicesResponse { class
37 private GetAdIdResult( in GetAdIdResult() method in GetAdIdResult
47 private GetAdIdResult(@NonNull Parcel in) { in GetAdIdResult() method in GetAdIdResult
55 public static final @NonNull Creator<GetAdIdResult> CREATOR =
56 new Parcelable.Creator<GetAdIdResult>() {
58 public GetAdIdResult createFromParcel(@NonNull Parcel in) {
60 return new GetAdIdResult(in);
64 public GetAdIdResult[] newArray(int size) {
65 return new GetAdIdResult[size];
127 if (!(o instanceof GetAdIdResult)) { in equals()
[all …]
DIGetAdIdCallback.aidl19 import android.adservices.adid.GetAdIdResult;
26 void onResult(in GetAdIdResult responseParcel); in onResult()
DIGetAdIdProviderCallback.aidl19 import android.adservices.adid.GetAdIdResult;
26 void onResult(in GetAdIdResult responseParcel); in onResult()
DAdIdProviderService.java67 GetAdIdResult adIdInternal =
68 new GetAdIdResult.Builder()
DGetAdIdResult.aidl19 parcelable GetAdIdResult;
DAdIdCompatibleManager.java157 public void onResult(GetAdIdResult resultParcel) { in getAdId()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adid/
DGetAdIdResultTest.java36 GetAdIdResult response = in testWriteToParcel()
37 new GetAdIdResult.Builder() in testWriteToParcel()
47 GetAdIdResult fromParcel = GetAdIdResult.CREATOR.createFromParcel(p); in testWriteToParcel()
62 expect.that(GetAdIdResult.CREATOR.newArray(1)).hasLength(1); in testWriteToParcel()
70 GetAdIdResult unusedResponse = in testWriteToParcel_nullableThrows()
71 new GetAdIdResult.Builder().setAdId(null).build(); in testWriteToParcel_nullableThrows()
/packages/modules/AdServices/adservices/tests/unittest/service-core/adid/src/com/android/adservices/service/adid/
DAdIdCacheManagerTest.java40 import android.adservices.adid.GetAdIdResult;
98 CompletableFuture<GetAdIdResult> future1 = new CompletableFuture<>(); in testGetAdId_cacheEnabled()
103 GetAdIdResult result = future1.get(); in testGetAdId_cacheEnabled()
114 CompletableFuture<GetAdIdResult> future2 = new CompletableFuture<>(); in testGetAdId_cacheEnabled()
130 CompletableFuture<GetAdIdResult> future3 = new CompletableFuture<>(); in testGetAdId_cacheEnabled()
154 CompletableFuture<GetAdIdResult> future = new CompletableFuture<>(); in testGetAdId_cacheDisabled()
159 GetAdIdResult result = future.get(); in testGetAdId_cacheDisabled()
247 private IGetAdIdCallback createSuccessGetAdIdCallBack(CompletableFuture<GetAdIdResult> future) { in createSuccessGetAdIdCallBack()
250 public void onResult(GetAdIdResult resultParcel) { in createSuccessGetAdIdCallBack()
264 public void onResult(GetAdIdResult resultParcel) {
[all …]
DAdIdServiceImplTest.java50 import android.adservices.adid.GetAdIdResult;
376 GetAdIdResult expectedGetAdIdResult = in runGetAdId()
377 new GetAdIdResult.Builder().setAdId(AdId.ZERO_OUT).setLatEnabled(false).build(); in runGetAdId()
381 final GetAdIdResult getAdIdResult = getAdIdResults(adIdServiceImpl); in runGetAdId()
391 private GetAdIdResult getAdIdResults(AdIdServiceImpl adIdServiceImpl) throws Exception { in getAdIdResults()
445 private static final class SyncIGetAdIdCallback extends IntFailureSyncCallback<GetAdIdResult>
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DMockAdIdWorker.java22 import android.adservices.adid.GetAdIdResult;
87 GetAdIdResult result = in getAdId()
88 new GetAdIdResult.Builder() in getAdId()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adid/
DAdIdCacheManager.java30 import android.adservices.adid.GetAdIdResult;
166 public void onResult(GetAdIdResult resultParcel) { in getAdIdFromProvider()
294 GetAdIdResult result = in setCallbackOnResult()
295 new GetAdIdResult.Builder() in setCallbackOnResult()
/packages/modules/AdServices/adservices/tests/cts/adid/src/com/android/adservices/tests/adid/
DAdIdProviderTest.java20 import android.adservices.adid.GetAdIdResult;
80 public void onResult(GetAdIdResult result) { in testAdIdProvider()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAdIdFetcher.java23 import android.adservices.adid.GetAdIdResult;
160 public void onResult(GetAdIdResult getAdIdResult) { in convertToCallback()