Home
last modified time | relevance | path

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

12345678910>>...12

/tools/tradefederation/core/src/com/android/tradefed/util/
DSimpleStats.java65 public boolean isEmpty() { in isEmpty() method in SimpleStats
66 return mData.isEmpty(); in isEmpty()
80 if (isEmpty()) { in mean()
91 if (isEmpty()) { in median()
112 if (isEmpty()) { in min()
124 if (isEmpty()) { in max()
140 if (isEmpty()) { in stdev()
162 if (isEmpty()) { in meanOverOneStandardDeviationRange()
DTestFilterHelper.java181 if (!mExcludeAnnotations.isEmpty()) { in isExcluded()
193 if (!mIncludeAnnotations.isEmpty()) { in isIncluded()
234 if (mIncludeAnnotations.isEmpty() in shouldRun()
240 return mIncludeFilters.isEmpty() in shouldRun()
283 return mIncludeFilters.isEmpty() in shouldRun()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunner.java112 if (mTestGroup == null && includeFilter.isEmpty()) { in loadTests()
117 if (mTestGroup == null && !mKeywords.isEmpty()) { in loadTests()
121 if (mTestGroup == null && !mTestModulesForced.isEmpty()) { in loadTests()
126 if (mTestGroup != null && !includeFilter.isEmpty()) { in loadTests()
131 if (!includeFilter.isEmpty() && !mTestMappingPaths.isEmpty()) { in loadTests()
138 if (!mTestMappingPaths.isEmpty()) { in loadTests()
144 if (!mTestModulesForced.isEmpty()) { in loadTests()
152 if (testInfosToRun.isEmpty()) { in loadTests()
178 if (!allTests.isEmpty()) { in loadTests()
273 if (option.getValue() != null && !option.getValue().isEmpty()) { in parseOptions()
[all …]
DITestSuite.java411 if (runConfig.isEmpty()) { in loadAndFilter()
421 if (!mModuleMetadataIncludeFilter.isEmpty() in loadAndFilter()
422 || !mModuleMetadataExcludeFilter.isEmpty()) { in loadAndFilter()
507 if (runConfig.isEmpty()) { in createExecutionList()
608 if (mRunModules.isEmpty()) { in run()
651 while (!mRunModules.isEmpty()) { in run()
839 if (!failures.isEmpty()) { in runPreModuleCheck()
887 if (!failures.isEmpty()) { in runPostModuleCheck()
912 if (!failures.isEmpty()) { in reportModuleCheckerResult()
939 if (runConfig.isEmpty()) { in split()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleSplitterTest.java82 assertTrue(config.getTests().isEmpty()); in testSplitModule_configNotShardable()
83 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_configNotShardable()
117 assertTrue(config.getTests().isEmpty()); in testSplitModule_configNotStrictShardable_dynamic()
118 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_configNotStrictShardable_dynamic()
152 assertTrue(config.getTests().isEmpty()); in testSplitModule_configNotStrictShardable_notDynamic()
153 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_configNotStrictShardable_notDynamic()
181 assertTrue(config.getTests().isEmpty()); in testSplitModule_noIntraModuleSharding()
182 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_noIntraModuleSharding()
221 assertTrue(config.getTests().isEmpty()); in testSplitModule_testNotShardable()
222 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_testNotShardable()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DHprofAllocSiteParserTest.java71 assertFalse(results.isEmpty()); in testParse()
86 assertTrue(results.isEmpty()); in testParse_invalidContent()
97 assertTrue(results.isEmpty()); in testParse_noFile()
105 assertTrue(results.isEmpty()); in testParse_fileDoesNotExists()
DResourceUtilTest.java39 assertTrue(res.isEmpty()); in testLoadNonExisting()
59 assertTrue(res.isEmpty()); in testLoad_invalid()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDynamicFileStubTest.java89 if (mFileList != null && !mFileList.isEmpty()) { in checkDynamicFileList()
95 if (!nonExistFiles.isEmpty()) { in checkDynamicFileList()
106 if (mFileMap != null && !mFileMap.isEmpty()) { in checkDynamicFileMap()
115 if (!nonExistFiles.isEmpty()) { in checkDynamicFileMap()
127 if (mFileMultiMap != null && !mFileMultiMap.isEmpty()) { in checkDynamicFileMultiMap()
138 if (!nonExistFiles.isEmpty()) { in checkDynamicFileMultiMap()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/host/
DCoverageMeasurementForwarderTest.java143 assertThat(mCapturedNativeLogs).isEmpty(); in testForwardSingleJavaArtifact()
157 assertThat(mCapturedNativeLogs).isEmpty(); in testForwardMultipleJavaArtifacts()
169 assertThat(mCapturedJavaLogs).isEmpty(); in testNoSuchJavaArtifact()
170 assertThat(mCapturedNativeLogs).isEmpty(); in testNoSuchJavaArtifact()
179 assertThat(mCapturedJavaLogs).isEmpty(); in testForwardSingleNativeArtifact()
190 assertThat(mCapturedJavaLogs).isEmpty(); in testForwardMultipleNativeArtifacts()
209 assertThat(mCapturedJavaLogs).isEmpty(); in testNoSuchNativeArtifact()
210 assertThat(mCapturedNativeLogs).isEmpty(); in testNoSuchNativeArtifact()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DMultiFailureDescription.java66 if (mFailures.isEmpty()) { in getFailureStatus()
75 if (mFailures.isEmpty()) { in getErrorMessage()
84 if (mFailures.isEmpty()) { in getErrorIdentifier()
93 if (mFailures.isEmpty()) { in getOrigin()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparer.java97 if (getTestsFileName().isEmpty()) { in setUp()
112 if (testAppFiles.isEmpty()) { in setUp()
118 if (mTestApexInfoList.isEmpty()) { in setUp()
133 if (mTestApexInfoList.isEmpty()) { in setUp()
141 if (activatedApexes.isEmpty()) { in setUp()
156 if (!failToActivateApex.isEmpty()) { in setUp()
173 if (mTestApexInfoList.isEmpty() && getApkInstalled().isEmpty()) { in tearDown()
179 if (!mTestApexInfoList.isEmpty()) { in tearDown()
296 if (!installedPackages.isEmpty()) { in getModulesToInstall()
315 if (!installedPackages.isEmpty()) { in getModulesToInstall()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DDeviceSettingChecker.java80 if (newSettings == null || newSettings.isEmpty()) { in preExecutionCheck()
86 if (failedNamespaces.isEmpty()) { in preExecutionCheck()
127 if (!settingsOnlyInOld.isEmpty()) { in postExecutionCheck()
135 if (!settingsOnlyInNew.isEmpty()) { in postExecutionCheck()
141 if (!failureInfo.isEmpty()) { in postExecutionCheck()
146 if (failureMap.isEmpty()) { in postExecutionCheck()
/tools/metalava/src/main/java/com/android/tools/metalava/
DAnnotationFilter.kt21 fun isEmpty(): Boolean in <lambda>() method
75 override fun isEmpty(): Boolean { in isEmpty() method in com.android.tools.metalava.MutableAnnotationFilter
76 return inclusionExpressions.isEmpty() in isEmpty()
80 return !isEmpty() in isNotEmpty()
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationFilter.java83 return mIncludeFilters.isEmpty() in checkIncludeFilters()
96 if (!mIncludeAnnotations.isEmpty()) { in checkIncludeAnnotations()
104 if (!neededAnnotation.isEmpty()) { in checkIncludeAnnotations()
113 if (!mExcludeAnnotations.isEmpty()) { in checkExcludeAnnotations()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DSandboxConfigDumpTest.java61 assertTrue(!output.isEmpty()); in testParseCommandLine()
82 assertTrue(!output.isEmpty()); in testParseCommandLine_filtered()
103 assertTrue(!output.isEmpty()); in testParseCommandLine_run()
/tools/tradefederation/contrib/src/com/android/uicd/tests/
DUiConductorTest.java220 if (!errors.isEmpty()) { in runTest()
319 return (!testFilesDir.isEmpty() && !filename.isEmpty()) in getTestFilesArgsForUicdBin()
325 return !outFilesDir.isEmpty() ? outFilesDir : ""; in getOutFilesArgsForUicdBin()
329 return !playMode.isEmpty() ? playMode : ""; in getPlaymodeArgForUicdBin()
345 if (!getTestFilesArgsForUicdBin(TESTS_RELATIVE_PATH, testFileName).isEmpty()) { in getCommand()
349 if (!getOutFilesArgsForUicdBin(OUTPUT_RELATIVE_PATH + "/" + testId).isEmpty()) { in getCommand()
353 if (!getPlaymodeArgForUicdBin().isEmpty()) { in getCommand()
357 if (!getDevIdsArgsForUicdBin().isEmpty()) { in getCommand()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceAvdInfo.java200 if (d.has(buildVar) && !d.getString(buildVar).trim().isEmpty()) { in parseGceInfoFromString()
216 if (errors.isEmpty()) { in parseGceInfoFromString()
237 if (!fetch_artifact_time.isEmpty()) { in addCfStartTimeMetrics()
243 if (!gce_create_time.isEmpty()) { in addCfStartTimeMetrics()
249 if (!launch_cvd_time.isEmpty()) { in addCfStartTimeMetrics()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DExecutionProperties.java74 public boolean isEmpty() { in isEmpty() method in ExecutionProperties
75 return mProperties.isEmpty(); in isEmpty()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestDescriptionsFileTest.java40 assertThat(FileUtil.readStringFromFile(file)).isEmpty(); in getFile_empty()
80 assertThat(tdf.getTests()).isEmpty(); in getTests_empty()
92 assertThat(tests).isEmpty(); in fromFile_empty()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DHermeticMemoryTest.java109 if (!preMemInfo.isEmpty()) { in run()
126 if (mIntentAction.isEmpty()) { in run()
142 if (!postMemInfo.isEmpty()) { in run()
152 if (!dumpsysMemInfo.isEmpty()) { in run()
158 if (!mapsInfo.isEmpty()) { in run()
163 if (!sMapsInfo.isEmpty()) { in run()
168 if (!statusInfo.isEmpty()) { in run()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DRetryStatsHelper.java35 if (!mResults.isEmpty()) { in addResultsFromRun()
46 if (!mResults.isEmpty()) { in calculateStatistics()
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java259 if (minSdkVersion < AndroidSdkVersion.P || foundApkSigSchemeIds.isEmpty()) { in verify()
305 if (foundApkSigSchemeIds.isEmpty()) { in verify()
320 if ((minSdkVersion < AndroidSdkVersion.N) || (foundApkSigSchemeIds.isEmpty())) { in verify()
747 && (parser.getNamespace().isEmpty())) { in getAttributeValueFromBinaryAndroidManifest()
988 if (!source.signers.isEmpty()) { in mergeFrom()
1004 if (!mErrors.isEmpty()) { in containsErrors()
1007 if (!mV1SchemeSigners.isEmpty()) { in containsErrors()
1014 if (!mV2SchemeSigners.isEmpty()) { in containsErrors()
1021 if (!mV3SchemeSigners.isEmpty()) { in containsErrors()
1085 return mCertChain.isEmpty() ? null : mCertChain.get(0); in getCertificate()
[all …]
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/
DModel.kt64 fun isEmpty(): Boolean = processes.isEmpty() method
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DAndroidJUnitTest.java387 if (!classArg.isEmpty()) { in setRunnerArgs()
391 if (!notClassArg.isEmpty()) { in setRunnerArgs()
395 if (!packageArg.isEmpty()) { in setRunnerArgs()
399 if (!notPackageArg.isEmpty()) { in setRunnerArgs()
403 if (!regexArg.isEmpty()) { in setRunnerArgs()
413 if (!mIncludeAnnotation.isEmpty()) { in setRunnerArgs()
417 if (!mExcludeAnnotation.isEmpty()) { in setRunnerArgs()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java78 if (!metrics.isEmpty()) { in testEnded()
127 if (getMergedTestRunResults().isEmpty() && mLogFiles.isEmpty()) { in getInvocationSummary()
133 if (!mLogFiles.isEmpty()) { in getInvocationSummary()
143 if (!invocationFailures.isEmpty()) { in getInvocationSummary()
204 if (!stacktrace.isEmpty()) { in getInvocationSummary()
373 if (stack != null && !stack.isEmpty()) { in getTestSummary()

12345678910>>...12