/frameworks/base/media/java/android/media/ |
H A D | MediaRouterClientState.java | 39 * Globally selected routes override any other route selections that applications 118 public RouteInfo(RouteInfo other) { argument 119 id = other.id; 120 name = other.name; 121 description = other.description; 122 supportedTypes = other.supportedTypes; 123 enabled = other.enabled; 124 statusCode = other.statusCode; 125 playbackType = other.playbackType; 126 playbackStream = other [all...] |
H A D | AudioFocusInfo.java | 135 AudioFocusInfo other = (AudioFocusInfo) obj; 136 if (!mAttributes.equals(other.mAttributes)) { 139 if (!mClientId.equals(other.mClientId)) { 142 if (!mPackageName.equals(other.mPackageName)) { 145 if (mGainRequest != other.mGainRequest) { 148 if (mLossReceived != other.mLossReceived) { 151 if (mFlags != other.mFlags) {
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PreciseDataConnectionState.java | 216 PreciseDataConnectionState other = (PreciseDataConnectionState) obj; 218 if (other.mAPN != null) { 221 } else if (!mAPN.equals(other.mAPN)) { 225 if (other.mAPNType != null) { 228 } else if (!mAPNType.equals(other.mAPNType)) { 232 if (other.mFailCause != null) { 235 } else if (!mFailCause.equals(other.mFailCause)) { 239 if (other.mLinkProperties != null) { 242 } else if (!mLinkProperties.equals(other.mLinkProperties)) { 245 if (mNetworkType != other [all...] |
/frameworks/native/libs/input/ |
H A D | InputDevice.cpp | 133 InputDeviceInfo::InputDeviceInfo(const InputDeviceInfo& other) : argument 134 mId(other.mId), mGeneration(other.mGeneration), mControllerNumber(other.mControllerNumber), 135 mIdentifier(other.mIdentifier), mAlias(other.mAlias), mIsExternal(other.mIsExternal), 136 mSources(other.mSources), mKeyboardType(other.mKeyboardType), 137 mKeyCharacterMap(other [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | HighSpeedVideoConfiguration.java | 134 final HighSpeedVideoConfiguration other = (HighSpeedVideoConfiguration) obj; 135 return mWidth == other.mWidth && 136 mHeight == other.mHeight && 137 mFpsMin == other.mFpsMin && 138 mFpsMax == other.mFpsMax;
|
H A D | StreamConfiguration.java | 150 final StreamConfiguration other = (StreamConfiguration) obj; 151 return mFormat == other.mFormat && 152 mWidth == other.mWidth && 153 mHeight == other.mHeight && 154 mInput == other.mInput;
|
H A D | StreamConfigurationDuration.java | 129 final StreamConfigurationDuration other = (StreamConfigurationDuration) obj; 130 return mFormat == other.mFormat && 131 mWidth == other.mWidth && 132 mHeight == other.mHeight && 133 mDurationNs == other.mDurationNs;
|
H A D | RggbChannelVector.java | 173 final RggbChannelVector other = (RggbChannelVector) obj; 174 return mRed == other.mRed && 175 mGreenEven == other.mGreenEven && 176 mGreenOdd == other.mGreenOdd && 177 mBlue == other.mBlue;
|
/frameworks/base/core/java/android/print/ |
H A D | PrinterInfo.java | 63 public void copyFrom(PrinterInfo other) { argument 64 if (this == other) { 67 mId = other.mId; 68 mName = other.mName; 69 mStatus = other.mStatus; 70 mDescription = other.mDescription; 71 if (other.mCapabilities != null) { 73 mCapabilities.copyFrom(other.mCapabilities); 75 mCapabilities = new PrinterCapabilitiesInfo(other.mCapabilities); 176 PrinterInfo other 252 Builder(PrinterInfo other) argument [all...] |
H A D | PrinterCapabilitiesInfo.java | 79 public void copyFrom(PrinterCapabilitiesInfo other) { argument 80 if (this == other) { 84 mMinMargins = other.mMinMargins; 86 if (other.mMediaSizes != null) { 89 mMediaSizes.addAll(other.mMediaSizes); 91 mMediaSizes = new ArrayList<MediaSize>(other.mMediaSizes); 97 if (other.mResolutions != null) { 100 mResolutions.addAll(other.mResolutions); 102 mResolutions = new ArrayList<Resolution>(other.mResolutions); 108 mColorModes = other [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | PorterDuffColorFilter.java | 114 final PorterDuffColorFilter other = (PorterDuffColorFilter) object; 115 if (mColor != other.mColor || mMode != other.mMode) {
|
/frameworks/native/libs/ui/tests/ |
H A D | Region_test.cpp | 35 for (const Rect* other = current - 1; other >= r.begin(); other--) { 36 if (other->bottom < current->top) break; 37 if (other->bottom != current->top) continue; 38 checkVertTJunction(current, other); 40 for (const Rect* other = current + 1; other < r.end(); other++) { 41 if (other [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | PhoneAccountHandle.java | 83 * collide with values generated on other phones or after a data wipe of a given phone. 117 public boolean equals(Object other) { argument 118 return other != null && 119 other instanceof PhoneAccountHandle && 120 Objects.equals(((PhoneAccountHandle) other).getComponentName(), 122 Objects.equals(((PhoneAccountHandle) other).getId(), getId()) && 123 Objects.equals(((PhoneAccountHandle) other).getUserHandle(), getUserHandle());
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AString.h | 74 bool operator==(const AString &other) const; 75 bool operator!=(const AString &other) const { 76 return !operator==(other); 78 bool operator<(const AString &other) const; 79 bool operator>(const AString &other) const; 81 int compare(const AString &other) const; 82 int compareIgnoreCase(const AString &other) const; 84 bool equalsIgnoreCase(const AString &other) const;
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | WifiDisplay.java | 139 public boolean equals(WifiDisplay other) { argument 140 return other != null 141 && mDeviceAddress.equals(other.mDeviceAddress) 142 && mDeviceName.equals(other.mDeviceName) 143 && Objects.equal(mDeviceAlias, other.mDeviceAlias); 147 * Returns true if the other display is not null and has the same address as this one. 151 public boolean hasSameAddress(WifiDisplay other) { argument 152 return other != null && mDeviceAddress.equals(other.mDeviceAddress);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | VerificationParams.java | 128 final VerificationParams other = (VerificationParams) o; 131 if (other.mVerificationURI != null) { 134 } else if (!mVerificationURI.equals(other.mVerificationURI)) { 139 if (other.mOriginatingURI != null) { 142 } else if (!mOriginatingURI.equals(other.mOriginatingURI)) { 147 if (other.mReferrer != null) { 150 } else if (!mReferrer.equals(other.mReferrer)) { 154 if (mOriginatingUid != other.mOriginatingUid) { 159 if (other.mManifestDigest != null) { 162 } else if (!mManifestDigest.equals(other [all...] |
H A D | PackageCleanItem.java | 41 PackageCleanItem other = (PackageCleanItem)obj; 42 return userId == other.userId && packageName.equals(other.packageName) 43 && andCode == other.andCode;
|
/frameworks/base/core/java/android/view/ |
H A D | WindowInfo.java | 60 public static WindowInfo obtain(WindowInfo other) { argument 62 window.type = other.type; 63 window.layer = other.layer; 64 window.token = other.token; 65 window.parentToken = other.parentToken; 66 window.focused = other.focused; 67 window.boundsInScreen.set(other.boundsInScreen); 69 if (other.childTokens != null && !other.childTokens.isEmpty()) { 71 window.childTokens = new ArrayList<IBinder>(other [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatterySipper.java | 82 public int compareTo(BatterySipper other) { argument 84 if (drainType != other.drainType) { 88 } else if (other.drainType == DrainType.OVERCOUNTED) { 93 return Double.compare(other.value, value);
|
/frameworks/base/libs/hwui/ |
H A D | LayerCache.h | 64 * not enough space available. Adding a layer can cause other layers to 114 bool operator==(const LayerEntry& other) const { 115 return compare(*this, other) == 0; 118 bool operator!=(const LayerEntry& other) const { 119 return compare(*this, other) != 0;
|
H A D | RenderBufferCache.h | 52 * not enough space available. Adding a buffer can cause other buffer to 95 bool operator==(const RenderBufferEntry& other) const { 96 return compare(*this, other) == 0; 99 bool operator!=(const RenderBufferEntry& other) const { 100 return compare(*this, other) != 0;
|
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiPortInfo.java | 181 final HdmiPortInfo other = (HdmiPortInfo) o; 182 return mId == other.mId && mType == other.mType && mAddress == other.mAddress 183 && mCecSupported == other.mCecSupported && mArcSupported == other.mArcSupported 184 && mMhlSupported == other.mMhlSupported;
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicy.java | 137 // other value is missing or disabled; we win 141 // we're disabled or other limit is smaller; they win 156 final NetworkPolicy other = (NetworkPolicy) obj; 157 return cycleDay == other.cycleDay && warningBytes == other.warningBytes 158 && limitBytes == other.limitBytes 159 && lastWarningSnooze == other.lastWarningSnooze 160 && lastLimitSnooze == other.lastLimitSnooze && metered == other.metered 161 && inferred == other [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | Voice.java | 221 Voice other = (Voice) obj; 223 if (other.mFeatures != null) { 226 } else if (!mFeatures.equals(other.mFeatures)) { 229 if (mLatency != other.mLatency) { 233 if (other.mLocale != null) { 236 } else if (!mLocale.equals(other.mLocale)) { 240 if (other.mName != null) { 243 } else if (!mName.equals(other.mName)) { 246 if (mQuality != other.mQuality) { 249 if (mRequiresNetworkConnection != other [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncOperation.java | 141 public SyncOperation(SyncOperation other, long newRunTimeFromNow) { argument 142 this(other.target, other.reason, other.syncSource, new Bundle(other.extras), 145 other.backoff, 146 other.delayUntil, 147 other.allowParallelSyncs); 150 public boolean matchesAuthority(SyncOperation other) { argument 151 return this.target.matchesSpec(other [all...] |