Home
last modified time | relevance | path

Searched refs:sandboxedSdk (Results 1 – 19 of 19) sorted by relevance

/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DSandboxedSdkUnitTest.java52 SandboxedSdk sandboxedSdk = new SandboxedSdk(new Binder()); in testAttachSharedLibraryInfoFailsWhenCalledAgain() local
53 sandboxedSdk.attachSharedLibraryInfo(SHARED_LIBRARY_INFO); in testAttachSharedLibraryInfoFailsWhenCalledAgain()
58 () -> sandboxedSdk.attachSharedLibraryInfo(SHARED_LIBRARY_INFO)); in testAttachSharedLibraryInfoFailsWhenCalledAgain()
64 SandboxedSdk sandboxedSdk = new SandboxedSdk(binder); in testGetInterface() local
65 assertThat(sandboxedSdk.getInterface()).isSameInstanceAs(binder); in testGetInterface()
70 SandboxedSdk sandboxedSdk = new SandboxedSdk(new Binder()); in testGetSharedLibraryInfo() local
71 sandboxedSdk.attachSharedLibraryInfo(SHARED_LIBRARY_INFO); in testGetSharedLibraryInfo()
72 assertThat(sandboxedSdk.getSharedLibraryInfo()).isSameInstanceAs(SHARED_LIBRARY_INFO); in testGetSharedLibraryInfo()
77 SandboxedSdk sandboxedSdk = new SandboxedSdk(new Binder()); in testGetSharedLibraryInfoNull() local
78 assertThrows(IllegalStateException.class, () -> sandboxedSdk.getSharedLibraryInfo()); in testGetSharedLibraryInfoNull()
[all …]
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/
DFakeLoadSdkCallbackBinder.java36 public void onLoadSdkSuccess(SandboxedSdk sandboxedSdk, SandboxLatencyInfo sandboxLatencyInfo) { in onLoadSdkSuccess() argument
37 mFakeLoadSdkCallback.onResult(sandboxedSdk); in onLoadSdkSuccess()
DStubSdkToServiceLink.java44 SandboxedSdk sandboxedSdk = new SandboxedSdk(new Binder()); in getSandboxedSdks() local
45 list.add(sandboxedSdk); in getSandboxedSdks()
DFakeLoadSdkCallback.java49 public void onResult(SandboxedSdk sandboxedSdk) { in onResult() argument
51 mSandboxedSdk = sandboxedSdk; in onResult()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/MediationProvider/src/com/android/sdksandbox/cts/provider/mediationtest/
DMediationTestSdkApiImpl.java93 for (SandboxedSdk sandboxedSdk : sandboxedSdks) { in getMediateeInterface()
94 IBinder iBinder = sandboxedSdk.getInterface(); in getMediateeInterface()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/
DSdkSandboxStorageTest.java140 final SandboxedSdk sandboxedSdk = callback.getSandboxedSdk(); in loadSdk() local
141 assertNotNull(sandboxedSdk); in loadSdk()
DSdkSandboxManagerTest.java383 SandboxedSdk sandboxedSdk = callback.getSandboxedSdk(); in testReloadingSdkDoesNotInvalidateIt() local
384 assertNotNull(sandboxedSdk.getInterface()); in testReloadingSdkDoesNotInvalidateIt()
392 assertNotNull(sandboxedSdk.getInterface()); in testReloadingSdkDoesNotInvalidateIt()
1037 final SandboxedSdk sandboxedSdk = callback.getSandboxedSdk(); in loadSdk() local
1038 assertNotNull(sandboxedSdk); in loadSdk()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxWebViewClient/src/com/android/sdksandboxwebviewclient/
DMainActivity.java101 public void onResult(SandboxedSdk sandboxedSdk) { in registerLoadSdkProviderButton()
103 mSandboxedSdk = sandboxedSdk; in registerLoadSdkProviderButton()
/packages/modules/AdServices/sdksandbox/SdkSandbox/aidl/com/android/sdksandbox/
DILoadSdkInSandboxCallback.aidl35 …void onLoadSdkSuccess(in SandboxedSdk sandboxedSdk, in ISdkSandboxManagerToSdkSandboxCallback call… in onLoadSdkSuccess() argument
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DLoadSdkSession.java499 SandboxedSdk sandboxedSdk, in onLoadSdkSuccess() argument
511 sandboxedSdk.attachSharedLibraryInfo(mSdkProviderInfo.getSdkInfo()); in onLoadSdkSuccess()
515 mSandboxedSdk = sandboxedSdk; in onLoadSdkSuccess()
DSdkSandboxManagerService.java423 SandboxedSdk sandboxedSdk = sdk.getSandboxedSdk(); in getSandboxedSdks() local
424 if (sandboxedSdk != null) { in getSandboxedSdks()
425 sandboxedSdks.add(sandboxedSdk); in getSandboxedSdks()
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/sdkprovider/
DSdkSandboxController.java405 SandboxedSdk sandboxedSdk, SandboxLatencyInfo sandboxLatencyInfo) { in onLoadSdkSuccess() argument
407 mExecutor.execute(() -> mCallback.onResult(sandboxedSdk)); in onLoadSdkSuccess()
/packages/modules/AdServices/sdksandbox/SdkSandbox/src/com/android/sdksandbox/
DSandboxedSdkHolder.java151 SandboxedSdk sandboxedSdk, SandboxLatencyInfo sandboxLatencyInfo) { in sendLoadSdkSuccess() argument
156 sandboxedSdk, new SdkSandboxCallbackImpl(), sandboxLatencyInfo); in sendLoadSdkSuccess()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient_SharedUid/src/com/android/sdksandboxclient_shareduid/
DMainActivity.java120 public void onResult(SandboxedSdk sandboxedSdk) { in registerLoadSdkProviderButton()
123 mSandboxedSdk = sandboxedSdk; in registerLoadSdkProviderButton()
/packages/modules/AdServices/sdksandbox/tests/endtoendtests/src/com/android/tests/sdksandbox/restrictions/
DContentProviderRestrictionsTest.java349 SandboxedSdk sandboxedSdk = callback.getSandboxedSdk(); in loadSdk() local
351 IBinder binder = sandboxedSdk.getInterface(); in loadSdk()
DBroadcastRestrictionsTest.java364 SandboxedSdk sandboxedSdk = callback.getSandboxedSdk(); in loadSdk() local
366 IBinder binder = sandboxedSdk.getInterface(); in loadSdk()
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/
DSdkSandboxManager.java871 SandboxedSdk sandboxedSdk, SandboxLatencyInfo sandboxLatencyInfo) { in onLoadSdkSuccess() argument
873 mExecutor.execute(() -> mCallback.onResult(sandboxedSdk)); in onLoadSdkSuccess()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient/src/com/android/sdksandboxclient/
DMainActivity.java394 public void onResult(SandboxedSdk sandboxedSdk) { in registerLoadSdksButton()
395 mSandboxedSdk = sandboxedSdk; in registerLoadSdksButton()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/sdksandbox/
DSdkSandboxTest.java720 SandboxedSdk sandboxedSdk, in onLoadSdkSuccess() argument