Home
last modified time | relevance | path

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

12345678910>>...29

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBaseCommands.java123 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument
124 Registrant r = new Registrant (h, what, obj); in registerForRadioStateChanged()
139 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() argument
140 Registrant r = new Registrant (h, what, obj); in registerForImsNetworkStateChanged()
149 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument
150 Registrant r = new Registrant (h, what, obj); in registerForOn()
169 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() argument
170 Registrant r = new Registrant (h, what, obj); in registerForAvailable()
189 public void registerForNotAvailable(Handler h, int what, Object obj) { in registerForNotAvailable() argument
190 Registrant r = new Registrant (h, what, obj); in registerForNotAvailable()
[all …]
DCommandsInterface.java141 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged() argument
144 void registerForVoiceRadioTechChanged(Handler h, int what, Object obj); in registerForVoiceRadioTechChanged() argument
146 void registerForImsNetworkStateChanged(Handler h, int what, Object obj); in registerForImsNetworkStateChanged() argument
155 void registerForOn(Handler h, int what, Object obj); in registerForOn() argument
164 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable() argument
173 void registerForNotAvailable(Handler h, int what, Object obj); in registerForNotAvailable() argument
182 void registerForOffOrNotAvailable(Handler h, int what, Object obj); in registerForOffOrNotAvailable() argument
188 void registerForIccStatusChanged(Handler h, int what, Object obj); in registerForIccStatusChanged() argument
191 void registerForCallStateChanged(Handler h, int what, Object obj); in registerForCallStateChanged() argument
193 void registerForVoiceNetworkStateChanged(Handler h, int what, Object obj); in registerForVoiceNetworkStateChanged() argument
[all …]
DCallManager.java1312 public void registerForDisconnect(Handler h, int what, Object obj) { in registerForDisconnect() argument
1313 mDisconnectRegistrants.addUnique(h, what, obj); in registerForDisconnect()
1333 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj){ in registerForPreciseCallStateChanged() argument
1334 mPreciseCallStateRegistrants.addUnique(h, what, obj); in registerForPreciseCallStateChanged()
1349 public void registerForUnknownConnection(Handler h, int what, Object obj){ in registerForUnknownConnection() argument
1350 mUnknownConnectionRegistrants.addUnique(h, what, obj); in registerForUnknownConnection()
1373 public void registerForNewRingingConnection(Handler h, int what, Object obj){ in registerForNewRingingConnection() argument
1374 mNewRingingConnectionRegistrants.addUnique(h, what, obj); in registerForNewRingingConnection()
1394 public void registerForIncomingRing(Handler h, int what, Object obj){ in registerForIncomingRing() argument
1395 mIncomingRingRegistrants.addUnique(h, what, obj); in registerForIncomingRing()
[all …]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DFieldPacker.java247 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/opt/net/wifi/service/jni/
Djni_helper.cpp55 jobject JNIHelper::newGlobalRef(jobject obj) { in newGlobalRef() argument
56 return mEnv->NewGlobalRef(obj); in newGlobalRef()
59 void JNIHelper::deleteGlobalRef(jobject obj) { in deleteGlobalRef() argument
60 mEnv->DeleteGlobalRef(obj); in deleteGlobalRef()
63 jobject JNIHelper::newLocalRef(jobject obj) { in newLocalRef() argument
64 return mEnv->NewLocalRef(obj); in newLocalRef()
67 void JNIHelper::deleteLocalRef(jobject obj) { in deleteLocalRef() argument
68 mEnv->DeleteLocalRef(obj); in deleteLocalRef()
87 jboolean JNIHelper::getBoolField(jobject obj, const char *name) in getBoolField() argument
89 JNIObject<jclass> cls(*this, mEnv->GetObjectClass(obj)); in getBoolField()
[all …]
Djni_helper.h29 JNIObject(JNIHelper &helper, T obj);
78 jboolean getBoolField(jobject obj, const char *name);
79 jint getIntField(jobject obj, const char *name);
80 jlong getLongField(jobject obj, const char *name);
81 JNIObject<jstring> getStringField(jobject obj, const char *name);
82 bool getStringFieldValue(jobject obj, const char *name, char *buf, int size);
83 JNIObject<jobject> getObjectField(jobject obj, const char *name, const char *type);
84 JNIObject<jobjectArray> getArrayField(jobject obj, const char *name, const char *type);
85 void getByteArrayField(jobject obj, const char *name, byte* buf, int size);
86 jlong getLongArrayField(jobject obj, const char *name, int index);
[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/base/core/jni/android/graphics/
DCamera.cpp11 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 …]
DMatrix.cpp32 SkMatrix* obj = reinterpret_cast<SkMatrix*>(objHandle); in finalizer() local
33 delete obj; in finalizer()
38 SkMatrix* obj = new SkMatrix(); in create() local
40 *obj = *src; in create()
42 obj->reset(); in create()
43 return reinterpret_cast<jlong>(obj); in create()
47 SkMatrix* obj = reinterpret_cast<SkMatrix*>(objHandle); in isIdentity() local
48 return obj->isIdentity() ? JNI_TRUE : JNI_FALSE; in isIdentity()
52 SkMatrix* obj = reinterpret_cast<SkMatrix*>(objHandle); in isAffine() local
53 return obj->asAffine(NULL) ? JNI_TRUE : JNI_FALSE; in isAffine()
[all …]
DPath.cpp40 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in finalizer() local
42 if (obj->unique() && android::uirenderer::Caches::hasInstance()) { in finalizer()
43 android::uirenderer::Caches::getInstance().pathCache.removeDeferred(obj); in finalizer()
45 delete obj; in finalizer()
58 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in reset() local
59 obj->reset(); in reset()
63 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in rewind() local
64 obj->rewind(); in rewind()
74 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in isConvex() local
75 return obj->isConvex(); in isConvex()
[all …]
DGraphics.cpp190 void GraphicsJNI::get_jrect(JNIEnv* env, jobject obj, int* L, int* T, int* R, int* B) in get_jrect() argument
192 SkASSERT(env->IsInstanceOf(obj, gRect_class)); in get_jrect()
194 *L = env->GetIntField(obj, gRect_leftFieldID); in get_jrect()
195 *T = env->GetIntField(obj, gRect_topFieldID); in get_jrect()
196 *R = env->GetIntField(obj, gRect_rightFieldID); in get_jrect()
197 *B = env->GetIntField(obj, gRect_bottomFieldID); in get_jrect()
200 void GraphicsJNI::set_jrect(JNIEnv* env, jobject obj, int L, int T, int R, int B) in set_jrect() argument
202 SkASSERT(env->IsInstanceOf(obj, gRect_class)); in set_jrect()
204 env->SetIntField(obj, gRect_leftFieldID, L); in set_jrect()
205 env->SetIntField(obj, gRect_topFieldID, T); in set_jrect()
[all …]
/frameworks/base/rs/java/android/renderscript/
DFieldPacker.java246 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/
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/data-binding/extensions/library/src/androidTest/java/android/databinding/
DObservableParcelTest.java41 ObservableBoolean obj = new ObservableBoolean(false); in testParcelBoolean() local
42 ObservableBoolean read = parcelAndUnparcel(obj, ObservableBoolean.class); in testParcelBoolean()
51 ObservableByte obj = new ObservableByte((byte) 7); in testParcelByte() local
52 ObservableByte read = parcelAndUnparcel(obj, ObservableByte.class); in testParcelByte()
57 ObservableChar obj = new ObservableChar('y'); in testParcelChar() local
58 ObservableChar read = parcelAndUnparcel(obj, ObservableChar.class); in testParcelChar()
63 ObservableDouble obj = new ObservableDouble(Double.MAX_VALUE); in testParcelDouble() local
64 ObservableDouble read = parcelAndUnparcel(obj, ObservableDouble.class); in testParcelDouble()
69 ObservableFloat obj = new ObservableFloat(Float.MIN_VALUE); in testParcelFloat() local
70 ObservableFloat read = parcelAndUnparcel(obj, ObservableFloat.class); in testParcelFloat()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputWindowHandle.cpp81 jobject obj = env->NewLocalRef(mObjWeak); in updateInfo() local
82 if (!obj) { in updateInfo()
93 jobject inputChannelObj = env->GetObjectField(obj, in updateInfo()
102 jstring nameObj = jstring(env->GetObjectField(obj, in updateInfo()
113 mInfo->layoutParamsFlags = env->GetIntField(obj, in updateInfo()
115 mInfo->layoutParamsType = env->GetIntField(obj, in updateInfo()
117 mInfo->dispatchingTimeout = env->GetLongField(obj, in updateInfo()
119 mInfo->frameLeft = env->GetIntField(obj, in updateInfo()
121 mInfo->frameTop = env->GetIntField(obj, in updateInfo()
123 mInfo->frameRight = env->GetIntField(obj, in updateInfo()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommandsVerifier.java57 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument
67 public void registerForVoiceRadioTechChanged(Handler h, int what, Object obj) { in registerForVoiceRadioTechChanged() argument
77 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() argument
87 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument
97 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() argument
107 public void registerForNotAvailable(Handler h, int what, Object obj) { in registerForNotAvailable() argument
117 public void registerForOffOrNotAvailable(Handler h, int what, Object obj) { in registerForOffOrNotAvailable() argument
127 public void registerForIccStatusChanged(Handler h, int what, Object obj) { in registerForIccStatusChanged() argument
137 public void registerForCallStateChanged(Handler h, int what, Object obj) { in registerForCallStateChanged() argument
147 public void registerForVoiceNetworkStateChanged(Handler h, int what, Object obj) { in registerForVoiceNetworkStateChanged() 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/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/mocks/
DPhoneMock.java169 public void registerForSilentRedial(Handler h, int what, Object obj) { in registerForSilentRedial() argument
193 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj) { in registerForPreciseCallStateChanged() argument
194 mPreciseCallStateRegistrants.addUnique(h, what, obj); in registerForPreciseCallStateChanged()
208 public void registerForHandoverStateChanged(Handler h, int what, Object obj) { in registerForHandoverStateChanged() argument
209 mHandoverRegistrants.addUnique(h, what, obj); in registerForHandoverStateChanged()
229 public void registerForUnknownConnection(Handler h, int what, Object obj) { in registerForUnknownConnection() argument
230 mUnknownConnectionRegistrants.addUnique(h, what, obj); in registerForUnknownConnection()
238 Handler h, int what, Object obj) { in registerForNewRingingConnection() argument
239 mNewRingingConnectionRegistrants.addUnique(h, what, obj); in registerForNewRingingConnection()
247 Handler h, int what, Object obj) { in registerForVideoCapabilityChanged() argument
[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/base/core/jni/
Dandroid_view_InputChannel.cpp52 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/base/telecomm/java/android/telecom/
DConnectionServiceAdapterServant.java85 SomeArgs args = (SomeArgs) msg.obj;
97 mDelegate.setActive((String) msg.obj);
100 mDelegate.setRinging((String) msg.obj);
103 mDelegate.setDialing((String) msg.obj);
106 mDelegate.setPulling((String) msg.obj);
109 SomeArgs args = (SomeArgs) msg.obj;
118 mDelegate.setOnHold((String) msg.obj);
121 mDelegate.setRingbackRequested((String) msg.obj, msg.arg1 == 1);
124 mDelegate.setConnectionCapabilities((String) msg.obj, msg.arg1);
127 mDelegate.setConnectionProperties((String) msg.obj, msg.arg1);
[all …]
/frameworks/av/media/libmedia/
DIDrmClient.cpp43 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()
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/support/core-ui/java/android/support/v4/view/
DAsyncLayoutInflater.java97 InflateRequest request = (InflateRequest) msg.obj;
198 InflateRequest obj = mRequestPool.acquire(); in obtainRequest() local
199 if (obj == null) { in obtainRequest()
200 obj = new InflateRequest(); in obtainRequest()
202 return obj; in obtainRequest()
205 public void releaseRequest(InflateRequest obj) { in releaseRequest() argument
206 obj.callback = null; in releaseRequest()
207 obj.inflater = null; in releaseRequest()
208 obj.parent = null; in releaseRequest()
209 obj.resid = 0; in releaseRequest()
[all …]

12345678910>>...29