/frameworks/base/core/java/android/util/ |
Size.java | 59 * A size object is never equal to any other type of object. 73 Size other = (Size) obj; local 74 return mWidth == other.mWidth && mHeight == other.mHeight;
|
SizeF.java | 83 final SizeF other = (SizeF) obj; local 84 return mWidth == other.mWidth && mHeight == other.mHeight;
|
/frameworks/base/core/java/android/view/textclassifier/ |
TextClassificationSessionId.java | 73 TextClassificationSessionId other = (TextClassificationSessionId) obj; local 74 if (!mValue.equals(other.mValue)) {
|
/frameworks/base/core/java/com/android/internal/content/ |
ReferrerIntent.java | 59 final ReferrerIntent other = (ReferrerIntent) obj; local 60 return filterEquals(other) && Objects.equals(mReferrer, other.mReferrer);
|
/frameworks/base/graphics/java/android/graphics/ |
PorterDuffColorFilter.java | 123 final PorterDuffColorFilter other = (PorterDuffColorFilter) object; local 124 return (mColor == other.mColor && mMode.nativeInt == other.mMode.nativeInt);
|
/frameworks/base/keystore/java/android/security/keystore/ |
AndroidKeyStorePublicKey.java | 65 AndroidKeyStorePublicKey other = (AndroidKeyStorePublicKey) obj; local 66 if (!Arrays.equals(mEncoded, other.mEncoded)) {
|
/frameworks/base/media/java/android/media/ |
AudioDevicePort.java | 86 AudioDevicePort other = (AudioDevicePort)o; local 87 if (mType != other.type()) { 90 if (mAddress == null && other.address() != null) { 93 if (!mAddress.equals(other.address())) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
AppInfo.java | 51 final AppInfo other = (AppInfo) obj; local 52 return mComponentName.equals(other.mComponentName) && mUser.equals(other.mUser);
|
/frameworks/base/telephony/java/android/telephony/ |
DataSpecificRegistrationStates.java | 56 DataSpecificRegistrationStates other = (DataSpecificRegistrationStates) o; local 57 return this.maxDataCalls == other.maxDataCalls;
|
VoiceSpecificRegistrationStates.java | 94 VoiceSpecificRegistrationStates other = (VoiceSpecificRegistrationStates) o; local 95 return this.cssSupported == other.cssSupported 96 && this.roamingIndicator == other.roamingIndicator 97 && this.systemIsInPrl == other.systemIsInPrl 98 && this.defaultRoamingIndicator == other.defaultRoamingIndicator;
|
/frameworks/support/compat/src/main/java/androidx/core/view/ |
DisplayCutoutCompat.java | 114 DisplayCutoutCompat other = (DisplayCutoutCompat) o; local 115 return mDisplayCutout == null ? other.mDisplayCutout == null 116 : mDisplayCutout.equals(other.mDisplayCutout);
|
/frameworks/support/room/migration/src/test/java/androidx/room/migration/bundle/ |
ForeignKeyBundleTest.java | 35 ForeignKeyBundle other = new ForeignKeyBundle("table", "onDelete", local 38 assertThat(bundle.isSchemaEqual(other), is(true)); 46 ForeignKeyBundle other = new ForeignKeyBundle("table2", "onDelete", local 49 assertThat(bundle.isSchemaEqual(other), is(false)); 57 ForeignKeyBundle other = new ForeignKeyBundle("table", "onDelete", local 60 assertThat(bundle.isSchemaEqual(other), is(false)); 68 ForeignKeyBundle other = new ForeignKeyBundle("table", "onDelete", local 71 assertThat(bundle.isSchemaEqual(other), is(false)); 79 ForeignKeyBundle other = new ForeignKeyBundle("table", "onDelete", local 82 assertThat(bundle.isSchemaEqual(other), is(false)) 90 ForeignKeyBundle other = new ForeignKeyBundle("table", "onDelete", local [all...] |
IndexBundleTest.java | 34 IndexBundle other = new IndexBundle("index1", false, local 36 assertThat(bundle.isSchemaEqual(other), is(true)); 43 IndexBundle other = new IndexBundle("index3", false, local 45 assertThat(bundle.isSchemaEqual(other), is(false)); 52 IndexBundle other = new IndexBundle(IndexBundle.DEFAULT_PREFIX + "y", false, local 54 assertThat(bundle.isSchemaEqual(other), is(true)); 61 IndexBundle other = new IndexBundle("index1", true, local 63 assertThat(bundle.isSchemaEqual(other), is(false)); 70 IndexBundle other = new IndexBundle("index1", false, local 72 assertThat(bundle.isSchemaEqual(other), is(false)) 79 IndexBundle other = new IndexBundle("index1", false, local [all...] |
PrimaryKeyBundleTest.java | 34 PrimaryKeyBundle other = new PrimaryKeyBundle(true, local 36 assertThat(bundle.isSchemaEqual(other), is(true)); 43 PrimaryKeyBundle other = new PrimaryKeyBundle(false, local 45 assertThat(bundle.isSchemaEqual(other), is(false)); 52 PrimaryKeyBundle other = new PrimaryKeyBundle(true, local 54 assertThat(bundle.isSchemaEqual(other), is(false)); 61 PrimaryKeyBundle other = new PrimaryKeyBundle(true, local 63 assertThat(bundle.isSchemaEqual(other), is(false));
|
/libcore/ojluni/src/main/java/java/nio/file/ |
FileSystemException.java | 43 private final String other; field in class:FileSystemException 56 this.other = null; 66 * @param other 67 * a string identifying the other file or {@code null} if there 72 public FileSystemException(String file, String other, String reason) { 75 this.other = other; 88 * Returns the other file used to create this exception. 90 * @return the other file (can be {@code null}) 93 return other; [all...] |
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
RC2ParameterSpec.java | 141 RC2ParameterSpec other = (RC2ParameterSpec) obj; local 143 return ((effectiveKeyBits == other.effectiveKeyBits) && 144 java.util.Arrays.equals(iv, other.iv));
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
CompressionMethod.java | 70 CompressionMethod other = (CompressionMethod) obj; local 71 if (type != other.type) {
|
/libcore/support/src/test/java/tests/util/ |
Pair.java | 90 Pair other = (Pair) obj; local 92 if (other.mFirst != null) { 95 } else if (!mFirst.equals(other.mFirst)) { 99 if (other.mSecond != null) { 102 } else if (!mSecond.equals(other.mSecond)) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
HeadsetAgIndicatorEnableState.java | 40 HeadsetAgIndicatorEnableState other = (HeadsetAgIndicatorEnableState) obj; local 41 return service == other.service && roam == other.roam && signal == other.signal 42 && battery == other.battery;
|
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/ |
NumberWithCountryIso.java | 46 NumberWithCountryIso other = (NumberWithCountryIso) o; local 47 return TextUtils.equals(number, other.number) && TextUtils.equals(countryIso, other.countryIso);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
DateBucket.java | 48 DateBucket other = (DateBucket) obj; local 50 if (other.date != null) { 53 } else if (!date.equals(other.date)) {
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
ComponentKey.java | 47 ComponentKey other = (ComponentKey) o; local 48 return other.componentName.equals(componentName) && other.user.equals(user);
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
AppFilterItem.java | 75 final AppFilterItem other = (AppFilterItem) o; local 76 return mTitle == other.mTitle 77 && mFilterType == other.mFilterType 78 && mFilter == other.mFilter;
|
/packages/services/Car/tools/keventreader/client/src/com/android/car/keventreader/ |
KeypressEvent.java | 616 KeypressEvent other = (KeypressEvent)o; local 617 return other.source.equals(source) && 618 other.keycode == keycode && 619 other.isKeydown == isKeydown;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/allocator.traits/allocator.traits.types/ |
rebind_alloc.pass.cpp | 15 // template <class T> using rebind_alloc = Alloc::rebind<U>::other | Alloc<T, Args...>; 32 template <class U> struct rebind {typedef ReboundA<U> other;}; typedef in struct:A::rebind 43 template <class V> struct rebind {typedef ReboundB<V, U> other;}; typedef in struct:B::rebind 71 struct rebind { typedef void other; }; typedef in struct:F::rebind 80 typedef void other; typedef in struct:G::rebind 95 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>::other, ReboundA<double> >::value), ""); 96 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>::other, ReboundB<double, char> >::value), ""); 97 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>::other, C<double> >::value), ""); 98 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>::other, D<double, char> >::value), ""); 99 static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>::other, E<double> >::value), "") [all...] |