Home
last modified time | relevance | path

Searched refs:isNotEmpty (Results 1 – 25 of 86) sorted by relevance

1234

/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/
DComponentName.kt37 packageName.isNotEmpty() && className.isNotEmpty() -> { in toActivityName()
42 packageName.isNotEmpty() -> packageName in toActivityName()
43 className.isNotEmpty() -> className in toActivityName()
59 packageName.isNotEmpty() && className.isNotEmpty() -> "$packageName/$className" in toWindowName()
60 packageName.isNotEmpty() -> packageName in toWindowName()
61 className.isNotEmpty() -> className in toWindowName()
68 packageName.isNotEmpty() && className.isNotEmpty() -> in toShortWindowName()
70 packageName.isNotEmpty() -> packageName in toShortWindowName()
71 className.isNotEmpty() -> className in toShortWindowName()
/platform_testing/libraries/flicker/utils/test/src/android/tools/
DUtilsTest.kt48 Truth.assertThat(currState.first).isNotEmpty() in canFetchCurrentDeviceState()
49 Truth.assertThat(currState.second).isNotEmpty() in canFetchCurrentDeviceState()
55 Truth.assertThat(currStateDump.first).isNotEmpty() in canFetchCurrentDeviceStateOnlyWm()
66 Truth.assertThat(currStateDump.second).isNotEmpty() in canFetchCurrentDeviceStateOnlyLayers()
77 Truth.assertThat(wmArray.first().windowStates).isNotEmpty() in canParseCurrentDeviceState()
80 Truth.assertThat(layersArray.first().flattenedLayers).isNotEmpty() in canParseCurrentDeviceState()
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DNoErrorTest.kt66 .isNotEmpty() in <lambda>()
85 .isNotEmpty() in <lambda>()
149 isNotEmpty() in <lambda>()
159 isNotEmpty() in <lambda>()
169 isNotEmpty() in <lambda>()
179 isNotEmpty() in <lambda>()
189 isNotEmpty() in <lambda>()
199 isNotEmpty() in <lambda>()
DFlickerServiceTracesCollectorTest.kt66 Truth.assertThat(reader.readWmTrace()?.entries).isNotEmpty() in canCollectTraces()
67 Truth.assertThat(reader.readLayersTrace()?.entries).isNotEmpty() in canCollectTraces()
68 Truth.assertThat(reader.readTransitionsTrace()?.entries).isNotEmpty() in canCollectTraces()
81 require(tracePath.isNotEmpty()) { "Artifact path missing in result" } in reportsTraceFile()
102 require(tracePath.isNotEmpty()) { "Artifact path missing in result" } in reportedTraceFileContainsAllTraces()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/exceptions/
DExceptionMessageBuilder.kt73 if (headerDescription.isNotEmpty()) { in <lambda>()
83 if (expected.isNotEmpty() || actual.isNotEmpty()) { in <lambda>()
88 if (expected.isNotEmpty()) { in <lambda>()
94 .filter { it.isNotEmpty() } in <lambda>()
100 if (extraDescription.isNotEmpty()) { in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DAssertionResult.kt31 if (assumptionViolations.isNotEmpty()) {
34 if (assertionErrors.isNotEmpty()) {
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DMonitorUtilsTest.kt46 .isNotEmpty() in validateTrace()
49 .isNotEmpty() in validateTrace()
DPerfettoTraceMonitorTest.kt59 Truth.assertWithMessage("Could not obtain layers trace").that(trace.entries).isNotEmpty() in <lambda>()
71 .isNotEmpty() in <lambda>()
110 .isNotEmpty() in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/rules/
DArtifactSaverRule.kt34 if (DeviceDumpParser.lastWmTraceData.isNotEmpty()) { in failed()
40 if (DeviceDumpParser.lastLayersTraceData.isNotEmpty()) { in failed()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/
DFlickerTraceSubject.kt58 require(subjects.isNotEmpty()) { "Trace is empty" } in <lambda>()
141 if (lastNew.isNotEmpty()) { in <lambda>()
152 if (lastNew.isNotEmpty()) { in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/inputmethod/
DIImeClientSubject.kt25 fun isNotEmpty(): ImeClientSubjectType method
DIInputMethodManagerServiceSubject.kt25 fun isNotEmpty(): InputMethodManagerServiceSubjectType method
DIInputMethodServiceSubject.kt25 fun isNotEmpty(): InputMethodServiceSubjectType method
DInputMethodServiceEntrySubject.kt54 override fun isNotEmpty(): InputMethodServiceEntrySubject = apply { in <lambda>() method in android.tools.flicker.subject.inputmethod.InputMethodServiceEntrySubject
DImeClientEntrySubject.kt54 override fun isNotEmpty(): ImeClientEntrySubject = apply { in <lambda>() method in android.tools.flicker.subject.inputmethod.ImeClientEntrySubject
DInputMethodManagerServiceEntrySubject.kt54 override fun isNotEmpty(): InputMethodManagerServiceEntrySubject = apply { in <lambda>() method in android.tools.flicker.subject.inputmethod.InputMethodManagerServiceEntrySubject
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/perfetto/
DLayerTraceParserTest.kt43 Truth.assertWithMessage("Trace").that(trace.entries).isNotEmpty() in <lambda>()
60 .isNotEmpty() in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DActivity.kt50 getWindows(componentMatcher).isNotEmpty() in <lambda>()
53 getWindows { windowState == it }.isNotEmpty() in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/
DDeviceDumpParser.kt61 if (wmTraceData.isNotEmpty()) { in <lambda>()
70 if (layersTraceData.isNotEmpty()) { in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/
DDataType.kt24 val isNotEmpty constant
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DILayerProperties.kt23 import android.tools.datatypes.isNotEmpty
91 get() = color.isNotEmpty()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/wm/
DLegacyTransitionTraceParserTest.kt63 Truth.assertWithMessage("Trace").that(trace.entries).isNotEmpty() in <lambda>()
78 Truth.assertThat(trace.entries).isNotEmpty() in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/events/
DEventLogSubject.kt42 if (windows.isNotEmpty()) { in <lambda>()
73 if (_focusChanges.isNotEmpty()) { in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/extractors/
DUtils.kt92 require(wmTrace.entries.isNotEmpty()) { "WM trace should not be empty!" } in interpolateFinishTimestampFromTransition()
144 require(displays.isNotEmpty()) { "Failed to get a display for provided entry" } in getOnDisplayFor()
146 require(onDisplays.isNotEmpty()) { "No on displays found for entry" } in getOnDisplayFor()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/
DTransitionExecutionRuleTest.kt139 .isNotEmpty() in createsValidTags()
142 .isNotEmpty() in createsValidTags()
145 .isNotEmpty() in createsValidTags()
148 .isNotEmpty() in createsValidTags()

1234