Home
last modified time | relevance | path

Searched refs:other (Results 1 – 25 of 86) sorted by relevance

1234

/tools/test/connectivity/acts/framework/acts/controllers/
Dpower_metrics.py103 def __eq__(self, other): argument
104 return self.value == other.to_unit(self.unit).value
106 def __lt__(self, other): argument
107 return self.value < other.to_unit(self.unit).value
109 def __le__(self, other): argument
110 return self == other or self < other
114 def __add__(self, other): argument
118 return Metric(self.value + other.to_unit(self.unit).value,
121 def __sub__(self, other): argument
125 return Metric(self.value - other.to_unit(self.unit).value,
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/hvpm/
Dtransformers.py363 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/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/lvpm_stock/
Dstock_transformers.py301 def __add__(self, other): argument
303 self.main_current + other.main_current,
304 self.usb_current + other.usb_current,
305 self.aux_current + other.aux_current,
306 self.main_voltage + other.main_voltage,
308 sample_time = self.sample_time + other.sample_time
312 def __truediv__(self, other): argument
314 self.main_current / other,
315 self.usb_current / other,
316 self.aux_current / other,
[all …]
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DDataSlice.kt49 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/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt67 fun equivalentTo(other: ModifierList): Boolean { in <lambda>()
68 if (isPublic() != other.isPublic()) return false in <lambda>()
69 if (isProtected() != other.isProtected()) return false in <lambda>()
70 if (isPrivate() != other.isPrivate()) return false in <lambda>()
72 if (isStatic() != other.isStatic()) return false in <lambda>()
73 if (isAbstract() != other.isAbstract()) return false in <lambda>()
74 if (isFinal() != other.isFinal()) { return false } in <lambda>()
75 … if (compatibility.includeSynchronized && isSynchronized() != other.isSynchronized()) return false in <lambda>()
76 if (isTransient() != other.isTransient()) return false in <lambda>()
77 if (isVolatile() != other.isVolatile()) return false in <lambda>()
[all …]
DMethodItem.kt416 fun hasSameValue(other: MethodItem): Boolean { in <lambda>()
417 if (!containingClass().isAnnotationType() || !other.containingClass().isAnnotationType()) { in <lambda>()
421 return defaultValue() == other.defaultValue() in <lambda>()
429 fun matches(other: MethodItem): Boolean { in <lambda>()
430 if (this === other) return true in <lambda>()
432 if (name() != other.name()) { in <lambda>()
437 val parameters2 = other.parameters() in <lambda>()
452 val type2 = parameter2.type().toErasedTypeString(other) in <lambda>()
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/
DProcessModelFragment.kt63 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/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dbt_contacts_utils.py143 def __eq__(self, other): argument
144 return (self.phone_type == other.phone_type and
145 self.phone_number == other.phone_number)
163 def __lt__(self, other): argument
164 return self.name < other.name
172 def __eq__(self, other): argument
173 return hash(self) == hash(other)
175 def __ne__(self, other): argument
176 return not self.__eq__(other)
/tools/platform-compat/java/com/android/class2nonsdklist/
DApiComponents.java307 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/src/main/java/com/android/tools/metalava/model/text/
DTextPropertyItem.kt36 override fun equals(other: Any?): Boolean { in equals()
37 if (this === other) return true in equals()
38 if (other !is FieldItem) return false in equals()
40 if (name() != other.name()) { in equals()
44 return containingClass() == other.containingClass() in equals()
DTextFieldItem.kt37 override fun equals(other: Any?): Boolean { in equals()
38 if (this === other) return true in equals()
39 if (other !is FieldItem) return false in equals()
41 if (name() != other.name()) { in equals()
45 return containingClass() == other.containingClass() in equals()
DTextMethodItem.kt46 override fun equals(other: Any?): Boolean { in equals()
47 if (this === other) return true in equals()
48 if (other !is MethodItem) return false in equals()
50 if (name() != other.name()) { in equals()
54 if (containingClass() != other.containingClass()) { in equals()
59 val parameters2 = other.parameters() in equals()
DTextPackageItem.kt58 override fun equals(other: Any?): Boolean { in classList()
59 if (this === other) return true in classList()
60 if (other !is PackageItem) return false in classList()
62 return name == other.qualifiedName() in classList()
DTextParameterItem.kt56 override fun equals(other: Any?): Boolean { in type()
57 if (this === other) return true in type()
58 if (other !is ParameterItem) return false in type()
60 return parameterIndex == other.parameterIndex in type()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DPair.java64 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/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFat.java396 final Fat other = (Fat) obj; in equals()
397 if (this.fatType != other.fatType) return false; in equals()
398 if (this.sectorCount != other.sectorCount) return false; in equals()
399 if (this.sectorSize != other.sectorSize) return false; in equals()
400 if (this.lastClusterIndex != other.lastClusterIndex) return false; in equals()
401 if (!Arrays.equals(this.entries, other.entries)) return false; in equals()
402 if (this.getMediumDescriptor() != other.getMediumDescriptor()) in equals()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiPropertyItem.kt60 override fun equals(other: Any?): Boolean { in equals()
61 if (this === other) { in equals()
64 … return other is FieldItem && name == other.name() && containingClass == other.containingClass() in equals()
DPsiFieldItem.kt102 override fun equals(other: Any?): Boolean { in equals()
103 if (this === other) { in equals()
106 … return other is FieldItem && name == other.name() && containingClass == other.containingClass() in equals()
DPsiParameterItem.kt176 override fun equals(other: Any?): Boolean { in type()
177 if (this === other) { in type()
180 …return other is ParameterItem && parameterIndex == other.parameterIndex && containingMethod == oth… in type()
DPsiPackageItem.kt104 override fun equals(other: Any?): Boolean { in qualifiedName()
105 if (this === other) { in qualifiedName()
108 return other is PackageItem && qualifiedName == other.qualifiedName() in qualifiedName()
/tools/external/fat32lib/
DNOTICE17 …ftware packages--typically libraries--of the Free Software Foundation and other authors who decide…
23 …make sure that they, too, receive or can get the source code. If you link other code with the libr…
33 …. The Lesser General Public License permits more lax criteria for linking other code with the libr…
35 …user's freedom than the ordinary General Public License. It also provides other free software deve…
39 In other cases, permission to use a particular library in non-free programs enables a greater numbe…
47 …nt applies to any software library or other program which contains a notice placed by the copyrigh…
55 Activities other than copying, distribution and modification are not covered by this License; they …
66 … of data to be supplied by an application program that uses the facility, other than as an argumen…
69 … of the whole must be on the terms of this License, whose permissions for other licensees extend t…
73 …brary) on a volume of a storage or distribution medium does not bring the other work under the sco…
[all …]
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationApplicationId.java115 public int compareTo(AttestationApplicationId other) { in compareTo() argument
116 int res = Integer.compare(packageInfos.size(), other.packageInfos.size()); in compareTo()
119 res = packageInfos.get(i).compareTo(other.packageInfos.get(i)); in compareTo()
122 res = Integer.compare(signatureDigests.size(), other.signatureDigests.size()); in compareTo()
126 res = cmp.compare(signatureDigests.get(i), other.signatureDigests.get(i)); in compareTo()
/tools/treble/split/
Dmanifest_diff.py82 other: ChangeMap = dataclasses.field(default_factory=ChangeMap) variable in ManifestChanges
85 return self.projects or self.remotes or self.other
95 ret_str += (textwrap.indent(str(self.other) + '\n', _INDENT)
96 if self.other else _INDENT + 'No changes found.\n\n')
229 other=compare_single_node_elements(manifest_e1, manifest_e2,
/tools/dexter/slicer/export/slicer/
Dintrusive_list.h34 bool operator==(Iterator other) const { return p_ == other.p_; }
35 bool operator!=(Iterator other) const { return p_ != other.p_; }
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiElement.java81 final boolean introducedNotLaterThan(ApiElement other) { in introducedNotLaterThan() argument
82 return mSince <= other.mSince; in introducedNotLaterThan()
232 public int compareTo(@NotNull ApiElement other) { in compareTo() argument
233 return mName.compareTo(other.mName); in compareTo()

1234