/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | TypeVisitor.kt | 87 fun visit(primitiveType: PrimitiveTypeItem, other: List<TypeItem>) { in visitType() 88 visitType(primitiveType, other) in visitType() 89 visitPrimitiveType(primitiveType, other) in visitType() 92 fun visit(arrayType: ArrayTypeItem, other: List<TypeItem>) { in visitType() 93 visitType(arrayType, other) in visitType() 94 visitArrayType(arrayType, other) in visitType() 98 other.mapNotNull { (it as? ArrayTypeItem)?.componentType } in visitType() 102 fun visit(classType: ClassTypeItem, other: List<TypeItem>) { in visitType() 103 visitType(classType, other) in visitType() 104 visitClassType(classType, other) in visitType() [all …]
|
D | TypeItem.kt | 40 fun accept(visitor: MultipleTypeVisitor, other: List<TypeItem>) in <lambda>() 49 fun equalToType(other: TypeItem?): Boolean in <lambda>() 147 fun isAssignableFromWithoutUnboxing(other: TypeItem): Boolean { in <lambda>() 149 if (this == other) return true in <lambda>() 151 (other as? VariableTypeItem)?.asTypeParameter?.typeBounds()?.map { it.toTypeString() } in <lambda>() 413 override fun equals(other: Any?): Boolean { in equals() 414 if (other !is TypeItem) return false in equals() 415 return equalToType(other) in equals() 817 override fun accept(visitor: MultipleTypeVisitor, other: List<TypeItem>) { in accept() 818 visitor.visit(this, other) in accept() [all …]
|
D | ModifierList.kt | 89 fun equivalentTo(other: ModifierList): Boolean { in annotations() 90 if (isPublic() != other.isPublic()) return false in annotations() 91 if (isProtected() != other.isProtected()) return false in annotations() 92 if (isPrivate() != other.isPrivate()) return false in annotations() 94 if (isStatic() != other.isStatic()) return false in annotations() 95 if (isAbstract() != other.isAbstract()) return false in annotations() 96 if (isFinal() != other.isFinal()) { in annotations() 99 if (isTransient() != other.isTransient()) return false in annotations() 100 if (isVolatile() != other.isVolatile()) return false in annotations() 144 fun asAccessibleAs(other: ModifierList): Boolean { in asAccessibleAs() [all …]
|
D | AnnotationItem.kt | 450 override fun equals(other: Any?): Boolean { in isShowAnnotation() 451 if (other !is AnnotationItem) return false in isShowAnnotation() 452 return qualifiedName == other.qualifiedName && attributes == other.attributes in isShowAnnotation() 688 override fun equals(other: Any?): Boolean { in equals() 689 if (other !is AnnotationAttribute) return false in equals() 690 return name == other.name && value == other.value in equals() 760 override fun equals(other: Any?): Boolean { in toSource() 761 if (other !is AnnotationSingleAttributeValue) return false in toSource() 762 return value == other.value in toSource() 777 override fun equals(other: Any?): Boolean { in equals() [all …]
|
D | AnnotationInfo.kt | 118 fun highestPriority(other: ShowOrHide): ShowOrHide = maxOf(this, other) in show() 214 fun combineWith(other: Showability): Showability { in show() 216 val newShow = show.highestPriority(other.show) in show() 219 val newRecursive = recursive.highestPriority(other.recursive) in show() 226 forStubsOnly.highestPriority(other.forStubsOnly) in show()
|
D | DefaultModifierList.kt | 301 override fun equivalentTo(other: ModifierList): Boolean { in equivalentTo() 302 if (other is DefaultModifierList) { in equivalentTo() 303 val flags2 = other.flags in equivalentTo() 332 override fun equals(other: Any?): Boolean { in equals() 333 if (this === other) return true in equals() 334 if (javaClass != other?.javaClass) return false in equals() 336 other as DefaultModifierList in equals() 338 if (flags != other.flags) return false in equals() 339 if (annotations != other.annotations) return false in equals()
|
D | TypeParameterList.kt | 34 override fun equals(other: Any?): Boolean in <lambda>() 47 override fun equals(other: Any?) = emptyListDelegate == other in <lambda>() 78 override fun equals(other: Any?) = typeParameters == other in equals()
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | GenericItem.java | 50 public IItem merge(IItem other) throws ConflictingItemException { in merge() argument 51 if (this == other) { in merge() 54 if (other == null || getClass() != other.getClass()) { in merge() 58 return new GenericItem(mAllowedAttributes, mergeAttributes(other, mAllowedAttributes)); in merge() 71 protected Map<String, Object> mergeAttributes(IItem other, Set<String> attributes) in mergeAttributes() argument 73 if (this == other) { in mergeAttributes() 76 if (other == null || getClass() != other.getClass()) { in mergeAttributes() 80 GenericItem item = (GenericItem) other; in mergeAttributes() 91 public boolean isConsistent(IItem other) { in isConsistent() argument 92 if (this == other) { in isConsistent() [all …]
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/ |
D | DataSlice.kt | 49 override fun equals(other: Any?): Boolean { in equals() 50 if (other === this) return true in equals() 51 if (other !is DataSlice) return false in equals() 52 if (length != other.length) return false in equals() 53 if (_hasCachedHashCode && other._hasCachedHashCode in equals() 54 && hashCode() != other.hashCode()) return false in equals() 56 var otherIndex = other.startIndex in equals() 58 if (buffer[myIndex] != other.buffer[otherIndex]) { in equals()
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | power_metrics.py | 104 def __eq__(self, other): argument 105 return self.value == other.to_unit(self.unit).value 107 def __lt__(self, other): argument 108 return self.value < other.to_unit(self.unit).value 110 def __le__(self, other): argument 111 return self == other or self < other 115 def __add__(self, other): argument 119 return Metric(self.value + other.to_unit(self.unit).value, 122 def __sub__(self, other): argument 126 return Metric(self.value - other.to_unit(self.unit).value,
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | SuiteTestFilter.java | 226 SuiteTestFilter other = (SuiteTestFilter) obj; in equals() local 228 if (other.mAbi != null) { in equals() 231 } else if (!mAbi.equals(other.mAbi)) { in equals() 235 if (other.mName != null) { in equals() 238 } else if (!mName.equals(other.mName)) { in equals() 242 if (other.mShardIndex != null) { in equals() 245 } else if (!mShardIndex.equals(other.mShardIndex)) { in equals() 249 if (other.mTest != null) { in equals() 252 } else if (!mTest.equals(other.mTest)) { in equals()
|
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/lvpm_stock/ |
D | stock_transformers.py | 300 def __add__(self, other): argument 302 self.main_current + other.main_current, 303 self.usb_current + other.usb_current, 304 self.aux_current + other.aux_current, 305 self.main_voltage + other.main_voltage, 307 sample_time = self.sample_time + other.sample_time 311 def __truediv__(self, other): argument 313 self.main_current / other, 314 self.usb_current / other, 315 self.aux_current / other, [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/hvpm/ |
D | transformers.py | 363 def __add__(self, other): argument 365 self.main_current + other.main_current, 366 self.usb_current + other.usb_current, 367 self.aux_current + other.aux_current, 368 self.main_voltage + other.main_voltage, 369 self.usb_voltage + other.usb_voltage, 370 ], self.sample_time + other.sample_time) 372 def __truediv__(self, other): argument 374 self.main_current / other, 375 self.usb_current / other, [all …]
|
/tools/metalava/buildSrc/src/main/kotlin/com/android/tools/metalava/buildinfo/ |
D | LibraryBuildInfo.kt | 160 override fun equals(other: Any?): Boolean { in equals() 161 if (this === other) return true in equals() 162 if (other == null || javaClass != other.javaClass) return false in equals() 163 other as Dependency in equals() 164 return isTipOfTree == other.isTipOfTree && in equals() 165 groupId == other.groupId && in equals() 166 artifactId == other.artifactId && in equals() 167 version == other.version in equals()
|
/tools/tradefederation/core/src/com/android/tradefed/config/remote/ |
D | IRemoteFileResolver.java | 146 RemoteFileResolverArgs other = (RemoteFileResolverArgs) obj; in equals() local 148 if (other.mConsideredFile != null) { in equals() 151 } else if (!mConsideredFile.equals(other.mConsideredFile)) { in equals() 155 if (other.mDestinationDir != null) { in equals() 158 } else if (!mDestinationDir.equals(other.mDestinationDir)) { in equals() 162 if (other.mQueryArgs != null) { in equals() 165 } else if (!mQueryArgs.equals(other.mQueryArgs)) { in equals()
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/ |
D | ProcessModelFragment.kt | 63 fun merge(other: trebuchet.model.fragments.ProcessModelFragment) { in <lambda>() 64 if (other === this) return in <lambda>() 65 if (id != -1 && id != other.id) { in <lambda>() 68 hint(name = other.name) in <lambda>() 69 other._threads.forEach { (key, value) -> in <lambda>() 75 other._counters.forEach { (key, value) -> in <lambda>()
|
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | TextMethodItem.kt | 47 override fun equals(other: Any?): Boolean { in equals() 48 if (this === other) return true in equals() 49 if (other !is MethodItem) return false in equals() 51 if (name() != other.name()) { in equals() 55 if (containingClass() != other.containingClass()) { in equals() 60 val parameters2 = other.parameters() in equals() 75 val typeParameters2 = other.typeParameterList in equals()
|
D | TextPropertyItem.kt | 34 override fun equals(other: Any?): Boolean { in equals() 35 if (this === other) return true in equals() 36 if (other !is FieldItem) return false in equals() 38 if (name() != other.name()) { in equals() 42 return containingClass() == other.containingClass() in equals()
|
D | TextFieldItem.kt | 35 override fun equals(other: Any?): Boolean { in equals() 36 if (this === other) return true in equals() 37 if (other !is FieldItem) return false in equals() 39 if (name() != other.name()) { in equals() 43 return containingClass() == other.containingClass() in equals()
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | FailureDescription.java | 236 FailureDescription other = (FailureDescription) obj; in equals() local 237 if (mActionInProgress != other.mActionInProgress) { in equals() 241 if (other.mDebugHelpMessage != null) { in equals() 244 } else if (!mDebugHelpMessage.equals(other.mDebugHelpMessage)) { in equals() 248 if (other.mErrorMessage != null) { in equals() 251 } else if (!mErrorMessage.equals(other.mErrorMessage)) { in equals() 254 if (mFailureStatus != other.mFailureStatus) { in equals()
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | Pair.java | 64 Pair other = (Pair) obj; in equals() local 66 if (other.mFirst != null) { in equals() 69 } else if (!mFirst.equals(other.mFirst)) { in equals() 73 if (other.mSecond != null) { in equals() 76 } else if (!mSecond.equals(other.mSecond)) { in equals()
|
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/ |
D | MetricsTest.java | 96 Metrics other = new Metrics(false); in testCrossValidate() local 101 other.addRunMetric("metric1", e); in testCrossValidate() 104 Arrays.asList("2.0", "2.1", "2.2").forEach(e -> other.addRunMetric("metric5", e)); in testCrossValidate() 110 other.addTestMetric(id1, "metric1", e); in testCrossValidate() 118 other.addTestMetric(id2, "metric1", e); in testCrossValidate() 120 Arrays.asList("3.0", "3.1", "3.3").forEach(e -> other.addTestMetric(id2, "metric2", e)); in testCrossValidate() 121 mMetrics.crossValidate(other); in testCrossValidate()
|
/tools/platform-compat/java/com/android/class2nonsdklist/ |
D | ApiComponents.java | 307 ApiComponents other = (ApiComponents) obj; in equals() local 308 return mPackageAndClassName.equals(other.mPackageAndClassName) && mMemberName.equals( in equals() 309 other.mMemberName) && mMethodParameterTypes.equals(other.mMethodParameterTypes); in equals() 323 public boolean equalsIgnoringParam(ApiComponents other) { in equalsIgnoringParam() argument 324 return mPackageAndClassName.equals(other.mPackageAndClassName) && in equalsIgnoringParam() 325 mMemberName.equals(other.mMemberName); in equalsIgnoringParam()
|
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/ |
D | TurbineFieldItem.kt | 43 override fun equals(other: Any?): Boolean { in name() 44 if (this === other) { in name() 47 return other is FieldItem && in name() 48 name() == other.name() && in name() 49 containingClass() == other.containingClass() in name()
|
D | TurbineParameterItem.kt | 60 override fun equals(other: Any?): Boolean { in equals() 61 if (this === other) { in equals() 64 return other is ParameterItem && in equals() 65 parameterIndex == other.parameterIndex && in equals() 66 containingMethod == other.containingMethod() in equals()
|