Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 101) sorted by relevance

12345

/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DBackupUtilsTest.java58 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue()
60 } else if (command.equals("bmgr enable true")) { in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue()
77 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse()
79 } else if (command.equals("bmgr enable true")) { in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse()
96 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableFalseAndEnabled_returnsTrue()
98 } else if (command.equals("bmgr enable false")) { in testEnableBackup_whenEnableFalseAndEnabled_returnsTrue()
115 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableFalseAndDisabled_returnsFalse()
117 } else if (command.equals("bmgr enable false")) { in testEnableBackup_whenEnableFalseAndDisabled_returnsFalse()
135 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableTrueAndEnabledAndCommandsReturnMultipleLines()
137 } else if (command.equals("bmgr enable true")) { in testEnableBackup_whenEnableTrueAndEnabledAndCommandsReturnMultipleLines()
[all …]
/test/suite_harness/common/host-side/manifest-generator/src/com/android/compatibility/common/generator/
DManifestGenerator.java52 if (args[i].equals("-p")) { in main()
54 } else if (args[i].equals("-a")) { in main()
56 } else if (args[i].equals("-l")) { in main()
58 } else if (args[i].equals("-o")) { in main()
60 } else if (args[i].equals("-i")) { in main()
62 } else if (args[i].equals("-r")) { in main()
64 } else if (args[i].equals("-s")) { in main()
66 } else if (args[i].equals("-t")) { in main()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DTestResultHistory.java72 public boolean equals(Object o) { in equals() method in TestResultHistory
80 return Objects.equals(mTestName, that.mTestName) in equals()
81 && Objects.equals(mExecutionRecords, that.mExecutionRecords); in equals()
153 public boolean equals(Object o) { in equals() method in TestResultHistory.ExecutionRecord
DBackupUtils.java184 if ("Backup is not allowed".equals(result)) { in assertBackupNotAllowed()
208 if ("success".equals(result)) { in assertBackupIsSuccessful()
280 previouslyEnabled = "enabled".equals(matcher.group(1)); in enableBackup()
374 if (transport.equals(t)) { in userHasBackupTransport()
DResultHandler.java136 if (LATEST_RESULT_DIR.equals(resultDir.getName())) { in getLightResults()
269 if (parser.getName().equals(FAILURE_TAG)) { in getResultFromDir()
278 } else if (parser.getName().equals(BUGREPORT_TAG)) { in getResultFromDir()
281 } else if (parser.getName().equals(LOGCAT_TAG)) { in getResultFromDir()
284 } else if (parser.getName().equals(SCREENSHOT_TAG)) { in getResultFromDir()
287 } else if (SUMMARY_TAG.equals(parser.getName())) { in getResultFromDir()
289 } else if (METRIC_TAG.equals(parser.getName())) { in getResultFromDir()
293 } else if (RUN_HISTORY_TAG.equals(parser.getName())) { in getResultFromDir()
459 entry.getKey().equals(BUILD_FINGERPRINT)) { in writeResults()
DReadElf.java866 if (".symtab".equals(symTabName)) { in readSectionHeaders()
870 } else if (".dynsym".equals(symTabName)) { in readSectionHeaders()
881 if (".strtab".equals(strTabName)) { in readSectionHeaders()
888 } else if (".dynstr".equals(strTabName)) { in readSectionHeaders()
907 if (".gnu.version".equals(strTabName)) { in readSectionHeaders()
917 if (".gnu.version_r".equals(strTabName)) { in readSectionHeaders()
928 if (".gnu.version_d".equals(strTabName)) { in readSectionHeaders()
939 if (".rodata".equals(strTabName)) { in readSectionHeaders()
1013 if (!symName.equals("")) { in readSymbolTable()
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/util/
DProcessHelperTest.java128 assertTrue(mProcessHelper.getStdout().equals("123\n")); in testSuccess()
129 assertTrue(mProcessHelper.getStderr().equals("456\n")); in testSuccess()
141 assertTrue(mProcessHelper.getStdout().equals("123\n")); in testFailure()
142 assertTrue(mProcessHelper.getStderr().equals("456\n")); in testFailure()
DVtsPythonRunnerHelperTest.java61 if (key.equals("PATH")) { in createMockRunUtil()
70 if (command.length == 2 && command[0].equals("which") in createMockRunUtil()
71 && command[1].equals("python")) { in createMockRunUtil()
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
DVtsMultiDeviceTestResultParser.java122 if (toks.length < 3 || !toks[toks.length - 1].equals(END_PATTERN) || !toks[toks.length - 3]. in processNewLines()
123 equals(BEGIN_PATTERN)) { in processNewLines()
147 if (mCurrentParseState.equals(ParserState.TEST_RUN)) { in processNewLines()
233 if (lastToken.equals(PASS)){ in testRun()
236 } else if (lastToken.equals(FAIL)){ in testRun()
239 } else if (lastToken.equals(SKIP)){ in testRun()
404 if (!result.equals(SKIP)) { in processJsonFile()
425 if (!result.equals(SKIP)) { in processJsonFile()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DDeviceInfoEntity.java232 if (!e.getKind().equals(KIND) || !e.hasProperty(BRANCH) || !e.hasProperty(PRODUCT) in fromEntity()
283 public boolean equals(Object obj) { in equals() method in DeviceInfoEntity
288 if (!this.branch.equals(device2.branch) || !this.product.equals(device2.product) in equals()
289 || !this.buildFlavor.equals(device2.buildFlavor) in equals()
290 || !this.buildId.equals(device2.buildId)) { in equals()
DTestEntity.java122 public boolean equals(Object obj) { in equals() method in TestEntity
128 this.testName.equals(test2.testName) && in equals()
140 if (!e.getKind().equals(KIND) || e.getKey().getName() == null) { in fromEntity()
DBuildTargetEntity.java66 if (buildTargetName.equals("*")) { in getByBuildTarget()
104 if (!e.getKind().equals(KIND) || e.getKey().getName() == null) { in fromEntity()
DBranchEntity.java61 if (branchName.equals("*")) { in getByBranch()
104 if (!e.getKind().equals(KIND) || e.getKey().getName() == null) { in fromEntity()
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DBusinessLogicHostExecutor.java89 if (argsUsed == args.length && paramType.equals(String.class)) { in getResolvedMethod()
97 if (paramType.equals(String.class)) { in getResolvedMethod()
104 } else if (paramType.equals(Class.forName(STRING_ARRAY_CLASS))) { in getResolvedMethod()
DPropertyUtil.java58 if (TAG_DEV_KEYS.equals(tag.trim())) { in isDevKeysBuild()
128 return value.equals(device.getProperty(property)); in propertyEquals()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DRetryFilterHelper.java110 if (!oldBuildFingerprint.equals(currentBuildFingerprint)) { in validateBuildFingerprint()
201 if (RetryType.CUSTOM.equals(mRetryType)) { in populateRetryFilters()
234 if (RetryType.FAILED.equals(mRetryType)) { in populateFiltersBySubPlan()
237 } else if (RetryType.NOT_EXECUTED.equals(mRetryType)){ in populateFiltersBySubPlan()
303 if (module.equals(TestFilter.createFrom(filter).getName())) { in cleanFilters()
/test/vts/testcases/host/fastboot_getvar/src/com/android/tests/
DFastbootGetvarUserspaceTest.java69 if (!TestDeviceState.FASTBOOT.equals(mDevice.getDeviceState())) { in setUp()
124 assertTrue(dynamic_partition.equals("true")); in testDynamicPartition()
132 assertTrue(treble_enabled.equals("true") || treble_enabled.equals("false")); in testTrebleEnable()
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsTraceCollectPreparer.java110 || (!mEnforcingState.equals(SELINUX_DISABLED) in setUp()
111 && !mEnforcingState.equals(SELINUX_PERMISSIVE))) { in setUp()
121 if (mEnforcingState != null && !mEnforcingState.equals(SELINUX_DISABLED)) { in tearDown()
DVtsCoveragePreparer.java114 boolean gcovEnabled = (coverageProperty != null) && coverageProperty.equals("1"); in setUp()
233 if (!mEnforcingState.equals(SELINUX_DISABLED) in setUp()
234 && !mEnforcingState.equals(SELINUX_PERMISSIVE)) { in setUp()
253 if (mEnforcingState != null && !mEnforcingState.equals(SELINUX_DISABLED)) { in tearDown()
/test/vts/harnesses/tradefed/src/com/android/compatibility/common/tradefed/build/
DVtsCompatibilityInvocationHelper.java41 if (testCasesRootDirPath != null && !testCasesRootDirPath.trim().equals("")) { in getTestsDir()
47 if (rootDirPath == null || rootDirPath.trim().equals("")) { in getTestsDir()
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsProfilingStatsJobServletTest.java279 pps.getBranch().equals(device.getBranch()) in testNewSummary()
280 || pps.getBranch().equals(ProfilingPointSummaryEntity.ALL)); in testNewSummary()
282 pps.getBuildFlavor().equals(ProfilingPointSummaryEntity.ALL) in testNewSummary()
283 || pps.getBuildFlavor().equals(device.getBuildFlavor())); in testNewSummary()
373 assertTrue(pps.getBranch().equals(device.getBranch())); in testUpdateSummary()
374 assertTrue(pps.getBuildFlavor().equals(device.getBuildFlavor())); in testUpdateSummary()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DBuildFingerPrintPreparer.java65 if (!compare.equals(currentBuildFingerprint)) { in setUp()
79 if (!mExpectedVendorFingerprint.equals(currentBuildVendorFingerprint)) { in setUp()
/test/vti/dashboard/src/main/java/com/android/vts/api/
DCoverageRestServlet.java154 if (cmd.equals("disable")) { in postCoverageData()
164 cmd.equals("disable") in postCoverageData()
170 cmd.equals("disable") in postCoverageData()
/test/vts/testcases/host/selinux_test/src/com/android/tests/selinux/
DKernelSelinuxFileApiTest.java67 assertTrue("Results not valid!", "0".equals(content) || "1".equals(content)); in testSelinuxCheckReqProt()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DSubPlanHelper.java359 if (!NOT_EXECUTED.equals(resultType)) { in getStatusesToRun()
405 if (!type.equals(PASSED) && !type.equals(FAILED) && !type.equals(NOT_EXECUTED)) { in setupFields()

12345