Home
last modified time | relevance | path

Searched refs:currState (Results 1 – 3 of 3) sorted by relevance

/platform_testing/libraries/flicker/utils/test/src/android/tools/
DUtilsTest.kt47 val currState = this.getCurrState() in canFetchCurrentDeviceState() constant
48 Truth.assertThat(currState.first).isNotEmpty() in canFetchCurrentDeviceState()
49 Truth.assertThat(currState.second).isNotEmpty() in canFetchCurrentDeviceState()
57 val currState = this.getCurrStateDump(TraceType.WM_DUMP) in canFetchCurrentDeviceStateOnlyWm() constant
58 Truth.assertThat(currState.wmState).isNotNull() in canFetchCurrentDeviceStateOnlyWm()
59 Truth.assertThat(currState.layerState).isNull() in canFetchCurrentDeviceStateOnlyWm()
67 val currState = this.getCurrStateDump(TraceType.SF_DUMP) in canFetchCurrentDeviceStateOnlyLayers() constant
68 Truth.assertThat(currState.wmState).isNull() in canFetchCurrentDeviceStateOnlyLayers()
69 Truth.assertThat(currState.layerState).isNotNull() in canFetchCurrentDeviceStateOnlyLayers()
74 val currState = this.getCurrStateDump() in canParseCurrentDeviceState() constant
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/traces/
DWaitCondition.kt71 var currState: T? = null in doWaitFor() variable
76 currState = result.second in doWaitFor()
80 onRetry?.invoke(currState) in doWaitFor()
87 doNotifyFailure(currState) in doWaitFor()
95 val currState = supplier.invoke() in doWaitForRetry() constant
96 return if (condition.isSatisfied(currState)) { in doWaitForRetry()
98 onSuccess?.invoke(currState) in doWaitForRetry()
99 Pair(true, currState) in doWaitForRetry()
101 val detailedMessage = condition.getMessage(currState) in doWaitForRetry()
103 Pair(false, currState) in doWaitForRetry()
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/helpers/
DWindowUtils.kt43 val currState = getCurrentStateDump(clearCacheAfterParsing = false) constant
44 return currState.layerState.physicalDisplay?.layerStackSpace ?: Rect()
50 val currState = getCurrentStateDump(clearCacheAfterParsing = false) constant
52 return currState.wmState.getRotation(PlatformConsts.DEFAULT_DISPLAY)