Home
last modified time | relevance | path

Searched refs:loadSdk (Results 1 – 25 of 58) sorted by relevance

123

/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/
DCustomizedSdkContextTest.java81 loadSdk(); in testStoragePaths()
96 loadSdk(); in testSdkPermissions()
119 loadSdk(); in testSdkContextInstances()
124 loadSdk(); in testSdkContextInstances()
138 loadSdk(); in testSdkContextUserId()
146 loadSdk(); in testClassloader()
152 loadSdk(); in testResourcesAndAssets()
158 loadSdk(); in testGetPackageName()
166 loadSdk(); in testGetOpPackageName()
172 private void loadSdk() { in loadSdk() method in CustomizedSdkContextTest
[all …]
DSdkSandboxManagerTest.java195 mSdkSandboxManager.loadSdk(SDK_NAME_1, new Bundle(), Runnable::run, callback); in testLoadSdkSuccessfully()
259 loadSdk(); in testGetSandboxedSdkSuccessfully()
273 ICtsSdkProviderApi sdk = loadSdk(); in testLoadSdkAndCheckClassloader()
279 ICtsSdkProviderApi sdk = loadSdk(); in testGetOpPackageName()
289 mSdkSandboxManager.loadSdk(SDK_NAME_1, new Bundle(), Runnable::run, callback); in testRetryLoadSameSdkShouldFail()
293 mSdkSandboxManager.loadSdk(SDK_NAME_1, new Bundle(), Runnable::run, callback); in testRetryLoadSameSdkShouldFail()
303 mSdkSandboxManager.loadSdk(NON_EXISTENT_SDK, new Bundle(), Runnable::run, callback); in testLoadNonExistentSdk()
317 mSdkSandboxManager.loadSdk(SDK_NAME_1, params, Runnable::run, callback); in testLoadSdkWithInternalErrorShouldFail()
326 mSdkSandboxManager.loadSdk( in testLoadSdkPropertySdkProviderClassNameNotSet()
340 mSdkSandboxManager.loadSdk(SDK_NAME_1, new Bundle(), Runnable::run, callback); in testUnloadAndReloadSdk()
[all …]
DSdkSandboxStorageTest.java85 loadSdk().checkRoomDatabaseAccess(); in testSdkSandboxRoomDatabaseAccess()
90 loadSdk().checkCanUseSharedPreferences(); in testSdkSandboxCanUseSharedPreferences()
96 ICtsSdkProviderApi sdk = loadSdk(); in testSdkCanReadAppFileDescriptor()
119 ICtsSdkProviderApi sdk = loadSdk(); in testAppCanReadSdkFileDescriptor()
135 private ICtsSdkProviderApi loadSdk() { in loadSdk() method in SdkSandboxStorageTest
137 mSdkSandboxManager.loadSdk(SDK_NAME_1, new Bundle(), Runnable::run, callback); in loadSdk()
DSdkSandboxControllerTest.java88 loadSdk(); in testGetClientPackageName()
97 loadSdk(); in testSdkDetectsAppForegroundState()
123 loadSdk(); in testUnregisterSdkSandboxClientImportanceListener()
140 private void loadSdk() { in loadSdk() method in SdkSandboxControllerTest
142 mSdkSandboxManager.loadSdk(SDK_NAME, new Bundle(), Runnable::run, callback); in loadSdk()
DSdkSandboxMediaTest.java76 loadSdk(); in testAudioFocus()
81 private void loadSdk() { in loadSdk() method in SdkSandboxMediaTest
83 mSdkSandboxManager.loadSdk(SDK_NAME, new Bundle(), Runnable::run, callback); in loadSdk()
DSdkSandboxCapabilitiesTest.java85 loadSdk(); in testQueryLauncherActivity()
90 private void loadSdk() { in loadSdk() method in SdkSandboxCapabilitiesTest
92 mSdkSandboxManager.loadSdk(SDK_NAME_1, new Bundle(), Runnable::run, callback); in loadSdk()
/packages/modules/AdServices/sdksandbox/tests/endtoendtests/src/com/android/tests/sdksandbox/restrictions/
DContentProviderRestrictionsTest.java169 loadSdk(); in testGetContentProvider_restrictionsApplied()
176 loadSdk(); in testRegisterContentObserver_restrictionsApplied()
196 loadSdk(); in testGetContentProvider_DeviceConfigAllowlistApplied()
227 loadSdk(); in testGetContentProvider_DeviceConfigNextAllowlistApplied()
246 loadSdk(); in testGetContentProvider_DeviceConfigWildcardAllowlistApplied()
262 loadSdk(); in testGetContentProvider_DeviceConfigAllowlistWithWildcardApplied()
276 loadSdk(); in testGetWebViewContentProvider_restrictionsApplied()
287 loadSdk(); in testGetContentProvider_restrictionsNotApplied()
294 loadSdk(); in testRegisterContentObserver_restrictionsNotApplied()
300 loadSdk(); in testGetContentProvider_defaultValueRestrictionsApplied()
[all …]
DBroadcastRestrictionsTest.java176 loadSdk(); in testRegisterBroadcastReceiver_defaultValueRestrictionsApplied()
189 loadSdk(); in testRegisterBroadcastReceiver_restrictionsApplied()
217 loadSdk(); in testRegisterBroadcastReceiver_restrictionsNotApplied()
229 loadSdk(); in testRegisterBroadcastReceiver_DeviceConfigEmptyAllowlistApplied()
255 loadSdk(); in testRegisterBroadcastReceiver_DeviceConfigAllowlistApplied()
290 loadSdk(); in testRegisterBroadcastReceiver_DeviceConfigNextAllowlistApplied()
318 loadSdk(); in testRegisterBroadcastReceiver_DeviceConfigNextRestrictions_AllowlistNotSet()
335 loadSdk(); in testRegisterBroadcastReceiver_intentFilterWithoutAction()
350 loadSdk(); in testRegisterBroadcastReceiver_protectedBroadcast()
360 private void loadSdk() { in loadSdk() method in BroadcastRestrictionsTest
[all …]
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxManagerServiceUnitTest.java366 mService.loadSdk(TEST_PACKAGE, null, SDK_NAME, mSandboxLatencyInfo, new Bundle(), callback); in testLoadSdkIsSuccessful()
376 mService.loadSdk( in testLoadSdkNonExistentCallingPackage()
391 mService.loadSdk( in testLoadSdkIncorrectCallingPackage()
410 mService.loadSdk( in testLoadSdkPackageDoesNotExist()
427 mService.loadSdk(TEST_PACKAGE, null, SDK_NAME, mSandboxLatencyInfo, new Bundle(), callback); in testLoadSdk_errorFromSdkSandbox()
439 mService.loadSdk(TEST_PACKAGE, null, SDK_NAME, mSandboxLatencyInfo, new Bundle(), callback); in testLoadSdk_errorNoInternet()
454 mService.loadSdk(TEST_PACKAGE, null, SDK_NAME, mSandboxLatencyInfo, new Bundle(), callback); in testLoadSdk_errorNoAccessNetworkState()
470 mService.loadSdk( in testLoadSdk_successOnFirstLoad_errorOnLoadAgain()
480 mService.loadSdk( in testLoadSdk_successOnFirstLoad_errorOnLoadAgain()
498 mService.loadSdk( in testLoadSdk_firstLoadPending_errorOnLoadAgainRequest()
[all …]
DLoadSdkSessionUnitTest.java126 LoadSdkSession sdkSession = loadSdk(); in testLoadSdkIsSuccessful()
187 LoadSdkSession sdkSession = loadSdk(); in testLoadingSdkTwiceInSameSessionShouldFail()
226 LoadSdkSession sdkSession = loadSdk(); in testLoadedSdkStatusAfterSandboxDeath()
281 LoadSdkSession sdkSession = loadSdk(); in testUnloadSdk()
346 LoadSdkSession sdkSession = loadSdk(); in testSandboxDeathBeforeUnload()
361 LoadSdkSession sdkSession = loadSdk(); in testLoadingAfterUnloading_ShouldFail_SameSession()
380 LoadSdkSession sdkSession = loadSdk(); in testRequestSurfacePackage()
429 LoadSdkSession sdkSession = loadSdk(); in testRequestSurfacePackage_SandboxDiesInBetween()
467 private LoadSdkSession loadSdk() throws Exception { in loadSdk() method in LoadSdkSessionUnitTest
DSdkSandboxStatsdMetricsUnitTest.java256 mService.loadSdk( in testLatencyMetrics_LoadSdk()
292 mService.loadSdk( in testLatencyMetrics_SystemServerAppToSandbox_LoadSdk_FailureOnMultiLoad()
305 mService.loadSdk( in testLatencyMetrics_SystemServerAppToSandbox_LoadSdk_FailureOnMultiLoad()
331 mService.loadSdk( in testLatencyMetrics_SystemServerAppToSandbox_LoadSdk_InvalidSdkName()
366 mService.loadSdk(TEST_PACKAGE, null, SDK_NAME, sandboxLatencyInfo, new Bundle(), callback); in testLatencyMetrics_SystemServerAppToSandbox_LoadSdk_FailureOnAppDeath()
386 mService.loadSdk( in testLatencyMetrics_SystemServerAppToSandbox_LoadSdk_NoInternet()
415 mService.loadSdk( in testLatencyMetrics_SystemServerAppToSandbox_LoadSdk_LoadSandboxFailure()
443 mService.loadSdk( in testLatencyMetrics_SystemServerAppToSandbox_LoadSdk_SandboxDisabled()
477 mService.loadSdk( in testLatencyMetrics_SystemServerAppToSandbox_LoadSdk_SandboxThrowsDeadObjectException()
497 loadSdk(SDK_NAME); in testLatencyMetrics_RequestSurfacePackage()
[all …]
/packages/modules/AdServices/sdksandbox/tests/cts/hostside/app/src/com/android/sdksandbox/cts/app/
DCtsSdkSandboxStorageTestApp.java81 public void loadSdk() throws Exception { in loadSdk() method in CtsSdkSandboxStorageTestApp
83 mSdkSandboxManager.loadSdk(SDK_NAME, new Bundle(), Runnable::run, callback); in loadSdk()
92 loadSdk(); in testSharedPreferences_IsSyncedFromAppToSandbox()
110 loadSdk(); in testSharedPreferences_SyncPropagatesUpdates()
141 loadSdk(); in testSharedPreferences_SyncStartedBeforeLoadingSdk()
152 loadSdk(); in testSharedPreferences_SyncRemoveKeys()
174 loadSdk(); in testSharedPreferences_SyncedDataClearedOnSandboxRestart()
DSdkSandboxDataIsolationTestApp.java97 loadSdk(); in testSdkSandboxDataIsolation_SandboxCanAccessItsDirectory()
103 loadSdk(); in testSdkSandboxDataIsolation_CannotVerifyAppExistence()
109 loadSdk(); in testSdkSandboxDataIsolation_CannotVerifyOtherUserAppExistence()
116 loadSdk(); in testSdkSandboxDataIsolation_CannotVerifyAcrossVolumes()
121 private void loadSdk() { in loadSdk() method in SdkSandboxDataIsolationTestApp
123 mSdkSandboxManager.loadSdk(SDK_NAME, new Bundle(), Runnable::run, callback); in loadSdk()
DCtsSdkSandboxMediaTestApp.java76 ICtsSdkProviderApi sdk = loadSdk(); in testAudioFocus()
81 private ICtsSdkProviderApi loadSdk() { in loadSdk() method in CtsSdkSandboxMediaTestApp
83 mSdkSandboxManager.loadSdk(SDK_NAME, new Bundle(), Runnable::run, callback); in loadSdk()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/app/src/com/android/tests/sdksandbox/
DSdkSandboxStorageTestApp.java96 public void loadSdk() throws Exception { in loadSdk() method in SdkSandboxStorageTestApp
98 mSdkSandboxManager.loadSdk(SDK_NAME, new Bundle(), Runnable::run, callback); in loadSdk()
113 loadSdk(); in testSdkDataPackageDirectory_SharedStorageIsUsable()
120 loadSdk(); in testSdkDataSubDirectory_PerSdkStorageIsUsable()
127 loadSdk(); in testSdkDataIsAttributedToApp()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/sdksandbox/
DSdkSandboxTest.java232 mService.loadSdk( in testLoadingSuccess()
247 mService.loadSdk( in testLoadingWithoutInitializingFails()
303 mService.loadSdk( in testDuplicateLoadingFails()
315 mService.loadSdk( in testDuplicateLoadingFails()
335 mService.loadSdk( in testRequestSurfacePackage()
367 mService.loadSdk( in testSurfacePackageError()
409 mService.loadSdk( in testDump_WithSdk()
515 mService.loadSdk( in testLatencyMetrics_loadSdk_success()
546 mService.loadSdk( in testLatencyMetrics_unloadSdk_success()
592 mService.loadSdk( in testLatencyMetrics_requestSurfacePackage_success()
[all …]
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/sdkprovider/
DSdkSandboxControllerUnitTest.java190 controller.loadSdk("testSdk", new Bundle(), Runnable::run, new FakeLoadSdkCallback()); in testLoadSdk()
192 .loadSdk( in testLoadSdk()
205 sdkSandboxController.loadSdk(SDK_NAME, params, Runnable::run, new FakeLoadSdkCallback()); in testLoadSdk_callSuccessful_logLatenciesCalled()
211 .loadSdk( in testLoadSdk_callSuccessful_logLatenciesCalled()
234 sdkSandboxController.loadSdk(SDK_NAME, params, Runnable::run, new FakeLoadSdkCallback()); in testLoadSdk_callFails_logLatenciesCalled()
240 .loadSdk( in testLoadSdk_callFails_logLatenciesCalled()
DSdkSandboxControllerResultCodeLoggingUnitTest.java139 sdkSandboxController.loadSdk( in testLoadSdk_callFailsWithException_logSandboxApiLatencyCalledWithResultCode()
146 .loadSdk( in testLoadSdk_callFailsWithException_logSandboxApiLatencyCalledWithResultCode()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/app/src/com/android/sdksandbox/app/
DSdkSandboxTestActivity.java55 sdkSandboxManager.loadSdk(SDK_NAME, params, Runnable::run, callback); in onCreate()
56 sdkSandboxManager.loadSdk(SDK_NAME_2, params, Runnable::run, callback2); in onCreate()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DSdkSandboxManagerUnitTest.java101 mSdkSandboxManager.loadSdk(SDK_NAME, params, Runnable::run, outcomeReceiver); in testLoadSdkSuccess()
109 .loadSdk( in testLoadSdkSuccess()
141 mSdkSandboxManager.loadSdk(SDK_NAME, params, Runnable::run, outcomeReceiver); in testLoadSdkFailed()
146 .loadSdk( in testLoadSdkFailed()
419 mSdkSandboxManager.loadSdk(SDK_NAME, params, Runnable::run, new FakeOutcomeReceiver<>()); in testLoadSdk_callSuccessful_logSandboxApiLatencyCalled()
425 .loadSdk( in testLoadSdk_callSuccessful_logSandboxApiLatencyCalled()
449 mSdkSandboxManager.loadSdk(SDK_NAME, params, Runnable::run, new FakeOutcomeReceiver<>()); in testLoadSdk_callFails_logSandboxApiLatencyCalled()
455 .loadSdk( in testLoadSdk_callFails_logSandboxApiLatencyCalled()
DSdkSandboxManagerResultCodeLoggingUnitTest.java95 mSdkSandboxManager.loadSdk( in testLoadSdk_callFailsWithException_logSandboxApiLatencyCalledWithResultCode()
102 .loadSdk( in testLoadSdk_callFailsWithException_logSandboxApiLatencyCalledWithResultCode()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxMetricsHostTest/app/src/com/android/tests/sdksandbox/
DSdkSandboxMetricsTestApp.java101 mSdkSandboxManager.loadSdk(SDK_PACKAGE, new Bundle(), Runnable::run, callback); in testSdkCanAccessSdkSandboxExitReasons()
140 mSdkSandboxManager.loadSdk(SDK_PACKAGE, new Bundle(), Runnable::run, callback); in testSdkCannotAccessExitReasonsFromOtherSdkSandboxUids()
215 mSdkSandboxManager.loadSdk(SDK_PACKAGE, new Bundle(), Runnable::run, callback); in generateSdkSandboxCrash()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxSmallModuleHostTest/app/src/com/android/tests/sdksandbox/
DSdkSandboxSmallModuleTestApp.java133 mSdkSandboxManager.loadSdk(SDK_NAME, new Bundle(), Runnable::run, callback); in testLoadSdkWithAdServiceApk()
140 mSdkSandboxManager.loadSdk(SDK_NAME, new Bundle(), Runnable::run, callback); in testLoadSdkWithoutAdServiceApk()
/packages/modules/AdServices/sdksandbox/tests/perf/scenarios/helpers/cujclient/src/android/sdksandbox/test/scenario/cujclient/
DLoadEmptySdkActivity.java34 sdkSandboxManager.loadSdk(EMPTY_SDK_NAME, Bundle.EMPTY, Runnable::run, result -> {}); in onCreate()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/app/src/com/android/sdksandbox/debuggable/
DSdkSandboxTestDebuggableActivity.java38 sdkSandboxManager.loadSdk(SDK_NAME, params, Runnable::run, callback); in onCreate()

123