Searched refs:reasons (Results 1 – 4 of 4) sorted by relevance
34 String reasons = ""; in dealWithNoExistingActivityException() local36 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() local58 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()
216 List<ApplicationExitInfo> reasons = getExitReasons(packageName); in waitForNewExitReasonAfter() local217 return !reasons.isEmpty() && reasons.get(0).getTimestamp() >= timestamp; in waitForNewExitReasonAfter()219 List<ApplicationExitInfo> reasons = getExitReasons(packageName); in waitForNewExitReasonAfter() local220 assertTrue(reasons.get(0).getTimestamp() > timestamp); in waitForNewExitReasonAfter()221 assertEquals(ApplicationExitInfo.REASON_ANR, reasons.get(0).getReason()); in waitForNewExitReasonAfter()
109 StringBuilder reasons = new StringBuilder(); in processActivityResults() local110 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()
22 evaluation, it has been made for two reasons: