Home
last modified time | relevance | path

Searched refs:surfacePackage (Results 1 – 21 of 21) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/request/
DRenderFlow.java277 public void onSuccess(SurfacePackage surfacePackage) { in returnResultThroughCallback()
278 sendDisplayResult(surfacePackage); in returnResultThroughCallback()
301 private void sendDisplayResult(SurfacePackage surfacePackage) { in sendDisplayResult() argument
302 if (surfacePackage != null) { in sendDisplayResult()
303 sendSuccessResult(surfacePackage); in sendDisplayResult()
310 private void sendSuccessResult(SurfacePackage surfacePackage) { in sendSuccessResult() argument
314 surfacePackage, in sendSuccessResult()
/packages/modules/AdServices/sdksandbox/SdkSandbox/src/com/android/sdksandbox/
DSandboxedSdkHolder.java187 private int allocateSurfacePackageId(SurfaceControlViewHost.SurfacePackage surfacePackage) { in allocateSurfacePackageId() argument
192 mSurfacePackages.put(id, surfacePackage); in allocateSurfacePackageId()
252 SurfaceControlViewHost.SurfacePackage surfacePackage = in onSurfacePackageRequested() local
254 int surfacePackageId = allocateSurfacePackageId(surfacePackage); in onSurfacePackageRequested()
260 surfacePackage, in onSurfacePackageRequested()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/
DFakeRequestSurfacePackageCallbackBinder.java48 SurfaceControlViewHost.SurfacePackage surfacePackage, in onSurfacePackageReady() argument
52 params.putParcelable(EXTRA_SURFACE_PACKAGE, surfacePackage); in onSurfacePackageReady()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/display/
DDisplayHelperTest.java130 SurfaceControlViewHost.SurfacePackage surfacePackage = in testDisplayHtml() local
132 assertNotNull(surfacePackage); in testDisplayHtml()
133 surfacePackage.release(); in testDisplayHtml()
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/
DRequestSurfacePackageTests.java154 SurfacePackage surfacePackage = receiver.getResult(); in testRequestSurfacePackageSuccess() local
155 assertNotNull(surfacePackage); in testRequestSurfacePackageSuccess()
160 surfaceView.setChildSurfacePackage(surfacePackage); in testRequestSurfacePackageSuccess()
176 surfacePackage.release(); in testRequestSurfacePackageSuccess()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/display/
DDisplayHelper.java158 SurfacePackage surfacePackage = host.getSurfacePackage(); in createWebView() local
159 sLogger.d(TAG + ": createWebView success: " + surfacePackage); in createWebView()
160 resultFuture.set(surfacePackage); in createWebView()
/packages/modules/OnDevicePersonalization/samples/odpclient/src/main/java/com/example/odpclient/
DMainActivity.java172 public void onResult(SurfacePackage surfacePackage) { in makeRequest() argument
177 + surfacePackage.toString()); in makeRequest()
179 if (surfacePackage != null) { in makeRequest()
181 surfacePackage); in makeRequest()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DLoadSdkSession.java401 SurfaceControlViewHost.SurfacePackage surfacePackage, in handleSurfacePackageReady() argument
412 surfacePackage, surfacePackageId, params, sandboxLatencyInfo); in handleSurfacePackageReady()
590 SurfaceControlViewHost.SurfacePackage surfacePackage, in requestSurfacePackage()
600 surfacePackage, in requestSurfacePackage()
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/aidl/
DIRequestSurfacePackageCallback.aidl24 void onSuccess(in SurfacePackage surfacePackage, in CalleeMetadata calleeMetadata); in onSuccess() argument
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxWebViewClient/src/com/android/sdksandboxwebviewclient/
DMainActivity.java189 SurfacePackage surfacePackage = in onResult() local
191 mRenderedView.setChildSurfacePackage(surfacePackage); in onResult()
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/
DIRequestSurfacePackageCallback.aidl25 …void onSurfacePackageReady(in SurfacePackage surfacePackage, int surfacePackageId, in Bundle param… in onSurfacePackageReady() argument
DSdkSandboxManager.java917 SurfacePackage surfacePackage, in onSurfacePackageReady() argument
924 params.putParcelable(EXTRA_SURFACE_PACKAGE, surfacePackage); in onSurfacePackageReady()
/packages/modules/AdServices/sdksandbox/SdkSandbox/aidl/com/android/sdksandbox/
DIRequestSurfacePackageFromSdkCallback.aidl28 …void onSurfacePackageReady(in SurfacePackage surfacePackage, int surfacePackageId, in Bundle param… in onSurfacePackageReady() argument
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/util/
DSurfaceViewUtil.kt32 setChildSurfacePackage(checkNotNull(host.surfacePackage)) in attachView()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient_SharedUid/src/com/android/sdksandboxclient_shareduid/
DMainActivity.java328 SurfacePackage surfacePackage = in onResult() local
330 mRenderedView.setChildSurfacePackage(surfacePackage); in onResult()
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DOnDevicePersonalizationManager.java365 SurfaceControlViewHost.SurfacePackage surfacePackage, in requestSurfacePackage()
371 receiver.onResult(surfacePackage); in requestSurfacePackage()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/serviceflow/
DServiceFlowFactoryTest.java109 @Override public void onSuccess(SurfaceControlViewHost.SurfacePackage surfacePackage, in onSuccess() argument
DRenderFlowTest.java195 @Override public void onSuccess(SurfacePackage surfacePackage, in onSuccess() argument
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient/src/com/android/sdksandboxclient/
DMainActivity.java1010 SurfacePackage surfacePackage = in onResult() local
1012 mSurfaceView.setChildSurfacePackage(surfacePackage); in onResult()
1013 mSurfacePackages.add(surfacePackage); in onResult()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DSdkSandboxManagerUnitTest.java232 SurfacePackage surfacePackage = in testRequestSurfacePackageSuccess() local
234 assertThat(surfacePackage).isEqualTo(surfacePackageMock); in testRequestSurfacePackageSuccess()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/sdksandbox/
DSdkSandboxTest.java796 SurfaceControlViewHost.SurfacePackage surfacePackage, in onSurfacePackageReady() argument
800 mSurfacePackage = surfacePackage; in onSurfacePackageReady()