Home
last modified time | relevance | path

Searched refs:AppSetId (Results 1 – 12 of 12) sorted by relevance

/packages/modules/AdServices/adservices/tests/cts/appsetid/src/com/android/adservices/tests/appsetid/
DAppSetIdProviderTest.java20 import android.adservices.appsetid.AppSetId;
41 public AppSetId onGetAppSetId(int clientUid, String clientPackageName) { in onGetAppSetId()
42 return new AppSetId(DEFAULT_APP_SET_ID, DEFAULT_SCOPE); in onGetAppSetId()
58 CompletableFuture<AppSetId> future = new CompletableFuture<>(); in testAppSetIdProvider()
59 OutcomeReceiver<AppSetId, Exception> callback = in testAppSetIdProvider()
62 public void onResult(AppSetId appSetId) { in testAppSetIdProvider()
78 new AppSetId(result.getAppSetId(), result.getAppSetIdScope())); in testAppSetIdProvider()
86 AppSetId resultAppSetId = future.get(); in testAppSetIdProvider()
DAppSetIdManagerTest.java25 import android.adservices.appsetid.AppSetId;
73 CompletableFuture<AppSetId> future = new CompletableFuture<>(); in testAppSetIdManager()
74 OutcomeReceiverForTests<AppSetId> callback = new OutcomeReceiverForTests<AppSetId>(); in testAppSetIdManager()
78 AppSetId resultAppSetId = callback.assertResultReceived(); in testAppSetIdManager()
115 OutcomeReceiverForTests<AppSetId> receiver = new OutcomeReceiverForTests<>();
129 OutcomeReceiverForTests<AppSetId> callback = new OutcomeReceiverForTests<AppSetId>();
161 private static String toString(@Nullable AppSetId appSetId) {
/packages/modules/AdServices/adservices/tests/cts/sandbox/appsetid/providers/appsetidsdk/src/com/android/tests/providers/appsetidsdk/
DAppSetIdSdk.java19 import android.adservices.appsetid.AppSetId;
44 CompletableFuture<AppSetId> future = new CompletableFuture<>(); in onLoadSdk()
45 OutcomeReceiver<AppSetId, Exception> callback = in onLoadSdk()
46 new OutcomeReceiver<AppSetId, Exception>() { in onLoadSdk()
48 public void onResult(AppSetId result) { in onLoadSdk()
60 AppSetId resultAppSetId = future.get(); in onLoadSdk()
/packages/modules/AdServices/adservices/samples/appsetid/java/com/example/adservices/samples/appsetid/app/
DMainActivity.java18 import android.adservices.appsetid.AppSetId;
64 OutcomeReceiver<AppSetId, Exception> appSetIdCallback = in registerAppSetIdButton()
65 new OutcomeReceiver<AppSetId, Exception>() { in registerAppSetIdButton()
67 public void onResult(@NonNull AppSetId appSetId) { in registerAppSetIdButton()
82 private void getAppSetId(Executor executor, OutcomeReceiver<AppSetId, Exception> callback) { in getAppSetId() argument
97 private String getAppSetIdDisplayString(AppSetId appSetId) { in getAppSetIdDisplayString()
/packages/modules/AdServices/adservices/framework/java/android/adservices/appsetid/
DAppSetId.java35 public class AppSetId { class
62 public AppSetId(@NonNull String appSetId, @AppSetIdScope int appSetIdScope) { in AppSetId() method in AppSetId
82 if (!(o instanceof AppSetId)) { in equals()
85 AppSetId that = (AppSetId) o; in equals()
DAppSetIdManager.java107 @CallbackExecutor Executor executor, OutcomeReceiver<AppSetId, Exception> callback) { in getService() argument
138 @NonNull OutcomeReceiver<AppSetId, Exception> callback) { in getAppSetId() argument
178 new AppSetId( in getAppSetId()
DAppSetIdProviderService.java51 public abstract AppSetId onGetAppSetId(int clientUid, @NonNull String clientPackageName) in onGetAppSetId()
63 AppSetId appsetId = onGetAppSetId(appUID, packageName);
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/
DGetAppSetId.java19 import android.adservices.appsetid.AppSetId;
58 CompletableFuture<AppSetId> future = new CompletableFuture<>(); in test_getAppSetId()
60 new OutcomeReceiver<AppSetId, Exception>() { in test_getAppSetId()
62 public void onResult(@NonNull AppSetId appSetId) { in test_getAppSetId()
74 AppSetId appSetId = future.get(); in test_getAppSetId()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/appsetid/
DAppSetIdTest.java35 AppSetId appSetId1 = new AppSetId(TEST_APP_SET_ID, SCOPE_APP); in testAppSetId()
42 AppSetId appSetId2 = new AppSetId(TEST_APP_SET_ID, SCOPE_APP); in testAppSetId()
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/appsetid/
DAppSetIdManagerJetpackTest.java24 import androidx.privacysandbox.ads.adservices.appsetid.AppSetId;
66 AppSetId appSetId = appSetIdManager.getAppSetIdAsync().get(); in testAppSetId()
/packages/modules/AdServices/adservices/framework/api/
Dsystem-current.txt18 …method @NonNull public abstract android.adservices.appsetid.AppSetId onGetAppSetId(int, @NonNull S…
Dcurrent.txt304 public class AppSetId {
305 ctor public AppSetId(@NonNull String, int);
314 …ecutor, @NonNull android.os.OutcomeReceiver<android.adservices.appsetid.AppSetId,java.lang.Excepti…