Home
last modified time | relevance | path

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

12345678910>>...14

/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()
299 if (!installedPackages.isEmpty()) { in getModulesToInstall()
318 if (!installedPackages.isEmpty()) { in getModulesToInstall()
[all …]
DDeviceSetup.java481 boolean wifiSet = mWifiSsid != null || !mWifiSsidToPsk.isEmpty(); in tearDown()
540 if (!mDeprecatedSetProps.isEmpty()) { in processDeprecatedOptions()
541 if (!mSetProps.isEmpty()) { in processDeprecatedOptions()
797 if (mSystemSettings.isEmpty() && mSecureSettings.isEmpty() && mGlobalSettings.isEmpty() && in changeSettings()
897 if (mWifiSsid == null && mWifiSsidToPsk.isEmpty()) { in connectWifi()
917 if (mWifiSsid != null || !mWifiSsidToPsk.isEmpty()) { in connectWifi()
/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/testtype/suite/
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 …]
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 …]
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/apksig/src/main/java/com/android/apksig/
DApkVerifier.java240 if (minSdkVersion < AndroidSdkVersion.P || foundApkSigSchemeIds.isEmpty()) { in verify()
271 if (foundApkSigSchemeIds.isEmpty()) { in verify()
283 if ((minSdkVersion < AndroidSdkVersion.N) || (foundApkSigSchemeIds.isEmpty())) { in verify()
468 && (parser.getNamespace().isEmpty())) { in getTargetSandboxVersionFromBinaryAndroidManifest()
673 if (!mErrors.isEmpty()) { in containsErrors()
676 if (!mV1SchemeSigners.isEmpty()) { in containsErrors()
683 if (!mV2SchemeSigners.isEmpty()) { in containsErrors()
690 if (!mV3SchemeSigners.isEmpty()) { in containsErrors()
751 return mCertChain.isEmpty() ? null : mCertChain.get(0); in getCertificate()
769 return !mErrors.isEmpty(); in containsErrors()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java302 if (signers.isEmpty()) { in verify()
349 if (signers.isEmpty()) { in verify()
504 if (signedData.signerInfos.isEmpty()) { in verifySigBlockAgainstSigFile()
607 if (!apiLevelsWhereDigestAlgorithmNotSupported.isEmpty()) { in verifySignerInfoAgainstSigFile()
773 if (encodedCertificates.isEmpty()) { in parseCertificates()
1448 boolean digestFound = !expectedDigests.isEmpty(); in verifyManifestDigest()
1491 if (expectedDigests.isEmpty()) { in verifyManifestMainSectionDigest()
1530 if (expectedDigests.isEmpty()) { in verifyManifestIndividualSectionDigest()
1581 if (!foundApkSigSchemeIds.isEmpty()) { in checkForStrippedApkSignatures()
1590 if (supportedApkSigSchemeNames.isEmpty()) { in checkForStrippedApkSignatures()
[all …]
/tools/tradefederation/contrib/src/com/android/performance/tests/
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 …]
DHermeticLaunchTest.java191 if (mSectionOptionSet.isEmpty()) { in run()
211 if (mRunnerName.isEmpty()) { in run()
230 (mActivityTraceFileMap != null && !mActivityTraceFileMap.isEmpty())); in run()
257 if (activityMetrics != null && !activityMetrics.isEmpty()) { in reportMetrics()
290 if (!mInstantAppUrl.isEmpty()) { in createRemoteAndroidTestRunner()
293 if (mactivityNames != null && !mactivityNames.isEmpty()) { in createRemoteAndroidTestRunner()
365 if (mInstantAppUrl.isEmpty()) { in analyzeLogCatData()
545 if (line.isEmpty() in parseAtraceInfoFile()
591 if (endProcId.isEmpty() || endProcId.equals(processId)) { in parseAtraceInfoFile()
DHermeticMemoryTest.java108 if (!preMemInfo.isEmpty()) { in run()
125 if (mIntentAction.isEmpty()) { in run()
141 if (!postMemInfo.isEmpty()) { in run()
151 if (!dumpsysMemInfo.isEmpty()) { in run()
157 if (!mapsInfo.isEmpty()) { in run()
162 if (!sMapsInfo.isEmpty()) { in run()
167 if (!statusInfo.isEmpty()) { in run()
/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()
/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/apksig/src/apksigner/java/com/android/apksigner/
DApkSignerTool.java158 if (!signerParams.isEmpty()) { in sign()
208 if (!providerParams.isEmpty()) { in sign()
227 if (!signerParams.isEmpty()) { in sign()
231 if (!providerParams.isEmpty()) { in sign()
236 if (signers.isEmpty()) { in sign()
571 if (!providerParams.isEmpty()) { in rotate()
590 if (!providerParams.isEmpty()) { in rotate()
595 if (oldSignerParams.isEmpty()) { in rotate()
599 if (newSignerParams.isEmpty()) { in rotate()
868 if (signerParams.isEmpty()) { in processSignerParams()
[all …]
/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/device/
DNativeDevice.java486 if (result.getStdout() == null || result.getStdout().trim().isEmpty()) { in getProperty()
676 if (alias == null || alias.isEmpty()) { in getBuildAlias()
701 if (buildFlavor != null && !buildFlavor.isEmpty()) { in getBuildFlavor()
1528 if (lsOutput.trim().isEmpty()) { in getChildren()
1637 if (children.isEmpty()) { in pullDir()
2558 if (!bugreportDir.isEmpty()) { in getBugreportzInternal()
2824 if (!samples.isEmpty()) { in disableNetworkMonitor()
3529 if (!output.isEmpty() && !(output.startsWith("200 ") && output.endsWith(" 0"))) { in unlockDevice()
3536 } while (output.isEmpty() && ++i < 3); in unlockDevice()
3538 if (output.isEmpty()) { in unlockDevice()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt60 fun isEmpty(): Boolean in <lambda>() method
99 if (options.showAnnotations.isEmpty()) { in <lambda>()
113 if (options.showSingleAnnotations.isEmpty()) { in <lambda>()
126 if (options.showForStubPurposesAnnotations.isEmpty()) { in <lambda>()
142 if (options.hideAnnotations.isEmpty() && options.hideMetaAnnotations.isEmpty()) { in <lambda>()
162 if (options.hideMetaAnnotations.isEmpty()) { in <lambda>()
/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()
/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/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/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java291 if (fileRecords == null || fileRecords.isEmpty()) { in getFile()
307 if (fileRecords == null || fileRecords.isEmpty()) { in getVersionedFile()
343 if (fileRecords == null || fileRecords.isEmpty()) { in getVersion()
627 if (buildClass.isEmpty()) { in fromProto()
644 if (!protoBuild.getBuildId().isEmpty()) { in fromProto()
648 if (!protoBuild.getBuildFlavor().isEmpty()) { in fromProto()
652 if (!protoBuild.getBranch().isEmpty()) { in fromProto()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypePrinter.kt158 if (annotations.isEmpty() && suffix == null) return "?" in <lambda>()
242 if (annotations.isEmpty()) return type.name in <lambda>()
264 if (!StringUtil.isEmpty(prefix)) { in <lambda>()
287 … return reference.getCanonicalText(true, if (annotations.isEmpty()) null else annotations) in <lambda>()
334 if (!StringUtil.isEmpty(prefix)) { in <lambda>()
428 if (types.isEmpty()) return in <lambda>()
582 if (!StringUtil.isEmpty(prefix)) { in <lambda>()
DPsiClassItem.kt256 setInterfaces(if (interfaces.isEmpty() && extendsListTypes.size <= 1) { in <lambda>()
296 if (maps.isEmpty()) { in <lambda>()
340 if (replacementMap.isEmpty()) { in <lambda>()
350 if (template.throwsTypes().isEmpty()) { in <lambda>()
482 assert(constructors.isEmpty()) in <lambda>()
539 item.innerClasses = if (psiInnerClasses.isEmpty()) { in <lambda>()
591 …if (constructors.isEmpty() && !psiClass.isInterface && !psiClass.isAnnotationType && !psiClass.isE… in <lambda>()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFile.java1410 if (entries.isEmpty()) { in appendCentralDirectory()
1442 if (entries.isEmpty()) { in getCentralDirectoryBytes()
1465 Preconditions.checkState(entries.isEmpty(), in computeEocd()
1804 while (!uncompressedEntries.isEmpty()) { in processAllReadyEntries()
1838 while (!uncompressedEntries.isEmpty()) { in processAllReadyEntriesWithWait()
2249 while (!toRun.isEmpty()) { in notify()
2511 if (entries.isEmpty()) { in getCentralDirectoryOffset()
2534 if (entries.isEmpty()) { in getCentralDirectorySize()
2686 Verify.verify(uncompressedEntries.isEmpty()); in sortZipContents()

12345678910>>...14