/frameworks/wilhelm/src/objects/ |
H A D | 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);
|
H A D | CAudioRecorder.c | 29 CAudioRecorder *thiz = (CAudioRecorder *) self; local 30 result = android_audioRecorder_realize(thiz, async); 49 CAudioRecorder *thiz = (CAudioRecorder *) self; local 50 freeDataLocatorFormat(&thiz->mDataSource); 51 freeDataLocatorFormat(&thiz->mDataSink); 53 android_audioRecorder_destroy(thiz);
|
H A D | CMediaPlayer.c | 32 CMediaPlayer *thiz = (CMediaPlayer *) self; local 35 result = android_Player_realize(thiz, async); 51 CMediaPlayer *thiz = (CMediaPlayer *) self; local 52 freeDataLocatorFormat(&thiz->mDataSource); 53 freeDataLocatorFormat(&thiz->mBankSource); 54 freeDataLocatorFormat(&thiz->mAudioSink); 55 freeDataLocatorFormat(&thiz->mImageVideoSink); 56 freeDataLocatorFormat(&thiz->mVibraSink); 57 freeDataLocatorFormat(&thiz->mLEDArraySink); 59 android_Player_destroy(thiz); 67 CMediaPlayer *thiz = (CMediaPlayer *) self; local [all...] |
H A D | CAudioPlayer.c | 26 CAudioPlayer *thiz = (CAudioPlayer *) self; local 30 result = android_audioPlayer_realize(thiz, async); 34 result = SndFile_Realize(thiz); 57 CAudioPlayer *thiz = (CAudioPlayer *) self; local 59 android_audioPlayer_destroy(thiz); 61 freeDataLocatorFormat(&thiz->mDataSource); 62 freeDataLocatorFormat(&thiz->mDataSink); 64 SndFile_Destroy(thiz); 73 CAudioPlayer *thiz = (CAudioPlayer *) self; local 75 android_audioPlayer_preDestroy(thiz); [all...] |
H A D | 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/itf/ |
H A D | IDynamicSource.c | 29 IDynamicSource *thiz = (IDynamicSource *) self; local 38 IObject *thisObject = InterfaceToIObject(thiz); 41 thiz->mDataSource = pDataSource; 56 IDynamicSource *thiz = (IDynamicSource *) self; local 57 thiz->mItf = &IDynamicSource_Itf; 59 thiz->mDataSource = NULL;
|
H A D | IThreadSync.c | 26 IThreadSync *thiz = (IThreadSync *) self; local 27 interface_lock_exclusive(thiz); 29 if (thiz->mInCriticalSection) { 30 if (!pthread_equal(thiz->mOwner, pthread_self())) { 31 ++thiz->mWaiting; 32 interface_cond_wait(thiz); 39 thiz->mInCriticalSection = SL_BOOLEAN_TRUE; 40 thiz->mOwner = pthread_self(); 44 interface_unlock_exclusive(thiz); 54 IThreadSync *thiz local 80 IThreadSync *thiz = (IThreadSync *) self; local 89 IThreadSync *thiz = (IThreadSync *) self; local [all...] |
H A D | I3DCommit.c | 26 I3DCommit *thiz = (I3DCommit *) self; local 27 IObject *thisObject = InterfaceToIObject(thiz); 29 if (thiz->mDeferred) { 30 SLuint32 myGeneration = thiz->mGeneration; 32 ++thiz->mWaiting; 34 } while (thiz->mGeneration == myGeneration); 47 I3DCommit *thiz = (I3DCommit *) self; local 48 IObject *thisObject = InterfaceToIObject(thiz); 50 thiz->mDeferred = SL_BOOLEAN_FALSE != deferred; // normalize 65 I3DCommit *thiz local [all...] |
H A D | IAndroidConfiguration.c | 34 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local 35 interface_lock_exclusive(thiz); 38 switch (IObjectToObjectID((thiz)->mThis)) { 42 result = android_audioRecorder_setConfig((CAudioRecorder *) thiz->mThis, configKey, 48 result = android_audioPlayer_setConfig((CAudioPlayer *) thiz->mThis, configKey, 56 interface_unlock_exclusive(thiz); 75 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local 76 interface_lock_exclusive(thiz); 79 switch (IObjectToObjectID((thiz)->mThis)) { 81 result = android_audioRecorder_getConfig((CAudioRecorder *) thiz 106 IAndroidConfiguration *thiz = (IAndroidConfiguration *) self; local [all...] |
H A D | IAudioEncoder.c | 30 IAudioEncoder *thiz = (IAudioEncoder *) self; local 32 interface_lock_exclusive(thiz); 33 thiz->mSettings = settings; 34 interface_unlock_exclusive(thiz); 50 IAudioEncoder *thiz = (IAudioEncoder *) self; local 51 interface_lock_shared(thiz); 52 SLAudioEncoderSettings settings = thiz->mSettings; 53 interface_unlock_shared(thiz); 69 IAudioEncoder *thiz = (IAudioEncoder *) self; local 70 thiz [all...] |
H A D | IVisualization.c | 30 IVisualization *thiz = (IVisualization *) self; local 31 interface_lock_exclusive(thiz); 32 thiz->mCallback = callback; 33 thiz->mContext = pContext; 34 thiz->mRate = rate; 35 interface_unlock_exclusive(thiz); 65 IVisualization *thiz = (IVisualization *) self; local 66 thiz->mItf = &IVisualization_Itf; 67 thiz->mCallback = NULL; 68 thiz [all...] |
H A D | IAudioDecoderCapabilities.c | 67 IAudioDecoderCapabilities *thiz = (IAudioDecoderCapabilities *) self; local 68 thiz->mItf = &IAudioDecoderCapabilities_Itf;
|
H A D | IAudioEncoderCapabilities.c | 68 IAudioEncoderCapabilities *thiz = (IAudioEncoderCapabilities *) self; local 69 thiz->mItf = &IAudioEncoderCapabilities_Itf;
|
H A D | 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 [all...] |
H A D | ILEDArray.c | 26 ILEDArray *thiz = (ILEDArray *) self; local 27 interface_lock_poke(thiz); 28 thiz->mLightMask = lightMask; 29 interface_unlock_poke(thiz); 43 ILEDArray *thiz = (ILEDArray *) self; local 44 interface_lock_peek(thiz); 45 SLuint32 lightMask = thiz->mLightMask; 46 interface_unlock_peek(thiz); 70 ILEDArray *thiz = (ILEDArray *) self; local 72 interface_lock_exclusive(thiz); 89 ILEDArray *thiz = (ILEDArray *) self; local 111 ILEDArray *thiz = (ILEDArray *) self; local [all...] |
H A D | IMIDIMessage.c | 30 //IMIDIMessage *thiz = (IMIDIMessage *) self; 43 IMIDIMessage *thiz = (IMIDIMessage *) self; local 44 interface_lock_exclusive(thiz); 45 thiz->mMetaEventCallback = callback; 46 thiz->mMetaEventContext = pContext; 47 interface_unlock_exclusive(thiz); 59 IMIDIMessage *thiz = (IMIDIMessage *) self; local 60 interface_lock_exclusive(thiz); 61 thiz->mMessageCallback = callback; 62 thiz 85 IMIDIMessage *thiz = (IMIDIMessage *) self; local 105 IMIDIMessage *thiz = (IMIDIMessage *) self; local 125 IMIDIMessage *thiz = (IMIDIMessage *) self; local [all...] |
H A D | IMIDITempo.c | 29 IMIDITempo *thiz = (IMIDITempo *) self; local 30 interface_lock_poke(thiz); 31 thiz->mTicksPerQuarterNote = tpqn; 32 interface_unlock_poke(thiz); 47 IMIDITempo *thiz = (IMIDITempo *) self; local 48 interface_lock_peek(thiz); 49 SLuint32 ticksPerQuarterNote = thiz->mTicksPerQuarterNote; 50 interface_unlock_peek(thiz); 67 IMIDITempo *thiz = (IMIDITempo *) self; local 68 interface_lock_poke(thiz); 85 IMIDITempo *thiz = (IMIDITempo *) self; local 106 IMIDITempo *thiz = (IMIDITempo *) self; local [all...] |
H A D | 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;
|
H A D | IPitch.c | 26 IPitch *thiz = (IPitch *) self; local 28 if (!(thiz->mMinPitch <= pitch && pitch <= thiz->mMaxPitch)) { 31 interface_lock_poke(thiz); 32 thiz->mPitch = pitch; 33 interface_unlock_poke(thiz); 48 IPitch *thiz = (IPitch *) self; local 49 interface_lock_peek(thiz); 50 SLpermille pitch = thiz->mPitch; 51 interface_unlock_peek(thiz); 70 IPitch *thiz = (IPitch *) self; local 92 IPitch *thiz = (IPitch *) self; local [all...] |
H A D | IPresetReverb.c | 34 IPresetReverb *thiz = (IPresetReverb *) self; local 43 interface_lock_exclusive(thiz); 44 thiz->mPreset = preset; 48 if (NO_PRESETREVERB(thiz)) { 51 android::status_t status = android_prev_setPreset(thiz->mPresetReverbEffect, preset); 55 interface_unlock_exclusive(thiz); 72 IPresetReverb *thiz = (IPresetReverb *) self; local 73 interface_lock_shared(thiz); 76 preset = thiz->mPreset; 79 if (NO_PRESETREVERB(thiz)) { 105 IPresetReverb *thiz = (IPresetReverb *) self; local 118 IPresetReverb *thiz = (IPresetReverb *) self; local 127 IPresetReverb *thiz = (IPresetReverb *) self; local [all...] |
H A D | IRatePitch.c | 26 IRatePitch *thiz = (IRatePitch *) self; local 27 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) { 30 interface_lock_poke(thiz); 31 thiz->mRate = rate; 32 interface_unlock_poke(thiz); 47 IRatePitch *thiz = (IRatePitch *) self; local 48 interface_lock_peek(thiz); 49 SLpermille rate = thiz->mRate; 50 interface_unlock_peek(thiz); 69 IRatePitch *thiz = (IRatePitch *) self; local 91 IRatePitch *thiz = (IRatePitch *) self; local [all...] |
H A D | IVideoDecoderCapabilities.cpp | 115 IVideoDecoderCapabilities *thiz = (IVideoDecoderCapabilities *) self; local 116 thiz->mItf = &IVideoDecoderCapabilities_Itf;
|
/frameworks/wilhelm/src/ |
H A D | sync.c | 30 CEngine *thiz = (CEngine *) arg; local 37 object_lock_exclusive(&thiz->mObject); 38 if (thiz->mEngine.mShutdown) { 39 thiz->mEngine.mShutdownAck = SL_BOOLEAN_TRUE; 41 object_cond_broadcast(&thiz->mObject); 42 object_unlock_exclusive(&thiz->mObject); 45 if (thiz->m3DCommit.mWaiting) { 46 thiz->m3DCommit.mWaiting = 0; 47 ++thiz->m3DCommit.mGeneration; 49 object_cond_broadcast(&thiz [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_SerialService.cpp | 37 static jobject android_server_SerialService_open(JNIEnv *env, jobject thiz, jstring path) argument
|
/frameworks/base/voip/jni/rtp/ |
H A D | RtpStream.cpp | 38 jint create(JNIEnv *env, jobject thiz, jstring jAddress) argument 40 env->SetIntField(thiz, gSocket, -1); 61 env->SetIntField(thiz, gSocket, socket); 78 env->SetIntField(thiz, gSocket, socket); 89 void close(JNIEnv *env, jobject thiz) argument 91 int socket = env->GetIntField(thiz, gSocket); 93 env->SetIntField(thiz, gSocket, -1);
|