/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SerializationUtilTest.java | 57 Object o = SerializationUtil.deserialize(serializedException); in testSerialize_DeserializeString() local 58 assertTrue(o instanceof RuntimeException); in testSerialize_DeserializeString() 59 assertEquals("test", ((RuntimeException) o).getMessage()); in testSerialize_DeserializeString() 67 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialize_Deserialize() local 68 assertTrue(o instanceof BuildInfo); in testSerialize_Deserialize() 69 BuildInfo test = (BuildInfo) o; in testSerialize_Deserialize() 84 Object o = SerializationUtil.deserialize(tmpSerialized, false); in testSerialize_Deserialize_noDelete() local 85 assertTrue(o instanceof BuildInfo); in testSerialize_Deserialize_noDelete() 86 BuildInfo test = (BuildInfo) o; in testSerialize_Deserialize_noDelete()
|
/tools/platform-compat/java/android/processor/compat/ |
D | SourcePosition.java | 60 public boolean equals(Object o) { in equals() argument 61 if (this == o) return true; in equals() 62 if (o == null || getClass() != o.getClass()) return false; in equals() 63 SourcePosition that = (SourcePosition) o; in equals()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | TargetSetupErrorTest.java | 52 Object o = SerializationUtil.deserialize(s, true); in testSerialization() local 53 assertTrue(o instanceof TargetSetupError); in testSerialization() 54 assertEquals("reason [null null:null null]", ((TargetSetupError) o).getMessage()); in testSerialization() 82 Object o = SerializationUtil.deserialize(s, true); in testSerialization_withIDevice() local 83 assertTrue(o instanceof TargetSetupError); in testSerialization_withIDevice() 86 ((TargetSetupError) o).getMessage()); in testSerialization_withIDevice()
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | GuaranteedEncodedFormX509Certificate.java | 44 public boolean equals(Object o) { in equals() argument 45 if (this == o) return true; in equals() 46 if (!(o instanceof X509Certificate)) return false; in equals() 50 byte[] b = ((X509Certificate) o).getEncoded(); in equals()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | ListInstrumentationParser.java | 93 public int compareTo(InstrumentationTarget o) { in compareTo() argument 94 if (!this.packageName.equals(o.packageName)) { in compareTo() 95 return this.packageName.compareTo(o.packageName); in compareTo() 96 } else if (!this.runnerName.equals(o.runnerName)) { in compareTo() 97 return this.runnerName.compareTo(o.runnerName); in compareTo() 99 return this.targetName.compareTo(o.targetName); in compareTo()
|
D | Pair.java | 36 public boolean equals(Object o) { in equals() argument 37 if (!(o instanceof Pair)) { in equals() 41 final Pair<?, ?> pair = (Pair<?, ?>) o; in equals()
|
D | SerializationUtil.java | 39 public static File serialize(Serializable o) throws IOException { in serialize() argument 46 out.writeObject(o); in serialize() 65 public static String serializeToString(Serializable o) throws IOException { in serializeToString() argument 71 out.writeObject(o); in serializeToString()
|
D | BulkEmailer.java | 110 Object o = config.getConfigurationObject("emailer"); in loadMailer() local 111 if (o instanceof BulkEmailer) { in loadMailer() 112 return (BulkEmailer) o; in loadMailer()
|
/tools/treble/split/ |
D | manifest_split.py | 464 for o, a in opts: 465 if o in ("-h", "--help"): 468 elif o in ("--debug"): 470 elif o in ("--manifest"): 472 elif o in ("--split-manifest"): 474 elif o in ("--config"): 476 elif o in ("--repo-list"): 478 elif o in ("--ninja-build"): 480 elif o in ("--ninja-binary"): 482 elif o in ("--module-info"): [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
D | RemoteOperationTest.java | 31 CloseOp o = new CloseOp(); in testProtocolVersionMismatch() local 32 String data = o.pack(0); in testProtocolVersionMismatch()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ValidateSuiteConfigHelper.java | 151 for (Object o : targetPrepList) { in checkTargetPrep() 152 if (o instanceof ITargetPreparer && o instanceof IMultiTargetPreparer) { in checkTargetPrep() 157 o.getClass().getCanonicalName(), in checkTargetPrep()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | AutoLogCollector.java | 36 Object o = mClass.getDeclaredConstructor().newInstance(); in getInstanceForValue() local 37 return (BaseDeviceMetricCollector) o; in getInstanceForValue()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | InvocationStatus.java | 46 for (final TestGroupStatus o : mTestGroupStatuses) { in toJSON() 47 testModuleStatuses.put(o.toJSON()); in toJSON()
|
D | TestContext.java | 111 public boolean equals(Object o) { in equals() argument 112 if (!(o instanceof TestContext)) { in equals() 116 return toString().equals(o.toString()); in equals()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | MetricSummary.java | 113 public boolean equals(Object o) { in equals() argument 114 if (this == o) return true; in equals() 115 if (o == null || getClass() != o.getClass()) return false; in equals() 116 MetricSummary summary = (MetricSummary) o; in equals()
|
D | LoopSummary.java | 172 public boolean equals(Object o) { in equals() argument 173 if (this == o) return true; in equals() 174 if (o == null || getClass() != o.getClass()) return false; in equals() 175 LoopSummary that = (LoopSummary) o; in equals()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | DeviceFolderBuildInfoTest.java | 110 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialization() local 111 assertTrue(o instanceof DeviceFolderBuildInfo); in testSerialization() 112 DeviceFolderBuildInfo test = (DeviceFolderBuildInfo) o; in testSerialization()
|
D | BuildInfoTest.java | 121 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialization() local 122 assertTrue(o instanceof BuildInfo); in testSerialization() 123 BuildInfo test = (BuildInfo) o; in testSerialization()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SigningCertificateLineage.java | 262 public boolean equals(Object o) { in equals() argument 263 if (this == o) return true; in equals() 264 if (!(o instanceof SigningCertificateNode)) return false; in equals() 266 SigningCertificateNode that = (SigningCertificateNode) o; in equals()
|
/tools/tradefederation/core/src/com/android/tradefed/log/ |
D | BaseLeveledLogOutput.java | 111 for (Object o : objs) { in initComponentVerbosity() 112 String objTag = CLog.parseClassName(o.getClass().getName()); in initComponentVerbosity()
|
/tools/tradefederation/core/atest/ |
D | test_mapping.py | 62 self.options.sort(key=lambda o: o[0])
|
/tools/trebuchet/trebuchet/system-server-analyzer/ |
D | README.md | 8 `./gradlew :trebuchet:system-server-analyzer:run --args="<trace_file> [-t threshold_ms] [-o output_… 16 `adb shell atrace -o /sdcard/atrace-ss.txt -t 10 ss`
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | OptionCopier.java | 113 Option o = field.getAnnotation(Option.class); in getFieldOptionMap() local 114 fieldMap.put(o.name(), field); in getFieldOptionMap()
|
/tools/asuite/atest/ |
D | test_mapping.py | 60 self.options.sort(key=lambda o: o[0])
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | TestDescription.java | 143 public int compareTo(TestDescription o) { in compareTo() argument 144 return toString().compareTo(o.toString()); in compareTo()
|