Home
last modified time | relevance | path

Searched refs:DeviceUtilsException (Results 1 – 5 of 5) sorted by relevance

/test/app_compat/csuite/harness/src/main/java/com/android/csuite/core/
DDeviceUtils.java364 throws DeviceUtilsException, DeviceNotAvailableException { in launchPackage()
381 throw new DeviceUtilsException( in launchPackage()
386 throw new DeviceUtilsException( in launchPackage()
398 throw new DeviceUtilsException( in launchPackage()
419 String getLaunchActivity(String pmDump) throws DeviceUtilsException { in getLaunchActivity()
509 throw new DeviceUtilsException( in getLaunchActivity()
601 throws DeviceUtilsException, DeviceNotAvailableException { in isPackageInstalled()
608 throw new DeviceUtilsException( in isPackageInstalled()
618 throws DeviceUtilsException, DeviceNotAvailableException { in executeShellCommandOrThrow()
622 throw new DeviceUtilsException( in executeShellCommandOrThrow()
[all …]
/test/app_compat/csuite/test_scripts/src/main/java/com/android/csuite/tests/
DAppLaunchTest.java25 import com.android.csuite.core.DeviceUtils.DeviceUtilsException;
161 } catch (DeviceUtilsException e) { in testAppCrash()
173 } catch (DeviceUtilsException e) { in testAppCrash()
/test/app_compat/csuite/test_scripts/src/main/java/com/android/art/tests/
DAppCompileLaunchTest.java25 import com.android.csuite.core.DeviceUtils.DeviceUtilsException;
216 } catch (DeviceUtilsException e) { in doTestAppCrash()
228 } catch (DeviceUtilsException e) { in doTestAppCrash()
/test/app_compat/csuite/test_scripts/src/main/java/com/android/webview/tests/
DWebviewAppLaunchTest.java23 import com.android.csuite.core.DeviceUtils.DeviceUtilsException;
183 } catch (DeviceUtilsException e) { in launchPackageAndCheckForCrash()
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/core/
DDeviceUtilsTest.java28 import com.android.csuite.core.DeviceUtils.DeviceUtilsException;
109 assertThrows(DeviceUtilsException.class, () -> sut.isPackageInstalled("package.name")); in isPackageInstalled_commandFailed_throws()
122 assertThrows(DeviceUtilsException.class, () -> sut.launchPackage("package.name")); in launchPackage_pmDumpFailedAndPackageDoesNotExist_throws()
135 assertThrows(DeviceUtilsException.class, () -> sut.launchPackage("package.name")); in launchPackage_pmDumpFailedAndPackageExists_throws()
157 assertThrows(DeviceUtilsException.class, () -> sut.launchPackage("com.google.android.gms")); in launchPackage_amStartCommandFailed_throws()
181 assertThrows(DeviceUtilsException.class, () -> sut.launchPackage("com.google.android.gms")); in launchPackage_amFailedToLaunchThePackage_throws()
358 assertThrows(DeviceUtilsException.class, () -> sut.getLaunchActivity(pmDump)); in getLaunchActivity_noMainOrLauncherActivities_throws()