/frameworks/base/core/java/android/content/ |
H A D | RestrictionEntry.java | 336 * This method is not relevant for types other than 386 * set in {@link #setChoiceValues(String[])}. This method is not relevant for types other 458 final RestrictionEntry other = (RestrictionEntry) o; 459 if (mType != other.mType || !mKey.equals(other.mKey)) { 462 if (mCurrentValues == null && other.mCurrentValues == null 463 && mRestrictions == null && other.mRestrictions == null 464 && Objects.equals(mCurrentValue, other.mCurrentValue)) { 467 if (mCurrentValue == null && other.mCurrentValue == null 468 && mRestrictions == null && other [all...] |
/frameworks/base/core/java/android/hardware/radio/ |
H A D | RadioManager.java | 182 * associated audio source and the other is for pre scanning and building a 287 ModuleProperties other = (ModuleProperties) obj; 288 if (mId != other.getId()) 290 if (mClassId != other.getClassId()) 293 if (other.getImplementor() != null) 295 } else if (!mImplementor.equals(other.getImplementor())) 298 if (other.getProduct() != null) 300 } else if (!mProduct.equals(other.getProduct())) 303 if (other.getVersion() != null) 305 } else if (!mVersion.equals(other [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Size.java | 59 * A size object is never equal to any other type of object. 73 Size other = (Size) obj; 74 return mWidth == other.mWidth && mHeight == other.mHeight;
|
H A D | SizeF.java | 83 final SizeF other = (SizeF) obj; 84 return mWidth == other.mWidth && mHeight == other.mHeight;
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | InputMethodSubtypeHandle.java | 57 InputMethodSubtypeHandle other = (InputMethodSubtypeHandle) o; 58 return TextUtils.equals(mInputMethodId, other.getInputMethodId()) 59 && mSubtypeId == other.getSubtypeId();
|
/frameworks/base/media/java/android/media/projection/ |
H A D | MediaProjectionInfo.java | 51 final MediaProjectionInfo other = (MediaProjectionInfo) o; 52 return Objects.equals(other.mPackageName, mPackageName) 53 && Objects.equals(other.mUserHandle, mUserHandle);
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | DataConnectionRealTimeInfo.java | 125 DataConnectionRealTimeInfo other = (DataConnectionRealTimeInfo) obj; 126 return (mTime == other.mTime) 127 && (mDcPowerState == other.mDcPowerState);
|
/frameworks/base/tools/aapt2/ |
H A D | Locale.h | 62 inline int compare(const LocaleValue& other) const; 86 int LocaleValue::compare(const LocaleValue& other) const { 87 return memcmp(this, &other, sizeof(LocaleValue));
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
H A D | Location.java | 58 public Location(Location other) { argument 59 startOffset = other.startOffset; 60 endOffset = other.endOffset; 61 startLine = other.startLine; 62 endLine = other.endLine; 152 public boolean contains(Location other) { argument 153 if (startLine > other.startLine) { 156 if (startLine == other.startLine && startOffset > other.startOffset) { 159 if (endLine < other [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouteDiscoveryRequest.java | 92 MediaRouteDiscoveryRequest other = (MediaRouteDiscoveryRequest)o; 93 return getSelector().equals(other.getSelector()) 94 && isActiveScan() == other.isActiveScan();
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
H A D | SoundTrigger.java | 86 /** Supports capture by other use cases while detection is active */ 242 SoundModel other = (SoundModel) obj; 243 if (!Arrays.equals(data, other.data)) 245 if (type != other.type) 248 if (other.uuid != null) 250 } else if (!uuid.equals(other.uuid)) 253 if (other.vendorUuid != null) 255 } else if (!vendorUuid.equals(other.vendorUuid)) 354 Keyphrase other = (Keyphrase) obj; 356 if (other [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/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/app/ |
H A D | AutomaticZenRule.java | 188 final AutomaticZenRule other = (AutomaticZenRule) o; 189 return other.enabled == enabled 190 && Objects.equals(other.name, name) 191 && other.interruptionFilter == interruptionFilter 192 && Objects.equals(other.conditionId, conditionId) 193 && Objects.equals(other.owner, owner) 194 && other.creationTime == creationTime;
|
/frameworks/base/core/java/android/print/ |
H A D | PrintJobInfo.java | 205 public PrintJobInfo(PrintJobInfo other) { argument 206 mId = other.mId; 207 mLabel = other.mLabel; 208 mPrinterId = other.mPrinterId; 209 mPrinterName = other.mPrinterName; 210 mState = other.mState; 211 mAppId = other.mAppId; 212 mTag = other.mTag; 213 mCreationTime = other.mCreationTime; 214 mCopies = other [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicy.java | 147 // other value is missing or disabled; we win 151 // we're disabled or other limit is smaller; they win 166 final NetworkPolicy other = (NetworkPolicy) obj; 167 return cycleDay == other.cycleDay && warningBytes == other.warningBytes 168 && limitBytes == other.limitBytes 169 && lastWarningSnooze == other.lastWarningSnooze 170 && lastLimitSnooze == other.lastLimitSnooze && metered == other.metered 171 && inferred == other [all...] |
H A D | StaticIpConfiguration.java | 81 * in K and earlier, and other OSes appear to accept it. 154 StaticIpConfiguration other = (StaticIpConfiguration) obj; 156 return other != null && 157 Objects.equals(ipAddress, other.ipAddress) && 158 Objects.equals(gateway, other.gateway) && 159 dnsServers.equals(other.dnsServers) && 160 Objects.equals(domains, other.domains);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/ |
H A D | HomeSP.java | 167 public boolean deepEquals(HomeSP other) { argument 168 return mFQDN.equals(other.mFQDN) && 169 mSSIDs.equals(other.mSSIDs) && 170 mOtherHomePartners.equals(other.mOtherHomePartners) && 171 mRoamingConsortiums.equals(other.mRoamingConsortiums) && 172 mMatchAnyOIs.equals(other.mMatchAnyOIs) && 173 mMatchAllOIs.equals(other.mMatchAllOIs) && 174 mFriendlyName.equals(other.mFriendlyName) && 175 Utils.compare(mIconURL, other.mIconURL) == 0 && 176 mCredential.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/libs/hwui/utils/ |
H A D | LinearAllocator.h | 11 * documentation and/or other materials provided with the distribution. 120 LinearAllocator(const LinearAllocator& other); 162 LinearStdAllocator(const LinearStdAllocator& other) argument 163 : linearAllocator(other.linearAllocator) {} 169 typedef LinearStdAllocator<U> other; typedef in struct:android::uirenderer::LinearStdAllocator::rebind 171 // enable allocators to be constructed from other templated types 173 LinearStdAllocator(const LinearStdAllocator<U>& other) argument 174 : linearAllocator(other.linearAllocator) {}
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvContentRating.java | 775 // TODO: Consider to use other DELIMITER. In some countries such as India may use this delimiter 927 * this rating's sub-ratings contain the other's. 963 TvContentRating other = (TvContentRating) obj; 964 if (mHashCode != other.mHashCode) { 967 if (!TextUtils.equals(mDomain, other.mDomain)) { 970 if (!TextUtils.equals(mRatingSystem, other.mRatingSystem)) { 973 if (!TextUtils.equals(mRating, other.mRating)) { 976 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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | ApnSetting.java | 74 * This should be spread to other technologies, 82 * This should be spread to other technologies, 499 ApnSetting other = (ApnSetting) o; 501 return carrier.equals(other.carrier) && 502 id == other.id && 503 numeric.equals(other.numeric) && 504 apn.equals(other.apn) && 505 proxy.equals(other.proxy) && 506 mmsc.equals(other.mmsc) && 507 mmsProxy.equals(other [all...] |
/frameworks/base/core/java/android/hardware/camera2/marshal/ |
H A D | MarshalRegistry.java | 117 public boolean equals(Object other) { argument 118 if (other instanceof MarshalToken<?>) { 119 MarshalToken<?> otherToken = (MarshalToken<?>)other;
|