Searched refs:resultString (Results 1 – 6 of 6) sorted by relevance
75 String resultString = parseBytesAsString(result).trim(); in parseBytesAsBoolean() local76 if (resultString.equals("true")) { in parseBytesAsBoolean()78 } else if (resultString.equals("false")) { in parseBytesAsBoolean()81 throw new AssertionError("Command returned unexpected result: " + resultString); in parseBytesAsBoolean()
261 String resultString = in getTestResult() local271 if (resultString.contains("testresult=1")) { in getTestResult()273 } else if (resultString.contains("testresult=2")) { in getTestResult()275 } else if (resultString.contains("testresult=3")) { in getTestResult()277 } else if (resultString.contains("testresult=NULL")) { in getTestResult()279 } else if (resultString.contains("No result found")) { in getTestResult()283 Log.LogLevel.DEBUG, "Unknown test result " + resultString); in getTestResult()
142 PositionedGlyphs resultString = TextRunShaper.shapeTextRun( in shapeText_twoAPISameResult() local150 assertThat(resultString.glyphCount()).isEqualTo(resultChars.glyphCount()); in shapeText_twoAPISameResult()151 assertThat(resultString.getAdvance()).isEqualTo(resultChars.getAdvance()); in shapeText_twoAPISameResult()152 assertThat(resultString.getAscent()).isEqualTo(resultChars.getAscent()); in shapeText_twoAPISameResult()153 assertThat(resultString.getDescent()).isEqualTo(resultChars.getDescent()); in shapeText_twoAPISameResult()154 for (int i = 0; i < resultString.glyphCount(); ++i) { in shapeText_twoAPISameResult()155 assertThat(resultString.getGlyphId(i)).isEqualTo(resultChars.getGlyphId(i)); in shapeText_twoAPISameResult()156 assertThat(resultString.getFont(i)).isEqualTo(resultChars.getFont(i)); in shapeText_twoAPISameResult()157 assertThat(resultString.getGlyphX(i)).isEqualTo(resultChars.getGlyphX(i)); in shapeText_twoAPISameResult()158 assertThat(resultString.getGlyphY(i)).isEqualTo(resultChars.getGlyphY(i)); in shapeText_twoAPISameResult()
143 String resultString = String.format( in verify() local152 Log.e(LOG_TAG, "Frequency test FAIL: " + resultString); in verify()153 Assert.fail(String.format("Frequency out of range: " + resultString)); in verify()155 Log.i(LOG_TAG, "Frequency test pass: " + resultString); in verify()
155 private int convertResult(String resultString) { in convertResult() argument156 if (resultString == null) { in convertResult()158 } else if (resultString.equals(RESULTSTR_PASS)) { in convertResult()160 } else if (resultString.equals(RESULTSTR_FAIL)) { in convertResult()162 } else if (resultString.equals(RESULTSTR_RETEST)) { in convertResult()
1293 String resultString = bytesToHexString(result); in testIccExchangeSimIO() local1294 FcpTemplate fcpTemplate = FcpTemplate.parseFcpTemplate(resultString); in testIccExchangeSimIO()1296 assertWithMessage("iccExchangeSimIO returned non-normal Status byte: %s", resultString) in testIccExchangeSimIO()