Home
last modified time | relevance | path

Searched refs:success (Results 1 – 7 of 7) sorted by relevance

/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DAssertionsTest.java38 assertThat(assertNumEquals42.apply(1).success).isFalse(); in traceEntryAssertionCanNegateResult()
39 assertThat(assertNumEquals42.negate().apply(1).success).isTrue(); in traceEntryAssertionCanNegateResult()
41 assertThat(assertNumEquals42.apply(42).success).isTrue(); in traceEntryAssertionCanNegateResult()
42 assertThat(assertNumEquals42.negate().apply(42).success).isFalse(); in traceEntryAssertionCanNegateResult()
51 assertThat(negatedResult.success).isFalse(); in resultCanBeNegated()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DAssertions.java128 public final boolean success; field in Assertions.Result
133 public Result(boolean success, long timestamp, String assertionName, String reason) { in Result() argument
134 this.success = success; in Result()
140 public Result(boolean success, String reason) { in Result() argument
141 this.success = success; in Result()
155 return new Result(!this.success, this.timestamp, negatedAssertionName, this.reason); in negate()
159 return this.success; in passed()
163 return !this.success; in failed()
DWindowManagerTrace.java174 return new Result(result.success, getTimestamp(), "showsAboveAppWindow", result.reason); in isAboveAppWindowVisible()
186 result.success, getTimestamp(), "isBelowAppWindowVisible", result.reason); in isBelowAppWindowVisible()
197 return new Result(result.success, getTimestamp(), "isImeWindowVisible", result.reason); in isImeWindowVisible()
203 boolean success = topAppWindow.contains(windowTitle); in isVisibleAppWindowOnTop()
205 return new Result(success, getTimestamp(), "isAppWindowOnTop", reason); in isVisibleAppWindowOnTop()
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/
DPerfettoHelper.java202 boolean success = directory.mkdirs(); in copyFileOutput()
203 if (!success) { in copyFileOutput()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DCommonLauncherHelper.java220 boolean success = mDevice.wait(Until.hasObject( in verifyAppStart()
222 if (success) { in verifyAppStart()
DLeanbackLauncherStrategy.java463 boolean success = mDevice.wait(Until.hasObject( in launchApp()
465 if (success) { in launchApp()
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java463 boolean success = (verifyOn ? bluetoothAdapter.disable() : bluetoothAdapter.enable()); in toggleBTOnOffAndVerify()