/platform_testing/libraries/junit-rules/src/ |
D | ConditionalIgnoreRule.java | 32 Supplier<Boolean> condition; in apply() local 33 Class<? extends Supplier<Boolean>> conditionType = annotation.condition(); in apply() 48 condition = in apply() 59 if (condition.get()) { in apply() 60 return new IgnoreStatement(condition); in apply() 69 IgnoreStatement(Supplier<Boolean> condition) { in IgnoreStatement() argument 70 this.mCondition = condition; in IgnoreStatement()
|
D | ConditionalIgnore.java | 27 Class<? extends Supplier<Boolean>> condition(); in condition() method
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/ |
D | WaitCondition.kt | 50 private val condition: Condition<T>, constant in android.tools.traces.WaitCondition 70 onLog?.invoke("***Waiting for $condition", false) in doWaitFor() 96 return if (condition.isSatisfied(currState)) { in doWaitForRetry() 97 onLog?.invoke("***Waiting for $condition ... Success!", false) in doWaitForRetry() 101 val detailedMessage = condition.getMessage(currState) in doWaitForRetry() 113 condition.getMessage(currState) in doNotifyFailure() 115 condition.toString() in doNotifyFailure() 133 fun withCondition(condition: Condition<T>) = apply { conditions.add(condition) } in <lambda>() 135 fun withCondition(message: String, condition: (T) -> Boolean) = apply { in <lambda>() 136 withCondition(Condition(message, condition)) in <lambda>()
|
D | Condition.kt | 49 protected open val condition: (T) -> Boolean constant in android.tools.traces.Condition 53 return condition.invoke(value) in isSatisfied() 57 fun negate(): Condition<T> = Condition(message = "!$message") { !this.condition.invoke(it) } in <lambda>()
|
D | ConditionList.kt | 40 override val condition: (T) -> Boolean in <lambda>() constant in android.tools.traces.ConditionList 41 get() = { value -> conditions.all { condition -> condition.isSatisfied(value) } } in <lambda>() method
|
/platform_testing/utils/dpad/src/android/platform/test/utils/ |
D | DPadUtil2.java | 162 public <R> R pressKeyCodeAndWait(int keyCode, EventCondition<R> condition, boolean longpress, in pressKeyCodeAndWait() argument 164 return mDevice.performActionAndWait(new KeyEventRunnable(keyCode, longpress), condition, in pressKeyCodeAndWait() 168 public <R> R pressKeyCodeAndWait(int keyCode, EventCondition<R> condition, long timeout) { in pressKeyCodeAndWait() argument 169 return pressKeyCodeAndWait(keyCode, condition, false, timeout); in pressKeyCodeAndWait() 172 public <R> R pressDPadCenterAndWait(EventCondition<R> condition, long timeout) { in pressDPadCenterAndWait() argument 174 condition, timeout); in pressDPadCenterAndWait() 177 public <R> R pressEnterAndWait(EventCondition<R> condition, long timeout) { in pressEnterAndWait() argument 179 condition, timeout); in pressEnterAndWait()
|
D | DPadUtil.java | 163 public <R> R pressKeyCodeAndWait(int keyCode, EventCondition<R> condition, boolean longpress, in pressKeyCodeAndWait() argument 165 return mDevice.performActionAndWait(new KeyEventRunnable(keyCode, longpress), condition, in pressKeyCodeAndWait() 169 public <R> R pressKeyCodeAndWait(int keyCode, EventCondition<R> condition, long timeout) { in pressKeyCodeAndWait() argument 170 return pressKeyCodeAndWait(keyCode, condition, false, timeout); in pressKeyCodeAndWait() 173 public <R> R pressDPadCenterAndWait(EventCondition<R> condition, long timeout) { in pressDPadCenterAndWait() argument 175 condition, timeout); in pressDPadCenterAndWait() 178 public <R> R pressEnterAndWait(EventCondition<R> condition, long timeout) { in pressEnterAndWait() argument 180 condition, timeout); in pressEnterAndWait()
|
/platform_testing/libraries/health/utils/src/android/platform/test/util/ |
D | HealthTestingUtils.java | 113 public static void waitForCondition(Supplier<String> message, Condition condition) { 114 waitForCondition(message, condition, WAIT_TIME_MS); 125 Supplier<String> message, Condition condition, long timeoutMs) { 133 return condition.isTrue();
|
/platform_testing/libraries/tapl-common/src/android/platform/test/scenario/tapl_common/ |
D | Gestures.kt | 35 condition: () -> Boolean in waitForObjectCondition() 38 condition = condition, in waitForObjectCondition()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/ |
D | ExactComponentIdMatcher.kt | 55 condition: (Collection<Layer>) -> Boolean in check() 56 ): Boolean = condition(layers.filter { it.id == layerId }) in check()
|
D | EdgeExtensionComponentMatcher.kt | 52 condition: (Collection<Layer>) -> Boolean in check() 53 ): Boolean = condition(layers.filter { layerMatchesAnyOf(it) }) in check()
|
D | FullComponentIdMatcher.kt | 69 condition: (Collection<Layer>) -> Boolean in check() 70 ): Boolean = condition(layers.filter { layerMatchesAnyOf(it) }) in check()
|
D | ComponentSplashScreenMatcher.kt | 71 condition: (Collection<Layer>) -> Boolean in check() 77 return condition(splashScreenLayer) in check()
|
D | OrComponentMatcher.kt | 59 condition: (Collection<Layer>) -> Boolean in <lambda>() 62 oredComponent.check(layers) { condition(it) } in <lambda>()
|
D | IComponentMatcher.kt | 106 fun check(layers: Collection<Layer>, condition: (Collection<Layer>) -> Boolean): Boolean in windowMatchesAnyOf()
|
/platform_testing/tests/automotive/functional/navigationbar/src/android/platform/tests/ |
D | BrightnessPaletteTest.java | 51 @ConditionalIgnore(condition = IgnoreOnPortrait.class) 58 @ConditionalIgnore(condition = IgnoreOnPortrait.class)
|
D | NavigationBarTest.java | 57 @ConditionalIgnore(condition = IgnoreOnPortrait.class) 66 @ConditionalIgnore(condition = IgnoreOnPortrait.class)
|
/platform_testing/tests/automotive/functional/settings/src/android/platform/tests/ |
D | SettingSearchTest.java | 71 @ConditionalIgnore(condition = IgnoreOnPortrait.class) 84 @ConditionalIgnore(condition = IgnoreOnPortrait.class)
|
/platform_testing/tests/automotive/functional/notifications/src/android/platform/tests/ |
D | NotificationTest.java | 89 @ConditionalIgnore(condition = IgnoreOnPortrait.class) 112 @ConditionalIgnore(condition = IgnoreOnPortrait.class)
|
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | WaitUtils.kt | 68 condition: () -> Boolean, in ensureThat() 73 waitToBecomeTrue(description, timeout, condition).run { in ensureThat() 106 condition: () -> Boolean, in waitToBecomeTrue() 124 if (condition()) { in waitToBecomeTrue()
|
D | UiObjectUtils.kt | 139 condition: (UiObject2) -> Boolean = { true } in scrollUntilFound() 144 if (f?.let { condition(it) } == true) return f in _()
|
/platform_testing/tests/automotive/functional/uxrestriction/src/android/platform/tests/ |
D | UxRestrictionFacetBarTest.java | 71 @ConditionalIgnore(condition = IgnoreOnPortrait.class) 81 @ConditionalIgnore(condition = IgnoreOnPortrait.class)
|
/platform_testing/libraries/app-helpers/interfaces/tv/src/android/platform/helpers/ |
D | AbstractLeanbackAppHelper.java | 227 public UiObject2 select(SelectCondition condition, UiObject2 container, Direction direction) { in select() argument 229 while (!condition.apply(focus)) { in select() 261 public UiObject2 selectBidirect(SelectCondition condition, UiObject2 container, 263 UiObject2 object = select(condition, container, direction); 265 object = select(condition, container, Direction.reverse(direction));
|
/platform_testing/tests/automotive/functional/profileicon/src/android/platform/tests/ |
D | ProfileIconTest.java | 54 @ConditionalIgnore(condition = IgnoreOnPortrait.class)
|
/platform_testing/tests/automotive/functional/multiuser/src/android/platform/tests/ |
D | DeleteGuestNotAllowed.java | 65 @ConditionalIgnore(condition = IgnoreOnPortrait.class)
|