Home
last modified time | relevance | path

Searched refs:reasons (Results 1 – 4 of 4) sorted by relevance

/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DUtils.java34 String reasons = ""; in dealWithNoExistingActivityException() local
36 reasons += ". Running on user which cannot show activities (" in dealWithNoExistingActivityException()
40 return new NeneException("Error finding activity " + activityClassName + reasons in dealWithNoExistingActivityException()
55 String reasons = ""; in dealWithConnectedAppsSdkException() local
58 reasons += "User " + user + " is not running."; in dealWithConnectedAppsSdkException()
61 reasons += "User " + user + " is not unlocked."; in dealWithConnectedAppsSdkException()
64 reasons += "Package " + pkg + " is not installed on User " + user + "."; in dealWithConnectedAppsSdkException()
67 return new NeneException("Error connecting to test app: " + reasons in dealWithConnectedAppsSdkException()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DAnrTests.java216 List<ApplicationExitInfo> reasons = getExitReasons(packageName); in waitForNewExitReasonAfter() local
217 return !reasons.isEmpty() && reasons.get(0).getTimestamp() >= timestamp; in waitForNewExitReasonAfter()
219 List<ApplicationExitInfo> reasons = getExitReasons(packageName); in waitForNewExitReasonAfter() local
220 assertTrue(reasons.get(0).getTimestamp() > timestamp); in waitForNewExitReasonAfter()
221 assertEquals(ApplicationExitInfo.REASON_ANR, reasons.get(0).getReason()); in waitForNewExitReasonAfter()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerStubActivity.java109 StringBuilder reasons = new StringBuilder(); in processActivityResults() local
110 reasons.append(ERROR_INSUFFICIENT_RESOURCES); in processActivityResults()
112 reasons.append(ERROR_SUPPORTS_SECURE_WITH_NON_SECURE_CODEC); in processActivityResults()
116 reasons.append(ERROR_SUPPORTS_MULTIPLE_SECURE_CODECS); in processActivityResults()
118 Assert.assertTrue(failMessage + reasons.toString(), result); in processActivityResults()
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale22 evaluation, it has been made for two reasons: