Searched defs:obj (Results 1 - 25 of 106) sorted by relevance

12345

/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DRunnableWithId.java33 public boolean equals(Object obj) { argument
34 return obj instanceof RunnableWithId && ((RunnableWithId) obj).id == id;
H A DPackageUserKey.java54 public boolean equals(Object obj) { argument
55 if (!(obj instanceof PackageUserKey)) return false;
56 PackageUserKey otherKey = (PackageUserKey) obj;
/packages/apps/Camera2/src/com/android/camera/exif/
H A DRational.java71 public boolean equals(Object obj) { argument
72 if (obj == null) {
75 if (this == obj) {
78 if (obj instanceof Rational) {
79 Rational data = (Rational) obj;
H A DIfdData.java127 public boolean equals(Object obj) { argument
128 if (this == obj) {
131 if (obj == null) {
134 if (obj instanceof IfdData) {
135 IfdData data = (IfdData) obj;
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DRational.java70 public boolean equals(Object obj) { argument
71 if (obj == null) {
74 if (this == obj) {
77 if (obj instanceof Rational) {
78 Rational data = (Rational) obj;
/packages/apps/Launcher3/src/com/android/launcher3/notification/
H A DNotificationKeyData.java57 public boolean equals(Object obj) { argument
58 if (!(obj instanceof NotificationKeyData)) {
62 return ((NotificationKeyData) obj).notificationKey.equals(notificationKey);
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
H A DCondition.java46 public static Condition minChildCount(final UiObject2 obj, final int childCount) { argument
50 return obj.getChildCount() >= childCount;
/packages/apps/Nfc/nci/jni/
H A DNfcJniUtil.cpp91 ScopedLocalRef<jobject> obj(e, e->NewObject(cls.get(), ctor));
92 if (obj.get() == NULL)
98 *cachedObj = e->NewGlobalRef(obj.get());
166 jobject obj = e->NewObject(cls.get(), ctor); local
167 if (obj == NULL)
173 *cachedObj = obj;
/packages/apps/PackageInstaller/tests/src/com/android/packageinstaller/shadows/
H A DShadowMetricsLogger.java69 public boolean equals(Object obj) { argument
70 if (obj == null || !(obj instanceof Log)) {
73 Log otherLog = (Log) obj;
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DFunction.java63 boolean equals(Object obj); argument
H A DPlatform.java33 static boolean isInstance(Class<?> clazz, Object obj) { argument
34 return clazz.isInstance(obj);
H A DPredicate.java58 boolean equals(Object obj); argument
/packages/services/Car/libvehiclenetwork/libvehiclenetwork-audio-helper/include/
H A Dvehicle-network-audio-helper-for-c.h36 void* obj; member in struct:vehicle_network_audio_helper
/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DSignedLongLong.java98 public boolean equals(Object obj) { argument
99 if (this == obj) {
102 if (obj == null) {
105 if (getClass() != obj.getClass()) {
108 SignedLongLong other = (SignedLongLong) obj;
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DScanClient.java78 public boolean equals(Object obj) { argument
79 if (this == obj) {
82 if (obj == null || getClass() != obj.getClass()) {
85 ScanClient other = (ScanClient) obj;
/packages/apps/Contacts/tests/src/com/android/contacts/database/
H A DNoNullCursorAsyncQueryHandlerTest.java73 cursorHolder.obj = cursor;
74 ranHolder.obj = true;
83 assertFalse(cursorHolder.obj == null);
84 assertTrue(ranHolder.obj);
100 ranHolder.obj = true;
101 cookieHolder.obj = cookie;
110 assertSame(cookie, cookieHolder.obj);
111 assertTrue(ranHolder.obj);
127 ranHolder.obj = true;
128 cursorHolder.obj
142 public T obj; field in class:NoNullCursorAsyncQueryHandlerTest.ObjectHolder
[all...]
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
H A DRational.java47 public boolean equals(Object obj) { argument
48 if (obj == null) {
51 if (this == obj) {
54 if (obj instanceof Rational) {
55 Rational data = (Rational) obj;
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DFace.java53 public boolean equals(Object obj) { argument
54 if (obj instanceof Face) {
55 Face face = (Face) obj;
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DDateBucket.java38 public boolean equals(Object obj) { argument
39 if (this == obj) {
42 if (obj == null) {
45 if (!(obj instanceof DateBucket)) {
48 DateBucket other = (DateBucket) obj;
/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DRational.java70 public boolean equals(Object obj) { argument
71 if (obj == null) {
74 if (this == obj) {
77 if (obj instanceof Rational) {
78 Rational data = (Rational) obj;
/packages/services/Car/car-lib/src/android/car/content/pm/
H A DCarAppBlockingPolicy.java111 public boolean equals(Object obj) { argument
112 if (this == obj) {
115 if (obj == null) {
118 if (getClass() != obj.getClass()) {
121 CarAppBlockingPolicy other = (CarAppBlockingPolicy) obj;
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapConvoListing.java200 public boolean equals(Object obj) { argument
201 if (this == obj) {
204 if (obj == null) {
207 if (getClass() != obj.getClass()) {
210 BluetoothMapConvoListing other = (BluetoothMapConvoListing) obj;
/packages/apps/Car/Dialer/src/com/android/car/dialer/
H A DContactEntry.java114 public boolean equals(Object obj) { argument
115 if (obj instanceof ContactEntry) {
116 ContactEntry other = (ContactEntry) obj;
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
H A DMockedServiceManager.java44 InstanceKey(final Class c, final String instName, final Object obj) { argument
47 mObj = obj;
56 public boolean equals(Object obj) { argument
57 if (obj == null || obj.getClass() != getClass()) {
61 InstanceKey other = (InstanceKey) obj;
80 final Object obj, final Object newValue)
85 InstanceKey key = new InstanceKey(c, instanceName, obj);
87 mOldInstances.put(key, field.get(obj));
90 field.set(obj, newValu
79 replaceInstance(final Class c, final String instanceName, final Object obj, final Object newValue) argument
[all...]
/packages/apps/Dialer/java/com/android/contacts/common/util/
H A DMaterialColorMapUtils.java133 public boolean equals(Object obj) { argument
134 if (this == obj) {
137 if (obj == null) {
140 if (getClass() != obj.getClass()) {
143 MaterialPalette other = (MaterialPalette) obj;

Completed in 8454 milliseconds

12345