/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | ApkSignerTool.java | 75 if ((params.length == 0) || ("--help".equals(params[0])) || ("-h".equals(params[0]))) { in main() 78 } else if ("--version".equals(params[0])) { in main() 87 if ("sign".equals(cmd)) { in main() 90 } else if ("verify".equals(cmd)) { in main() 93 } else if ("rotate".equals(cmd)) { in main() 96 } else if ("lineage".equals(cmd)) { in main() 99 } else if ("help".equals(cmd)) { in main() 102 } else if ("version".equals(cmd)) { in main() 161 if (("help".equals(optionName)) || ("h".equals(optionName))) { in sign() 164 } 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/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() 191 } else if ("addWpaPskNetwork".equals(method)) { in onStart() 198 } else if ("associateNetwork".equals(method)) { in onStart() 204 } else if ("disconnect".equals(method)) { in onStart() 207 } else if ("disableNetwork".equals(method)) { in onStart() 212 } else if ("isWifiEnabled".equals(method)) { in onStart() 215 } else if ("getIpAddress".equals(method)) { in onStart() 227 } else if ("getSSID".equals(method)) { in onStart() 232 } else if ("getBSSID".equals(method)) { in onStart() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | PairTest.java | 29 Assert.assertFalse(p1.equals(obj1)); in testPairs() 33 Assert.assertFalse(p1.equals(p2)); in testPairs() 38 Assert.assertTrue(p1.equals(p2)); in testPairs() 41 Assert.assertFalse(p1.equals(null)); in testPairs() 46 Assert.assertFalse(p1.equals(p2)); in testPairs() 51 Assert.assertTrue(p1.equals(p2)); in testPairs() 57 Assert.assertTrue(p1.equals(p2)); in testPairs() 61 Assert.assertTrue(p3.equals(p4)); in testPairs()
|
D | MultiMapTest.java | 62 if (entry.getValue().equals(value)) { in checkKeyForValue() 64 return key.equals("key") || key.equals("key2") || key.equals("key2X"); in checkKeyForValue()
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | ApiFile.java | 145 if (!format.equals(api.getFormat())) { in parseApiSingleFile() 183 if ("package".equals(token)) { in parseApiSingleFile() 225 if (!pkg.getModifiers().toString().equals(existing.getModifiers().toString())) { in parsePackage() 234 if (!"{".equals(token)) { in parsePackage() 239 if ("}".equals(token)) { in parsePackage() 265 if ("class".equals(token)) { in parseClass() 267 } else if ("interface".equals(token)) { in parseClass() 271 } else if ("@interface".equals(token)) { in parseClass() 276 } else if ("enum".equals(token)) { in parseClass() 310 if ("extends".equals(token)) { in parseClass() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/ |
D | TestInfo.java | 105 mName.equals(test.getName()), "Only TestInfo for the same module can be merged."); in merge() 172 && !OPTION_INCLUDE_ANNOTATION.equals( in merge() 177 .filter(option -> OPTION_INCLUDE_ANNOTATION.equals(option.getName())) in merge() 184 && !OPTION_EXCLUDE_ANNOTATION.equals( in merge() 189 .filter(option -> OPTION_EXCLUDE_ANNOTATION.equals(option.getName())) in merge() 198 && !OPTION_INCLUDE_ANNOTATION.equals( in merge() 204 .filter(option -> OPTION_INCLUDE_ANNOTATION.equals(option.getName())) in merge() 212 && !OPTION_EXCLUDE_ANNOTATION.equals( in merge() 218 .filter(option -> OPTION_EXCLUDE_ANNOTATION.equals(option.getName())) in merge() 260 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/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 | 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/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/ |
D | ManagedFileContentProvider.java | 96 if ("/".equals(file.getAbsolutePath())) { in query() 213 if (COLUMN_NAME.equals(columnName)) { in getColumnValue() 215 } else if (COLUMN_ABSOLUTE_PATH.equals(columnName)) { in getColumnValue() 217 } else if (COLUMN_DIRECTORY.equals(columnName)) { in getColumnValue() 219 } else if (COLUMN_METADATA.equals(columnName)) { in getColumnValue() 221 } else if (COLUMN_MIME_TYPE.equals(columnName)) { in getColumnValue() 259 if ("r".equals(mode)) { in modeToMode() 261 } else if ("w".equals(mode) || "wt".equals(mode)) { in modeToMode() 266 } else if ("wa".equals(mode)) { in modeToMode() 271 } else if ("rw".equals(mode)) { in modeToMode() [all …]
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/zip/ |
D | CentralDirectoryInfo.java | 220 if (!Arrays.equals( in CentralDirectoryInfo() 241 if (Long.toHexString(mUncompressedSize).equals("ffffffff") || in CentralDirectoryInfo() 242 Long.toHexString(mCompressedSize).equals("ffffffff") || in CentralDirectoryInfo() 243 Long.toHexString(mLocalHeaderOffset).equals("ffffffff")) { in CentralDirectoryInfo() 250 if (!Arrays.equals(ZIP64_FILE_FIELD_ID, zip64FieldId)) { in CentralDirectoryInfo() 264 public boolean equals(Object o) { in equals() method in CentralDirectoryInfo 265 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/loganalysis/tests/src/com/android/loganalysis/item/ |
D | GenericItemTest.java | 143 assertTrue(mEmptyItem1.equals(mEmptyItem1)); in testEquals() 144 assertFalse(mEmptyItem1.equals(null)); in testEquals() 145 assertTrue(mEmptyItem1.equals(mEmptyItem2)); in testEquals() 146 assertTrue(mEmptyItem2.equals(mEmptyItem1)); in testEquals() 147 assertFalse(mEmptyItem1.equals(mStringItem)); in testEquals() 148 assertFalse(mStringItem.equals(mEmptyItem1)); in testEquals() 149 assertFalse(mIntegerItem.equals(mStringItem)); in testEquals() 150 assertFalse(mEmptyItem1.equals(mFullItem1)); in testEquals() 151 assertFalse(mFullItem1.equals(mEmptyItem1)); in testEquals() 152 assertTrue(mFullItem1.equals(mFullItem2)); in testEquals() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | TestResourceDownloader.java | 52 if ("file".equals(protocol)) { in download() 66 if (!result.getStatus().equals(CommandStatus.SUCCESS)) { in download() 81 if ("gs".equals(protocol)) { in buildDownloadCommandArgs() 85 if ("http".equals(protocol) || "https".equals(protocol)) { in buildDownloadCommandArgs()
|
/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/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiGenerator.java | 46 if (arg.equals("--pattern")) { in main() 54 } else if (arg.equals("--current-version")) { in main() 66 } else if (arg.equals("--current-codename")) { in main() 74 } else if (arg.equals("--current-jar")) { in main() 87 } else if (arg.equals("--min-api")) { in main() 95 } else if (arg.length() >= 2 && arg.substring(0, 2).equals("--")) { in main() 129 if (currentCodename != null && !"REL".equals(currentCodename)) { in main()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | DeviceSelectionOptions.java | 261 return mRequestedType.equals(DeviceRequestedType.LOCAL_EMULATOR); in emulatorRequested() 272 return mRequestedType.equals(DeviceRequestedType.LOCAL_EMULATOR); in stubEmulatorRequested() 283 return mRequestedType.equals(DeviceRequestedType.NULL_DEVICE); in nullDeviceRequested() 292 return mRequestedType.equals(DeviceRequestedType.TCP_DEVICE); in tcpDeviceRequested() 301 return mRequestedType.equals(DeviceRequestedType.GCE_DEVICE); in gceDeviceRequested() 307 return DeviceRequestedType.REMOTE_DEVICE.equals(mRequestedType); in remoteDeviceRequested() 311 return DeviceRequestedType.LOCAL_VIRTUAL_DEVICE.equals(mRequestedType); in localVirtualDeviceRequested() 479 if (!propEntry.getValue().equals(device.getProperty(propEntry.getKey()))) { in matches() 570 if (!device.getClass().equals(classNeeded)) { in checkDeviceTypeRequested() 581 if (tcpDeviceRequested() != TcpDevice.class.equals(device.getClass())) { in checkDeviceTypeRequested() [all …]
|
D | RemoteAndroidDevice.java | 108 if (InstanceType.CUTTLEFISH.equals(type) in postAdbReboot() 109 || InstanceType.REMOTE_NESTED_AVD.equals(type) in postAdbReboot() 110 || InstanceType.EMULATOR.equals(type)) { in postAdbReboot() 189 if (CommandStatus.SUCCESS.equals(result.getStatus()) && in adbTcpConnect() 200 } else if (CommandStatus.SUCCESS.equals(result.getStatus()) && in adbTcpConnect() 214 if (CommandStatus.SUCCESS.equals(resultConfirmation.getStatus()) in confirmAdbTcpConnect() 238 return CommandStatus.SUCCESS.equals(result.getStatus()); in adbTcpDisconnect()
|
/tools/tradefederation/core/util-apps/DeviceSetupUtil/src/com/android/tradefed/utils/ |
D | DeviceSetupIntentReceiver.java | 38 if (DEVICE_SETUP_INTENT.equals(intent.getAction())) { in onReceive() 42 } else if (Intent.ACTION_POWER_DISCONNECTED.equals(intent.getAction())) { in onReceive() 48 } else if (Intent.ACTION_POWER_CONNECTED.equals(intent.getAction())) { in onReceive()
|
/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()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/ |
D | RustTestResultParser.java | 151 if (SKIPPED_ENTRY.equals(test.getValue())) { in reportToListeners() 153 } else if (FAILED_ENTRY.equals(test.getValue())) { in reportToListeners() 168 if (mCurrentTestStatus.equals("ok")) { in reportTestResult() 170 } else if (mCurrentTestStatus.equals("ignored")) { in reportTestResult() 172 } else if (mCurrentTestStatus.equals("FAILED")) { in reportTestResult()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationXmlParser.java | 109 if (OBJECT_TAG.equals(localName)) { in startElement() 121 } else if (DEVICE_TAG.equals(localName)) { in startElement() 132 if (deviceName.equals(ConfigurationDef.DEFAULT_DEVICE_NAME)) { in startElement() 190 } else if (OPTION_TAG.equals(localName)) { in startElement() 216 } else if (CONFIG_TAG.equals(localName)) { in startElement() 226 } else if (INCLUDE_TAG.equals(localName)) { in startElement() 249 } else if (TEMPLATE_INCLUDE_TAG.equals(localName)) { in startElement() 291 if (OBJECT_TAG.equals(localName) || Configuration.isBuiltInObjType(localName) in endElement() 295 if (DEVICE_TAG.equals(localName) && !mInsideParentDeviceTag) { in endElement() 299 if (mCurrentObjectType != null && mCurrentObjectType.equals(localName)) { in endElement() [all …]
|
/tools/tradefederation/core/common_util/com/android/tradefed/testtype/ |
D | Abi.java | 60 public boolean equals(Object obj) { in equals() method in Abi 71 if (!mName.equals(other.mName)) { in equals() 74 if (!mBitness.equals(other.mBitness)) { in equals()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | RemoteAndroidVirtualDevice.java | 129 if (!DeviceState.ONLINE.equals(getIDevice().getState())) { in preInvocationSetup() 130 if (mGceAvd != null && GceStatus.SUCCESS.equals(mGceAvd.getStatus())) { in preInvocationSetup() 186 if (!GceStatus.SUCCESS.equals(mGceAvd.getStatus())) { in postInvocationTearDown() 229 if (InstanceType.GCE.equals(type) || InstanceType.REMOTE_AVD.equals(type)) { in getSshBugreport() 267 if (GceAvdInfo.GceStatus.BOOT_FAIL.equals(mGceAvd.getStatus())) { in launchGce() 364 if (InstanceType.CUTTLEFISH.equals(type) || InstanceType.REMOTE_NESTED_AVD.equals(type)) { in getTombstones() 400 if (!GceStatus.SUCCESS.equals(mGceAvd.getStatus())) { in getAvdInfo() 440 if (!getInitialSerial().equals(descriptor.getSerial())) { in getDeviceDescriptor()
|