Searched refs:DeviceUtilsException (Results 1 – 5 of 5) sorted by relevance
359 throws DeviceUtilsException, DeviceNotAvailableException { in launchPackage()376 throw new DeviceUtilsException( in launchPackage()381 throw new DeviceUtilsException( in launchPackage()393 throw new DeviceUtilsException( in launchPackage()414 String getLaunchActivity(String pmDump) throws DeviceUtilsException { in getLaunchActivity()504 throw new DeviceUtilsException( in getLaunchActivity()596 throws DeviceUtilsException, DeviceNotAvailableException { in isPackageInstalled()603 throw new DeviceUtilsException( in isPackageInstalled()613 throws DeviceUtilsException, DeviceNotAvailableException { in executeShellCommandOrThrow()617 throw new DeviceUtilsException( in executeShellCommandOrThrow()[all …]
25 import com.android.csuite.core.DeviceUtils.DeviceUtilsException;161 } catch (DeviceUtilsException e) { in testAppCrash()173 } catch (DeviceUtilsException e) { in testAppCrash()
23 import com.android.csuite.core.DeviceUtils.DeviceUtilsException;184 } catch (DeviceUtilsException e) { in launchPackageAndCheckForCrash()
25 import com.android.csuite.core.DeviceUtils.DeviceUtilsException;216 } catch (DeviceUtilsException e) { in doTestAppCrash()228 } catch (DeviceUtilsException e) { in doTestAppCrash()
28 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()