Home
last modified time | relevance | path

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

12345678910>>...38

/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java72 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 …]
DMtpDatabase.java433 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in endSendObject() local
434 if (obj == null || !mManager.endSendObject(obj, succeeded)) { in endSendObject()
440 updateMediaStore(mContext, obj.getPath().toFile()); in endSendObject()
504 MtpStorageManager.MtpObject obj = mManager.getObject(handle); in getObjectPropertyList() local
505 if (obj == null) { in getObjectPropertyList()
508 if (obj.getFormat() == format || format == 0) { in getObjectPropertyList()
509 thisObj = obj; in getObjectPropertyList()
532 for (MtpStorageManager.MtpObject obj : objs) { in getObjectPropertyList()
536 format = obj.getFormat(); in getObjectPropertyList()
555 int err = propertyGroup.getPropertyList(mMediaProvider, obj.getVolumeName(), obj, ret); in getObjectPropertyList()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBaseCommands.java187 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument
189 mRadioStateChangedRegistrants.addUnique(h, what, obj); in registerForRadioStateChanged()
190 Message.obtain(h, what, new AsyncResult(obj, null, null)).sendToTarget(); in registerForRadioStateChanged()
201 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() argument
202 mImsNetworkStateChangedRegistrants.addUnique(h, what, obj); in registerForImsNetworkStateChanged()
210 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument
212 mOnRegistrants.addUnique(h, what, obj); in registerForOn()
215 Message.obtain(h, what, new AsyncResult(obj, null, null)).sendToTarget(); in registerForOn()
228 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() argument
230 mAvailRegistrants.addUnique(h, what, obj); in registerForAvailable()
[all …]
DCommandsInterface.java154 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged() argument
157 void registerForVoiceRadioTechChanged(Handler h, int what, Object obj); in registerForVoiceRadioTechChanged() argument
161 void registerForImsNetworkStateChanged(Handler h, int what, Object obj); in registerForImsNetworkStateChanged() argument
171 void registerForOn(Handler h, int what, Object obj); in registerForOn() argument
182 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable() argument
193 void registerForNotAvailable(Handler h, int what, Object obj); in registerForNotAvailable() argument
203 void registerForOffOrNotAvailable(Handler h, int what, Object obj); in registerForOffOrNotAvailable() argument
210 void registerForIccStatusChanged(Handler h, int what, Object obj); in registerForIccStatusChanged() argument
213 void registerForIccSlotStatusChanged(Handler h, int what, Object obj); in registerForIccSlotStatusChanged() argument
217 void registerForCallStateChanged(Handler h, int what, Object obj); in registerForCallStateChanged() argument
[all …]
DCallManager.java1169 public void registerForDisconnect(Handler h, int what, Object obj) { in registerForDisconnect() argument
1170 mDisconnectRegistrants.addUnique(h, what, obj); in registerForDisconnect()
1192 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj){ in registerForPreciseCallStateChanged() argument
1193 mPreciseCallStateRegistrants.addUnique(h, what, obj); in registerForPreciseCallStateChanged()
1209 public void registerForUnknownConnection(Handler h, int what, Object obj){ in registerForUnknownConnection() argument
1210 mUnknownConnectionRegistrants.addUnique(h, what, obj); in registerForUnknownConnection()
1234 public void registerForNewRingingConnection(Handler h, int what, Object obj){ in registerForNewRingingConnection() argument
1235 mNewRingingConnectionRegistrants.addUnique(h, what, obj); in registerForNewRingingConnection()
1256 public void registerForIncomingRing(Handler h, int what, Object obj){ in registerForIncomingRing() argument
1257 mIncomingRingRegistrants.addUnique(h, what, obj); in registerForIncomingRing()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DFieldPacker.java251 public void addObj(BaseObj obj) { in addObj() argument
252 if (obj != null) { in addObj()
254 addI64(obj.getID(null)); in addObj()
259 addI32((int)obj.getID(null)); in addObj()
635 private static void addToPack(FieldPacker fp, Object obj) { in addToPack() argument
636 if (obj instanceof Boolean) { in addToPack()
637 fp.addBoolean(((Boolean)obj).booleanValue()); in addToPack()
641 if (obj instanceof Byte) { in addToPack()
642 fp.addI8(((Byte)obj).byteValue()); in addToPack()
646 if (obj instanceof Short) { in addToPack()
[all …]
/frameworks/base/libs/hwui/jni/
DCamera.cpp8 static void Camera_constructor(JNIEnv* env, jobject obj) { in Camera_constructor() argument
10 env->SetLongField(obj, gNativeInstanceFieldID, reinterpret_cast<jlong>(view)); in Camera_constructor()
13 static void Camera_destructor(JNIEnv* env, jobject obj) { in Camera_destructor() argument
14 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_destructor()
19 static void Camera_save(JNIEnv* env, jobject obj) { in Camera_save() argument
20 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_save()
25 static void Camera_restore(JNIEnv* env, jobject obj) { in Camera_restore() argument
26 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_restore()
31 static void Camera_translate(JNIEnv* env, jobject obj, in Camera_translate() argument
33 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_translate()
[all …]
Dandroid_graphics_Matrix.cpp35 SkMatrix* obj = reinterpret_cast<SkMatrix*>(objHandle); in finalizer() local
36 delete obj; in finalizer()
45 SkMatrix* obj = new SkMatrix(); in create() local
47 *obj = *src; in create()
49 obj->reset(); in create()
50 return reinterpret_cast<jlong>(obj); in create()
140 SkMatrix* obj = reinterpret_cast<SkMatrix*>(objHandle); in isIdentity() local
141 return obj->isIdentity() ? JNI_TRUE : JNI_FALSE; in isIdentity()
145 SkMatrix* obj = reinterpret_cast<SkMatrix*>(objHandle); in isAffine() local
146 return obj->asAffine(NULL) ? JNI_TRUE : JNI_FALSE; in isAffine()
[all …]
DPath.cpp37 static void finalizer(SkPath* obj) { in finalizer() argument
38 delete obj; in finalizer()
63 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in computeBounds() local
64 const SkRect& bounds = obj->getBounds(); in computeBounds()
69 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in incReserve() local
70 obj->incReserve(extraPtCount); in incReserve()
74 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in moveTo__FF() local
75 obj->moveTo(x, y); in moveTo__FF()
79 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in rMoveTo() local
80 obj->rMoveTo(dx, dy); in rMoveTo()
[all …]
DGraphics.cpp248 void GraphicsJNI::get_jrect(JNIEnv* env, jobject obj, int* L, int* T, int* R, int* B) in get_jrect() argument
250 ALOG_ASSERT(env->IsInstanceOf(obj, gRect_class)); in get_jrect()
252 *L = env->GetIntField(obj, gRect_leftFieldID); in get_jrect()
253 *T = env->GetIntField(obj, gRect_topFieldID); in get_jrect()
254 *R = env->GetIntField(obj, gRect_rightFieldID); in get_jrect()
255 *B = env->GetIntField(obj, gRect_bottomFieldID); in get_jrect()
258 void GraphicsJNI::set_jrect(JNIEnv* env, jobject obj, int L, int T, int R, int B) in set_jrect() argument
260 ALOG_ASSERT(env->IsInstanceOf(obj, gRect_class)); in set_jrect()
262 env->SetIntField(obj, gRect_leftFieldID, L); in set_jrect()
263 env->SetIntField(obj, gRect_topFieldID, T); in set_jrect()
[all …]
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DObjectPrinter.java42 static String print(@Nullable Object obj) { in print() argument
43 return print(obj, false, kDefaultMaxCollectionLength); in print()
56 static String print(@Nullable Object obj, boolean deep, int maxCollectionLength) { in print() argument
58 print(builder, obj, deep, maxCollectionLength); in print()
80 static String printPublicFields(@Nullable Object obj, boolean deep, int maxCollectionLength) { in printPublicFields() argument
82 printPublicFields(builder, obj, deep, maxCollectionLength); in printPublicFields()
96 static void print(@NonNull StringBuilder builder, @Nullable Object obj, boolean deep, in print() argument
99 if (obj == null) { in print()
103 if (obj instanceof Boolean) { in print()
104 builder.append(obj.toString()); in print()
[all …]
/frameworks/base/
DCleanSpec.mk46 $(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/compile/libbcc/
DCleanSpec.mk46 $(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/core/java/android/metrics/
DLogMaker.java285 Object obj = entries.get(MetricsEvent.RESERVED_FOR_LOGBUILDER_CATEGORY); in getCategory() local
286 if (obj instanceof Integer) { in getCategory()
287 return (Integer) obj; in getCategory()
295 Object obj = entries.get(MetricsEvent.RESERVED_FOR_LOGBUILDER_TYPE); in getType() local
296 if (obj instanceof Integer) { in getType()
297 return (Integer) obj; in getType()
305 Object obj = entries.get(MetricsEvent.RESERVED_FOR_LOGBUILDER_SUBTYPE); in getSubtype() local
306 if (obj instanceof Integer) { in getSubtype()
307 return (Integer) obj; in getSubtype()
315 Object obj = entries.get(MetricsEvent.RESERVED_FOR_LOGBUILDER_TIMESTAMP); in getTimestamp() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DLeakCheckedTest.java100 Object obj = mLeakCheckers.get(cls); in getLeakChecker() local
101 if (obj == null) { in getLeakChecker()
104 obj = new FakeBluetoothController(this); in getLeakChecker()
106 obj = new FakeLocationController(this); in getLeakChecker()
108 obj = new FakeRotationLockController(this); in getLeakChecker()
110 obj = new FakeZenModeController(this); in getLeakChecker()
112 obj = new FakeCastController(this); in getLeakChecker()
114 obj = new FakeHotspotController(this); in getLeakChecker()
116 obj = new FakeFlashlightController(this); in getLeakChecker()
118 obj = new FakeUserInfoController(this); in getLeakChecker()
[all …]
/frameworks/base/rs/java/android/renderscript/
DFieldPacker.java250 public void addObj(BaseObj obj) { in addObj() argument
251 if (obj != null) { in addObj()
253 addI64(obj.getID(null)); in addObj()
258 addI32((int)obj.getID(null)); in addObj()
634 private void add(Object obj) { in add() argument
635 if (obj instanceof Boolean) { in add()
636 addBoolean((Boolean)obj); in add()
640 if (obj instanceof Byte) { in add()
641 addI8((Byte)obj); in add()
645 if (obj instanceof Short) { in add()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_input_InputWindowHandle.cpp100 jobject obj = env->NewLocalRef(mObjWeak); in updateInfo() local
101 if (!obj) { in updateInfo()
108 jobject tokenObj = env->GetObjectField(obj, gInputWindowHandleClassInfo.token); in updateInfo()
116 mInfo.name = getStringField(env, obj, gInputWindowHandleClassInfo.name, "<null>"); in updateInfo()
119 env->GetIntField(obj, gInputWindowHandleClassInfo.layoutParamsFlags)); in updateInfo()
121 env->GetIntField(obj, gInputWindowHandleClassInfo.layoutParamsType)); in updateInfo()
123 env->GetLongField(obj, gInputWindowHandleClassInfo.dispatchingTimeoutMillis)); in updateInfo()
124 mInfo.frameLeft = env->GetIntField(obj, in updateInfo()
126 mInfo.frameTop = env->GetIntField(obj, in updateInfo()
128 mInfo.frameRight = env->GetIntField(obj, in updateInfo()
[all …]
/frameworks/opt/telephony/
DCleanSpec.mk41 $(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/
DSimulatedCommandsVerifier.java67 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument
77 public void registerForVoiceRadioTechChanged(Handler h, int what, Object obj) { in registerForVoiceRadioTechChanged() argument
87 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() argument
97 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument
107 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() argument
117 public void registerForNotAvailable(Handler h, int what, Object obj) { in registerForNotAvailable() argument
127 public void registerForOffOrNotAvailable(Handler h, int what, Object obj) { in registerForOffOrNotAvailable() argument
137 public void registerForIccStatusChanged(Handler h, int what, Object obj) { in registerForIccStatusChanged() argument
147 public void registerForIccSlotStatusChanged(Handler h, int what, Object obj) { in registerForIccSlotStatusChanged() argument
157 public void registerForCallStateChanged(Handler h, int what, Object obj) { in registerForCallStateChanged() argument
[all …]
/frameworks/base/packages/WallpaperCropper/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 …]
/frameworks/rs/
DCleanSpec.mk46 $(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/
DCdmaInformationRecords.java39 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/media/libmedia/
DIMediaPlayerClient.cpp38 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/
DProtoInputStreamObjectTest.java215 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 …]
/frameworks/av/drm/libmediadrm/interface/mediadrm/
DDrmUtils.h116 void WriteByteArray(PARCEL &obj, const BA &vec) { in WriteByteArray() argument
117 obj.writeInt32(vec.size()); in WriteByteArray()
119 obj.write(vec.data(), vec.size()); in WriteByteArray()
125 PARCEL &obj, in WriteEventToParcel() argument
129 WriteByteArray(obj, sessionId); in WriteEventToParcel()
130 WriteByteArray(obj, data); in WriteEventToParcel()
131 obj.writeInt32(eventType); in WriteEventToParcel()
136 PARCEL &obj, in WriteExpirationUpdateToParcel() argument
139 WriteByteArray(obj, sessionId); in WriteExpirationUpdateToParcel()
140 obj.writeInt64(expiryTimeInMS); in WriteExpirationUpdateToParcel()
[all …]

12345678910>>...38