/frameworks/wilhelm/src/itf/ |
INoiseSuppression.c | 34 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local 35 interface_lock_exclusive(thiz); 36 thiz->mEnabled = (SLboolean) enabled; 37 if (NO_NOISESUPPRESS(thiz)) { 40 android::status_t status = thiz->mNSEffect->setEnabled((bool) thiz->mEnabled); 43 interface_unlock_exclusive(thiz); 55 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local 56 interface_lock_exclusive(thiz); 57 SLboolean enabled = thiz->mEnabled 109 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local 119 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local 126 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local [all...] |
IDeviceVolume.c | 62 IDeviceVolume *thiz = (IDeviceVolume *) self; local 63 interface_lock_poke(thiz); 64 thiz->mVolume[~deviceID] = volume; 65 interface_unlock_poke(thiz); 94 IDeviceVolume *thiz = (IDeviceVolume *) self; local 95 interface_lock_peek(thiz); 96 SLint32 volume = thiz->mVolume[~deviceID]; 97 interface_unlock_peek(thiz); 120 IDeviceVolume *thiz = (IDeviceVolume *) self; local 121 thiz->mItf = &IDeviceVolume_Itf [all...] |
IEffectSend.c | 39 static struct EnableLevel *getEnableLevel(IEffectSend *thiz, const void *pAuxEffect) 42 CAudioPlayer *audioPlayer = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 43 (CAudioPlayer *) thiz->mThis : NULL; 81 return &thiz->mEnableLevels[aux]; 121 IEffectSend *thiz = (IEffectSend *) self; local 122 struct EnableLevel *enableLevel = getEnableLevel(thiz, pAuxEffect); 126 interface_lock_exclusive(thiz); 133 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 134 (CAudioPlayer *) thiz->mThis : NULL; 154 interface_unlock_exclusive(thiz); 170 IEffectSend *thiz = (IEffectSend *) self; local 197 IEffectSend *thiz = (IEffectSend *) self; local 232 IEffectSend *thiz = (IEffectSend *) self; local 260 IEffectSend *thiz = (IEffectSend *) self; local 295 IEffectSend *thiz = (IEffectSend *) self; local 323 IEffectSend *thiz = (IEffectSend *) self; local [all...] |
IMuteSolo.c | 26 IMuteSolo *thiz = (IMuteSolo *) self; local 27 IObject *thisObject = thiz->mThis; 32 interface_lock_exclusive(thiz); 35 interface_unlock_exclusive(thiz); 38 interface_unlock_exclusive(thiz); 48 interface_unlock_exclusive_attributes(thiz, oldMuteMask != ap->mMuteMask ? ATTR_GAIN : 65 IMuteSolo *thiz = (IMuteSolo *) self; local 66 IObject *thisObject = thiz->mThis; 72 interface_lock_shared(thiz); 85 interface_unlock_shared(thiz); 98 IMuteSolo *thiz = (IMuteSolo *) self; local 137 IMuteSolo *thiz = (IMuteSolo *) self; local 173 IMuteSolo *thiz = (IMuteSolo *) self; local 202 IMuteSolo *thiz = (IMuteSolo *) self; local [all...] |
IStreamInformation.c | 32 IStreamInformation *thiz = (IStreamInformation *) self; local 33 interface_lock_shared(thiz); 35 *info = thiz->mStreamInfoTable.itemAt(0).containerInfo; 36 interface_unlock_shared(thiz); 70 IStreamInformation *thiz = (IStreamInformation *) self; local 72 interface_lock_shared(thiz); 74 XAuint32 nbStreams = thiz->mStreamInfoTable.itemAt(0).containerInfo.numStreams; 78 *domain = thiz->mStreamInfoTable.itemAt(streamIndex).domain; 85 interface_unlock_shared(thiz); 107 IStreamInformation *thiz = (IStreamInformation *) self 172 IStreamInformation *thiz = (IStreamInformation *) self; local 219 IStreamInformation *thiz = (IStreamInformation *) self; local 245 IStreamInformation *thiz = (IStreamInformation *) self; local 289 IStreamInformation *thiz = (IStreamInformation *) self; local 317 IStreamInformation *thiz = (IStreamInformation *) self; local [all...] |
I3DGrouping.c | 37 I3DGrouping *thiz = (I3DGrouping *) self; local 38 IObject *thisObject = InterfaceToIObject(thiz); 44 interface_lock_exclusive(thiz); 45 C3DGroup *oldGroup = thiz->mGroup; 66 thiz->mGroup = newGroup; 68 interface_unlock_exclusive(thiz); 82 I3DGrouping *thiz = (I3DGrouping *) self; local 83 interface_lock_shared(thiz); 84 C3DGroup *group = thiz->mGroup; 86 interface_unlock_shared(thiz); 101 I3DGrouping *thiz = (I3DGrouping *) self; local 108 I3DGrouping *thiz = (I3DGrouping *) self; local [all...] |
IOutputMix.c | 52 IOutputMix *thiz = (IOutputMix *) self; local 53 interface_lock_exclusive(thiz); 54 thiz->mCallback = callback; 55 thiz->mContext = pContext; 56 interface_unlock_exclusive(thiz); 94 IOutputMix *thiz = (IOutputMix *) self; local 95 thiz->mItf = &IOutputMix_Itf; 96 thiz->mCallback = NULL; 97 thiz->mContext = NULL;
|
IEngine.c | 113 CLEDDevice *thiz = (CLEDDevice *) construct(pCLEDDevice_class, exposedMask, self); local 114 if (NULL == thiz) { 117 thiz->mDeviceID = deviceID; 118 IObject_Publish(&thiz->mObject); 120 *pDevice = &thiz->mObject.mItf; 151 CVibraDevice *thiz = (CVibraDevice *) construct(pCVibraDevice_class, exposedMask, self); local 152 if (NULL == thiz) { 155 thiz->mDeviceID = deviceID; 156 IObject_Publish(&thiz->mObject); 158 *pDevice = &thiz->mObject.mItf 188 CAudioPlayer *thiz = (CAudioPlayer *) construct(pCAudioPlayer_class, exposedMask, self); local 432 CAudioRecorder *thiz = (CAudioRecorder *) construct(pCAudioRecorder_class, exposedMask, local 572 CMidiPlayer *thiz = (CMidiPlayer *) construct(pCMidiPlayer_class, exposedMask, self); local 618 CListener *thiz = (CListener *) construct(pCListener_class, exposedMask, self); local 655 C3DGroup *thiz = (C3DGroup *) construct(pC3DGroup_class, exposedMask, self); local 689 COutputMix *thiz = (COutputMix *) construct(pCOutputMix_class, exposedMask, self); local 744 CMetadataExtractor *thiz = (CMetadataExtractor *) local 985 IEngine *thiz = (IEngine *) self; local 1078 CMediaPlayer *thiz = (CMediaPlayer *) construct(pCMediaPlayer_class, exposedMask, local 1441 IXAEngine *thiz = (IXAEngine *) self; local [all...] |
/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);
|
android_hardware_camera2_CameraMetadata.h | 29 status_t CameraMetadata_getNativeMetadata(JNIEnv* env, jobject thiz,
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_native_program.h | 27 Java_android_filterfw_core_NativeProgram_allocate(JNIEnv* env, jobject thiz); 30 Java_android_filterfw_core_NativeProgram_deallocate(JNIEnv* env, jobject thiz); 33 Java_android_filterfw_core_NativeProgram_nativeInit(JNIEnv* env, jobject thiz); 37 jobject thiz, 42 jobject thiz, 47 jobject thiz, 52 jobject thiz, 57 jobject thiz, 62 jobject thiz, 67 jobject thiz, [all...] |
jni_gl_environment.h | 27 Java_android_filterfw_core_GLEnvironment_nativeAllocate(JNIEnv* env, jobject thiz); 30 Java_android_filterfw_core_GLEnvironment_nativeDeallocate(JNIEnv* env, jobject thiz); 33 Java_android_filterfw_core_GLEnvironment_nativeInitWithNewContext(JNIEnv* env, jobject thiz); 36 Java_android_filterfw_core_GLEnvironment_nativeInitWithCurrentContext(JNIEnv* env, jobject thiz); 39 Java_android_filterfw_core_GLEnvironment_nativeIsActive(JNIEnv* env, jobject thiz); 42 Java_android_filterfw_core_GLEnvironment_nativeIsContextActive(JNIEnv* env, jobject thiz); 48 Java_android_filterfw_core_GLEnvironment_nativeActivate(JNIEnv* env, jobject thiz); 51 Java_android_filterfw_core_GLEnvironment_nativeDeactivate(JNIEnv* env, jobject thiz); 54 Java_android_filterfw_core_GLEnvironment_nativeSwapBuffers(JNIEnv* env, jobject thiz); 58 jobject thiz, [all...] |
jni_gl_frame.h | 28 jobject thiz, 35 jobject thiz, 43 jobject thiz, 51 jobject thiz, 55 Java_android_filterfw_core_GLFrame_nativeDeallocate(JNIEnv* env, jobject thiz); 58 Java_android_filterfw_core_GLFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints); 61 Java_android_filterfw_core_GLFrame_getNativeInts(JNIEnv* env, jobject thiz); 64 Java_android_filterfw_core_GLFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray ints); 67 Java_android_filterfw_core_GLFrame_getNativeFloats(JNIEnv* env, jobject thiz); 71 jobject thiz, [all...] |
jni_vertex_frame.h | 27 Java_android_filterfw_core_VertexFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size); 30 Java_android_filterfw_core_VertexFrame_nativeDeallocate(JNIEnv* env, jobject thiz); 33 Java_android_filterfw_core_VertexFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints); 37 jobject thiz, 42 jobject thiz, 48 Java_android_filterfw_core_VertexFrame_getNativeVboId(JNIEnv* env, jobject thiz);
|
jni_native_program.cpp | 30 jboolean Java_android_filterfw_core_NativeProgram_allocate(JNIEnv* env, jobject thiz) { 31 return ToJBool(WrapObjectInJava(new NativeProgram(), env, thiz, true)); 34 jboolean Java_android_filterfw_core_NativeProgram_deallocate(JNIEnv* env, jobject thiz) { 35 return ToJBool(DeleteNativeObject<NativeProgram>(env, thiz)); 38 jboolean Java_android_filterfw_core_NativeProgram_nativeInit(JNIEnv* env, jobject thiz) { 39 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); 44 jobject thiz, 46 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); 51 jobject thiz, 53 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); [all...] |
jni_native_frame.h | 27 Java_android_filterfw_core_NativeFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size); 30 Java_android_filterfw_core_NativeFrame_nativeDeallocate(JNIEnv* env, jobject thiz); 39 Java_android_filterfw_core_NativeFrame_setNativeInts(JNIEnv* env, jobject thiz, jintArray ints); 42 Java_android_filterfw_core_NativeFrame_getNativeInts(JNIEnv* env, jobject thiz, jint size); 45 Java_android_filterfw_core_NativeFrame_setNativeFloats(JNIEnv* env, jobject thiz, jfloatArray ints); 48 Java_android_filterfw_core_NativeFrame_getNativeFloats(JNIEnv* env, jobject thiz, jint size); 52 jobject thiz, 58 Java_android_filterfw_core_NativeFrame_getNativeData(JNIEnv* env, jobject thiz, jint size); 61 Java_android_filterfw_core_NativeFrame_getNativeBuffer(JNIEnv* env, jobject thiz, jobject buffer); 65 jobject thiz, [all...] |
/frameworks/wilhelm/src/desktop/ |
SndFile.c | 35 struct SndFile *thiz = &thisAP->mSndFile; local 37 pthread_mutex_lock(&thiz->mMutex); 38 if (thiz->mEOF) { 39 pthread_mutex_unlock(&thiz->mMutex); 42 short *pBuffer = &thiz->mBuffer[thiz->mWhich * SndFile_BUFSIZE]; 43 if (++thiz->mWhich >= SndFile_NUMBUFS) { 44 thiz->mWhich = 0; 47 count = sf_read_short(thiz->mSNDFILE, pBuffer, (sf_count_t) SndFile_BUFSIZE); 48 pthread_mutex_unlock(&thiz->mMutex) [all...] |
/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: %p", thiz); 44 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetLongField(thiz, 54 static void android_media_ToneGenerator_stopTone(JNIEnv *env, jobject thiz) { 55 ALOGV("android_media_ToneGenerator_stopTone: %p", thiz); 57 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetLongField(thiz, 68 static jint android_media_ToneGenerator_getAudioSessionId(JNIEnv *env, jobject thiz) { 69 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetLongField(thiz, 78 static void android_media_ToneGenerator_release(JNIEnv *env, jobject thiz) { 79 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetLongField(thiz, [all...] |
/cts/tools/signature-tools/src/signature/model/impl/ |
SigClassReference.java | 42 public static boolean equals(IClassReference thiz, Object that) { 44 return thiz.getClassDefinition().equals( 55 public static int hashCode(IClassReference thiz) { 56 return thiz.getClassDefinition().hashCode(); 64 public static String toString(IClassReference thiz) { 65 return "-> " + thiz.getClassDefinition().getQualifiedName();
|
/cts/apps/CtsVerifier/jni/cameraanalyzer/ |
com_android_cts_verifier_camera_analyzer_CameraTests.h | 30 jobject thiz, 36 jobject thiz, 43 jobject thiz, 49 jobject thiz,
|
com_android_cts_verifier_camera_analyzer_MeteringTest.h | 30 jobject thiz); 35 jobject thiz, 44 jobject thiz, 51 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,
|
/packages/apps/Gallery2/jni/ |
jni_egl_fence.h | 28 jobject thiz);
|
/frameworks/base/core/jni/android/graphics/ |
SurfaceTexture.cpp | 54 static void SurfaceTexture_setSurfaceTexture(JNIEnv* env, jobject thiz, 58 (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); 65 env->SetLongField(thiz, fields.surfaceTexture, (jlong)surfaceTexture.get()); 68 static void SurfaceTexture_setProducer(JNIEnv* env, jobject thiz, 72 (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); 79 env->SetLongField(thiz, fields.producer, (jlong)producer.get()); 83 jobject thiz, sp<GLConsumer::FrameAvailableListener> listener) 87 env->GetLongField(thiz, fields.frameAvailableListener); 94 env->SetLongField(thiz, fields.frameAvailableListener, (jlong)listener.get()); 97 sp<GLConsumer> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz) { [all...] |
/frameworks/base/media/jni/ |
android_media_MediaHTTPConnection.cpp | 34 JMediaHTTPConnection::JMediaHTTPConnection(JNIEnv *env, jobject thiz) 38 jclass clazz = env->GetObjectClass(thiz); 42 mObject = env->NewWeakGlobalRef(thiz); 85 JNIEnv *env, jobject thiz, const sp<JMediaHTTPConnection> &conn) { 87 (JMediaHTTPConnection *)env->GetLongField(thiz, gFields.context); 90 conn->incStrong(thiz); 93 old->decStrong(thiz); 95 env->SetLongField(thiz, gFields.context, (jlong)conn.get()); 100 static sp<JMediaHTTPConnection> getObject(JNIEnv *env, jobject thiz) { 101 return (JMediaHTTPConnection *)env->GetLongField(thiz, gFields.context) [all...] |