/packages/modules/AdServices/adservices/tests/cts/appsetid/src/com/android/adservices/tests/appsetid/ |
D | AppSetIdProviderTest.java | 20 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()
|
D | AppSetIdManagerTest.java | 25 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/ |
D | AppSetIdSdk.java | 19 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/ |
D | MainActivity.java | 18 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/ |
D | AppSetId.java | 35 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()
|
D | AppSetIdManager.java | 107 @CallbackExecutor Executor executor, OutcomeReceiver<AppSetId, Exception> callback) { in getService() argument 138 @NonNull OutcomeReceiver<AppSetId, Exception> callback) { in getAppSetId() argument 178 new AppSetId( in getAppSetId()
|
D | AppSetIdProviderService.java | 51 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/ |
D | GetAppSetId.java | 19 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/ |
D | AppSetIdTest.java | 35 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/ |
D | AppSetIdManagerJetpackTest.java | 24 import androidx.privacysandbox.ads.adservices.appsetid.AppSetId; 66 AppSetId appSetId = appSetIdManager.getAppSetIdAsync().get(); in testAppSetId()
|
/packages/modules/AdServices/adservices/framework/api/ |
D | system-current.txt | 18 …method @NonNull public abstract android.adservices.appsetid.AppSetId onGetAppSetId(int, @NonNull S…
|
D | current.txt | 304 public class AppSetId { 305 ctor public AppSetId(@NonNull String, int); 314 …ecutor, @NonNull android.os.OutcomeReceiver<android.adservices.appsetid.AppSetId,java.lang.Excepti…
|