Home
last modified time | relevance | path

Searched refs:SandboxedSdk (Results 1 – 25 of 62) sorted by relevance

123

/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DSandboxedSdkUnitTest.java52 SandboxedSdk sandboxedSdk = new SandboxedSdk(new Binder()); in testAttachSharedLibraryInfoFailsWhenCalledAgain()
64 SandboxedSdk sandboxedSdk = new SandboxedSdk(binder); in testGetInterface()
70 SandboxedSdk sandboxedSdk = new SandboxedSdk(new Binder()); in testGetSharedLibraryInfo()
77 SandboxedSdk sandboxedSdk = new SandboxedSdk(new Binder()); in testGetSharedLibraryInfoNull()
83 SandboxedSdk sandboxedSdk = new SandboxedSdk(new Binder()); in testDescribeContents()
90 SandboxedSdk sandboxedSdk = new SandboxedSdk(new Binder()); in testWriteToParcel()
95 SandboxedSdk fromParcel = SandboxedSdk.CREATOR.createFromParcel(parcel); in testWriteToParcel()
103 SandboxedSdk sandboxedSdk = new SandboxedSdk(new Binder()); in testWriteToParcelWithSharedLibraryInfo()
109 SandboxedSdk fromParcel = SandboxedSdk.CREATOR.createFromParcel(parcel); in testWriteToParcelWithSharedLibraryInfo()
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/
DSandboxedSdk.java41 public final class SandboxedSdk implements Parcelable { class
42 public static final @NonNull Creator<SandboxedSdk> CREATOR =
43 new Creator<SandboxedSdk>() {
45 public SandboxedSdk createFromParcel(Parcel in) {
46 return new SandboxedSdk(in);
50 public SandboxedSdk[] newArray(int size) {
51 return new SandboxedSdk[size];
65 public SandboxedSdk(@NonNull IBinder sdkInterface) { in SandboxedSdk() method in SandboxedSdk
69 private SandboxedSdk(@NonNull Parcel in) { in SandboxedSdk() method in SandboxedSdk
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/
DStubSdkToServiceLink.java24 import android.app.sdksandbox.SandboxedSdk;
41 public List<SandboxedSdk> getSandboxedSdks( in getSandboxedSdks()
43 ArrayList<SandboxedSdk> list = new ArrayList<>(); in getSandboxedSdks()
44 SandboxedSdk sandboxedSdk = new SandboxedSdk(new Binder()); in getSandboxedSdks()
DFakeLoadSdkCallback.java24 import android.app.sdksandbox.SandboxedSdk;
31 public class FakeLoadSdkCallback implements OutcomeReceiver<SandboxedSdk, LoadSdkException> {
36 private SandboxedSdk mSandboxedSdk;
49 public void onResult(SandboxedSdk sandboxedSdk) { in onResult()
97 public SandboxedSdk getSandboxedSdk() { in getSandboxedSdk()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_mediatee/
DSandboxedSdkMediateeProvider.java19 import android.app.sdksandbox.SandboxedSdk;
27 public SandboxedSdk onLoadSdk(Bundle params) { in onLoadSdk()
28 return new SandboxedSdk(new MediateeSdkApi()); in onLoadSdk()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/MediationProvider/src/com/android/sdksandbox/cts/provider/mediationtest/
DSdkSandboxMediationTestProvider.java19 import android.app.sdksandbox.SandboxedSdk;
28 public SandboxedSdk onLoadSdk(Bundle params) { in onLoadSdk()
29 return new SandboxedSdk(new MediationTestSdkApiImpl(getContext())); in onLoadSdk()
DMediationTestSdkApiImpl.java21 import android.app.sdksandbox.SandboxedSdk;
47 public List<SandboxedSdk> getSandboxedSdks() { in getSandboxedSdks()
92 List<SandboxedSdk> sandboxedSdks = getSandboxedSdks(); in getMediateeInterface()
93 for (SandboxedSdk sandboxedSdk : sandboxedSdks) { in getMediateeInterface()
/packages/modules/AdServices/sdksandbox/tests/test-apps/EmptyProvider/src/com/android/emptysdkprovider/
DEmptySdkProvider.java19 import android.app.sdksandbox.SandboxedSdk;
34 public final SandboxedSdk onLoadSdk(Bundle params) { in onLoadSdk()
35 return new SandboxedSdk(new Binder()); in onLoadSdk()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/codeprovider/src/com/android/testcode2_1/
DTestSandboxedSdkProvider2.java19 import android.app.sdksandbox.SandboxedSdk;
29 public SandboxedSdk onLoadSdk(Bundle params) { in onLoadSdk()
30 return new SandboxedSdk(new Binder()); in onLoadSdk()
/packages/modules/AdServices/sdksandbox/tests/cts/hostside/provider/src/com/android/sdksandbox/cts/provider/dataisolationtest/
DSdkSandboxDataIsolationTestProvider.java19 import android.app.sdksandbox.SandboxedSdk;
28 public SandboxedSdk onLoadSdk(Bundle params) { in onLoadSdk()
29 return new SandboxedSdk(new DataIsolationTestSdkApiImpl(getContext())); in onLoadSdk()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/codeprovider/src/com/android/tests/codeprovider/storagetest_1/
DStorageTestSandboxedSdkProvider.java20 import android.app.sdksandbox.SandboxedSdk;
29 public SandboxedSdk onLoadSdk(Bundle params) { in onLoadSdk()
30 return new SandboxedSdk(new StorageTestSdk1ApiImpl(getContext())); in onLoadSdk()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/codeprovider/src/com/android/testcode_1/
DTestSandboxedSdkProvider.java19 import android.app.sdksandbox.SandboxedSdk;
29 public SandboxedSdk onLoadSdk(Bundle params) { in onLoadSdk()
30 return new SandboxedSdk(new Binder()); in onLoadSdk()
/packages/modules/AdServices/sdksandbox/tests/cts/hostside/provider/src/com/android/sdksandbox/cts/provider/storagetest/
DSdkSandboxStorageTestProvider.java19 import android.app.sdksandbox.SandboxedSdk;
28 public SandboxedSdk onLoadSdk(Bundle params) { in onLoadSdk()
29 return new SandboxedSdk(new StorageTestSdkApiImpl(getContext())); in onLoadSdk()
/packages/modules/AdServices/sdksandbox/tests/test-apps/TestProvider/src/com/android/testprovider/
DTestProvider.java19 import android.app.sdksandbox.SandboxedSdk;
30 public SandboxedSdk onLoadSdk(Bundle params) { in onLoadSdk()
34 return new SandboxedSdk(new Binder()); in onLoadSdk()
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/sdkprovider/
DSdkSandboxController.java30 import android.app.sdksandbox.SandboxedSdk;
134 public @NonNull List<SandboxedSdk> getSandboxedSdks() { in getSandboxedSdks()
174 @NonNull OutcomeReceiver<SandboxedSdk, LoadSdkException> receiver) { in loadSdk() argument
395 private final OutcomeReceiver<SandboxedSdk, LoadSdkException> mCallback;
398 Executor executor, OutcomeReceiver<SandboxedSdk, LoadSdkException> callback) { in LoadSdkReceiverProxy() argument
405 SandboxedSdk sandboxedSdk, SandboxLatencyInfo sandboxLatencyInfo) { in onLoadSdkSuccess()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/CtsProvider/src/com/android/ctssdkprovider/
DSdkProvider.java20 import android.app.sdksandbox.SandboxedSdk;
34 public SandboxedSdk onLoadSdk(Bundle params) throws LoadSdkException { in onLoadSdk()
40 return new SandboxedSdk(new CtsSdkProviderApiImpl(getContext())); in onLoadSdk()
/packages/modules/AdServices/sdksandbox/framework/api/
Dcurrent.txt31 public final class SandboxedSdk implements android.os.Parcelable {
32 ctor public SandboxedSdk(@NonNull android.os.IBinder);
37 …ull public static final android.os.Parcelable.Creator<android.app.sdksandbox.SandboxedSdk> CREATOR;
46 …method @NonNull public abstract android.app.sdksandbox.SandboxedSdk onLoadSdk(@NonNull android.os.…
53 method @NonNull public java.util.List<android.app.sdksandbox.SandboxedSdk> getSandboxedSdks();
56 ….Executor, @NonNull android.os.OutcomeReceiver<android.app.sdksandbox.SandboxedSdk,android.app.sdk…
102 method @NonNull public java.util.List<android.app.sdksandbox.SandboxedSdk> getSandboxedSdks();
103 ….Executor, @NonNull android.os.OutcomeReceiver<android.app.sdksandbox.SandboxedSdk,android.app.sdk…
/packages/modules/AdServices/sdksandbox/tests/test-apps/SocketApp/src/com/android/socketapp/
DSocketSdkProvider.java19 import android.app.sdksandbox.SandboxedSdk;
38 public final SandboxedSdk onLoadSdk(Bundle params) { in onLoadSdk()
41 return new SandboxedSdk(new Binder()); in onLoadSdk()
/packages/modules/AdServices/sdksandbox/tests/ui/provider/src/com/android/sdksandbox/uiprovider/
DUiProvider.java20 import android.app.sdksandbox.SandboxedSdk;
33 public SandboxedSdk onLoadSdk(Bundle params) throws LoadSdkException { in onLoadSdk()
34 return new SandboxedSdk(new UiProviderApiImpl()); in onLoadSdk()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxMetricsHostTest/sdkprovider/src/com/android/tests/sdkprovider/crashtest/
DCrashTestSandboxedSdkProvider.java20 import android.app.sdksandbox.SandboxedSdk;
61 public SandboxedSdk onLoadSdk(Bundle params) { in onLoadSdk()
62 return new SandboxedSdk(new CrashTestSdkImpl(getContext())); in onLoadSdk()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxWebViewClient/src/com/android/sdksandboxwebviewclient/
DMainActivity.java29 import android.app.sdksandbox.SandboxedSdk;
60 private SandboxedSdk mSandboxedSdk;
98 OutcomeReceiver<SandboxedSdk, LoadSdkException> receiver = in registerLoadSdkProviderButton()
99 new OutcomeReceiver<SandboxedSdk, LoadSdkException>() { in registerLoadSdkProviderButton()
101 public void onResult(SandboxedSdk sandboxedSdk) { in registerLoadSdkProviderButton()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_webview/
DSandboxedSdkWebViewProvider.java19 import android.app.sdksandbox.SandboxedSdk;
37 public SandboxedSdk onLoadSdk(Bundle params) { in onLoadSdk()
48 return new SandboxedSdk(webviewProxy); in onLoadSdk()
/packages/modules/AdServices/sdksandbox/tests/test-apps/CodeProviderWithResources/src/com/android/codeproviderresources_1/
DResourceSandboxedSdkProvider.java20 import android.app.sdksandbox.SandboxedSdk;
41 public SandboxedSdk onLoadSdk(Bundle params) throws LoadSdkException { in onLoadSdk()
69 return new SandboxedSdk(new Binder()); in onLoadSdk()
/packages/modules/AdServices/adservices/tests/cts/sandbox/appsetid/providers/appsetidsdk/src/com/android/tests/providers/appsetidsdk/
DAppSetIdSdk.java22 import android.app.sdksandbox.SandboxedSdk;
40 public SandboxedSdk onLoadSdk(Bundle params) throws LoadSdkException { in onLoadSdk()
68 return new SandboxedSdk(new Binder()); in onLoadSdk()
/packages/modules/AdServices/adservices/tests/cts/sandbox/adid/providers/adidsdk/src/com/android/tests/providers/adidsdk/
DAdIdSdk.java22 import android.app.sdksandbox.SandboxedSdk;
40 public SandboxedSdk onLoadSdk(Bundle params) throws LoadSdkException { in onLoadSdk()
68 return new SandboxedSdk(new Binder()); in onLoadSdk()

123