Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifTag.java457 public boolean setValue(Object obj) { in setValue() argument
458 if (obj == null) { in setValue()
460 } else if (obj instanceof Short) { in setValue()
461 return setValue(((Short) obj).shortValue() & 0x0ffff); in setValue()
462 } else if (obj instanceof String) { in setValue()
463 return setValue((String) obj); in setValue()
464 } else if (obj instanceof int[]) { in setValue()
465 return setValue((int[]) obj); in setValue()
466 } else if (obj instanceof long[]) { in setValue()
467 return setValue((long[]) obj); in setValue()
[all …]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DExifTag.java457 public boolean setValue(Object obj) { in setValue() argument
458 if (obj == null) { in setValue()
460 } else if (obj instanceof Short) { in setValue()
461 return setValue(((Short) obj).shortValue() & 0x0ffff); in setValue()
462 } else if (obj instanceof String) { in setValue()
463 return setValue((String) obj); in setValue()
464 } else if (obj instanceof int[]) { in setValue()
465 return setValue((int[]) obj); in setValue()
466 } else if (obj instanceof long[]) { in setValue()
467 return setValue((long[]) obj); in setValue()
[all …]
/packages/apps/Camera2/src/com/android/camera/exif/
DExifTag.java457 public boolean setValue(Object obj) { in setValue() argument
458 if (obj == null) { in setValue()
460 } else if (obj instanceof Short) { in setValue()
461 return setValue(((Short) obj).shortValue() & 0x0ffff); in setValue()
462 } else if (obj instanceof String) { in setValue()
463 return setValue((String) obj); in setValue()
464 } else if (obj instanceof int[]) { in setValue()
465 return setValue((int[]) obj); in setValue()
466 } else if (obj instanceof long[]) { in setValue()
467 return setValue((long[]) obj); in setValue()
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifTag.java457 public boolean setValue(Object obj) { in setValue() argument
458 if (obj == null) { in setValue()
460 } else if (obj instanceof Short) { in setValue()
461 return setValue(((Short) obj).shortValue() & 0x0ffff); in setValue()
462 } else if (obj instanceof String) { in setValue()
463 return setValue((String) obj); in setValue()
464 } else if (obj instanceof int[]) { in setValue()
465 return setValue((int[]) obj); in setValue()
466 } else if (obj instanceof long[]) { in setValue()
467 return setValue((long[]) obj); in setValue()
[all …]
/packages/apps/Settings/src/com/android/settings/
DSettingsDumpService.java61 JSONObject obj = new JSONObject(); in dumpMemory() local
66 obj.put("used", String.valueOf(memInfo.realUsedRam)); in dumpMemory()
67 obj.put("free", String.valueOf(memInfo.realFreeRam)); in dumpMemory()
68 obj.put("total", String.valueOf(memInfo.realTotalRam)); in dumpMemory()
69 obj.put("state", statsManager.getMemState()); in dumpMemory()
71 return obj; in dumpMemory()
75 JSONObject obj = new JSONObject(); in dumpDataUsage() local
89 obj.put("cell", array); in dumpDataUsage()
92 obj.put("wifi", dumpDataUsage(NetworkTemplate.buildTemplateWifiWildcard(), controller)); in dumpDataUsage()
95 obj.put("ethernet", dumpDataUsage(NetworkTemplate.buildTemplateEthernet(), controller)); in dumpDataUsage()
[all …]
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DLog.java47 public static void d(Object obj, String msg) { in d() argument
49 android.util.Log.d(TAG, getPrefix(obj) + msg); in d()
53 public static void d(Object obj, String str1, Object str2) { in d() argument
55 android.util.Log.d(TAG, getPrefix(obj) + str1 + str2); in d()
59 public static void v(Object obj, String msg) { in v() argument
61 android.util.Log.v(TAG, getPrefix(obj) + msg); in v()
65 public static void v(Object obj, String str1, Object str2) { in v() argument
67 android.util.Log.d(TAG, getPrefix(obj) + str1 + str2); in v()
79 public static void e(Object obj, String msg, Exception e) { in e() argument
80 android.util.Log.e(TAG, getPrefix(obj) + msg, e); in e()
[all …]
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/database/
DNoNullCursorAsyncQueryHandlerTest.java71 cursorHolder.obj = cursor; in testCursorIsNotNull()
72 ranHolder.obj = true; in testCursorIsNotNull()
81 assertFalse(cursorHolder.obj == null); in testCursorIsNotNull()
82 assertTrue(ranHolder.obj); in testCursorIsNotNull()
98 ranHolder.obj = true; in testCursorContainsCorrectCookies()
99 cookieHolder.obj = cookie; in testCursorContainsCorrectCookies()
108 assertSame(cookie, cookieHolder.obj); in testCursorContainsCorrectCookies()
109 assertTrue(ranHolder.obj); in testCursorContainsCorrectCookies()
125 ranHolder.obj = true; in testCursorContainsCorrectColumns()
126 cursorHolder.obj = cursor; in testCursorContainsCorrectColumns()
[all …]
/packages/apps/Email/
DCleanSpec.mk50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
53 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
55 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
56 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
57 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
58 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
59 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java345 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage()
362 m.obj = device; in processMessage()
369 processIntentBatteryChanged((Intent) message.obj); in processMessage()
372 processCallState((HeadsetCallState) message.obj, in processMessage()
376 StackEvent event = (StackEvent) message.obj; in processMessage()
491 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage()
505 processIntentBatteryChanged((Intent) message.obj); in processMessage()
508 processCallState((HeadsetCallState) message.obj, in processMessage()
512 StackEvent event = (StackEvent) message.obj; in processMessage()
777 BluetoothDevice device = (BluetoothDevice) message.obj; in processMessage()
[all …]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
DOpenWnnDictionaryImplJni.c206 (JNIEnv *env, jobject obj, jstring dicLibPathJ) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createWnnWork() argument
285 (JNIEnv *env, jobject obj, jlong wnnWork) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_freeWnnWork() argument
311 (JNIEnv *env, jobject obj, jlong wnnWork) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_clearDictionaryParameters() argument
341 (JNIEnv *env, jobject obj, jlong wnnWork, jint index, jint base, jint high) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setDictionaryParameter() argument
385 (JNIEnv *env, jobject obj, jlong wnnWork, jint operation, jint order, jstring keyString) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord() argument
453 (JNIEnv *env, jclass obj, jlong wnnWork, jint length) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getNextWord() argument
497 (JNIEnv *env, jobject obj, jlong wnnWork) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getStroke() argument
530 (JNIEnv *env, jobject obj, jlong wnnWork) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getCandidate() argument
563 (JNIEnv *env, jobject obj, jlong wnnWork) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_getFrequency() argument
587 (JNIEnv *env, jobject obj, jlong wnnWork) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_clearApproxPatterns() argument
[all …]
/packages/apps/TV/usbtuner/src/com/android/usbtuner/cc/
DCaptionTrackRenderer.java118 sendBufferToCurrentWindow((String) event.obj); in processCaptionEvent()
121 sendControlToCurrentWindow((char) event.obj); in processCaptionEvent()
124 setCurrentWindowLayout((int) event.obj); in processCaptionEvent()
127 clearWindows((int) event.obj); in processCaptionEvent()
130 displayWindows((int) event.obj); in processCaptionEvent()
133 hideWindows((int) event.obj); in processCaptionEvent()
136 toggleWindows((int) event.obj); in processCaptionEvent()
139 deleteWindows((int) event.obj); in processCaptionEvent()
142 delay((int) event.obj); in processCaptionEvent()
151 setPenAttr((CaptionPenAttr) event.obj); in processCaptionEvent()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidService.java152 BluetoothDevice device = (BluetoothDevice) msg.obj;
163 BluetoothDevice device = (BluetoothDevice) msg.obj;
173 BluetoothDevice device = getDevice((byte[]) msg.obj);
200 BluetoothDevice device = (BluetoothDevice) msg.obj;
209 BluetoothDevice device = getDevice((byte[]) msg.obj);
216 BluetoothDevice device = (BluetoothDevice) msg.obj;
224 BluetoothDevice device = (BluetoothDevice) msg.obj;
234 BluetoothDevice device = (BluetoothDevice) msg.obj;
246 BluetoothDevice device = getDevice((byte[])msg.obj);
255 BluetoothDevice device = getDevice((byte[])msg.obj);
[all …]
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp617 static void alarmFiredNative(JNIEnv *env, jobject obj) { in alarmFiredNative() argument
697 static bool initNative(JNIEnv* env, jobject obj) { in initNative() argument
703 sJniAdapterServiceObj = env->NewGlobalRef(obj); in initNative()
704 sJniCallbacksObj = env->NewGlobalRef(env->GetObjectField(obj, sJniCallbacksField)); in initNative()
731 static bool cleanupNative(JNIEnv *env, jobject obj) { in cleanupNative() argument
747 static jboolean enableNative(JNIEnv* env, jobject obj, jboolean isGuest) { in enableNative() argument
757 static jboolean disableNative(JNIEnv* env, jobject obj) { in disableNative() argument
772 static jboolean startDiscoveryNative(JNIEnv* env, jobject obj) { in startDiscoveryNative() argument
783 static jboolean cancelDiscoveryNative(JNIEnv* env, jobject obj) { in cancelDiscoveryNative() argument
794 static jboolean createBondNative(JNIEnv* env, jobject obj, jbyteArray address, jint transport) { in createBondNative() argument
[all …]
/packages/services/Car/bluetooth/bt-map-service/src/com/google/android/auto/mapservice/
DBluetoothMapService.java192 BluetoothDevice device = (BluetoothDevice) msg.obj; in handleMessage()
202 SdpMasRecord sdpRecord = (SdpMasRecord) msg.obj; in handleMessage()
218 boolean status = (boolean) msg.obj; in handleMessage()
241 service.pushMessage((BluetoothMapMessage) msg.obj); in handleMessage()
245 service.getMessage((String) msg.obj); in handleMessage()
249 service.getMessagesListing((String) msg.obj, msg.arg1, msg.arg2); in handleMessage()
296 Log.d(TAG, "Set notifications: " + msg.obj); in handleMessage()
303 Log.d(TAG, "Set path: " + msg.obj); in handleMessage()
305 service.onSetPath((String) msg.obj); in handleMessage()
310 Log.d(TAG, "Push message: " + msg.obj); in handleMessage()
[all …]
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
DTunerSessionWorker.java481 Uri channelUri = (Uri) msg.obj; in handleMessage()
543 if (mPlayer == msg.obj) { in handleMessage()
582 startPlayback(msg.obj); in handleMessage()
589 boolean playWhenReady = (boolean) msg.obj; in handleMessage()
620 Exception exception = (Exception) msg.obj; in handleMessage()
630 Size size = (Size) msg.obj; in handleMessage()
643 int generation = (int) msg.obj; in handleMessage()
654 EitItem program = (EitItem) msg.obj; in handleMessage()
663 (Pair<TunerChannel, List<EitItem>>) msg.obj; in handleMessage()
703 TunerChannel channel = (TunerChannel) msg.obj; in handleMessage()
[all …]
/packages/apps/LegacyCamera/jni/
Dmosaic_renderer_jni.cpp463 JNIEnv * env, jobject obj);
465 JNIEnv * env, jobject obj, jint width, jint height,
468 JNIEnv * env, jobject obj, jfloatArray stMatrix);
470 JNIEnv * env, jobject obj);
472 JNIEnv * env, jobject obj);
474 JNIEnv * env, jobject obj);
476 JNIEnv * env, jobject obj, jboolean flag);
480 JNIEnv * env, jobject obj) in Java_com_android_camera_panorama_MosaicRenderer_init() argument
544 JNIEnv * env, jobject obj, jint width, jint height, jboolean isLandscapeOrientation) in Java_com_android_camera_panorama_MosaicRenderer_reset() argument
626 JNIEnv * env, jobject obj, jfloatArray stMatrix) in Java_com_android_camera_panorama_MosaicRenderer_preprocess() argument
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioModeStateMachine.java137 java.lang.Runnable r = (java.lang.Runnable) msg.obj; in processMessage()
164 MessageArgs args = (MessageArgs) msg.obj; in processMessage()
230 MessageArgs args = (MessageArgs) msg.obj; in processMessage()
299 MessageArgs args = (MessageArgs) msg.obj; in processMessage()
361 MessageArgs args = (MessageArgs) msg.obj; in processMessage()
418 MessageArgs args = (MessageArgs) msg.obj; in processMessage()
499 if (msg.obj != null && msg.obj instanceof MessageArgs) { in onPreHandleMessage()
500 Log.continueSession(((MessageArgs) msg.obj).session, "CAMSM.pM_" + msg.what); in onPreHandleMessage()
502 } else if (msg.what == RUN_RUNNABLE && msg.obj instanceof Runnable) { in onPreHandleMessage()
506 (msg.obj == null ? "null" : msg.obj.getClass().getSimpleName())); in onPreHandleMessage()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java251 request = (MainThreadRequest) msg.obj; in handleMessage()
264 request = (MainThreadRequest) msg.obj; in handleMessage()
271 ar = (AsyncResult) msg.obj; in handleMessage()
286 request = (MainThreadRequest) msg.obj; in handleMessage()
292 request = (MainThreadRequest) msg.obj; in handleMessage()
320 request = (MainThreadRequest) msg.obj; in handleMessage()
340 ar = (AsyncResult) msg.obj; in handleMessage()
361 request = (MainThreadRequest) msg.obj; in handleMessage()
380 ar = (AsyncResult) msg.obj; in handleMessage()
401 request = (MainThreadRequest) msg.obj; in handleMessage()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapPCEClient.java179 Log.d(TAG, "Connection Handler Message " + msg.what + " with " + msg.obj); in handleMessage()
183 if (msg.obj instanceof BluetoothDevice) { in handleMessage()
184 BluetoothDevice device = (BluetoothDevice) msg.obj; in handleMessage()
199 if (msg.obj == null || msg.obj instanceof BluetoothDevice) { in handleMessage()
200 BluetoothDevice device = (BluetoothDevice) msg.obj; in handleMessage()
370 Log.d(TAG, "Contact Handler Message " + msg.what + " with " + msg.obj); in handleMessage()
374 if (msg.obj instanceof Account) { in handleMessage()
375 Account account = (Account) msg.obj; in handleMessage()
383 if (msg.obj instanceof PullRequest) { in handleMessage()
384 PullRequest req = (PullRequest) msg.obj; in handleMessage()
/packages/apps/Gallery2/
DCleanSpec.mk46 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/Camera*)
47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Camera*)
48 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/Gallery*)
49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Gallery*)
50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Gallery*)
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Gallery*)
52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Gallery*)
/packages/apps/Calendar/src/com/android/calendar/
DCalendarEventModel.java55 public boolean equals(Object obj) { in equals() argument
56 if (this == obj) { in equals()
59 if (!(obj instanceof Attendee)) { in equals()
62 Attendee other = (Attendee) obj; in equals()
143 public boolean equals(Object obj) { in equals() argument
144 if (this == obj) { in equals()
147 if (!(obj instanceof ReminderEntry)) { in equals()
151 ReminderEntry re = (ReminderEntry) obj; in equals()
531 public boolean equals(Object obj) { in equals() argument
532 if (this == obj) { in equals()
[all …]
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetModel.java141 public boolean equals(Object obj) { in equals() argument
142 if (this == obj) in equals()
144 if (obj == null) in equals()
146 if (getClass() != obj.getClass()) in equals()
148 EventInfo other = (EventInfo) obj; in equals()
223 public boolean equals(Object obj) { in equals() argument
224 if (this == obj) in equals()
226 if (obj == null) in equals()
228 if (getClass() != obj.getClass()) in equals()
230 DayInfo other = (DayInfo) obj; in equals()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DMenuExecutor.java100 if (message.obj != null) { in MenuExecutor()
101 ProgressListener listener = (ProgressListener) message.obj; in MenuExecutor()
108 if (message.obj != null) { in MenuExecutor()
109 ProgressListener listener = (ProgressListener) message.obj; in MenuExecutor()
117 if (message.obj != null) { in MenuExecutor()
118 ProgressListener listener = (ProgressListener) message.obj; in MenuExecutor()
124 ((Activity) mActivity).startActivity((Intent) message.obj); in MenuExecutor()
386 MediaObject obj = manager.getMediaObject(path); in execute() local
387 int cacheFlag = obj.getCacheFlag(); in execute()
393 obj.cache(cacheFlag); in execute()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java338 msg.obj = args.getParcelable(CMD_MSG); in onStart()
345 msg.obj = args; in onStart()
479 if (opcode == OP_CMD && msg.obj != null && in handleMessage()
480 ((CatCmdMessage)msg.obj).getCmdType()!= null) { in handleMessage()
481 CatLog.d(LOG_TAG, "cmdName[" + ((CatCmdMessage)msg.obj).getCmdType().name() + "]"); in handleMessage()
505 CatCmdMessage cmdMsg = (CatCmdMessage) msg.obj; in handleMessage()
519 handleCmd((CatCmdMessage) msg.obj, slotId); in handleMessage()
523 (CatCmdMessage) msg.obj, slotId)); in handleMessage()
528 handleCmdResponse((Bundle) msg.obj, slotId); in handleMessage()
562 handleCardStatusChangeAndIccRefresh((Bundle) msg.obj, slotId); in handleMessage()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationCursor.java1273 Object obj = getCachedValue(columnIndex); in getDouble() local
1274 if (obj != null) return (Double)obj; in getDouble()
1280 Object obj = getCachedValue(columnIndex); in getFloat() local
1281 if (obj != null) return (Float)obj; in getFloat()
1287 Object obj = getCachedValue(columnIndex); in getInt() local
1288 if (obj != null) return (Integer)obj; in getInt()
1294 Object obj = getCachedValue(columnIndex); in getLong() local
1295 if (obj != null) return (Long)obj; in getLong()
1301 Object obj = getCachedValue(columnIndex); in getShort() local
1302 if (obj != null) return (Short)obj; in getShort()
[all …]

12345678910>>...12