/packages/modules/Bluetooth/system/embdrv/lc3/test/ |
D | ctypes.h | 38 #define to_scalar(obj, t, ptr) \ argument 39 __to_scalar(obj, t, (void *)(ptr)) 41 #define to_1d_ptr(obj, t, n, ptr) \ argument 42 __to_1d_ptr(obj, t, n, (void **)(ptr)) 44 #define to_2d_ptr(obj, t, n1, n2, ptr) \ argument 45 __to_2d_ptr(obj, t, n1, n2, (void **)(ptr)) 47 #define to_1d_copy(obj, t, ptr, n) \ argument 48 __to_1d_copy(obj, t, ptr, n) 50 #define to_2d_copy(obj, t, ptr, n1, n2) \ argument 51 __to_2d_copy(obj, t, ptr, n1, n2) [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | SettingsDumpService.java | 91 JSONObject obj = new JSONObject(); in dumpMemory() local 96 obj.put("used", String.valueOf(memInfo.realUsedRam)); in dumpMemory() 97 obj.put("free", String.valueOf(memInfo.realFreeRam)); in dumpMemory() 98 obj.put("total", String.valueOf(memInfo.realTotalRam)); in dumpMemory() 99 obj.put("state", statsManager.getMemState()); in dumpMemory() 101 return obj; in dumpMemory() 105 JSONObject obj = new JSONObject(); in dumpDataUsage() local 119 obj.put("cell", array); in dumpDataUsage() 122 obj.put("wifi", dumpDataUsage( in dumpDataUsage() 127 obj.put("ethernet", dumpDataUsage(new NetworkTemplate.Builder( in dumpDataUsage() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | Log.java | 33 public static void d(Object obj, String msg) { in d() argument 34 LogUtil.d(getPrefix(obj), msg); in d() 37 public static void d(Object obj, String str1, Object str2) { in d() argument 38 LogUtil.d(getPrefix(obj), str1 + str2); in d() 41 public static void v(Object obj, String msg) { in v() argument 42 LogUtil.v(getPrefix(obj), msg); in v() 45 public static void v(Object obj, String str1, Object str2) { in v() argument 46 LogUtil.v(getPrefix(obj), str1 + str2); in v() 57 public static void e(Object obj, String msg, Exception e) { in e() argument 58 LogUtil.e(getPrefix(obj), msg, e); in e() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | ExifTag.java | 457 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/ |
D | ExifTag.java | 457 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/ |
D | ExifTag.java | 457 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/services/BuiltInPrintService/jni/plugins/ |
D | pdf_render.c | 40 jobject obj; member 48 static int openDocument(pdf_render_ifc_t *obj, const char *fileName) { in openDocument() argument 49 LOGD("getPageCount %p %s", obj, fileName); in openDocument() 52 pdf_render_st_t *self = (pdf_render_st_t *) obj; in openDocument() 54 int count = (*self->env)->CallIntMethod(self->env, self->obj, gPdfRenderOpenDocument, in openDocument() 56 LOGD("getPageCount %p %s returning %d", obj, fileName, count); in openDocument() 60 static int getPageAttributes(pdf_render_ifc_t *obj, int page, double *width, double *height) { in getPageAttributes() argument 61 LOGD("getPageAttributes %p %d", obj, page); in getPageAttributes() 64 pdf_render_st_t *self = (pdf_render_st_t *) obj; in getPageAttributes() 66 jobject size = (*self->env)->CallObjectMethod(self->env, self->obj, gPdfRenderGetPageSize, in getPageAttributes() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | NoNullCursorAsyncQueryHandlerTest.java | 73 cursorHolder.obj = cursor; in testCursorIsNotNull() 74 ranHolder.obj = true; in testCursorIsNotNull() 83 assertFalse(cursorHolder.obj == null); in testCursorIsNotNull() 84 assertTrue(ranHolder.obj); in testCursorIsNotNull() 100 ranHolder.obj = true; in testCursorContainsCorrectCookies() 101 cookieHolder.obj = cookie; in testCursorContainsCorrectCookies() 110 assertSame(cookie, cookieHolder.obj); in testCursorContainsCorrectCookies() 111 assertTrue(ranHolder.obj); in testCursorContainsCorrectCookies() 127 ranHolder.obj = true; in testCursorContainsCorrectColumns() 128 cursorHolder.obj = cursor; in testCursorContainsCorrectColumns() [all …]
|
/packages/services/Car/ |
D | CleanSpec.mk | 48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car*) 49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/PACKAGING/android.car*) 50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.support.car*) 51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/PACKAGING/android.support.car*) 52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car7_intermediate… 53 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car_intermediates… 54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car7_intermediate… 55 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car_intermediates… 57 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car_intermediates… 58 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car7_intermediate… [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | PhoneUtilsTest.java | 70 InstanceKey(final Class c, final String instName, final Object obj) { in InstanceKey() argument 73 mObj = obj; in InstanceKey() 82 public boolean equals(Object obj) { in equals() argument 83 if (obj == null || !(obj instanceof InstanceKey)) { in equals() 87 InstanceKey other = (InstanceKey) obj; in equals() 109 final Object obj, final Object newValue) in replaceInstance() argument 114 InstanceKey key = new InstanceKey(c, instanceName, obj); in replaceInstance() 116 mOldInstances.put(key, field.get(obj)); in replaceInstance() 119 field.set(obj, newValue); in replaceInstance() 123 final Object obj) throws Exception { in restoreInstance() argument [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/ |
D | WorkspacePageIndicator.java | 64 public Integer get(WorkspacePageIndicator obj) { 65 return obj.mLinePaint.getAlpha(); 69 public void set(WorkspacePageIndicator obj, Integer alpha) { 70 obj.mLinePaint.setAlpha(alpha); 71 obj.invalidate(); 78 public Float get(WorkspacePageIndicator obj) { 79 return obj.mNumPagesFloat; 83 public void set(WorkspacePageIndicator obj, Float numPages) { 84 obj.mNumPagesFloat = numPages; 85 obj.invalidate(); [all …]
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
D | behavior.py | 34 return lambda obj: True 42 def IGNORE_UNHANDLED(obj): argument 71 def run(self, obj): argument 73 if instance.try_run(obj): 74 self.__obj_invoked(obj) 78 self._default_fn(obj) 79 self.__obj_invoked(obj) 82 … "%s: behavior for %s went unhandled" % (self._reply_stage_factory().__class__.__name__, obj), 85 def __obj_invoked(self, obj): argument 87 self._invoked_obj.append(obj) [all …]
|
D | cert_self_test.py | 112 self._commit(lambda obj: self._increment_count(obj)) 115 def _increment_count(self, obj): argument 117 self._parent.captured.append(obj) 510 when(thing).test_request(lambda obj: obj == "B").always().increment_count() 536 when(thing).test_request(lambda obj: obj == "B").then(times=1).increment_count() 537 when(thing).test_request(lambda obj: obj == "C").always().increment_count() 564 thing.behaviors.test_request_behavior.set_default(lambda obj: thing.increment_unhandled()) 574 is_a = lambda obj: obj == "A" argument 587 when(thing).test_request(lambda obj: obj == "A").then().increment_count() 593 wait_until(thing).test_request(lambda obj: obj == "A").times(1) [all …]
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | MockedServiceManager.java | 43 InstanceKey(final Class c, final String instName, final Object obj) { in InstanceKey() argument 46 mObj = obj; in InstanceKey() 55 public boolean equals(Object obj) { in equals() argument 56 if (obj == null || obj.getClass() != getClass()) { in equals() 60 InstanceKey other = (InstanceKey) obj; in equals() 79 final Object obj, final Object newValue) in replaceInstance() argument 84 InstanceKey key = new InstanceKey(c, instanceName, obj); in replaceInstance() 86 mOldInstances.put(key, field.get(obj)); in replaceInstance() 89 field.set(obj, newValue); in replaceInstance()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/utils/ |
D | MockedServiceManager.java | 44 InstanceKey(final Class c, final String instName, final Object obj) { in InstanceKey() argument 47 mObj = obj; in InstanceKey() 56 public boolean equals(Object obj) { in equals() argument 57 if (obj == null || obj.getClass() != getClass()) { in equals() 61 InstanceKey other = (InstanceKey) obj; in equals() 80 final Object obj, final Object newValue) in replaceInstance() argument 85 InstanceKey key = new InstanceKey(c, instanceName, obj); in replaceInstance() 87 mOldInstances.put(key, field.get(obj)); in replaceInstance() 90 field.set(obj, newValue); in replaceInstance()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/ |
D | CaptionTrackRenderer.java | 140 sendCuesToCurrentWindow((List<Cue>) event.obj); in processCaptionEvent() 142 sendBufferToCurrentWindow((String) event.obj); in processCaptionEvent() 146 sendControlToCurrentWindow((char) event.obj); in processCaptionEvent() 149 setCurrentWindowLayout((int) event.obj); in processCaptionEvent() 152 clearWindows((int) event.obj); in processCaptionEvent() 155 displayWindows((int) event.obj); in processCaptionEvent() 158 hideWindows((int) event.obj); in processCaptionEvent() 161 toggleWindows((int) event.obj); in processCaptionEvent() 164 deleteWindows((int) event.obj); in processCaptionEvent() 167 delay((int) event.obj); in processCaptionEvent() [all …]
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | DisconnectCauseUtilTest.java | 76 InstanceKey(final Class c, final String instName, final Object obj) { in InstanceKey() argument 79 mObj = obj; in InstanceKey() 88 public boolean equals(Object obj) { in equals() argument 89 if (obj == null || !(obj instanceof InstanceKey)) { in equals() 93 InstanceKey other = (InstanceKey) obj; in equals() 181 final Object obj, final Object newValue) in replaceInstance() argument 186 InstanceKey key = new InstanceKey(c, instanceName, obj); in replaceInstance() 188 mOldInstances.put(key, field.get(obj)); in replaceInstance() 191 field.set(obj, newValue); in replaceInstance() 195 final Object obj) throws Exception { in restoreInstance() argument [all …]
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | Utils.java | 62 public boolean equals(Object obj) { in equals() argument 63 if (!(obj instanceof BaseProgram)) { in equals() 66 BaseProgram that = (BaseProgram) obj; in equals() 92 public boolean equals(Object obj) { in equals() argument 93 if (!(obj instanceof Program)) { in equals() 96 Program that = (Program) obj; in equals() 112 public boolean equals(Object obj) { in equals() argument 113 if (!(obj instanceof PreviewProgram)) { in equals() 116 PreviewProgram that = (PreviewProgram) obj; in equals() 134 public boolean equals(Object obj) { in equals() argument [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | WifiAwareAgentNetworkSpecifier.java | 85 for (Object obj : objs) { 86 agentNs.mNetworkSpecifiers.add((ByteArrayWrapper) obj); 103 public boolean equals(Object obj) { in equals() argument 104 if (obj == this) { in equals() 107 if (!(obj instanceof WifiAwareAgentNetworkSpecifier)) { in equals() 110 return mNetworkSpecifiers.equals(((WifiAwareAgentNetworkSpecifier) obj).mNetworkSpecifiers); in equals() 186 public boolean equals(Object obj) { in equals() argument 187 if (obj == this) { in equals() 190 if (!(obj instanceof ByteArrayWrapper)) { in equals() 193 return Arrays.equals(((ByteArrayWrapper) obj).mData, mData); in equals()
|
/packages/modules/Uwb/service/uci/jni/rust/ |
D | lib.rs | 40 obj: JObject<'a>, field 44 fn new(env: JNIEnv<'a>, obj: JObject<'a>) -> Self { in new() 45 Self { env, obj } in new() 73 let dispatcher_ptr_value = self.env.get_field(self.obj, "mDispatcherPointer", "J")?; in get_dispatcher() 116 obj: JObject, in Java_com_android_server_uwb_jni_NativeUwbManager_nativeDoInitialize() 119 boolean_result_helper(do_initialize(&JniContext::new(env, obj)), "DoInitialize") in Java_com_android_server_uwb_jni_NativeUwbManager_nativeDoInitialize() 126 obj: JObject, in Java_com_android_server_uwb_jni_NativeUwbManager_nativeDoDeinitialize() 129 boolean_result_helper(do_deinitialize(&JniContext::new(env, obj)), "DoDeinitialize") in Java_com_android_server_uwb_jni_NativeUwbManager_nativeDoDeinitialize() 148 obj: JObject, in Java_com_android_server_uwb_jni_NativeUwbManager_nativeDeviceReset() 152 byte_result_helper(reset_device(&JniContext::new(env, obj), reset_config as u8), "ResetDevice") in Java_com_android_server_uwb_jni_NativeUwbManager_nativeDeviceReset() [all …]
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | AutodestructReference.java | 30 public AutodestructReference(@NonNull T obj) { in AutodestructReference() argument 31 if (null == obj) throw new NullPointerException("Autodestruct reference to null"); in AutodestructReference() 32 mHeld = new AtomicReference<>(obj); in AutodestructReference() 38 final T obj = mHeld.getAndSet(null); in getAndDestroy() local 39 if (null == obj) throw new NullPointerException("Already autodestructed"); in getAndDestroy() 40 return obj; in getAndDestroy()
|
/packages/apps/Gallery2/ |
D | CleanSpec.mk | 46 $(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/modules/Bluetooth/system/osi/src/ |
D | reactor.cc | 196 void reactor_unregister(reactor_object_t* obj) { in reactor_unregister() argument 197 CHECK(obj != NULL); in reactor_unregister() 199 reactor_t* reactor = obj->reactor; in reactor_unregister() 201 if (epoll_ctl(reactor->epoll_fd, EPOLL_CTL_DEL, obj->fd, NULL) == -1) in reactor_unregister() 203 obj->fd, strerror(errno)); in reactor_unregister() 213 list_append(reactor->invalidation_list, obj); in reactor_unregister() 224 obj->mutex->lock(); in reactor_unregister() 225 obj->mutex->unlock(); in reactor_unregister() 226 delete obj->mutex; in reactor_unregister() 227 osi_free(obj); in reactor_unregister()
|
/packages/inputmethods/LatinIME/ |
D | CleanSpec.mk | 47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/LatinIME*) 50 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libjni_latinime_intermediates) 51 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libjni_latinime_intermediates) 52 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libjni_latinime_intermediates) 53 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libjni_latinime_intermediates) 54 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libjni_latinime_intermediates)
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/ |
D | HidHostService.java | 178 BluetoothDevice device = (BluetoothDevice) msg.obj; 188 BluetoothDevice device = (BluetoothDevice) msg.obj; 197 BluetoothDevice device = mAdapterService.getDeviceFromByte((byte[]) msg.obj); 228 BluetoothDevice device = (BluetoothDevice) msg.obj; 236 BluetoothDevice device = mAdapterService.getDeviceFromByte((byte[]) msg.obj); 242 BluetoothDevice device = (BluetoothDevice) msg.obj; 249 BluetoothDevice device = (BluetoothDevice) msg.obj; 258 BluetoothDevice device = (BluetoothDevice) msg.obj; 270 BluetoothDevice device = mAdapterService.getDeviceFromByte((byte[]) msg.obj); 278 BluetoothDevice device = mAdapterService.getDeviceFromByte((byte[]) msg.obj); [all …]
|