/frameworks/base/media/jni/ |
android_media_MediaRecorder.cpp | 48 extern sp<Camera> get_native_camera(JNIEnv *env, jobject thiz, struct JNICameraContext** context); 65 JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz); 74 JNIMediaRecorderListener::JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz) 79 jclass clazz = env->GetObjectClass(thiz); 130 static sp<MediaRecorder> getMediaRecorder(JNIEnv* env, jobject thiz) 133 MediaRecorder* const p = (MediaRecorder*)env->GetLongField(thiz, fields.context); 137 static sp<MediaRecorder> setMediaRecorder(JNIEnv* env, jobject thiz, const sp<MediaRecorder>& recorder) 140 sp<MediaRecorder> old = (MediaRecorder*)env->GetLongField(thiz, fields.context); 142 recorder->incStrong(thiz); 145 old->decStrong(thiz); [all...] |
android_media_MediaPlayer.cpp | 75 JNIMediaPlayerListener(JNIEnv* env, jobject thiz, jobject weak_thiz); 84 JNIMediaPlayerListener::JNIMediaPlayerListener(JNIEnv* env, jobject thiz, jobject weak_thiz) 89 jclass clazz = env->GetObjectClass(thiz); 135 static sp<MediaPlayer> getMediaPlayer(JNIEnv* env, jobject thiz) 138 MediaPlayer* const p = (MediaPlayer*)env->GetLongField(thiz, fields.context); 142 static sp<MediaPlayer> setMediaPlayer(JNIEnv* env, jobject thiz, const sp<MediaPlayer>& player) 145 sp<MediaPlayer> old = (MediaPlayer*)env->GetLongField(thiz, fields.context); 152 env->SetLongField(thiz, fields.context, (jlong)player.get()); 160 static void process_media_player_call(JNIEnv *env, jobject thiz, status_t opStatus, const char* exception, const char *message) 164 sp<MediaPlayer> mp = getMediaPlayer(env, thiz); [all...] |
/cts/tools/signature-tools/src/signature/model/impl/ |
SigWildcardType.java | 65 public static boolean equals(IWildcardType thiz, Object obj) { 66 if (thiz == obj) return true; 70 if (thiz.getLowerBound() == null) { 72 } else if (!thiz.getLowerBound().equals(that.getLowerBound())) 74 if (!thiz.getUpperBounds().equals(that.getUpperBounds())) return false; 84 public static String toString(IWildcardType thiz) { 87 if (thiz.getLowerBound() != null) { 90 builder.append(thiz.getLowerBound()); 92 if (!thiz.getUpperBounds().isEmpty()) { 94 builder.append(thiz.getUpperBounds()) [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_shader_program.cpp | 39 jobject thiz, 54 thiz, 62 thiz, 66 jboolean Java_android_filterfw_core_ShaderProgram_deallocate(JNIEnv* env, jobject thiz) { 67 return ToJBool(DeleteNativeObject<ShaderProgram>(env, thiz)); 70 jboolean Java_android_filterfw_core_ShaderProgram_compileAndLink(JNIEnv* env, jobject thiz) { 71 ShaderProgram* program = ConvertFromJava<ShaderProgram>(env, thiz); 76 jobject thiz, 79 ShaderProgram* program = ConvertFromJava<ShaderProgram>(env, thiz); 91 jobject thiz, [all...] |
jni_shader_program.h | 30 jobject thiz, 36 Java_android_filterfw_core_ShaderProgram_deallocate(JNIEnv* env, jobject thiz); 39 Java_android_filterfw_core_ShaderProgram_compileAndLink(JNIEnv* env, jobject thiz); 43 jobject thiz, 49 jobject thiz, 54 jobject thiz, 65 jobject thiz, 77 jobject thiz, 89 jobject thiz, 94 jobject thiz, [all...] |
jni_gl_frame.cpp | 45 jobject thiz, 53 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 61 jobject thiz, 70 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 78 jobject thiz, 87 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 95 jobject thiz, 101 return ToJBool(WrapObjectInJava(frame, env, thiz, true)); 108 jboolean Java_android_filterfw_core_GLFrame_nativeDeallocate(JNIEnv* env, jobject thiz) { 109 return ToJBool(DeleteNativeObject<GLFrame>(env, thiz)); [all...] |
jni_native_buffer.h | 43 Java_android_filterfw_core_NativeBuffer_allocate(JNIEnv* env, jobject thiz, jint size); 46 Java_android_filterfw_core_NativeBuffer_deallocate(JNIEnv* env, jobject thiz, jboolean owns_data); 49 Java_android_filterfw_core_NativeBuffer_nativeCopyTo(JNIEnv* env, jobject thiz, jobject new_buffer);
|
jni_vertex_frame.cpp | 25 jobject thiz, 27 return ToJBool(WrapObjectInJava(new VertexFrame(size), env, thiz, true)); 30 jboolean Java_android_filterfw_core_VertexFrame_nativeDeallocate(JNIEnv* env, jobject thiz) { 31 return ToJBool(DeleteNativeObject<VertexFrame>(env, thiz)); 35 jobject thiz, 38 VertexFrame* frame = ConvertFromJava<VertexFrame>(env, thiz); 53 jobject thiz, 55 VertexFrame* frame = ConvertFromJava<VertexFrame>(env, thiz); 70 jobject thiz, 74 VertexFrame* frame = ConvertFromJava<VertexFrame>(env, thiz); [all...] |
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...] |
jni_native_frame.cpp | 36 jobject thiz, 38 return ToJBool(WrapObjectInJava(new NativeFrame(size), env, thiz, true)); 41 jboolean Java_android_filterfw_core_NativeFrame_nativeDeallocate(JNIEnv* env, jobject thiz) { 42 return ToJBool(DeleteNativeObject<NativeFrame>(env, thiz)); 54 jobject thiz, 58 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz); 73 jobject thiz, 75 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz); 88 jobject thiz, 90 NativeFrame* frame = ConvertFromJava<NativeFrame>(env, thiz); [all...] |
/cts/tests/tests/os/jni/ |
android_os_cts_CpuFeatures.cpp | 22 jboolean android_os_cts_CpuFeatures_isArmCpu(JNIEnv* env, jobject thiz) 28 jboolean android_os_cts_CpuFeatures_isArm7Compatible(JNIEnv* env, jobject thiz) 34 jboolean android_os_cts_CpuFeatures_isMipsCpu(JNIEnv* env, jobject thiz) 40 jboolean android_os_cts_CpuFeatures_isX86Cpu(JNIEnv* env, jobject thiz) 46 jboolean android_os_cts_CpuFeatures_isArm64Cpu(JNIEnv* env, jobject thiz) 52 jboolean android_os_cts_CpuFeatures_isMips64Cpu(JNIEnv* env, jobject thiz) 58 jboolean android_os_cts_CpuFeatures_isX86_64Cpu(JNIEnv* env, jobject thiz)
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/ |
jni_stochastic_linear_ranker.h | 111 jobject thiz); 117 jobject thiz, 123 jobject thiz, 133 jobject thiz, 141 jobject thiz, 150 jobject thiz, 158 jobject thiz, 164 jobject thiz, 173 jobject thiz,
|
/cts/apps/CtsVerifier/jni/cameraanalyzer/ |
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,
|
/frameworks/base/media/jni/soundpool/ |
android_media_SoundPool_SoundPoolImpl.cpp | 35 static inline SoundPool* MusterSoundPool(JNIEnv *env, jobject thiz) { 36 return (SoundPool*)env->GetLongField(thiz, fields.mNativeContext); 49 android_media_SoundPool_SoundPoolImpl_load_URL(JNIEnv *env, jobject thiz, jstring path, jint priority) 52 SoundPool *ap = MusterSoundPool(env, thiz); 64 android_media_SoundPool_SoundPoolImpl_load_FD(JNIEnv *env, jobject thiz, jobject fileDescriptor, 68 SoundPool *ap = MusterSoundPool(env, thiz); 75 android_media_SoundPool_SoundPoolImpl_unload(JNIEnv *env, jobject thiz, jint sampleID) { 77 SoundPool *ap = MusterSoundPool(env, thiz); 83 android_media_SoundPool_SoundPoolImpl_play(JNIEnv *env, jobject thiz, jint sampleID, 88 SoundPool *ap = MusterSoundPool(env, thiz); [all...] |
/frameworks/base/core/jni/ |
android_hardware_UsbDeviceConnection.cpp | 42 android_hardware_UsbDeviceConnection_open(JNIEnv *env, jobject thiz, jstring deviceName, 54 env->SetLongField(thiz, field_context, (jlong)device); 65 android_hardware_UsbDeviceConnection_close(JNIEnv *env, jobject thiz) 68 struct usb_device* device = get_device_from_object(env, thiz); 71 env->SetLongField(thiz, field_context, 0); 76 android_hardware_UsbDeviceConnection_get_fd(JNIEnv *env, jobject thiz) 78 struct usb_device* device = get_device_from_object(env, thiz); 87 android_hardware_UsbDeviceConnection_get_desc(JNIEnv *env, jobject thiz) 90 int fd = android_hardware_UsbDeviceConnection_get_fd(env, thiz); 108 android_hardware_UsbDeviceConnection_claim_interface(JNIEnv *env, jobject thiz, [all...] |
/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/ |
COutputMix.c | 29 COutputMix *thiz = (COutputMix *) self; local 30 result = android_outputMix_realize(thiz, async); 50 COutputMix *thiz = (COutputMix *) self; local 51 android_outputMix_destroy(thiz);
|
/frameworks/wilhelm/src/desktop/ |
OutputMixExt.h | 46 extern SLresult IOutputMixExt_checkAudioPlayerSourceSink(CAudioPlayer *thiz); 47 extern void audioPlayerGainUpdate(CAudioPlayer *thiz);
|
/frameworks/wilhelm/src/itf/ |
IAudioIODeviceCapabilities.c | 76 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local 77 interface_lock_exclusive(thiz); 78 thiz->mAvailableAudioInputsChangedCallback = callback; 79 thiz->mAvailableAudioInputsChangedContext = pContext; 80 interface_unlock_exclusive(thiz); 146 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local 147 interface_lock_exclusive(thiz); 148 thiz->mAvailableAudioOutputsChangedCallback = callback; 149 thiz->mAvailableAudioOutputsChangedContext = pContext; 150 interface_unlock_exclusive(thiz); 163 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local 315 IAudioIODeviceCapabilities *thiz = (IAudioIODeviceCapabilities *) self; local [all...] |
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...] |
IEngineCapabilities.c | 107 IEngineCapabilities *thiz = (IEngineCapabilities *) self; local 114 if (index >= thiz->mMaxIndexLED) { 124 *pIndex = thiz->mMaxIndexLED; 129 for (index = 0; index < thiz->mMaxIndexLED; ++index) { 149 IEngineCapabilities *thiz = (IEngineCapabilities *) self; local 156 if (index >= thiz->mMaxIndexVibra) { 166 *pIndex = thiz->mMaxIndexVibra; 171 for (index = 0; index < thiz->mMaxIndexVibra; ++index) { 194 IEngineCapabilities *thiz = (IEngineCapabilities *) self; local 195 *pIsThreadSafe = thiz->mThreadSafe 215 IEngineCapabilities *thiz = (IEngineCapabilities *) self; local [all...] |