Home
last modified time | relevance | path

Searched refs:o (Results 1 – 25 of 40) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSerializationUtilTest.java57 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/
DSourcePosition.java60 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/
DTargetSetupErrorTest.java52 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/
DGuaranteedEncodedFormX509Certificate.java44 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/
DListInstrumentationParser.java93 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()
DPair.java36 public boolean equals(Object o) { in equals() argument
37 if (!(o instanceof Pair)) { in equals()
41 final Pair<?, ?> pair = (Pair<?, ?>) o; in equals()
DSerializationUtil.java39 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()
DBulkEmailer.java110 Object o = config.getConfigurationObject("emailer"); in loadMailer() local
111 if (o instanceof BulkEmailer) { in loadMailer()
112 return (BulkEmailer) o; in loadMailer()
/tools/treble/split/
Dmanifest_split.py464 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/
DRemoteOperationTest.java31 CloseOp o = new CloseOp(); in testProtocolVersionMismatch() local
32 String data = o.pack(0); in testProtocolVersionMismatch()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DValidateSuiteConfigHelper.java151 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/
DAutoLogCollector.java36 Object o = mClass.getDeclaredConstructor().newInstance(); in getInstanceForValue() local
37 return (BaseDeviceMetricCollector) o; in getInstanceForValue()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DInvocationStatus.java46 for (final TestGroupStatus o : mTestGroupStatuses) { in toJSON()
47 testModuleStatuses.put(o.toJSON()); in toJSON()
DTestContext.java111 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/
DMetricSummary.java113 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()
DLoopSummary.java172 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/
DDeviceFolderBuildInfoTest.java110 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialization() local
111 assertTrue(o instanceof DeviceFolderBuildInfo); in testSerialization()
112 DeviceFolderBuildInfo test = (DeviceFolderBuildInfo) o; in testSerialization()
DBuildInfoTest.java121 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/
DV3SigningCertificateLineage.java262 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/
DBaseLeveledLogOutput.java111 for (Object o : objs) { in initComponentVerbosity()
112 String objTag = CLog.parseClassName(o.getClass().getName()); in initComponentVerbosity()
/tools/tradefederation/core/atest/
Dtest_mapping.py62 self.options.sort(key=lambda o: o[0])
/tools/trebuchet/trebuchet/system-server-analyzer/
DREADME.md8 `./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/
DOptionCopier.java113 Option o = field.getAnnotation(Option.class); in getFieldOptionMap() local
114 fieldMap.put(o.name(), field); in getFieldOptionMap()
/tools/asuite/atest/
Dtest_mapping.py60 self.options.sort(key=lambda o: o[0])
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DTestDescription.java143 public int compareTo(TestDescription o) { in compareTo() argument
144 return toString().compareTo(o.toString()); in compareTo()

12