/frameworks/base/core/java/android/content/pm/ |
H A D | ContainerEncryptionParams.java | 204 final ContainerEncryptionParams other = (ContainerEncryptionParams) o; 207 if ((mAuthenticatedDataStart != other.mAuthenticatedDataStart) 208 || (mEncryptedDataStart != other.mEncryptedDataStart) 209 || (mDataEnd != other.mDataEnd)) { 214 if (!mEncryptionAlgorithm.equals(other.mEncryptionAlgorithm) 215 || !mMacAlgorithm.equals(other.mMacAlgorithm)) { 220 if (!isSecretKeyEqual(mEncryptionKey, other.mEncryptionKey) 221 || !isSecretKeyEqual(mMacKey, other.mMacKey)) { 225 if (!Arrays.equals(mEncryptionSpec.getIV(), other.mEncryptionSpec.getIV()) 226 || !Arrays.equals(mMacTag, other [all...] |
H A D | ManifestDigest.java | 99 final ManifestDigest other = (ManifestDigest) o; 101 return this == other || Arrays.equals(mDigest, other.mDigest);
|
H A D | VerifierDeviceIdentity.java | 194 public boolean equals(Object other) { argument 195 if (!(other instanceof VerifierDeviceIdentity)) { 199 final VerifierDeviceIdentity o = (VerifierDeviceIdentity) other;
|
/frameworks/base/core/java/android/content/ |
H A D | RestrictionEntry.java | 213 * This method is not relevant for types other than 247 * set in {@link #setChoiceValues(String[])}. This method is not relevant for types other 315 private boolean equalArrays(String[] one, String[] other) { argument 316 if (one.length != other.length) return false; 318 if (!one[i].equals(other[i])) return false; 327 final RestrictionEntry other = (RestrictionEntry) o; 329 return type == other.type && key.equals(other.key) 331 ((currentValues == null && other.currentValues == null 332 && currentValue != null && currentValue.equals(other [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceGroupAdapter.java | 96 public int compareTo(PreferenceLayout other) { argument 97 int compareNames = name.compareTo(other.name); 99 if (resId == other.resId) { 100 if (widgetResId == other.widgetResId) { 103 return widgetResId - other.widgetResId; 106 return resId - other.resId;
|
/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/av/camera/ |
H A D | CameraMetadata.cpp | 41 CameraMetadata::CameraMetadata(const CameraMetadata &other) : argument 43 mBuffer = clone_camera_metadata(other.mBuffer); 51 CameraMetadata &CameraMetadata::operator=(const CameraMetadata &other) { argument 52 return operator=(other.mBuffer); 127 void CameraMetadata::acquire(CameraMetadata &other) { argument 132 acquire(other.release()); 135 status_t CameraMetadata::append(const CameraMetadata &other) { argument 136 return append(other.mBuffer); 139 status_t CameraMetadata::append(const camera_metadata_t* other) { argument 144 size_t extraEntries = get_camera_metadata_entry_count(other); 578 swap(CameraMetadata& other) argument [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | AString.cpp | 125 bool AString::operator==(const AString &other) const { 126 return mSize == other.mSize && !memcmp(mData, other.mData, mSize); 289 bool AString::operator<(const AString &other) const { 290 return compare(other) < 0; 293 bool AString::operator>(const AString &other) const { 294 return compare(other) > 0; 297 int AString::compare(const AString &other) const { 298 return strcmp(mData, other.mData);
|
/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/core/java/android/view/ |
H A D | Surface.java | 305 public void copyFrom(SurfaceControl other) { argument 306 if (other == null) { 307 throw new IllegalArgumentException("other must not be null"); 310 int surfaceControlPtr = other.mNativeObject; 327 * @param other access is not thread safe 332 public void transferFrom(Surface other) { argument 333 if (other == null) { 334 throw new IllegalArgumentException("other must not be null"); 336 if (other != this) { 338 synchronized (other [all...] |
/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/java/com/android/server/am/ |
H A D | PendingIntentRecord.java | 104 Key other = (Key)otherObj; 105 if (type != other.type) { 108 if (userId != other.userId){ 111 if (!packageName.equals(other.packageName)) { 114 if (activity != other.activity) { 117 if (who != other.who) { 119 if (!who.equals(other.who)) { 122 } else if (other.who != null) { 126 if (requestCode != other.requestCode) { 129 if (requestIntent != other [all...] |
/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;
|
H A D | CellIdentityGsm.java | 121 public boolean equals(Object other) { argument 122 if (super.equals(other)) { 124 CellIdentityGsm o = (CellIdentityGsm)other;
|
/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/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...] |
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CaptureRequest.java | 127 * @param other Another instance of CaptureRequest. 132 public boolean equals(Object other) { argument 133 return other instanceof CaptureRequest 134 && equals((CaptureRequest)other); 137 private boolean equals(CaptureRequest other) { argument 138 return other != null 139 && Objects.equals(mUserTag, other.mUserTag) 140 && mSurfaceSet.equals(other.mSurfaceSet) 141 && mSettings.equals(other.mSettings); 568 * mode; in other mode [all...] |
/frameworks/base/core/java/android/print/ |
H A D | PrintJob.java | 192 PrintJob other = (PrintJob) obj; 193 return mCachedInfo.getId().equals(other.mCachedInfo.getId());
|
H A D | PrintJobId.java | 70 PrintJobId other = (PrintJobId) obj; 71 if (!TextUtils.equals(mValue, other.mValue)) {
|
H A D | PrintDocumentInfo.java | 230 PrintDocumentInfo other = (PrintDocumentInfo) obj; 231 if (!TextUtils.equals(mName, other.mName)) { 234 if (mContentType != other.mContentType) { 237 if (mPageCount != other.mPageCount) { 240 if (mDataSize != other.mDataSize) {
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.h | 41 Point operator+(const Point& other) const; 42 Point operator-(const Point& other) const;
|
/frameworks/base/services/input/ |
H A D | InputListener.h | 45 NotifyConfigurationChangedArgs(const NotifyConfigurationChangedArgs& other); 72 NotifyKeyArgs(const NotifyKeyArgs& other); 107 NotifyMotionArgs(const NotifyMotionArgs& other); 127 NotifySwitchArgs(const NotifySwitchArgs& other); 145 NotifyDeviceResetArgs(const NotifyDeviceResetArgs& other);
|
H A D | SpriteController.h | 42 inline bool operator== (const SpriteTransformationMatrix& other) { argument 43 return dsdx == other.dsdx 44 && dtdx == other.dtdx 45 && dsdy == other.dsdy 46 && dtdy == other.dtdy; 49 inline bool operator!= (const SpriteTransformationMatrix& other) { argument 50 return !(*this == other); 84 * A sprite is a simple graphical object that is displayed on-screen above other layers. 132 * by other components.
|
/frameworks/base/core/java/android/util/ |
H A D | TypedValue.java | 156 * This tells you how to interpret the other fields in the object. */ 362 * @param base The base value of this fraction. In other words, a 364 * @param pbase The parent base value of this fraction. In other 386 * @param base The base value of this fraction. In other words, a 388 * @param pbase The parent base value of this fraction. In other 466 public void setTo(TypedValue other) argument 468 type = other.type; 469 string = other.string; 470 data = other.data; 471 assetCookie = other [all...] |