Home
last modified time | relevance | path

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

12345678910>>...15

/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()
183 if (!allTests.isEmpty()) { in loadTests()
293 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 …]
DSuiteModuleLoader.java102 mIncludeAll = includeFilters.isEmpty(); in SuiteModuleLoader()
221 if (!mdIncludes.isEmpty()) { in addFiltersToTest()
224 if (!mdExcludes.isEmpty()) { in addFiltersToTest()
310 if (params.isEmpty() in loadOneConfig()
366 if (mainlineParams.isEmpty()) { in loadOneConfig()
476 return (mIncludeAll || !mdIncludes.isEmpty()) && !containsModuleExclude(mdExcludes); in shouldRunModule()
498 if (!baseInclude.isEmpty()) { in shouldRunParameterized()
505 if (mIncludeAll || !included.isEmpty() || !includedParam.isEmpty()) { in shouldRunParameterized()
646 if (parameters == null || parameters.isEmpty()) { in getModuleParameters()
689 if (parameters == null || parameters.isEmpty()) { in getMainlineModuleParameters()
/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/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/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/apksig/src/main/java/com/android/apksig/
DApkVerifier.java231 if (minSdkVersion < AndroidSdkVersion.P || foundApkSigSchemeIds.isEmpty()) { in verify()
277 if (foundApkSigSchemeIds.isEmpty()) { in verify()
292 if ((minSdkVersion < AndroidSdkVersion.N) || (foundApkSigSchemeIds.isEmpty())) { in verify()
760 || foundApkSigSchemeIds.isEmpty())) { in verifySourceStamp()
773 if (minSdkVersion < AndroidSdkVersion.N || foundApkSigSchemeIds.isEmpty()) { in verifySourceStamp()
1189 if (!source.mSigners.isEmpty()) { in mergeFrom()
1223 if (!source.signers.isEmpty()) { in mergeFrom()
1237 if (!mErrors.isEmpty()) { in containsErrors()
1240 if (mWarningsAsErrors && !mWarnings.isEmpty()) { in containsErrors()
1243 if (!mV1SchemeSigners.isEmpty()) { in containsErrors()
[all …]
DSourceStampVerifier.java234 signatureSchemeApkContentDigests.isEmpty())) { in verifySourceStamp()
253 || signatureSchemeApkContentDigests.isEmpty()) { in verifySourceStamp()
459 if (signatureBlockRecords.isEmpty()) { in getApkContentDigestFromV1SigningScheme()
549 if (!source.mSigners.isEmpty()) { in mergeFrom()
599 if (!mErrors.isEmpty()) { in containsErrors()
718 return !mErrors.isEmpty(); in containsErrors()
757 return mCertificates.isEmpty() ? null : mCertificates.get(0); in getCertificate()
773 return !mErrors.isEmpty() || (mWarningsAsErrors && !mWarnings.isEmpty()); in containsErrors()
/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/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/metalava/src/main/java/com/android/tools/metalava/
DDiff.kt61 before.split("\n".toRegex()).dropLastWhile { it.isEmpty() }.toTypedArray(), in getDiff()
62 after.split("\n".toRegex()).dropLastWhile { it.isEmpty() }.toTypedArray(), in getDiff()
113 if (!before[i].trim { it <= ' ' }.isEmpty()) { in getDiff()
121 if (!after[j].trim { it <= ' ' }.isEmpty()) { in getDiff()
149 if (!before[i].trim { it <= ' ' }.isEmpty()) { in getDiff()
158 if (!after[j].trim { it <= ' ' }.isEmpty()) { in getDiff()
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/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/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/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigResult.java45 if (!mErrors.isEmpty()) { in containsErrors()
48 if (!mSigners.isEmpty()) { in containsErrors()
62 if (!mWarnings.isEmpty()) { in containsWarnings()
65 if (!mSigners.isEmpty()) { in containsWarnings()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java300 if (signers.isEmpty()) { in verify()
347 if (signers.isEmpty()) { in verify()
502 if (signedData.signerInfos.isEmpty()) { in verifySigBlockAgainstSigFile()
605 if (!apiLevelsWhereDigestAlgorithmNotSupported.isEmpty()) { in verifySignerInfoAgainstSigFile()
924 boolean digestFound = !expectedDigests.isEmpty(); in verifyManifestDigest()
967 if (expectedDigests.isEmpty()) { in verifyManifestMainSectionDigest()
1006 if (expectedDigests.isEmpty()) { in verifyManifestIndividualSectionDigest()
1057 if (!foundApkSigSchemeIds.isEmpty()) { in checkForStrippedApkSignatures()
1066 if (supportedApkSigSchemeNames.isEmpty()) { in checkForStrippedApkSignatures()
1075 if (idText.isEmpty()) { in checkForStrippedApkSignatures()
[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()
/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()
DAppTransitionTests.java183 if (null != mColdLaunchApps && !mColdLaunchApps.isEmpty()) { in run()
200 if (null != mHotLaunchApps && !mHotLaunchApps.isEmpty()) { in run()
217 if ((null != mAppToRecents && !mAppToRecents.isEmpty()) in run()
218 && (null != mPreLaunchApps && !mPreLaunchApps.isEmpty())) { in run()
237 if ((null != mRecentsToApp && !mRecentsToApp.isEmpty()) in run()
238 && (null != mPreLaunchApps && !mPreLaunchApps.isEmpty())) { in run()
257 if (!mClasses.isEmpty()) { in run()
323 if(mRunnerName.isEmpty()) { in createRemoteAndroidTestRunner()
331 if (null != preLaunchApps && !preLaunchApps.isEmpty()) { in createRemoteAndroidTestRunner()
393 if (!mClasses.isEmpty()) { in createTestRunner()
[all …]
/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/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()
/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/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt236 if (!extendsListTypes.isEmpty()) { in <lambda>()
251 setInterfaces(if (interfaces.isEmpty() && extendsListTypes.size <= 1) { in <lambda>()
291 if (maps.isEmpty()) { in <lambda>()
335 if (replacementMap.isEmpty()) { in <lambda>()
345 if (template.throwsTypes().isEmpty()) { in <lambda>()
464 assert(constructors.isEmpty()) in <lambda>()
470 if (!psiFields.isEmpty()) { in <lambda>()
521 item.innerClasses = if (psiInnerClasses.isEmpty()) { in <lambda>()
614 …if (constructors.isEmpty() && !psiClass.isInterface && !psiClass.isAnnotationType && !psiClass.isE… in <lambda>()
/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()

12345678910>>...15