/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/ |
D | DumpsysMeminfoHelperTest.java | 70 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()
|
D | TotalPssHelperTest.java | 64 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()
|
D | ProcessShowmapHelperTest.java | 73 assertTrue(showmapMetrics.isEmpty()); in testEmptyProcessName() 91 assertFalse(showmapMetrics.isEmpty()); in testGetMetrics_OneProcess() 101 assertFalse(showmapMetrics.isEmpty()); in testGetMetrics_MultipleProcesses()
|
D | FreeMemHelperTest.java | 51 assertFalse(freeMemMetrics.isEmpty()); in testGetMetrics()
|
/platform_testing/libraries/metrics-helper/src/android/support/test/metricshelper/ |
D | MetricsAsserts.java | 49 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/ |
D | DispatchActivity.java | 53 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/ |
D | DumpsysMeminfoHelper.java | 114 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()
|
D | GarbageCollectionHelper.java | 82 if (!pidofOutput.isEmpty()) { in garbageCollect()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | ShowmapSnapshotListener.java | 95 if (metricNameIndexArg != null && !metricNameIndexArg.isEmpty()) { in setupAdditionalArgs() 101 if (procsString == null || procsString.isEmpty()) { in setupAdditionalArgs()
|
D | JankListener.java | 59 .filter(item -> !item.isEmpty()) in setupAdditionalArgs()
|
D | BinderListener.java | 59 .filter(item -> !item.isEmpty()) in setupAdditionalArgs()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/ |
D | AssertionsCheckerTest.java | 106 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/ |
D | PerfettoHelper.java | 72 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/ |
D | GrantPermissionUtil.java | 40 if (!missingPermissions.isEmpty()) { in grantAllPermissions() 51 if (!missingPermissions.isEmpty()) { in dumpMissingPermissions()
|
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/ |
D | AppLaunchTests.java | 103 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/ |
D | HelperAccessor.java | 50 if (mPrefix == null || mPrefix.isEmpty()) { in get()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | TracePointRule.java | 64 if (mSectionTag == null || mSectionTag.isEmpty()) { in getSectionName()
|
/platform_testing/libraries/device-collectors/src/hostsidetests/src/com/android/collectors/ |
D | DeviceCollectorsTest.java | 124 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/ |
D | WmTraceSubject.java | 111 if (actual().getEntries().isEmpty()) { in inTheBeginning() 119 if (actual().getEntries().isEmpty()) { in atTheEnd() 128 if (!failures.isEmpty()) { in test()
|
D | LayersTraceSubject.java | 130 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/ |
D | PowerTestHelper.java | 81 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/ |
D | JankCollectionHelper.java | 171 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/ |
D | MappedMultiException.java | 55 if (mThrowables.isEmpty()) { in getMessage()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | ProcessStatusTracker.java | 72 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/ |
D | AppStartupHelper.java | 118 if (!typeKey.isEmpty()) { in getMetrics() 158 if (!metricKey.isEmpty()) { in getMetrics() 195 if (!typeKey.isEmpty()) { in getMetrics()
|