/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSTile.java | 406 public boolean copyTo(State other) { argument 407 if (other == null) throw new IllegalArgumentException(); 408 if (!other.getClass().equals(getClass())) throw new IllegalArgumentException(); 409 final boolean changed = other.visible != visible 410 || !Objects.equals(other.icon, icon) 411 || !Objects.equals(other.label, label) 412 || !Objects.equals(other.contentDescription, contentDescription) 413 || !Objects.equals(other.autoMirrorDrawable, autoMirrorDrawable) 414 || !Objects.equals(other.dualLabelContentDescription, 416 other 446 copyTo(State other) argument 471 copyTo(State other) argument [all...] |
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | ScanResult.java | 139 ScanResult other = (ScanResult) obj; 140 return Objects.equals(mDevice, other.mDevice) && (mRssi == other.mRssi) && 141 Objects.equals(mScanRecord, other.mScanRecord) 142 && (mTimestampNanos == other.mTimestampNanos);
|
/frameworks/base/location/java/android/location/ |
H A D | Geofence.java | 171 Geofence other = (Geofence) obj; 172 if (mRadius != other.mRadius) 174 if (mLatitude != other.mLatitude) 176 if (mLongitude != other.mLongitude) 178 if (mType != other.mType)
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ContainerEncryptionParams.java | 208 final ContainerEncryptionParams other = (ContainerEncryptionParams) o; 211 if ((mAuthenticatedDataStart != other.mAuthenticatedDataStart) 212 || (mEncryptedDataStart != other.mEncryptedDataStart) 213 || (mDataEnd != other.mDataEnd)) { 218 if (!mEncryptionAlgorithm.equals(other.mEncryptionAlgorithm) 219 || !mMacAlgorithm.equals(other.mMacAlgorithm)) { 224 if (!isSecretKeyEqual(mEncryptionKey, other.mEncryptionKey) 225 || !isSecretKeyEqual(mMacKey, other.mMacKey)) { 229 if (!Arrays.equals(mEncryptionSpec.getIV(), other.mEncryptionSpec.getIV()) 230 || !Arrays.equals(mMacTag, other [all...] |
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiDeviceInfo.java | 27 * container includes adopter id and device type. Otherwise, it keeps the information of other type 253 * switching to other input. 384 * is either MHL or other device. 392 * either CEC or other device. 414 * Returns vendor id of the device. Vendor id is used to distinguish devices built by other 501 HdmiDeviceInfo other = (HdmiDeviceInfo) obj; 502 return mHdmiDeviceType == other.mHdmiDeviceType 503 && mPhysicalAddress == other.mPhysicalAddress 504 && mPortId == other.mPortId 505 && mLogicalAddress == other [all...] |
/frameworks/base/core/java/android/hardware/soundtrigger/ |
H A D | SoundTrigger.java | 84 /** Supports capture by other use cases while detection is active */ 234 SoundModel other = (SoundModel) obj; 235 if (!Arrays.equals(data, other.data)) 237 if (type != other.type) 240 if (other.uuid != null) 242 } else if (!uuid.equals(other.uuid)) 245 if (other.vendorUuid != null) 247 } else if (!vendorUuid.equals(other.vendorUuid)) 346 Keyphrase other = (Keyphrase) obj; 348 if (other [all...] |
/frameworks/base/core/java/android/content/ |
H A D | RestrictionEntry.java | 262 * This method is not relevant for types other than 296 * set in {@link #setChoiceValues(String[])}. This method is not relevant for types other 364 private boolean equalArrays(String[] one, String[] other) { argument 365 if (one.length != other.length) return false; 367 if (!one[i].equals(other[i])) return false; 376 final RestrictionEntry other = (RestrictionEntry) o; 378 return mType == other.mType && mKey.equals(other.mKey) 380 ((mCurrentValues == null && other.mCurrentValues == null 381 && mCurrentValue != null && mCurrentValue.equals(other [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | AString.cpp | 134 bool AString::operator==(const AString &other) const { 135 return mSize == other.mSize && !memcmp(mData, other.mData, mSize); 298 bool AString::operator<(const AString &other) const { 299 return compare(other) < 0; 302 bool AString::operator>(const AString &other) const { 303 return compare(other) > 0; 306 int AString::compare(const AString &other) const { 307 return strcmp(mData, other.mData); 310 int AString::compareIgnoreCase(const AString &other) cons [all...] |
/frameworks/base/core/java/android/net/ |
H A D | StaticIpConfiguration.java | 82 * in K and earlier, and other OSes appear to accept it. 155 StaticIpConfiguration other = (StaticIpConfiguration) obj; 157 return other != null && 158 Objects.equals(ipAddress, other.ipAddress) && 159 Objects.equals(gateway, other.gateway) && 160 dnsServers.equals(other.dnsServers) && 161 Objects.equals(domains, other.domains);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvContentRating.java | 684 // TODO: Consider to use other DELIMITER. In some countries such as India may use this delimiter 825 * this rating's sub-ratings contain the other's. 866 TvContentRating other = (TvContentRating) obj; 867 if (mHashCode != other.mHashCode) { 870 if (!TextUtils.equals(mDomain, other.mDomain)) { 873 if (!TextUtils.equals(mRatingSystem, other.mRatingSystem)) { 876 if (!TextUtils.equals(mRating, other.mRating)) { 879 return Arrays.equals(mSubRatings, other.mSubRatings);
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.cpp | 44 Point Point::operator+(const Point& other) const { 46 out.x_ = x_ + other.x_; 47 out.y_ = y_ + other.y_; 51 Point Point::operator-(const Point& other) const { 53 out.x_ = x_ - other.x_; 54 out.y_ = y_ - other.y_;
|
/frameworks/base/core/java/android/hardware/camera2/marshal/ |
H A D | MarshalRegistry.java | 112 public boolean equals(Object other) { argument 113 if (other instanceof MarshalToken<?>) { 114 MarshalToken<?> otherToken = (MarshalToken<?>)other;
|
/frameworks/base/core/java/android/print/ |
H A D | PageRange.java | 136 PageRange other = (PageRange) obj; 137 if (mEnd != other.mEnd) { 140 if (mStart != other.mStart) {
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
H A D | sparse_weight_vector.h | 45 explicit SparseWeightVector(const SparseWeightVector<Key, Hash> &other) { argument 46 CopyFrom(other); 48 void operator=(const SparseWeightVector<Key, Hash> &other) { argument 49 CopyFrom(other); 51 void CopyFrom(const SparseWeightVector<Key, Hash> &other) { argument 52 w_ = other.w_; 53 wmin_ = other.wmin_; 54 wmax_ = other.wmax_; 55 normalizer_ = other.normalizer_;
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmWriter.h | 106 WebmStream &operator=(const WebmStream &other) { argument 107 mType = other.mType; 108 mName = other.mName; 109 mMakeTrack = other.mMakeTrack;
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | LensShadingMap.java | 224 final LensShadingMap other = (LensShadingMap) obj; 225 return mRows == other.mRows 226 && mColumns == other.mColumns 227 && Arrays.equals(mElements, other.mElements);
|
/frameworks/base/core/java/android/text/util/ |
H A D | Rfc822Token.java | 192 Rfc822Token other = (Rfc822Token) o; 193 return (stringEquals(mName, other.mName) && 194 stringEquals(mAddress, other.mAddress) && 195 stringEquals(mComment, other.mComment));
|
/frameworks/base/libs/hwui/ |
H A D | PatchCache.h | 109 bool operator==(const PatchDescription& other) const { 110 return compare(*this, other) == 0; 113 bool operator!=(const PatchDescription& other) const { 114 return compare(*this, other) != 0;
|
H A D | TextDropShadowCache.h | 66 bool operator==(const ShadowText& other) const { 67 return compare(*this, other) == 0; 70 bool operator!=(const ShadowText& other) const { 71 return compare(*this, other) != 0;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | PendingIntentRecord.java | 107 Key other = (Key)otherObj; 108 if (type != other.type) { 111 if (userId != other.userId){ 114 if (!packageName.equals(other.packageName)) { 117 if (activity != other.activity) { 120 if (who != other.who) { 122 if (!who.equals(other.who)) { 125 } else if (other.who != null) { 129 if (requestCode != other.requestCode) { 132 if (requestIntent != other [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | StatusHints.java | 137 public boolean equals(Object other) { argument 138 if (other != null && other instanceof StatusHints) { 139 StatusHints otherHints = (StatusHints) other;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | CellInfo.java | 118 public boolean equals(Object other) { argument 119 if (other == null) { 122 if (this == other) { 126 CellInfo o = (CellInfo) other;
|
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
H A D | Camera2RequestSettingsSet.java | 53 * @param other The reference instance. 55 * @throws NullPointerException If {@code other} is {@code null}. 57 public Camera2RequestSettingsSet(Camera2RequestSettingsSet other) { argument 58 if (other == null) { 62 mDictionary = new HashMap<>(other.mDictionary); 63 mRevision = other.mRevision;
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 41 * to the view hierarchy. In other words, a custom view is free to report itself as 1112 * A screen-reader must visit the content of the other node before the content 1127 * A screen-reader must visit the content of the other node before the content 1145 * A screen-reader must visit the content of the other node before the content 2524 * @param info The other info. 2673 * @param other The other instance. 2675 private void init(AccessibilityNodeInfo other) { argument 2676 mSealed = other.mSealed; 2677 mSourceNodeId = other 3485 equals(Object other) argument 3536 obtain(RangeInfo other) argument 3662 obtain(CollectionInfo other) argument 3803 obtain(CollectionItemInfo other) argument [all...] |
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneInfo.java | 308 * Returns a negative integer if this instance is less than the other; a 309 * positive integer if this instance is greater than the other; 0 if this 310 * instance has the same order as the other. 313 public int compareTo(TimeZoneInfo other) { argument 314 if (this.getNowOffsetMillis() != other.getNowOffsetMillis()) { 315 return (other.getNowOffsetMillis() < this.getNowOffsetMillis()) ? -1 : 1; 320 if (other.mCountry != null) { 325 if (other.mCountry == null) { 328 int diff = this.mCountry.compareTo(other.mCountry); 335 if (Arrays.equals(this.mTransitions, other [all...] |