Searched refs:other (Results 51 - 75 of 197) sorted by relevance

12345678

/frameworks/base/core/java/android/content/pm/
H A DContainerEncryptionParams.java204 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 DManifestDigest.java99 final ManifestDigest other = (ManifestDigest) o;
101 return this == other || Arrays.equals(mDigest, other.mDigest);
H A DVerifierDeviceIdentity.java194 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 DRestrictionEntry.java213 * 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 DPreferenceGroupAdapter.java96 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 Dgeometry.cpp44 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 DCameraMetadata.cpp41 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 DAString.cpp125 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 DRfc822Token.java192 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 DSurface.java305 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 DPatchCache.h109 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 DTextDropShadowCache.h66 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 DPendingIntentRecord.java104 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 DCellInfo.java118 public boolean equals(Object other) { argument
119 if (other == null) {
122 if (this == other) {
126 CellInfo o = (CellInfo) other;
H A DCellIdentityGsm.java121 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 Dsparse_weight_vector.h45 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 DTimeZoneInfo.java308 * 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 DCaptureRequest.java127 * @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 DPrintJob.java192 PrintJob other = (PrintJob) obj;
193 return mCachedInfo.getId().equals(other.mCachedInfo.getId());
H A DPrintJobId.java70 PrintJobId other = (PrintJobId) obj;
71 if (!TextUtils.equals(mValue, other.mValue)) {
H A DPrintDocumentInfo.java230 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 Dgeometry.h41 Point operator+(const Point& other) const;
42 Point operator-(const Point& other) const;
/frameworks/base/services/input/
H A DInputListener.h45 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 DSpriteController.h42 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 DTypedValue.java156 * 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...]

Completed in 602 milliseconds

12345678