/frameworks/base/media/java/android/mtp/ |
D | MtpStorageManager.java | 72 MtpObject obj = mObject.getChild(path); in onEvent() local 78 if (obj == null) { in onEvent() 84 handleRemovedObject(obj); in onEvent() 384 for (MtpObject obj : mObjects.values()) { in close() 385 if (obj.getObserver() != null) { in close() 386 obj.getObserver().stopWatching(); in close() 387 obj.setObserver(null); in close() 390 for (MtpObject obj : mRoots.values()) { in close() 391 if (obj.getObserver() != null) { in close() 392 obj.getObserver().stopWatching(); in close() [all …]
|
D | MtpDatabase.java | 418 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in endSendObject() local 419 if (obj == null || !mManager.endSendObject(obj, succeeded)) { in endSendObject() 425 MediaStore.scanFile(mContext, obj.getPath().toFile()); in endSendObject() 488 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in getObjectPropertyList() local 489 if (obj == null) { in getObjectPropertyList() 492 if (obj.getFormat() == format || format == 0) { in getObjectPropertyList() 493 thisObj = obj; in getObjectPropertyList() 516 for (MtpStorageManager.MtpObject obj : objs) { in getObjectPropertyList() 520 format = obj.getFormat(); in getObjectPropertyList() 539 int err = propertyGroup.getPropertyList(mMediaProvider, obj.getVolumeName(), obj, ret); in getObjectPropertyList() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | BaseCommands.java | 181 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument 183 mRadioStateChangedRegistrants.addUnique(h, what, obj); in registerForRadioStateChanged() 184 Message.obtain(h, what, new AsyncResult(obj, null, null)).sendToTarget(); in registerForRadioStateChanged() 195 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() argument 196 mImsNetworkStateChangedRegistrants.addUnique(h, what, obj); in registerForImsNetworkStateChanged() 204 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument 206 mOnRegistrants.addUnique(h, what, obj); in registerForOn() 209 Message.obtain(h, what, new AsyncResult(obj, null, null)).sendToTarget(); in registerForOn() 222 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() argument 224 mAvailRegistrants.addUnique(h, what, obj); in registerForAvailable() [all …]
|
D | CommandsInterface.java | 148 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged() argument 151 void registerForVoiceRadioTechChanged(Handler h, int what, Object obj); in registerForVoiceRadioTechChanged() argument 155 void registerForImsNetworkStateChanged(Handler h, int what, Object obj); in registerForImsNetworkStateChanged() argument 165 void registerForOn(Handler h, int what, Object obj); in registerForOn() argument 176 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable() argument 187 void registerForNotAvailable(Handler h, int what, Object obj); in registerForNotAvailable() argument 197 void registerForOffOrNotAvailable(Handler h, int what, Object obj); in registerForOffOrNotAvailable() argument 204 void registerForIccStatusChanged(Handler h, int what, Object obj); in registerForIccStatusChanged() argument 207 void registerForIccSlotStatusChanged(Handler h, int what, Object obj); in registerForIccSlotStatusChanged() argument 211 void registerForCallStateChanged(Handler h, int what, Object obj); in registerForCallStateChanged() argument [all …]
|
D | CallManager.java | 1170 public void registerForDisconnect(Handler h, int what, Object obj) { in registerForDisconnect() argument 1171 mDisconnectRegistrants.addUnique(h, what, obj); in registerForDisconnect() 1193 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj){ in registerForPreciseCallStateChanged() argument 1194 mPreciseCallStateRegistrants.addUnique(h, what, obj); in registerForPreciseCallStateChanged() 1210 public void registerForUnknownConnection(Handler h, int what, Object obj){ in registerForUnknownConnection() argument 1211 mUnknownConnectionRegistrants.addUnique(h, what, obj); in registerForUnknownConnection() 1235 public void registerForNewRingingConnection(Handler h, int what, Object obj){ in registerForNewRingingConnection() argument 1236 mNewRingingConnectionRegistrants.addUnique(h, what, obj); in registerForNewRingingConnection() 1257 public void registerForIncomingRing(Handler h, int what, Object obj){ in registerForIncomingRing() argument 1258 mIncomingRingRegistrants.addUnique(h, what, obj); in registerForIncomingRing() [all …]
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | FieldPacker.java | 247 public void addObj(BaseObj obj) { in addObj() argument 248 if (obj != null) { in addObj() 250 addI64(obj.getID(null)); in addObj() 255 addI32((int)obj.getID(null)); in addObj() 631 private static void addToPack(FieldPacker fp, Object obj) { in addToPack() argument 632 if (obj instanceof Boolean) { in addToPack() 633 fp.addBoolean(((Boolean)obj).booleanValue()); in addToPack() 637 if (obj instanceof Byte) { in addToPack() 638 fp.addI8(((Byte)obj).byteValue()); in addToPack() 642 if (obj instanceof Short) { in addToPack() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | Matrix.cpp | 38 SkMatrix* obj = reinterpret_cast<SkMatrix*>(objHandle); in finalizer() local 39 delete obj; in finalizer() 48 SkMatrix* obj = new SkMatrix(); in create() local 50 *obj = *src; in create() 52 obj->reset(); in create() 53 return reinterpret_cast<jlong>(obj); in create() 143 SkMatrix* obj = reinterpret_cast<SkMatrix*>(objHandle); in isIdentity() local 144 return obj->isIdentity() ? JNI_TRUE : JNI_FALSE; in isIdentity() 148 SkMatrix* obj = reinterpret_cast<SkMatrix*>(objHandle); in isAffine() local 149 return obj->asAffine(NULL) ? JNI_TRUE : JNI_FALSE; in isAffine() [all …]
|
D | Camera.cpp | 11 static void Camera_constructor(JNIEnv* env, jobject obj) { in Camera_constructor() argument 13 env->SetLongField(obj, gNativeInstanceFieldID, reinterpret_cast<jlong>(view)); in Camera_constructor() 16 static void Camera_destructor(JNIEnv* env, jobject obj) { in Camera_destructor() argument 17 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_destructor() 22 static void Camera_save(JNIEnv* env, jobject obj) { in Camera_save() argument 23 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_save() 28 static void Camera_restore(JNIEnv* env, jobject obj) { in Camera_restore() argument 29 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_restore() 34 static void Camera_translate(JNIEnv* env, jobject obj, in Camera_translate() argument 36 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_translate() [all …]
|
D | Graphics.cpp | 199 void GraphicsJNI::get_jrect(JNIEnv* env, jobject obj, int* L, int* T, int* R, int* B) in get_jrect() argument 201 ALOG_ASSERT(env->IsInstanceOf(obj, gRect_class)); in get_jrect() 203 *L = env->GetIntField(obj, gRect_leftFieldID); in get_jrect() 204 *T = env->GetIntField(obj, gRect_topFieldID); in get_jrect() 205 *R = env->GetIntField(obj, gRect_rightFieldID); in get_jrect() 206 *B = env->GetIntField(obj, gRect_bottomFieldID); in get_jrect() 209 void GraphicsJNI::set_jrect(JNIEnv* env, jobject obj, int L, int T, int R, int B) in set_jrect() argument 211 ALOG_ASSERT(env->IsInstanceOf(obj, gRect_class)); in set_jrect() 213 env->SetIntField(obj, gRect_leftFieldID, L); in set_jrect() 214 env->SetIntField(obj, gRect_topFieldID, T); in set_jrect() [all …]
|
D | Path.cpp | 39 static void finalizer(SkPath* obj) { in finalizer() argument 40 delete obj; in finalizer() 65 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in computeBounds() local 66 const SkRect& bounds = obj->getBounds(); in computeBounds() 71 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in incReserve() local 72 obj->incReserve(extraPtCount); in incReserve() 76 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in moveTo__FF() local 77 obj->moveTo(x, y); in moveTo__FF() 81 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in rMoveTo() local 82 obj->rMoveTo(dx, dy); in rMoveTo() [all …]
|
/frameworks/base/ |
D | CleanSpec.mk | 46 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/s… 47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/s… 48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/s… 49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/s… 50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/s… 51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/s… 52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/s… 53 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/FrameworkTest_intermediates/) 54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.policy*) 56 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates) [all …]
|
/frameworks/base/core/java/android/metrics/ |
D | LogMaker.java | 287 Object obj = entries.get(MetricsEvent.RESERVED_FOR_LOGBUILDER_CATEGORY); in getCategory() local 288 if (obj instanceof Integer) { in getCategory() 289 return (Integer) obj; in getCategory() 297 Object obj = entries.get(MetricsEvent.RESERVED_FOR_LOGBUILDER_TYPE); in getType() local 298 if (obj instanceof Integer) { in getType() 299 return (Integer) obj; in getType() 307 Object obj = entries.get(MetricsEvent.RESERVED_FOR_LOGBUILDER_SUBTYPE); in getSubtype() local 308 if (obj instanceof Integer) { in getSubtype() 309 return (Integer) obj; in getSubtype() 317 Object obj = entries.get(MetricsEvent.RESERVED_FOR_LOGBUILDER_TIMESTAMP); in getTimestamp() local [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | FieldPacker.java | 246 public void addObj(BaseObj obj) { in addObj() argument 247 if (obj != null) { in addObj() 249 addI64(obj.getID(null)); in addObj() 254 addI32((int)obj.getID(null)); in addObj() 630 private void add(Object obj) { in add() argument 631 if (obj instanceof Boolean) { in add() 632 addBoolean((Boolean)obj); in add() 636 if (obj instanceof Byte) { in add() 637 addI8((Byte)obj); in add() 641 if (obj instanceof Short) { in add() [all …]
|
/frameworks/compile/libbcc/ |
D | CleanSpec.mk | 46 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libbcc_intermediates) 47 $(call add-clean-step, rm -rf $(HOST_OUT)/obj/SHARED_LIBRARIES/libbcc_intermediates) 49 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libclcore.bc_intermediates) 50 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libbcc_sha1_intermediates) 52 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libclcore.bc_intermediates) 53 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libclcore.bc_intermediates) 54 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libclcore.bc_intermediates) 55 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libclcore.bc_intermediates) 56 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libclcore.bc_intermediates) 57 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libclcore_neon.bc_intermediates) [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | LeakCheckedTest.java | 102 Object obj = mLeakCheckers.get(cls); in getLeakChecker() local 103 if (obj == null) { in getLeakChecker() 106 obj = new FakeBluetoothController(this); in getLeakChecker() 108 obj = new FakeLocationController(this); in getLeakChecker() 110 obj = new FakeRotationLockController(this); in getLeakChecker() 112 obj = new FakeZenModeController(this); in getLeakChecker() 114 obj = new FakeCastController(this); in getLeakChecker() 116 obj = new FakeHotspotController(this); in getLeakChecker() 118 obj = new FakeFlashlightController(this); in getLeakChecker() 120 obj = new FakeUserInfoController(this); in getLeakChecker() [all …]
|
/frameworks/base/core/jni/ |
D | android_hardware_input_InputWindowHandle.cpp | 96 jobject obj = env->NewLocalRef(mObjWeak); in updateInfo() local 97 if (!obj) { in updateInfo() 104 jobject tokenObj = env->GetObjectField(obj, gInputWindowHandleClassInfo.token); in updateInfo() 112 mInfo.name = getStringField(env, obj, gInputWindowHandleClassInfo.name, "<null>"); in updateInfo() 114 mInfo.layoutParamsFlags = env->GetIntField(obj, in updateInfo() 116 mInfo.layoutParamsType = env->GetIntField(obj, in updateInfo() 118 mInfo.dispatchingTimeout = env->GetLongField(obj, in updateInfo() 120 mInfo.frameLeft = env->GetIntField(obj, in updateInfo() 122 mInfo.frameTop = env->GetIntField(obj, in updateInfo() 124 mInfo.frameRight = env->GetIntField(obj, in updateInfo() [all …]
|
D | android_view_InputChannel.cpp | 52 void invokeAndRemoveDisposeCallback(JNIEnv* env, jobject obj); 74 void NativeInputChannel::invokeAndRemoveDisposeCallback(JNIEnv* env, jobject obj) { in invokeAndRemoveDisposeCallback() argument 76 mDisposeCallback(env, obj, mInputChannel, mDisposeData); in invokeAndRemoveDisposeCallback() 162 static void android_view_InputChannel_nativeDispose(JNIEnv* env, jobject obj, jboolean finalized) { in android_view_InputChannel_nativeDispose() argument 164 android_view_InputChannel_getNativeInputChannel(env, obj); in android_view_InputChannel_nativeDispose() 171 nativeInputChannel->invokeAndRemoveDisposeCallback(env, obj); in android_view_InputChannel_nativeDispose() 173 android_view_InputChannel_setNativeInputChannel(env, obj, NULL); in android_view_InputChannel_nativeDispose() 178 static void android_view_InputChannel_nativeTransferTo(JNIEnv* env, jobject obj, in android_view_InputChannel_nativeTransferTo() argument 187 android_view_InputChannel_getNativeInputChannel(env, obj); in android_view_InputChannel_nativeTransferTo() 189 android_view_InputChannel_setNativeInputChannel(env, obj, NULL); in android_view_InputChannel_nativeTransferTo() [all …]
|
/frameworks/opt/telephony/ |
D | CleanSpec.mk | 41 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed… 42 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed… 43 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed… 44 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed… 45 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed… 46 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed… 47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed… 48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed… 49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed… 50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/telephony-common_intermed… [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimulatedCommandsVerifier.java | 64 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument 74 public void registerForVoiceRadioTechChanged(Handler h, int what, Object obj) { in registerForVoiceRadioTechChanged() argument 84 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() argument 94 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument 104 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() argument 114 public void registerForNotAvailable(Handler h, int what, Object obj) { in registerForNotAvailable() argument 124 public void registerForOffOrNotAvailable(Handler h, int what, Object obj) { in registerForOffOrNotAvailable() argument 134 public void registerForIccStatusChanged(Handler h, int what, Object obj) { in registerForIccStatusChanged() argument 144 public void registerForIccSlotStatusChanged(Handler h, int what, Object obj) { in registerForIccSlotStatusChanged() argument 154 public void registerForCallStateChanged(Handler h, int what, Object obj) { in registerForCallStateChanged() argument [all …]
|
/frameworks/base/packages/WallpaperCropper/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 …]
|
/frameworks/rs/ |
D | CleanSpec.mk | 46 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/*/src/RenderScript.stamp) 47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/*/src/renderscript/) 48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/*/src/renderscript) 49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/*/src/renderscript) 50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/*/src/RenderScript.stamp) 51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/*/src/RenderScript.stamp) 52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/*/obj/SHARED_LIBRARIES/lib*.bc_intermediate… 53 $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/*/obj/SHARED_LIBRARIES/librs*_intermediates) 54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/*/obj/SHARED_LIBRARIES/libhellocomputendk_i… 55 $(call add-clean-step, rm -rf $(OUT_DIR)/host/*/obj/SHARED_LIBRARIES/librsrt*.bc)
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaInformationRecords.java | 39 public CdmaInformationRecords(CdmaDisplayInfoRec obj) { in CdmaInformationRecords() argument 40 record = obj; in CdmaInformationRecords() 43 public CdmaInformationRecords(CdmaNumberInfoRec obj) { in CdmaInformationRecords() argument 44 record = obj; in CdmaInformationRecords() 47 public CdmaInformationRecords(CdmaSignalInfoRec obj) { in CdmaInformationRecords() argument 48 record = obj; in CdmaInformationRecords() 51 public CdmaInformationRecords(CdmaRedirectingNumberInfoRec obj) { in CdmaInformationRecords() argument 52 record = obj; in CdmaInformationRecords() 55 public CdmaInformationRecords(CdmaLineControlInfoRec obj) { in CdmaInformationRecords() argument 56 record = obj; in CdmaInformationRecords() [all …]
|
/frameworks/av/drm/libmediadrm/ |
D | IDrmClient.cpp | 43 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) in notify() argument 49 if (obj && obj->dataSize() > 0) { in notify() 50 data.appendFrom(const_cast<Parcel *>(obj), 0, obj->dataSize()); in notify() 68 Parcel obj; in onTransact() local 70 obj.appendFrom(const_cast<Parcel *>(&data), data.dataPosition(), data.dataAvail()); in onTransact() 73 notify((DrmPlugin::EventType)eventType, extra, &obj); in onTransact()
|
/frameworks/av/media/libmedia/ |
D | IMediaPlayerClient.cpp | 38 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj) in notify() argument 45 if (obj && obj->dataSize() > 0) { in notify() 46 data.appendFrom(const_cast<Parcel *>(obj), 0, obj->dataSize()); in notify() 65 Parcel obj; in onTransact() local 67 obj.appendFrom(const_cast<Parcel *>(&data), data.dataPosition(), data.dataAvail()); in onTransact() 70 notify(msg, ext1, ext2, &obj); in onTransact()
|
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/ |
D | ProtoInputStreamObjectTest.java | 215 SimpleObject obj = null; in testObjectAndTwoChars() local 226 obj = new SimpleObject(); in testObjectAndTwoChars() 227 obj.parseProto(pi); in testObjectAndTwoChars() 240 assertNotNull(obj); in testObjectAndTwoChars() 241 assertEquals('b', obj.mChar); in testObjectAndTwoChars() 285 SimpleObject obj = null; in testComplexObject() local 296 obj = new SimpleObject(); in testComplexObject() 297 obj.parseProto(pi); in testComplexObject() 310 assertNotNull(obj); in testComplexObject() 311 assertEquals('y', obj.mChar); in testComplexObject() [all …]
|