Home
last modified time | relevance | path

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

12

/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/
DDumpsysMeminfoHelperTest.java70 assertTrue(results.isEmpty()); in testCollectMeminfo_noProcess()
78 assertTrue(results.isEmpty()); in testCollectMeminfo_nullProcess()
86 assertTrue(results.isEmpty()); in testCollectMeminfo_wrongProcesses()
95 assertFalse(results.isEmpty()); in testCollectMeminfo_oneProcess()
105 assertFalse(results.isEmpty()); in testCollectMeminfo_multipleProcesses()
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()
DProcessShowmapHelperTest.java73 assertTrue(showmapMetrics.isEmpty()); in testEmptyProcessName()
91 assertFalse(showmapMetrics.isEmpty()); in testGetMetrics_OneProcess()
101 assertFalse(showmapMetrics.isEmpty()); in testGetMetrics_MultipleProcesses()
DFreeMemHelperTest.java51 assertFalse(freeMemMetrics.isEmpty()); in testGetMetrics()
/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/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/collectors-helper/memory/src/com/android/helpers/
DDumpsysMeminfoHelper.java114 if (isEmpty(processName)) { in getRawDumpsysMeminfo()
119 if (isEmpty(pidStr)) { in getRawDumpsysMeminfo()
170 private boolean isEmpty(String input) { in isEmpty() method in DumpsysMeminfoHelper
171 return input == null || input.isEmpty(); in isEmpty()
DGarbageCollectionHelper.java82 if (!pidofOutput.isEmpty()) { in garbageCollect()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DShowmapSnapshotListener.java95 if (metricNameIndexArg != null && !metricNameIndexArg.isEmpty()) { in setupAdditionalArgs()
101 if (procsString == null || procsString.isEmpty()) { in setupAdditionalArgs()
DJankListener.java59 .filter(item -> !item.isEmpty()) in setupAdditionalArgs()
DBinderListener.java59 .filter(item -> !item.isEmpty()) in setupAdditionalArgs()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DAssertionsCheckerTest.java106 assertThat(failures).isEmpty(); in emptyRangePasses()
118 assertThat(failures).isEmpty(); in canCheckChangingAssertions()
128 assertThat(failures).isEmpty(); in canCheckChangingAssertions_withNoAssertions()
139 assertThat(failures).isEmpty(); in canCheckChangingAssertions_withSingleAssertion()
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/
DPerfettoHelper.java72 if (configFileName == null || configFileName.isEmpty()) { in startCollecting()
179 if (perfettoProcId.isEmpty()) { in isPerfettoRunning()
215 if (!moveResult.isEmpty()) { in copyFileOutput()
/platform_testing/utils/permissions/src/com/android/permissionutils/
DGrantPermissionUtil.java40 if (!missingPermissions.isEmpty()) { in grantAllPermissions()
51 if (!missingPermissions.isEmpty()) { in dumpMissingPermissions()
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/
DAppLaunchTests.java103 if (mAtraceCategory == null || mAtraceCategory.isEmpty()) { in setUp()
108 if (mDispatcher != null && !mDispatcher.isEmpty()) { in setUp()
114 if (mCustomActivityList == null || mCustomActivityList.isEmpty()) { in setUp()
117 if (mTargetUrl != null && !mTargetUrl.isEmpty()) { in setUp()
144 if (mDispatcher != null && !mDispatcher.isEmpty()) { in testAppLaunchPerformance()
278 if (!customActivityList.isEmpty()) { in getActivityList()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DHelperAccessor.java50 if (mPrefix == null || mPrefix.isEmpty()) { in get()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DTracePointRule.java64 if (mSectionTag == null || mSectionTag.isEmpty()) { in getSectionName()
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/
DDeviceCollectorsTest.java124 assertTrue(!result.getTestResults().isEmpty()); in testBaseListenerRuns_withExcludeFilters()
154 assertTrue(!result.getTestResults().isEmpty()); in testBaseListenerRuns_withIncludeAndExcludeFilters()
184 assertTrue(!result.getTestResults().isEmpty()); in testBaseListenerRuns_withIncludeFilters()
256 assertTrue(result.getRunMetrics().isEmpty()); in testLogOnly()
258 assertTrue(testResult.getValue().getMetrics().isEmpty()); in testLogOnly()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DWmTraceSubject.java111 if (actual().getEntries().isEmpty()) { in inTheBeginning()
119 if (actual().getEntries().isEmpty()) { in atTheEnd()
128 if (!failures.isEmpty()) { in test()
DLayersTraceSubject.java130 if (actual().getEntries().isEmpty()) { in inTheBeginning()
138 if (actual().getEntries().isEmpty()) { in atTheEnd()
147 if (!failures.isEmpty()) { in test()
/platform_testing/libraries/power-helper/src/com/android/helper/
DPowerTestHelper.java81 if (value != null && !value.isEmpty()) in getPropertyString()
104 if (value != null && !value.trim().isEmpty()) in getPropertyLong()
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DJankCollectionHelper.java171 if (mTrackedPackages.isEmpty()) { in startCollecting()
204 if (mTrackedPackages.isEmpty()) { in getMetrics()
254 if (pkg.isEmpty()) { in clearGfxInfo()
332 String.format(GFXINFO_OUTPUT_HEADER, (pkg.isEmpty() ? ".*" : pkg))); in getHeaderMatcher()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/exceptions/
DMappedMultiException.java55 if (mThrowables.isEmpty()) { in getMessage()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DProcessStatusTracker.java72 if (mPidTracker == null || mPidTracker.isEmpty()) { in getProcessDetails()
81 if (runningApps == null || runningApps.isEmpty()) { in getProcessDetails()
133 if (mPidTracker == null || mPidTracker.isEmpty()) { in setAllowProcessTracking()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DAppStartupHelper.java118 if (!typeKey.isEmpty()) { in getMetrics()
158 if (!metricKey.isEmpty()) { in getMetrics()
195 if (!typeKey.isEmpty()) { in getMetrics()

12