/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | ApkSignerTool.java | 79 if ((params.length == 0) || ("--help".equals(params[0])) || ("-h".equals(params[0]))) { in main() 82 } else if ("--version".equals(params[0])) { in main() 93 if ("sign".equals(cmd)) { in main() 96 } else if ("verify".equals(cmd)) { in main() 99 } else if ("rotate".equals(cmd)) { in main() 102 } else if ("lineage".equals(cmd)) { in main() 105 } else if ("help".equals(cmd)) { in main() 108 } else if ("version".equals(cmd)) { in main() 178 if (("help".equals(optionName)) || ("h".equals(optionName))) { in sign() 181 } else if ("out".equals(optionName)) { in sign() [all …]
|
D | OptionsParser.java | 77 if ("--".equals(param)) { in nextOption() 127 if ("--".equals(param)) { in getRequiredValue() 160 if ("true".equals(stringValue)) { in getOptionalBooleanValue() 162 } else if ("false".equals(stringValue)) { in getOptionalBooleanValue() 176 if ("true".equals(stringValue)) { in getOptionalBooleanValue() 179 } else if ("false".equals(stringValue)) { in getOptionalBooleanValue() 196 if ("--".equals(param)) { in getRemainingParams()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | FilePullerLogCollector.java | 43 if (".hprof".equals(ext)) { in processMetricFile() 45 } else if (".mp4".equals(ext)) { in processMetricFile() 47 } else if (".pb".equals(ext)) { in processMetricFile() 49 } else if (".png".equals(ext)) { in processMetricFile() 51 } else if (".perfetto-trace".equals(ext)) { in processMetricFile() 53 } else if (".zip".equals(ext)) { in processMetricFile() 55 } else if (".uix".equals(ext)) { in processMetricFile() 57 } else if (".textproto".equals(ext) in processMetricFile() 60 } else if (".trace".equals(ext)) { in processMetricFile() 62 } else if (".log".equals(ext)) { in processMetricFile() [all …]
|
/tools/tradefederation/core/util_apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiUtil.java | 62 if (!"REL".equals(Build.VERSION.CODENAME)) { in onCreate() 185 if ("addOpenNetwork".equals(method)) { in onStart() 195 } else if ("addWpaPskNetwork".equals(method)) { in onStart() 206 } else if ("associateNetwork".equals(method)) { in onStart() 212 } else if ("disconnect".equals(method)) { in onStart() 215 } else if ("disableNetwork".equals(method)) { in onStart() 220 } else if ("isWifiEnabled".equals(method)) { in onStart() 223 } else if ("getIpAddress".equals(method)) { in onStart() 235 } else if ("getSSID".equals(method)) { in onStart() 240 } else if ("getBSSID".equals(method)) { in onStart() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | PairTest.java | 33 Assert.assertFalse(p1.equals(obj1)); in testPairs() 37 Assert.assertFalse(p1.equals(p2)); in testPairs() 42 Assert.assertTrue(p1.equals(p2)); in testPairs() 45 Assert.assertFalse(p1.equals(null)); in testPairs() 50 Assert.assertFalse(p1.equals(p2)); in testPairs() 55 Assert.assertTrue(p1.equals(p2)); in testPairs() 61 Assert.assertTrue(p1.equals(p2)); in testPairs() 65 Assert.assertTrue(p3.equals(p4)); in testPairs()
|
D | MetricUtilityTest.java | 124 .getMeasurements().getSingleString().equals("2.9")); in testStoreMultipleTestSingleIterationMetrics() 126 .getMeasurements().getSingleString().equals("1.5")); in testStoreMultipleTestSingleIterationMetrics() 169 .getMeasurements().getSingleString().equals("2.9")); in testStoreSingleTestMultipleIterationMetrics() 171 .getMeasurements().getSingleString().equals("1.5")); in testStoreSingleTestMultipleIterationMetrics() 218 assertTrue(FileUtil.readStringFromFile(mResultsFile).equals(getSampleOutput(OUTPUT_1))); in testResultFileWithSingleTest() 244 assertTrue(FileUtil.readStringFromFile(mResultsFile).equals(getSampleOutput(OUTPUT_2))); in testResultFileWithMultipleTest() 257 assertTrue(FileUtil.readStringFromFile(mResultsFile).equals(getSampleOutput(OUTPUT_3))); in testResultFileWithEmptyTestMetrics() 280 assertTrue(FileUtil.readStringFromFile(mResultsFile).equals(getSampleOutput(OUTPUT_4))); in testAggregateCommaSeparatedMetrics() 303 assertTrue(FileUtil.readStringFromFile(mResultsFile).equals(getSampleOutput(OUTPUT_5))); in testCustomPercentiles() 345 assertTrue(FileUtil.readStringFromFile(mResultsFile).equals(getSampleOutput(OUTPUT_6))); in testAggregateStoredTestMetricsForMultipleIterations() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | DeviceConfigurationHolder.java | 107 && Configuration.BUILD_PROVIDER_TYPE_NAME.equals(type)) { in addSpecificConfig() 110 && Configuration.LAB_PREPARER_TYPE_NAME.equals(type)) { in addSpecificConfig() 117 && Configuration.TARGET_PREPARER_TYPE_NAME.equals(type)) { in addSpecificConfig() 124 && Configuration.DEVICE_RECOVERY_TYPE_NAME.equals(type)) { in addSpecificConfig() 127 && Configuration.DEVICE_REQUIREMENTS_TYPE_NAME.equals(type)) { in addSpecificConfig() 130 && Configuration.DEVICE_OPTIONS_TYPE_NAME.equals(type)) { in addSpecificConfig() 142 if (Configuration.BUILD_PROVIDER_TYPE_NAME.equals(type)) { in removeObjectType() 144 } else if (Configuration.TARGET_PREPARER_TYPE_NAME.equals(type)) { in removeObjectType() 146 } else if (Configuration.DEVICE_RECOVERY_TYPE_NAME.equals(type)) { in removeObjectType() 148 } else if (Configuration.DEVICE_REQUIREMENTS_TYPE_NAME.equals(type)) { in removeObjectType() [all …]
|
D | ConfigurationXmlParser.java | 112 if (OBJECT_TAG.equals(localName)) { in startElement() 124 } else if (DEVICE_TAG.equals(localName)) { in startElement() 135 if (deviceName.equals(ConfigurationDef.DEFAULT_DEVICE_NAME)) { in startElement() 193 } else if (OPTION_TAG.equals(localName)) { in startElement() 219 } else if (CONFIG_TAG.equals(localName)) { in startElement() 229 } else if (INCLUDE_TAG.equals(localName)) { in startElement() 252 } else if (TEMPLATE_INCLUDE_TAG.equals(localName)) { in startElement() 294 if (OBJECT_TAG.equals(localName) || Configuration.isBuiltInObjType(localName) in endElement() 298 if (DEVICE_TAG.equals(localName) && !mInsideParentDeviceTag) { in endElement() 302 if (mCurrentObjectType != null && mCurrentObjectType.equals(localName)) { in endElement() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/ |
D | TestInfo.java | 132 mName.equals(test.getName()), "Only TestInfo for the same module can be merged."); in merge() 199 && !OPTION_INCLUDE_ANNOTATION.equals( in merge() 204 .filter(option -> OPTION_INCLUDE_ANNOTATION.equals(option.getName())) in merge() 211 && !OPTION_EXCLUDE_ANNOTATION.equals( in merge() 216 .filter(option -> OPTION_EXCLUDE_ANNOTATION.equals(option.getName())) in merge() 225 && !OPTION_INCLUDE_ANNOTATION.equals( in merge() 231 .filter(option -> OPTION_INCLUDE_ANNOTATION.equals(option.getName())) in merge() 239 && !OPTION_EXCLUDE_ANNOTATION.equals( in merge() 245 .filter(option -> OPTION_EXCLUDE_ANNOTATION.equals(option.getName())) in merge() 287 public boolean equals(Object o) { in equals() method in TestInfo [all …]
|
D | TestOption.java | 88 public boolean equals(Object obj) { in equals() method in TestOption 89 return mName.equals(((TestOption) obj).getName()) in equals() 90 && mValue.equals(((TestOption) obj).getValue()); in equals()
|
/tools/tradefederation/core/util_apps/ContentProvider/main/java/android/tradefed/contentprovider/ |
D | ManagedFileContentProvider.java | 94 if ("/".equals(file.getAbsolutePath())) { in query() 203 if (COLUMN_NAME.equals(columnName)) { in getColumnValue() 205 } else if (COLUMN_ABSOLUTE_PATH.equals(columnName)) { in getColumnValue() 207 } else if (COLUMN_DIRECTORY.equals(columnName)) { in getColumnValue() 209 } else if (COLUMN_METADATA.equals(columnName)) { in getColumnValue() 211 } else if (COLUMN_MIME_TYPE.equals(columnName)) { in getColumnValue() 250 if ("r".equals(mode)) { in modeToMode() 252 } else if ("w".equals(mode) || "wt".equals(mode)) { in modeToMode() 257 } else if ("wa".equals(mode)) { in modeToMode() 262 } else if ("rw".equals(mode)) { in modeToMode() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | ListInstrumentationParser.java | 71 public boolean equals(Object object) { in equals() method in ListInstrumentationParser.InstrumentationTarget 74 return Objects.equals(this.packageName, that.packageName) in equals() 75 && Objects.equals(this.runnerName, that.runnerName) in equals() 76 && Objects.equals(this.targetName, that.targetName); in equals() 94 if (!this.packageName.equals(o.packageName)) { in compareTo() 96 } else if (!this.runnerName.equals(o.runnerName)) { in compareTo()
|
D | QuotationAwareTokenizer.java | 79 if (delim.equals(aChar)) { in tokenizeLine() 89 if (token.toString().equals("''")) { in tokenizeLine() 98 } else if ("\"".equals(aChar)) { in tokenizeLine() 108 if (quotation || "\\".equals(aChar)) { in tokenizeLine() 119 if (token.toString().equals("''")) { in tokenizeLine()
|
D | Pair.java | 36 public boolean equals(Object o) { in equals() method in Pair 50 } else if (!this.first.equals(pair.first)) { in equals() 57 } else if (!this.second.equals(pair.second)) { in equals()
|
/tools/loganalysis/javatests/com/android/loganalysis/item/ |
D | GenericItemTest.java | 137 assertTrue(mEmptyItem1.equals(mEmptyItem1)); in testEquals() 138 assertFalse(mEmptyItem1.equals(null)); in testEquals() 139 assertTrue(mEmptyItem1.equals(mEmptyItem2)); in testEquals() 140 assertTrue(mEmptyItem2.equals(mEmptyItem1)); in testEquals() 141 assertFalse(mEmptyItem1.equals(mStringItem)); in testEquals() 142 assertFalse(mStringItem.equals(mEmptyItem1)); in testEquals() 143 assertFalse(mIntegerItem.equals(mStringItem)); in testEquals() 144 assertFalse(mEmptyItem1.equals(mFullItem1)); in testEquals() 145 assertFalse(mFullItem1.equals(mEmptyItem1)); in testEquals() 146 assertTrue(mFullItem1.equals(mFullItem2)); in testEquals() [all …]
|
/tools/tradefederation/contrib/src/com/android/graphics/tests/ |
D | FlatlandTestFuncTest.java | 53 Assert.assertTrue(t.equals("0")); in testPraseResults() 56 Assert.assertTrue(t.equals("3.136")); in testPraseResults() 59 Assert.assertTrue(t.equals("-1")); in testPraseResults() 62 Assert.assertTrue(t.equals("1000")); in testPraseResults()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | TestResourceDownloader.java | 46 if ("file".equals(protocol)) { in download() 60 if (!result.getStatus().equals(CommandStatus.SUCCESS)) { in download() 75 if ("gs".equals(protocol)) { in buildDownloadCommandArgs() 79 if ("http".equals(protocol) || "https".equals(protocol)) { in buildDownloadCommandArgs()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | FuseUtil.java | 56 res.getStatus().equals(CommandStatus.SUCCESS) in canMountZip() 57 && res2.getStatus().equals(CommandStatus.SUCCESS) in canMountZip() 78 if (!res.getStatus().equals(CommandStatus.SUCCESS)) { in mountZip() 98 if (!res.getStatus().equals(CommandStatus.SUCCESS)) { in unmountZip()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/zip/ |
D | CentralDirectoryInfo.java | 224 if (!Arrays.equals( in CentralDirectoryInfo() 245 if (Long.toHexString(mUncompressedSize).equals("ffffffff") in CentralDirectoryInfo() 246 || Long.toHexString(mCompressedSize).equals("ffffffff") in CentralDirectoryInfo() 247 || Long.toHexString(mLocalHeaderOffset).equals("ffffffff")) { in CentralDirectoryInfo() 276 public boolean equals(Object o) { in equals() method in CentralDirectoryInfo 277 return this.toString().equals(o.toString()); in equals()
|
D | EndCentralDirectoryInfo.java | 127 if (Long.toHexString(mEntryNumber).equals("ffff") || in EndCentralDirectoryInfo() 128 Long.toHexString(mCentralDirSize).equals("ffffffff") || in EndCentralDirectoryInfo() 129 Long.toHexString(mCentralDirOffset).equals("ffffffff")) { in EndCentralDirectoryInfo() 162 if (!java.util.Arrays.equals( in getEndCentralDirectoryInfo()
|
/tools/platform-compat/java/com/android/class2nonsdklist/ |
D | ApiComponents.java | 204 if (!sc.peek(2).equals("->")) { in fromDexSignature() 303 public boolean equals(Object obj) { in equals() method in ApiComponents 308 return mPackageAndClassName.equals(other.mPackageAndClassName) && mMemberName.equals( in equals() 309 other.mMemberName) && mMethodParameterTypes.equals(other.mMethodParameterTypes); in equals() 324 return mPackageAndClassName.equals(other.mPackageAndClassName) && in equalsIgnoringParam() 325 mMemberName.equals(other.mMemberName); in equalsIgnoringParam()
|
D | PackageAndClassName.java | 49 public boolean equals(Object obj) { in equals() method in PackageAndClassName 54 return Objects.equals(packageName, other.packageName) && Objects.equals(className, in equals()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | KernelLogParser.java | 128 if ("".equals(line.trim())) { in parseLine() 161 if (category.equals(KERNEL_RESET) || category.equals(NORMAL_REBOOT)) { in checkAndAddKernelEvent() 165 if (category.equals(NORMAL_REBOOT)) { in checkAndAddKernelEvent() 170 if (category.equals(SELINUX_DENIAL)) { in checkAndAddKernelEvent() 177 } else if (category.equals(PAGE_ALLOC_FAILURE)) { in checkAndAddKernelEvent() 184 } else if (category.equals(LOW_MEMORY_KILLER)) { in checkAndAddKernelEvent()
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1BerParser.java | 300 if (ByteBuffer.class.equals(elementClass)) { in parseSetOf() 302 } else if (Asn1OpaqueObject.class.equals(elementClass)) { in parseSetOf() 567 if (Asn1OpaqueObject.class.equals(field.getType())) { in setFieldValue() 592 if (ByteBuffer.class.equals(targetType)) { in convert() 594 } else if (byte[].class.equals(targetType)) { in convert() 602 } else if (Asn1OpaqueObject.class.equals(targetType)) { in convert() 608 if ((int.class.equals(targetType)) || (Integer.class.equals(targetType))) { in convert() 610 } else if ((long.class.equals(targetType)) || (Long.class.equals(targetType))) { in convert() 612 } else if (BigInteger.class.equals(targetType)) { in convert() 617 if (String.class.equals(targetType)) { in convert() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | Pair.java | 53 public boolean equals(Object obj) { in equals() method in Pair 69 } else if (!mFirst.equals(other.mFirst)) { in equals() 76 } else if (!mSecond.equals(other.mSecond)) { in equals()
|