Searched refs:resultString (Results 1 – 7 of 7) 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()
76 String resultString = mShellCommandExecutor.executeToTrimmedString(SHELL_CMD_GET_PROPERTY); in isNetworkTimeUpdateServiceDisabled() local77 return (resultString != null) && (resultString.equals("true")); in isNetworkTimeUpdateServiceDisabled()
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()
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()
151 PositionedGlyphs resultString = TextRunShaper.shapeTextRun( in shapeText_twoAPISameResult() local159 assertThat(resultString.glyphCount()).isEqualTo(resultChars.glyphCount()); in shapeText_twoAPISameResult()160 assertThat(resultString.getAdvance()).isEqualTo(resultChars.getAdvance()); in shapeText_twoAPISameResult()161 assertThat(resultString.getAscent()).isEqualTo(resultChars.getAscent()); in shapeText_twoAPISameResult()162 assertThat(resultString.getDescent()).isEqualTo(resultChars.getDescent()); in shapeText_twoAPISameResult()163 for (int i = 0; i < resultString.glyphCount(); ++i) { in shapeText_twoAPISameResult()164 assertThat(resultString.getGlyphId(i)).isEqualTo(resultChars.getGlyphId(i)); in shapeText_twoAPISameResult()165 assertThat(resultString.getFont(i)).isEqualTo(resultChars.getFont(i)); in shapeText_twoAPISameResult()166 assertThat(resultString.getGlyphX(i)).isEqualTo(resultChars.getGlyphX(i)); in shapeText_twoAPISameResult()167 assertThat(resultString.getGlyphY(i)).isEqualTo(resultChars.getGlyphY(i)); in shapeText_twoAPISameResult()
157 private int convertResult(String resultString) { in convertResult() argument158 if (resultString == null) { in convertResult()160 } else if (resultString.equals(RESULTSTR_PASS)) { in convertResult()162 } else if (resultString.equals(RESULTSTR_FAIL)) { in convertResult()164 } else if (resultString.equals(RESULTSTR_RETEST)) { in convertResult()
1564 String resultString = bytesToHexString(result); in testIccExchangeSimIO() local1565 FcpTemplate fcpTemplate = FcpTemplate.parseFcpTemplate(resultString); in testIccExchangeSimIO()1567 assertWithMessage("iccExchangeSimIO returned non-normal Status byte: %s", resultString) in testIccExchangeSimIO()