Home
last modified time | relevance | path

Searched refs:isEmpty (Results 1 – 25 of 212) sorted by relevance

123456789

/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DShellTransitionData.kt31 require(!(dispatchTime?.isEmpty ?: false)) { "dispatchTime was empty timestamp" } in <lambda>()
32 require(!(mergeRequestTime?.isEmpty ?: false)) { "mergeRequestTime was empty timestamp" } in <lambda>()
33 require(!(mergeTime?.isEmpty ?: false)) { "mergeTime was empty timestamp" } in <lambda>()
34 require(!(abortTime?.isEmpty ?: false)) { "abortTime was empty timestamp" } in <lambda>()
DWmTransitionData.kt34 require(!(createTime?.isEmpty ?: false)) { "createTime was empty timestamp" } in <lambda>()
35 require(!(sendTime?.isEmpty ?: false)) { "sendTime was empty timestamp" } in <lambda>()
36 require(!(abortTime?.isEmpty ?: false)) { "abortTime was empty timestamp" } in <lambda>()
37 require(!(finishTime?.isEmpty ?: false)) { "finishTime was empty timestamp" } in <lambda>()
DConfigurationContainerImpl.kt34 override val isEmpty: Boolean constant in android.tools.traces.wm.ConfigurationContainerImpl
36 (overrideConfiguration?.isEmpty
38 (fullConfiguration?.isEmpty ?: true) &&
39 (mergedOverrideConfiguration?.isEmpty ?: true)
DWindowContainerImpl.kt39 override val id: Int = if (token.isEmpty()) -1 else token.toInt(16)
59 this.title.isEmpty() || in toString()
113 override val isEmpty: Boolean constant
114 get() = configurationContainer.isEmpty && title.isEmpty() && token.isEmpty()
DWindowConfiguration.kt35 val isEmpty: Boolean constant in android.tools.traces.wm.WindowConfiguration
37 appBounds.isEmpty &&
38 bounds.isEmpty &&
39 maxBounds.isEmpty &&
DWindowManagerTrace.kt45 if (entries.isEmpty()) { in getInitialRotation()
55 if (entries.isEmpty()) { in getFinalRotation()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DFact.kt21 internal val isEmpty = key.isEmpty() constant in android.tools.flicker.assertions.Fact
25 return if (valueStr.isEmpty()) key else "$key: $valueStr" in toString()
DAssertionsChecker.kt35 internal fun isEmpty() = assertions.isEmpty() in <lambda>() method in android.tools.flicker.assertions.AssertionsChecker
63 if (assertions.isEmpty() || entries.isEmpty()) { in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/
DDataType.kt22 abstract val isEmpty: Boolean constant in android.tools.datatypes.DataType
25 get() = !isEmpty
29 final override fun toString() = if (isEmpty) "[empty]" else doPrintValue() in doPrintValue()
/platform_testing/libraries/collectors-helper/app/test/src/com/android/helpers/tests/
DAppVersionHelperTest.java66 appVersionMetrics.isEmpty()); in testEmptyPackageName()
75 appVersionMetrics.isEmpty()); in testNullPackageName()
84 appVersionMetrics.isEmpty()); in testGetMetrics_OnePackage()
97 appVersionMetrics.isEmpty()); in testGetMetrics_MultiplePackages()
117 appVersionMetrics.isEmpty()); in testGetMetrics_InvalidPackage()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DDumpsysMeminfoListener.java64 if (processesString.isEmpty() && processObjectString.isEmpty()) { in setupAdditionalArgs()
69 if (!processesString.isEmpty()) { in setupAdditionalArgs()
74 if (!processObjectString.isEmpty()) { in setupAdditionalArgs()
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/
DTotalPssHelperTest.java64 assertTrue(pssMetrics.isEmpty()); in testEmptyProcessName()
72 assertTrue(pssMetrics.isEmpty()); in testNullProcessName()
80 assertFalse(pssMetrics.isEmpty()); in testGetMetrics_OneProcess()
90 assertFalse(pssMetrics.isEmpty()); in testGetMetrics_MultipleProcesses()
DDumpsysMeminfoHelperTest.java93 assertTrue(results.isEmpty()); in testCollectMeminfo_noProcess()
101 assertTrue(results.isEmpty()); in testCollectMeminfo_nullProcess()
109 assertTrue(results.isEmpty()); in testCollectMeminfo_nullProcessObjectMap()
117 assertTrue(results.isEmpty()); in testCollectMeminfo_wrongProcesses()
129 assertTrue(results.isEmpty()); in testCollectMeminfo_wrongProcessesNameInProcessObjectMap()
151 assertFalse(results.isEmpty()); in testCollectMeminfo_oneProcess()
161 assertFalse(results.isEmpty()); in testCollectMeminfo_multipleProcesses()
DProcessShowmapHelperTest.java73 assertTrue(showmapMetrics.isEmpty()); in testEmptyProcessName()
91 assertFalse(showmapMetrics.isEmpty()); in testGetMetrics_OneProcess()
101 assertFalse(showmapMetrics.isEmpty()); in testGetMetrics_MultipleProcesses()
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DShellPrivilege.kt41 if (permissions.isEmpty()) { in grantMissingPermissions()
46 if (missingPermissions.isEmpty()) return false in grantMissingPermissions()
/platform_testing/libraries/flicker/utils/src/android/tools/
DScenarioImpl.kt46 override val isEmpty = testClass.isEmpty() constant
48 override val key = if (isEmpty) "empty" else "${testClass}_$description"
/platform_testing/libraries/metrics-helper/src/android/support/test/metricshelper/
DMetricsAsserts.java49 assertTrue(message, !logs.isEmpty()); in assertHasActionLog()
69 assertTrue(message, !logs.isEmpty()); in assertHasVisibilityLog()
88 while (!queue.isEmpty()) { in findMatchingLogs()
109 assertTrue(message, !findMatchingLogs(queue, expected).isEmpty()); in assertHasLog()
121 public boolean isEmpty() { in isEmpty() method in MetricsAsserts.ReaderQueue
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/
DPerfettoHelper.java118 if (textProtoConfig.isEmpty() && configFileName.isEmpty()) { in startCollecting()
124 if (!textProtoConfig.isEmpty()) { in startCollecting()
142 if (textProtoConfig == null || textProtoConfig.isEmpty()) { in startCollectingFromConfig()
215 if (configFileName == null || configFileName.isEmpty()) { in startCollectingFromConfigFile()
220 if (mConfigRootDir == null || mConfigRootDir.isEmpty()) { in startCollectingFromConfigFile()
281 if (output.isEmpty()) { in canSetupBeforeStartCollecting()
294 if (!startOutput.isEmpty()) { in canUpdateAfterStartCollecting()
456 if (!perfettoProcStatus.isEmpty()) { in isTestPerfettoRunning()
492 if (!moveResult.isEmpty()) { in copyFileOutput()
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/
DDispatchActivity.java53 if (mSimpleperfBin == null || mSimpleperfBin.isEmpty()) { in onCreate()
56 if (mSimpleperfEvt == null || mSimpleperfEvt.isEmpty()) { in onCreate()
59 if (mSimpleperfDir == null || mSimpleperfDir.isEmpty()) { in onCreate()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/
DLegacyFlickerServiceDecoratorTest.kt60 Truth.assertWithMessage("Failure count").that(failures).isEmpty() in passValidClass()
63 Truth.assertWithMessage("Failure count").that(failures).isEmpty() in passValidClass()
93 Truth.assertWithMessage("Unique methods").that(duplicatedMethods).isEmpty() in hasUniqueMethodNames()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DLayer.kt111 else -> !visibleRegion.isEmpty
139 if (bounds.isEmpty) reasons.add("Bounds is 0x0")
140 if (bounds.isEmpty && crop.isEmpty) reasons.add("Crop is 0x0")
152 if (visibleRegion?.isEmpty == true) {
155 if (reasons.isEmpty()) reasons.add("Unknown")
185 if (!crop.isEmpty) { in contains()
215 if (!crop.isEmpty) { in overlaps()
229 if (!activeBuffer.isEmpty) { in toString()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DProcessUtil.kt31 return if (pidofResult.isEmpty()) { in <lambda>()
37 (getPids("stopped") intersect initialPidsList).isEmpty() in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/inputmethod/
DIImeClientSubject.kt22 fun isEmpty(): ImeClientSubjectType method
DIInputMethodManagerServiceSubject.kt22 fun isEmpty(): InputMethodManagerServiceSubjectType method
DIInputMethodServiceSubject.kt22 fun isEmpty(): InputMethodServiceSubjectType method

123456789