/frameworks/base/media/jni/ |
android_media_MediaRecorder.cpp | 46 extern sp<Camera> get_native_camera(JNIEnv *env, jobject thiz, struct JNICameraContext** context); 63 JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz); 72 JNIMediaRecorderListener::JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz) 77 jclass clazz = env->GetObjectClass(thiz); 128 static sp<MediaRecorder> getMediaRecorder(JNIEnv* env, jobject thiz) 131 MediaRecorder* const p = (MediaRecorder*)env->GetIntField(thiz, fields.context); 135 static sp<MediaRecorder> setMediaRecorder(JNIEnv* env, jobject thiz, const sp<MediaRecorder>& recorder) 138 sp<MediaRecorder> old = (MediaRecorder*)env->GetIntField(thiz, fields.context); 140 recorder->incStrong(thiz); 143 old->decStrong(thiz); [all...] |
android_media_MediaExtractor.cpp | 116 JMediaExtractor::JMediaExtractor(JNIEnv *env, jobject thiz) 119 jclass clazz = env->GetObjectClass(thiz); 123 mObject = env->NewWeakGlobalRef(thiz); 300 JNIEnv *env, jobject thiz, const sp<JMediaExtractor> &extractor) { 302 (JMediaExtractor *)env->GetIntField(thiz, gFields.context); 305 extractor->incStrong(thiz); 308 old->decStrong(thiz); 310 env->SetIntField(thiz, gFields.context, (int)extractor.get()); 315 static sp<JMediaExtractor> getMediaExtractor(JNIEnv *env, jobject thiz) { 316 return (JMediaExtractor *)env->GetIntField(thiz, gFields.context) [all...] |
android_media_MediaCrypto.cpp | 40 static sp<JCrypto> getCrypto(JNIEnv *env, jobject thiz) { 41 return (JCrypto *)env->GetIntField(thiz, gFields.context); 45 JNIEnv *env, jobject thiz, 47 mObject = env->NewWeakGlobalRef(thiz); 148 JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) { 149 sp<JCrypto> old = (JCrypto *)env->GetIntField(thiz, gFields.context); 151 crypto->incStrong(thiz); 154 old->decStrong(thiz); 156 env->SetIntField(thiz, gFields.context, (int)crypto.get()); 161 static void android_media_MediaCrypto_release(JNIEnv *env, jobject thiz) { [all...] |
android_mtp_MtpServer.cpp | 55 static inline MtpServer* getMtpServer(JNIEnv *env, jobject thiz) { 56 return (MtpServer*)env->GetIntField(thiz, field_MtpServer_nativeContext); 60 android_mtp_MtpServer_setup(JNIEnv *env, jobject thiz, jobject javaDatabase, jboolean usePtp) 66 env->SetIntField(thiz, field_MtpServer_nativeContext, (int)server); 73 android_mtp_MtpServer_run(JNIEnv *env, jobject thiz) 75 MtpServer* server = getMtpServer(env, thiz); 83 android_mtp_MtpServer_cleanup(JNIEnv *env, jobject thiz) 87 MtpServer* server = getMtpServer(env, thiz); 90 env->SetIntField(thiz, field_MtpServer_nativeContext, 0); 97 android_mtp_MtpServer_send_object_added(JNIEnv *env, jobject thiz, jint handle [all...] |
/cts/apps/CtsVerifier/jni/cameraanalyzer/ |
com_android_cts_verifier_camera_analyzer_ColorCheckerTest.cpp | 29 jobject thiz, 40 jobject thiz, 54 jobject thiz, 65 jobject thiz, 76 jobject thiz,
|
com_android_cts_verifier_camera_analyzer_ColorCheckerTest.h | 30 jobject thiz, 37 jobject thiz, 44 jobject thiz, 50 jobject thiz, 56 jobject thiz,
|
com_android_cts_verifier_camera_analyzer_AutoLockTest.h | 30 jobject thiz); 35 jobject thiz, 44 jobject thiz,
|
com_android_cts_verifier_camera_analyzer_ExposureCompensationTest.h | 30 jobject thiz, 37 jobject thiz, 48 jobject thiz,
|
com_android_cts_verifier_camera_analyzer_WhiteBalanceTest.h | 30 jobject thiz); 35 jobject thiz, 45 jobject thiz,
|
com_android_cts_verifier_camera_analyzer_MeteringTest.h | 30 jobject thiz); 35 jobject thiz, 44 jobject thiz, 51 jobject thiz,
|
/frameworks/base/core/jni/ |
android_media_ToneGenerator.cpp | 41 static jboolean android_media_ToneGenerator_startTone(JNIEnv *env, jobject thiz, jint toneType, jint durationMs) { 42 ALOGV("android_media_ToneGenerator_startTone: %x", (int)thiz); 44 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetIntField(thiz, 54 static void android_media_ToneGenerator_stopTone(JNIEnv *env, jobject thiz) { 55 ALOGV("android_media_ToneGenerator_stopTone: %x", (int)thiz); 57 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetIntField(thiz, 68 static jint android_media_ToneGenerator_getAudioSessionId(JNIEnv *env, jobject thiz) { 69 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetIntField(thiz, 78 static void android_media_ToneGenerator_release(JNIEnv *env, jobject thiz) { 79 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetIntField(thiz, [all...] |
android_hardware_UsbRequest.cpp | 42 android_hardware_UsbRequest_init(JNIEnv *env, jobject thiz, jobject java_device, 64 env->SetIntField(thiz, field_context, (int)request); 69 android_hardware_UsbRequest_close(JNIEnv *env, jobject thiz) 72 struct usb_request* request = get_request_from_object(env, thiz); 75 env->SetIntField(thiz, field_context, 0); 80 android_hardware_UsbRequest_queue_array(JNIEnv *env, jobject thiz, 83 struct usb_request* request = get_request_from_object(env, thiz); 112 request->client_data = (void *)env->NewGlobalRef(thiz); 118 android_hardware_UsbRequest_dequeue_array(JNIEnv *env, jobject thiz, 121 struct usb_request* request = get_request_from_object(env, thiz); [all...] |
android_media_AudioSystem.cpp | 56 android_media_AudioSystem_muteMicrophone(JNIEnv *env, jobject thiz, jboolean on) 62 android_media_AudioSystem_isMicrophoneMuted(JNIEnv *env, jobject thiz) 70 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) 78 android_media_AudioSystem_isStreamActiveRemotely(JNIEnv *env, jobject thiz, jint stream, 87 android_media_AudioSystem_isSourceActive(JNIEnv *env, jobject thiz, jint source) 95 android_media_AudioSystem_setParameters(JNIEnv *env, jobject thiz, jstring keyValuePairs) 108 android_media_AudioSystem_getParameters(JNIEnv *env, jobject thiz, jstring keys) 135 android_media_AudioSystem_setDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jint state, jstring device_address) 146 android_media_AudioSystem_getDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jstring device_address) 156 android_media_AudioSystem_setPhoneState(JNIEnv *env, jobject thiz, jint state [all...] |
android_hardware_SerialPort.cpp | 36 android_hardware_SerialPort_open(JNIEnv *env, jobject thiz, jobject fileDescriptor, jint speed) 142 env->SetIntField(thiz, field_context, fd); 161 android_hardware_SerialPort_close(JNIEnv *env, jobject thiz) 163 int fd = env->GetIntField(thiz, field_context); 165 env->SetIntField(thiz, field_context, -1); 169 android_hardware_SerialPort_read_array(JNIEnv *env, jobject thiz, jbyteArray buffer, jint length) 171 int fd = env->GetIntField(thiz, field_context); 191 android_hardware_SerialPort_read_direct(JNIEnv *env, jobject thiz, jobject buffer, jint length) 193 int fd = env->GetIntField(thiz, field_context); 208 android_hardware_SerialPort_write_array(JNIEnv *env, jobject thiz, jbyteArray buffer, jint length [all...] |
android_hardware_Camera.cpp | 112 sp<Camera> get_native_camera(JNIEnv *env, jobject thiz, JNICameraContext** pContext) 116 JNICameraContext* context = reinterpret_cast<JNICameraContext*>(env->GetIntField(thiz, fields.context)); 442 static jint android_hardware_Camera_getNumberOfCameras(JNIEnv *env, jobject thiz) 447 static void android_hardware_Camera_getCameraInfo(JNIEnv *env, jobject thiz, 467 static void android_hardware_Camera_native_setup(JNIEnv *env, jobject thiz, 490 jclass clazz = env->GetObjectClass(thiz); 503 env->SetIntField(thiz, fields.context, (int)context.get()); 510 static void android_hardware_Camera_release(JNIEnv *env, jobject thiz) 518 context = reinterpret_cast<JNICameraContext*>(env->GetIntField(thiz, fields.context)); 521 env->SetIntField(thiz, fields.context, 0) [all...] |
/frameworks/wilhelm/src/ |
entry.c | 90 CEngine *thiz = theOneTrueEngine; local 91 if (NULL != thiz) { 101 object_lock_exclusive(&thiz->mObject); 105 SLuint8 *interfaceStateP = thiz->mObject.mInterfaceStates; 116 if ((NULL == expose) || (*expose)((char *) thiz + x->mOffset)) { 129 object_unlock_exclusive(&thiz->mObject); 131 *pEngine = &thiz->mObject.mItf; 143 thiz = (CEngine *) construct(pCEngine_class, exposedMask, NULL); 144 if (NULL == thiz) { 151 memset(&thiz->mThreadPool, 0, sizeof(ThreadPool)) [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
jni_native_buffer.cpp | 53 jboolean Java_android_filterfw_core_NativeBuffer_allocate(JNIEnv* env, jobject thiz, jint size) { 55 return ToJBool(AttachDataToJBuffer(env, thiz, data, size)); 59 jobject thiz, 62 char* data = GetJBufferData(env, thiz, NULL); 69 jobject thiz, 73 char* source_data = GetJBufferData(env, thiz, &size);
|
jni_gl_environment.cpp | 65 jboolean Java_android_filterfw_core_GLEnvironment_nativeAllocate(JNIEnv* env, jobject thiz) { 66 return ToJBool(WrapObjectInJava(new GLEnv(), env, thiz, true)); 69 jboolean Java_android_filterfw_core_GLEnvironment_nativeDeallocate(JNIEnv* env, jobject thiz) { 70 return ToJBool(DeleteNativeObject<GLEnv>(env, thiz)); 74 jobject thiz) { 75 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); 80 jobject thiz) { 81 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); 85 jboolean Java_android_filterfw_core_GLEnvironment_nativeIsActive(JNIEnv* env, jobject thiz) { 86 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); [all...] |
/frameworks/wilhelm/src/itf/ |
IDynamicInterfaceManagement.c | 29 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 30 assert(NULL != thiz); 31 IObject *thisObject = InterfaceToIObject(thiz); 92 slDynamicInterfaceManagementCallback callback = thiz->mCallback; 93 void *context = thiz->mContext; 99 (*callback)(&thiz->mItf, context, SL_DYNAMIC_ITF_EVENT_ASYNC_TERMINATION, result, iid); 114 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 115 IObject *thisObject = InterfaceToIObject(thiz); 138 result = ThreadPool_add_ppi(&thisObject->mEngine->mThreadPool, HandleAdd, thiz, 210 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self local 285 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 362 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 445 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 466 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local [all...] |
/cts/tests/jni/ |
android_os_cts_CpuFeatures.cpp | 21 jboolean android_os_cts_CpuFeatures_isArmCpu(JNIEnv* env, jobject thiz) 27 jboolean android_os_cts_CpuFeatures_isArm7Compatible(JNIEnv* env, jobject thiz) 33 jboolean android_os_cts_CpuFeatures_isMipsCpu(JNIEnv* env, jobject thiz) 39 jboolean android_os_cts_CpuFeatures_isX86Cpu(JNIEnv* env, jobject thiz)
|
/frameworks/base/include/android_runtime/ |
android_graphics_SurfaceTexture.h | 29 extern sp<ANativeWindow> android_SurfaceTexture_getNativeWindow(JNIEnv* env, jobject thiz); 30 extern bool android_SurfaceTexture_isInstanceOf(JNIEnv* env, jobject thiz); 33 extern sp<GLConsumer> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz); 36 extern sp<IGraphicBufferProducer> SurfaceTexture_getProducer(JNIEnv* env, jobject thiz);
|
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/ |
jni_multiclass_pa.h | 28 jobject thiz, 36 jobject thiz, 41 jobject thiz, 49 jobject thiz,
|
/frameworks/wilhelm/src/objects/ |
C3DGroup.c | 26 C3DGroup *thiz = (C3DGroup *) self; local 28 if (0 == thiz->mMemberMask) { 31 SL_LOGE("Object::Destroy(%p) for 3DGroup ignored; mMemberMask=0x%x", thiz, thiz->mMemberMask);
|
/cts/tools/signature-tools/src/signature/model/impl/ |
SigParameterizedType.java | 78 public static boolean equals(IParameterizedType thiz, Object that) { 83 if (thiz.getOwnerType() == null) { 87 } else if (Uninitialized.isInitialized(thiz.getOwnerType())) { 91 } else if (!thiz.getOwnerType().equals(other.getOwnerType())) { 94 if (!thiz.getRawType().equals(other.getRawType())) { 97 if (!thiz.getTypeArguments().equals(other.getTypeArguments())) {
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
jpegstream.cpp | 31 static jint OutputStream_setup(JNIEnv* env, jobject thiz, jobject out, 34 jclass thisClass = env->GetObjectClass(thiz); 76 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(w_ptr)); 84 static jint InputStream_setup(JNIEnv* env, jobject thiz, jobject dimens, 87 jclass thisClass = env->GetObjectClass(thiz); 140 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(r_ptr)); 148 static JpegWriter* getWPtr(JNIEnv* env, jobject thiz, jfieldID* fid) { 149 jclass thisClass = env->GetObjectClass(thiz); 157 jlong ptr = env->GetLongField(thiz, fidNumber); 169 static JpegReader* getRPtr(JNIEnv* env, jobject thiz, jfieldID* fid) [all...] |