Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DUiDeviceExtensionsTest.kt56 val currState = this.getCurrState() in canFetchCurrentDeviceState() constant
57 Truth.assertThat(currState.first).isNotEmpty() in canFetchCurrentDeviceState()
58 Truth.assertThat(currState.second).isNotEmpty() in canFetchCurrentDeviceState()
66 val currState = this.getCurrStateDump(FLAG_STATE_DUMP_FLAG_WM) in canFetchCurrentDeviceStateOnlyWm() constant
67 Truth.assertThat(currState.wmState).isNotNull() in canFetchCurrentDeviceStateOnlyWm()
68 Truth.assertThat(currState.layerState).isNull() in canFetchCurrentDeviceStateOnlyWm()
76 val currState = this.getCurrStateDump(FLAG_STATE_DUMP_FLAG_LAYERS) in canFetchCurrentDeviceStateOnlyLayers() constant
77 Truth.assertThat(currState.wmState).isNull() in canFetchCurrentDeviceStateOnlyLayers()
78 Truth.assertThat(currState.layerState).isNotNull() in canFetchCurrentDeviceStateOnlyLayers()
83 val currState = this.getCurrStateDump() in canParseCurrentDeviceState() constant
[all …]
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/
DWaitCondition.kt57 var currState: T? = null in waitFor() variable
59 currState = supplier.invoke() in waitFor()
60 if (condition.isSatisfied(currState)) { in waitFor()
62 onSuccess?.invoke(currState) in waitFor()
65 val detailedMessage = condition.getMessage(currState) in waitFor()
68 onRetry?.invoke(currState) in waitFor()
73 val detailedMessage = if (currState != null) { in waitFor()
74 condition.getMessage(currState) in waitFor()
80 require(currState != null) { "Missing last result for failure notification" } in waitFor()
81 onFailure.invoke(currState) in waitFor()