/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/ |
D | SdkSandboxManagerResultCodeLoggingUnitTest.java | 25 import static android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_ALREADY_LOADED; 26 import static android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_INTERNAL_ERROR; 27 import static android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_NOT_FOUND; 28 import static android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_SDK_DEFINED_ERROR; 29 import static android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_SDK_SANDBOX_DISABLED; 30 import static android.app.sdksandbox.SdkSandboxManager.SDK_SANDBOX_PROCESS_NOT_AVAILABLE; 53 @SdkSandboxManager.LoadSdkErrorCode 79 private SdkSandboxManager mSdkSandboxManager; 89 mSdkSandboxManager = new SdkSandboxManager(context, mBinder); in setup()
|
D | SdkSandboxManagerUnitTest.java | 19 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_DISPLAY_ID; 20 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_HEIGHT_IN_PIXELS; 21 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_HOST_TOKEN; 22 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_SURFACE_PACKAGE; 23 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_WIDTH_IN_PIXELS; 24 import static android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_NOT_FOUND; 25 import static android.app.sdksandbox.SdkSandboxManager.REQUEST_SURFACE_PACKAGE_INTERNAL_ERROR; 69 private SdkSandboxManager mSdkSandboxManager; 83 mSdkSandboxManager = new SdkSandboxManager(mContext, mBinder); in setup() 90 assertThat(SdkSandboxManager.getSdkSandboxState()) in testGetSdkSandboxState() [all …]
|
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/ |
D | LoadSdkSession.java | 19 import static android.app.sdksandbox.SdkSandboxManager.REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED; 20 import static android.app.sdksandbox.SdkSandboxManager.SDK_SANDBOX_PROCESS_NOT_AVAILABLE; 32 import android.app.sdksandbox.SdkSandboxManager; 253 new LoadSdkException(SdkSandboxManager.LOAD_SDK_INTERNAL_ERROR, errorMsg), in load() 537 @SdkSandboxManager.LoadSdkErrorCode in updateLoadSdkErrorCode() 546 @SdkSandboxManager.LoadSdkErrorCode 550 return SdkSandboxManager.LOAD_SDK_ALREADY_LOADED; in toSdkSandboxManagerLoadSdkErrorCode() 552 return SdkSandboxManager.LOAD_SDK_NOT_FOUND; in toSdkSandboxManagerLoadSdkErrorCode() 556 return SdkSandboxManager.LOAD_SDK_INTERNAL_ERROR; in toSdkSandboxManagerLoadSdkErrorCode() 557 case SdkSandboxManager.LOAD_SDK_SDK_DEFINED_ERROR: in toSdkSandboxManagerLoadSdkErrorCode() [all …]
|
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/ |
D | LoadSdkException.java | 28 @SdkSandboxManager.LoadSdkErrorCode private final int mLoadSdkErrorCode; 39 this(SdkSandboxManager.LOAD_SDK_SDK_DEFINED_ERROR, cause.getMessage(), cause, extraInfo); in LoadSdkException() 51 @SdkSandboxManager.LoadSdkErrorCode int loadSdkErrorCode, @Nullable String message) { in LoadSdkException() 67 @SdkSandboxManager.LoadSdkErrorCode int loadSdkErrorCode, in LoadSdkException() 87 @SdkSandboxManager.LoadSdkErrorCode int loadSdkErrorCode, in LoadSdkException() 118 @SdkSandboxManager.LoadSdkErrorCode
|
D | RequestSurfacePackageException.java | 32 private final @SdkSandboxManager.RequestSurfacePackageErrorCode int 44 @SdkSandboxManager.RequestSurfacePackageErrorCode int requestSurfacePackageErrorCode, in RequestSurfacePackageException() 61 @SdkSandboxManager.RequestSurfacePackageErrorCode int requestSurfacePackageErrorCode, in RequestSurfacePackageException() 80 @SdkSandboxManager.RequestSurfacePackageErrorCode int requestSurfacePackageErrorCode, in RequestSurfacePackageException() 93 public @SdkSandboxManager.RequestSurfacePackageErrorCode int
|
D | SdkSandboxManagerFrameworkInitializer.java | 19 import static android.app.sdksandbox.SdkSandboxManager.SDK_SANDBOX_SERVICE; 47 SDK_SANDBOX_SERVICE, SdkSandboxManager.class, in registerServiceWrappers() 48 (context, service) -> new SdkSandboxManager( in registerServiceWrappers()
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/sdkprovider/ |
D | SdkSandboxControllerResultCodeLoggingUnitTest.java | 25 import static android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_ALREADY_LOADED; 26 import static android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_INTERNAL_ERROR; 27 import static android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_NOT_FOUND; 28 import static android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_SDK_DEFINED_ERROR; 29 import static android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_SDK_SANDBOX_DISABLED; 30 import static android.app.sdksandbox.SdkSandboxManager.SDK_SANDBOX_PROCESS_NOT_AVAILABLE; 40 import android.app.sdksandbox.SdkSandboxManager; 66 @SdkSandboxManager.LoadSdkErrorCode
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxWebViewClient/src/com/android/sdksandboxwebviewclient/ |
D | MainActivity.java | 19 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_DISPLAY_ID; 20 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_HEIGHT_IN_PIXELS; 21 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_HOST_TOKEN; 22 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_SURFACE_PACKAGE; 23 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_WIDTH_IN_PIXELS; 30 import android.app.sdksandbox.SdkSandboxManager; 53 private SdkSandboxManager mSdkSandboxManager; 67 mSdkSandboxManager = getApplicationContext().getSystemService(SdkSandboxManager.class); in onCreate()
|
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/ |
D | SdkSandboxUiTestRule.java | 19 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_DISPLAY_ID; 20 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_HEIGHT_IN_PIXELS; 21 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_HOST_TOKEN; 22 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_WIDTH_IN_PIXELS; 28 import android.app.sdksandbox.SdkSandboxManager; 157 final SdkSandboxManager mSdkSandboxManager; 164 mSdkSandboxManager = context.getSystemService(SdkSandboxManager.class); in LoadSdkInSandboxRule()
|
D | SdkLifecycleHelper.java | 19 import android.app.sdksandbox.SdkSandboxManager; 25 private final SdkSandboxManager mSdkSandboxManager; 28 mSdkSandboxManager = context.getSystemService(SdkSandboxManager.class); in SdkLifecycleHelper()
|
/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/testrule/src/android/app/sdksandbox/testutils/testscenario/ |
D | SdkSandboxScenarioRule.java | 19 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_DISPLAY_ID; 20 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_HEIGHT_IN_PIXELS; 21 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_HOST_TOKEN; 22 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_WIDTH_IN_PIXELS; 29 import android.app.sdksandbox.SdkSandboxManager; 89 private SdkSandboxManager mSdkSandboxManager; 124 mSdkSandboxManager = context.getSystemService(SdkSandboxManager.class); in apply() 271 if (callback.getLoadSdkErrorCode() != SdkSandboxManager.LOAD_SDK_SDK_SANDBOX_DISABLED) {
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient_SharedUid/src/com/android/sdksandboxclient_shareduid/ |
D | MainActivity.java | 19 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_DISPLAY_ID; 20 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_HEIGHT_IN_PIXELS; 21 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_HOST_TOKEN; 22 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_SURFACE_PACKAGE; 23 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_WIDTH_IN_PIXELS; 31 import android.app.sdksandbox.SdkSandboxManager; 66 private SdkSandboxManager mSdkSandboxManager; 83 mSdkSandboxManager = getApplicationContext().getSystemService(SdkSandboxManager.class); in onCreate()
|
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/ |
D | SdkSandboxValidationOverTTests.java | 23 import android.app.sdksandbox.SdkSandboxManager; 58 SdkSandboxManager sdkSandboxManager = context.getSystemService(SdkSandboxManager.class); in testSdkSandboxDisabledOnT() 65 .isEqualTo(SdkSandboxManager.LOAD_SDK_SDK_SANDBOX_DISABLED); in testSdkSandboxDisabledOnT()
|
D | CtsSmallModuleTests.java | 22 import android.app.sdksandbox.SdkSandboxManager; 53 private SdkSandboxManager mSdkSandboxManager; 59 mSdkSandboxManager = mContext.getSystemService(SdkSandboxManager.class); in setup() 71 .isEqualTo(SdkSandboxManager.LOAD_SDK_SDK_SANDBOX_DISABLED); in testLoadSdk()
|
D | SandboxKillerBeforeTest.java | 19 import android.app.sdksandbox.SdkSandboxManager; 32 private SdkSandboxManager mSdkSandboxManager; 37 mSdkSandboxManager = context.getSystemService(SdkSandboxManager.class); in killSandboxBeforeTest()
|
D | SdkSandboxManagerTest.java | 19 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_DISPLAY_ID; 20 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_HEIGHT_IN_PIXELS; 21 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_HOST_TOKEN; 22 import static android.app.sdksandbox.SdkSandboxManager.EXTRA_WIDTH_IN_PIXELS; 23 import static android.app.sdksandbox.SdkSandboxManager.LOAD_SDK_INTERNAL_ERROR; 47 import android.app.sdksandbox.SdkSandboxManager; 141 private SdkSandboxManager mSdkSandboxManager; 158 mSdkSandboxManager = context.getSystemService(SdkSandboxManager.class); in setup() 188 int state = SdkSandboxManager.getSdkSandboxState(); in testGetSdkSandboxState() 189 assertThat(state).isEqualTo(SdkSandboxManager.SDK_SANDBOX_STATE_ENABLED_PROCESS_ISOLATION); in testGetSdkSandboxState() [all …]
|
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/disablede2e/ |
D | SdkSandboxManagerDisabledTest.java | 21 import android.app.sdksandbox.SdkSandboxManager; 47 private SdkSandboxManager mSdkSandboxManager; 54 mSdkSandboxManager = context.getSystemService(SdkSandboxManager.class); in setup() 65 .isEqualTo(SdkSandboxManager.LOAD_SDK_SDK_SANDBOX_DISABLED); in testSdkSandboxDisabledErrorCode()
|
/packages/modules/AdServices/sdksandbox/tests/perf/scenarios/helpers/cujclient/src/android/sdksandbox/test/scenario/cujclient/ |
D | LoadEmptySdkActivity.java | 19 import android.app.sdksandbox.SdkSandboxManager; 32 SdkSandboxManager sdkSandboxManager = getSystemService(SdkSandboxManager.class); in onCreate()
|
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/app/src/com/android/sdksandbox/debuggable/ |
D | SdkSandboxTestDebuggableActivity.java | 20 import android.app.sdksandbox.SdkSandboxManager; 32 SdkSandboxManager sdkSandboxManager = in onCreate() 33 getApplicationContext().getSystemService(SdkSandboxManager.class); in onCreate()
|
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/app/src/com/android/sdksandbox/app2/ |
D | SdkSandboxTestActivity2.java | 20 import android.app.sdksandbox.SdkSandboxManager; 32 SdkSandboxManager sdkSandboxManager = in onCreate() 33 getApplicationContext().getSystemService(SdkSandboxManager.class); in onCreate()
|
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/app/src/com/android/sdksandbox/shared/app1/ |
D | SdkSandboxTestSharedActivity.java | 20 import android.app.sdksandbox.SdkSandboxManager; 32 SdkSandboxManager sdkSandboxManager = in onCreate() 33 getApplicationContext().getSystemService(SdkSandboxManager.class); in onCreate()
|
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/app/src/com/android/sdksandbox/app/ |
D | SdkSandboxTestActivity.java | 20 import android.app.sdksandbox.SdkSandboxManager; 37 SdkSandboxManager sdkSandboxManager = in onCreate() 38 getApplicationContext().getSystemService(SdkSandboxManager.class); in onCreate()
|
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxMetricsHostTest/app/src/com/android/tests/sdksandbox/secondary/ |
D | SdkSandboxMetricsSecondaryTestApp.java | 21 import android.app.sdksandbox.SdkSandboxManager; 41 private SdkSandboxManager mSdkSandboxManager; 49 mSdkSandboxManager = context.getSystemService(SdkSandboxManager.class); in setup()
|
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/app/src/com/android/sdksandbox/shared/app2/ |
D | SdkSandboxTestSharedApp2.java | 22 import android.app.sdksandbox.SdkSandboxManager; 43 private SdkSandboxManager mSdkSandboxManager; 53 SdkSandboxManager.class); in setup()
|
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxSmallModuleHostTest/app/src/com/android/tests/sdksandbox/ |
D | SdkSandboxSmallModuleTestApp.java | 21 import android.app.sdksandbox.SdkSandboxManager; 70 private SdkSandboxManager mSdkSandboxManager; 79 mSdkSandboxManager = mContext.getSystemService(SdkSandboxManager.class); in setup() 145 .isEqualTo(SdkSandboxManager.LOAD_SDK_SDK_SANDBOX_DISABLED); in testLoadSdkWithoutAdServiceApk()
|