/frameworks/wilhelm/src/itf/ |
H A D | IVisualization.cpp | 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 | IPresetReverb.cpp | 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 | IPlaybackRate.cpp | 26 IPlaybackRate *thiz = (IPlaybackRate *) self; local 28 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) { 31 interface_lock_exclusive(thiz); 33 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 34 (CAudioPlayer *) thiz->mThis : NULL; 36 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, rate, thiz->mProperties); 44 thiz->mRate = rate; 46 interface_unlock_exclusive(thiz); 60 IPlaybackRate *thiz local 76 IPlaybackRate *thiz = (IPlaybackRate *) self; local 115 IPlaybackRate *thiz = (IPlaybackRate *) self; local 135 IPlaybackRate *thiz = (IPlaybackRate *) self; local 162 IPlaybackRate *thiz = (IPlaybackRate *) self; local 190 IPlaybackRate *thiz = (IPlaybackRate *) self; local [all...] |
H A D | IPrefetchStatus.cpp | 29 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local 30 interface_lock_shared(thiz); 31 SLuint32 status = thiz->mStatus; 32 interface_unlock_shared(thiz); 48 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local 49 interface_lock_shared(thiz); 50 SLpermille level = thiz->mLevel; 51 interface_unlock_shared(thiz); 65 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local 66 interface_lock_exclusive(thiz); 84 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local 104 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local 123 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local 147 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local 171 IPrefetchStatus *thiz = (IPrefetchStatus *) self; local [all...] |
H A D | IVibra.cpp | 26 IVibra *thiz = (IVibra *) self; local 27 interface_lock_poke(thiz); 28 thiz->mVibrate = SL_BOOLEAN_FALSE != vibrate; // normalize 29 interface_unlock_poke(thiz); 43 IVibra *thiz = (IVibra *) self; local 44 interface_lock_peek(thiz); 45 SLboolean vibrate = thiz->mVibrate; 46 interface_unlock_peek(thiz); 65 IVibra *thiz = (IVibra *) self; local 66 interface_lock_poke(thiz); 83 IVibra *thiz = (IVibra *) self; local 105 IVibra *thiz = (IVibra *) self; local 127 IVibra *thiz = (IVibra *) self; local 151 IVibra *thiz = (IVibra *) self; local [all...] |
H A D | ILEDArray.cpp | 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 | IMIDITime.cpp | 29 IMIDITime *thiz = (IMIDITime *) self; local 30 SLuint32 duration = thiz->mDuration; 43 IMIDITime *thiz = (IMIDITime *) self; local 45 if (!(position < thiz->mDuration)) { 48 interface_lock_poke(thiz); 49 thiz->mPosition = position; 50 interface_unlock_poke(thiz); 65 IMIDITime *thiz = (IMIDITime *) self; local 66 interface_lock_peek(thiz); 67 SLuint32 position = thiz 81 IMIDITime *thiz = (IMIDITime *) self; local 106 IMIDITime *thiz = (IMIDITime *) self; local 130 IMIDITime *thiz = (IMIDITime *) self; local [all...] |
H A D | IBassBoost.cpp | 42 IBassBoost *thiz = (IBassBoost *) self; local 43 interface_lock_exclusive(thiz); 44 thiz->mEnabled = (SLboolean) enabled; 48 if (NO_BASSBOOST(thiz)) { 51 android::status_t status = thiz->mBassBoostEffect->setEnabled((bool) thiz->mEnabled); 55 interface_unlock_exclusive(thiz); 68 IBassBoost *thiz = (IBassBoost *) self; local 69 interface_lock_exclusive(thiz); 71 SLboolean enabled = thiz 96 IBassBoost *thiz = (IBassBoost *) self; local 124 IBassBoost *thiz = (IBassBoost *) self; local 187 IBassBoost *thiz = (IBassBoost *) self; local 201 IBassBoost *thiz = (IBassBoost *) self; local 210 IBassBoost *thiz = (IBassBoost *) self; local [all...] |
H A D | IVirtualizer.cpp | 42 IVirtualizer *thiz = (IVirtualizer *) self; local 43 interface_lock_exclusive(thiz); 44 thiz->mEnabled = (SLboolean) enabled; 48 if (NO_VIRTUALIZER(thiz)) { 52 thiz->mVirtualizerEffect->setEnabled((bool) thiz->mEnabled); 56 interface_unlock_exclusive(thiz); 70 IVirtualizer *thiz = (IVirtualizer *) self; local 71 interface_lock_exclusive(thiz); 73 SLboolean enabled = thiz 98 IVirtualizer *thiz = (IVirtualizer *) self; local 126 IVirtualizer *thiz = (IVirtualizer *) self; local 189 IVirtualizer *thiz = (IVirtualizer *) self; local 203 IVirtualizer *thiz = (IVirtualizer *) self; local 212 IVirtualizer *thiz = (IVirtualizer *) self; local [all...] |
H A D | IMetadataTraversal.cpp | 30 IMetadataTraversal *thiz = (IMetadataTraversal *) self; local 31 interface_lock_poke(thiz); 32 thiz->mMode = mode; 33 interface_unlock_poke(thiz); 53 IMetadataTraversal *thiz = (IMetadataTraversal *) self; local 54 interface_lock_peek(thiz); 55 SLuint32 count = thiz->mCount; 56 interface_unlock_peek(thiz); 73 IMetadataTraversal *thiz = (IMetadataTraversal *) self; local 74 interface_lock_peek(thiz); 104 IMetadataTraversal *thiz = (IMetadataTraversal *) self; local 122 IMetadataTraversal *thiz = (IMetadataTraversal *) self; local [all...] |
H A D | IAndroidEffectCapabilities.cpp | 30 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local 31 interface_lock_shared(thiz); 33 *pNumSupportedAudioEffects = thiz->mNumFx; 36 interface_unlock_shared(thiz); 49 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local 50 if (index > thiz->mNumFx) { 53 interface_lock_shared(thiz); 55 *pEffectType = (SLInterfaceID) &thiz->mFxDescriptors[index].type; 58 *pEffectImplementation = (SLInterfaceID) &thiz->mFxDescriptors[index].uuid; 61 int len = strlen(thiz 81 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local 91 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local 133 IAndroidEffectCapabilities *thiz = (IAndroidEffectCapabilities *) self; local [all...] |
H A D | IAndroidEffectSend.cpp | 32 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 33 interface_lock_exclusive(thiz); 35 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 36 (CAudioPlayer *) thiz->mThis : NULL; 48 thiz->mSendLevel = initialLevel; 49 thiz->mEnabled = enable; 52 interface_unlock_exclusive(thiz); 67 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 68 interface_lock_shared(thiz); 70 SLboolean enable = thiz 90 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 123 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 151 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 190 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local 231 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local [all...] |
H A D | IObject.cpp | 29 IObject *thiz = (IObject *) self; local 30 assert(NULL != thiz); 31 const ClassTable *clazz = thiz->mClass; 38 object_lock_exclusive(thiz); 39 state = thiz->mState; 44 thiz->mState = SL_OBJECT_STATE_REALIZING_2; 47 result = (*realize)(thiz, SL_BOOLEAN_TRUE); 48 assert(SL_OBJECT_STATE_REALIZING_2 == thiz->mState); 70 thiz->mState = state; 73 slObjectCallback callback = thiz 88 IObject *thiz = (IObject *) self; local 172 IObject *thiz = (IObject *) self; local 231 IObject *thiz = (IObject *) self; local 291 IObject *thiz = (IObject *) self; local 336 IObject *thiz = (IObject *) self; local 392 IObject *thiz = (IObject *) self; local 407 Abort_internal(IObject *thiz) argument 509 IObject *thiz = (IObject *) self; local 521 IObject *thiz = (IObject *) self; local 647 IObject *thiz = (IObject *) self; local 669 IObject *thiz = (IObject *) self; local 698 IObject *thiz = (IObject *) self; local 753 IObject *thiz = (IObject *) self; local 789 IObject *thiz = (IObject *) self; local 810 IObject_Publish(IObject *thiz) argument [all...] |
H A D | IEnvironmentalReverb.cpp | 50 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 51 interface_lock_exclusive(thiz); 52 thiz->mProperties.roomLevel = room; 56 if (NO_ENVREVERB(thiz)) { 59 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, 64 interface_unlock_exclusive(thiz); 78 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 79 interface_lock_shared(thiz); 83 if (NO_ENVREVERB(thiz)) { 86 android::status_t status = android_erev_getParam(thiz 111 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 140 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 170 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 199 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 229 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 258 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 290 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 319 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 349 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 378 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 410 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 439 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 469 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 498 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 528 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 557 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 587 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 616 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 671 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 700 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 762 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 775 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local 784 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; local [all...] |
H A D | IEqualizer.cpp | 59 IEqualizer *thiz = (IEqualizer *) self; local 60 interface_lock_exclusive(thiz); 61 thiz->mEnabled = (SLboolean) enabled; 65 if (NO_EQ(thiz)) { 69 thiz->mEqEffect->setEnabled((bool) thiz->mEnabled); 73 interface_unlock_exclusive(thiz); 86 IEqualizer *thiz = (IEqualizer *) self; local 87 interface_lock_exclusive(thiz); 89 SLboolean enabled = thiz 114 IEqualizer *thiz = (IEqualizer *) self; local 132 IEqualizer *thiz = (IEqualizer *) self; local 149 IEqualizer *thiz = (IEqualizer *) self; local 182 IEqualizer *thiz = (IEqualizer *) self; local 217 IEqualizer *thiz = (IEqualizer *) self; local 253 IEqualizer *thiz = (IEqualizer *) self; local 296 IEqualizer *thiz = (IEqualizer *) self; local 346 IEqualizer *thiz = (IEqualizer *) self; local 378 IEqualizer *thiz = (IEqualizer *) self; local 413 IEqualizer *thiz = (IEqualizer *) self; local 431 IEqualizer *thiz = (IEqualizer *) self; local 475 IEqualizer *thiz = (IEqualizer *) self; local 503 IEqualizer *thiz = (IEqualizer *) self; local 512 IEqualizer *thiz = (IEqualizer *) self; local [all...] |
H A D | ISeek.cpp | 34 ISeek *thiz = (ISeek *) self; local 35 interface_lock_exclusive(thiz); 36 thiz->mPos = pos; 38 interface_unlock_exclusive_attributes(thiz, ATTR_POSITION); 59 ISeek *thiz = (ISeek *) self; local 60 interface_lock_exclusive(thiz); 65 switch (IObjectToObjectID((thiz)->mThis)) { 67 CAudioPlayer *ap = InterfaceToCAudioPlayer(thiz); 76 CMediaPlayer *mp = InterfaceToCMediaPlayer(thiz); 89 thiz 116 ISeek *thiz = (ISeek *) self; local 140 ISeek *thiz = (ISeek *) self; local [all...] |
H A D | IMetadataExtraction.cpp | 29 IMetadataExtraction *thiz = (IMetadataExtraction *) self; local 30 if (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) { 32 result = android_audioPlayer_metadata_getItemCount((CAudioPlayer *)thiz->mThis, 54 IMetadataExtraction *thiz = (IMetadataExtraction *) self; local 55 if (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) { 57 result = android_audioPlayer_metadata_getKeySize((CAudioPlayer *)thiz->mThis, 79 IMetadataExtraction *thiz = (IMetadataExtraction *) self; local 80 if (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) { 82 result = android_audioPlayer_metadata_getKey((CAudioPlayer *)thiz->mThis, 104 IMetadataExtraction *thiz local 129 IMetadataExtraction *thiz = (IMetadataExtraction *) self; local 156 IMetadataExtraction *thiz = (IMetadataExtraction *) self; local 176 IMetadataExtraction *thiz = (IMetadataExtraction *) self; local 196 IMetadataExtraction *thiz = (IMetadataExtraction *) self; local [all...] |
H A D | IDynamicSource.cpp | 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 | IAndroidBufferQueue.cpp | 30 static SLuint32 getAssociatedState(IAndroidBufferQueue *thiz) argument 33 switch (InterfaceToObjectID(thiz)) { 35 state = ((CMediaPlayer *) thiz->mThis)->mPlay.mState; 38 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState; 240 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 242 interface_lock_exclusive(thiz); 245 if (SL_PLAYSTATE_STOPPED == getAssociatedState(thiz)) { 246 thiz->mCallback = callback; 247 thiz->mContext = pContext; 254 interface_unlock_exclusive(thiz); 265 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 319 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 403 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 424 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 447 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 471 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 491 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local [all...] |
H A D | IAndroidEffect.cpp | 28 IAndroidEffect *thiz = (IAndroidEffect *) self; local 29 if (SL_OBJECTID_AUDIOPLAYER == IObjectToObjectID(thiz->mThis)) { 30 CAudioPlayer *ap = (CAudioPlayer *)thiz->mThis; 32 result = android_genericFx_createEffect(thiz, effectImplementationId, ap->mSessionId); 36 } else if (SL_OBJECTID_OUTPUTMIX == IObjectToObjectID(thiz->mThis)) { 37 result = android_genericFx_createEffect(thiz, effectImplementationId, 54 IAndroidEffect *thiz = (IAndroidEffect *) self; local 55 result = android_genericFx_releaseEffect(thiz, effectImplementationId); 66 IAndroidEffect *thiz = (IAndroidEffect *) self; local 67 result = android_genericFx_setEnabled(thiz, effectImplementationI 78 IAndroidEffect *thiz = (IAndroidEffect *) self; local 91 IAndroidEffect *thiz = (IAndroidEffect *) self; local 109 IAndroidEffect *thiz = (IAndroidEffect *) self; local 117 IAndroidEffect *thiz = (IAndroidEffect *) self; local [all...] |
/frameworks/wilhelm/src/ |
H A D | handler_bodies.cpp | 25 unsigned handler_AudioPlayer_gain(IObject *thiz) argument 27 CAudioPlayer *ap = (CAudioPlayer *) thiz; 34 unsigned handler_OutputMix_gain(IObject *thiz) argument 43 unsigned handler_MidiPlayer_gain(IObject *thiz) argument 51 unsigned handler_MediaPlayer_gain(IObject *thiz) argument 53 CMediaPlayer *mp = (CMediaPlayer *) thiz; 60 unsigned handler_AudioPlayer_position(IObject *thiz) argument 63 ap = (CAudioPlayer *) thiz; 71 unsigned handler_MidiPlayer_position(IObject *thiz) argument 79 unsigned handler_AudioPlayer_transport(IObject *thiz) argument 88 handler_AudioPlayer_play_state(IObject *thiz) argument 97 handler_AudioRecorder_transport(IObject *thiz) argument 106 handler_MediaPlayer_transport(IObject *thiz) argument 115 handler_MediaPlayer_play_state(IObject *thiz) argument 127 handler_AudioPlayer_bq_enqueue(IObject *thiz) argument 138 handler_AudioPlayer_abq_enqueue(IObject *thiz) argument 149 handler_MediaPlayer_abq_enqueue(IObject *thiz) argument 159 handler_MediaPlayer_position(IObject *thiz) argument 170 handler_AudioPlayer_gain(IObject *thiz) argument [all...] |
H A D | handlers.h | 27 extern unsigned handler_MediaPlayer_gain(IObject *thiz); 29 extern unsigned handler_MediaPlayer_transport(IObject *thiz); 30 extern unsigned handler_MediaPlayer_position(IObject *thiz); 31 extern unsigned handler_MediaPlayer_abq_enqueue(IObject *thiz); 32 extern unsigned handler_MediaPlayer_play_state(IObject *thiz); 33 extern unsigned handler_AudioPlayer_gain(IObject *thiz); 34 extern unsigned handler_AudioPlayer_transport(IObject *thiz); 35 extern unsigned handler_AudioPlayer_position(IObject *thiz); 36 extern unsigned handler_AudioPlayer_bq_enqueue(IObject *thiz); 37 extern unsigned handler_AudioPlayer_abq_enqueue(IObject *thiz); [all...] |
H A D | sync.cpp | 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/wilhelm/src/objects/ |
H A D | CAudioPlayer.cpp | 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...] |
/frameworks/base/core/jni/include/android_runtime/ |
H A D | 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);
|