/frameworks/wilhelm/src/itf/ |
H A D | 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 215 IEngineCapabilities *thiz = (IEngineCapabilities *) self; local [all...] |
H A D | IEnvironmentalReverb.c | 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.c | 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); 88 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 382 IEqualizer *thiz = (IEqualizer *) self; local 417 IEqualizer *thiz = (IEqualizer *) self; local 435 IEqualizer *thiz = (IEqualizer *) self; local 479 IEqualizer *thiz = (IEqualizer *) self; local 507 IEqualizer *thiz = (IEqualizer *) self; local 516 IEqualizer *thiz = (IEqualizer *) self; local [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 | IMIDIMuteSolo.c | 30 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; local 32 interface_lock_exclusive(thiz); 34 thiz->mChannelMuteMask |= mask; 36 thiz->mChannelMuteMask &= ~mask; 37 interface_unlock_exclusive(thiz); 53 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; local 54 interface_lock_peek(thiz); 55 SLuint16 mask = thiz->mChannelMuteMask; 56 interface_unlock_peek(thiz); 73 IMIDIMuteSolo *thiz local 96 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; local 115 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; local 130 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; local 153 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; local 173 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; local 195 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; local 225 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) 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 | IMIDITime.c | 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 | IMetadataExtraction.c | 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 | IMetadataTraversal.c | 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 | 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...] |
H A D | IObject.c | 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 | 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 | IOutputMixExt.c | 176 IOutputMixExt *thiz = (IOutputMixExt *) self; local 177 IObject *thisObject = thiz->mThis; 182 if (thiz->mDestroyRequested) { 190 thiz->mDestroyRequested = SL_BOOLEAN_FALSE; 194 activeMask = thiz->mActiveMask; 200 Track *track = &thiz->mTracks[i]; 341 IOutputMixExt *thiz = (IOutputMixExt *) self; local 342 thiz->mItf = &IOutputMixExt_Itf; 343 thiz->mActiveMask = 0; 344 Track *track = &thiz 355 IOutputMixExt_checkAudioPlayerSourceSink(CAudioPlayer *thiz) argument [all...] |
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 | IPlay.c | 31 IPlay *thiz = (IPlay *) self; local 35 CAudioPlayer *audioPlayer = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 36 (CAudioPlayer *) thiz->mThis : NULL; 38 interface_lock_exclusive(thiz); 39 SLuint32 oldState = thiz->mState; 42 for (;; interface_cond_wait(thiz)) { 69 thiz->mState = state; 84 thiz->mState = SL_PLAYSTATE_STOPPING; 99 thiz->mState = state; 105 interface_unlock_exclusive_attributes(thiz, att 124 IPlay *thiz = (IPlay *) self; local 160 IPlay *thiz = (IPlay *) self; local 202 IPlay *thiz = (IPlay *) self; local 244 IPlay *thiz = (IPlay *) self; local 264 IPlay *thiz = (IPlay *) self; local 293 IPlay *thiz = (IPlay *) self; local 312 IPlay *thiz = (IPlay *) self; local 337 IPlay *thiz = (IPlay *) self; local 365 IPlay *thiz = (IPlay *) self; local 388 IPlay *thiz = (IPlay *) self; local 429 IPlay *thiz = (IPlay *) self; local 458 IPlay *thiz = (IPlay *) self; local [all...] |
H A D | IPlaybackRate.c | 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.c | 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 | 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 | IRecord.c | 31 IRecord *thiz = (IRecord *) self; local 32 interface_lock_exclusive(thiz); 33 thiz->mState = state; 35 android_audioRecorder_setRecordState(InterfaceToCAudioRecorder(thiz), state); 37 interface_unlock_exclusive(thiz); 54 IRecord *thiz = (IRecord *) self; local 58 interface_lock_shared(thiz); 59 SLuint32 state = thiz->mState; 60 interface_unlock_shared(thiz); 73 IRecord *thiz local 94 IRecord *thiz = (IRecord *) self; local 121 IRecord *thiz = (IRecord *) self; local 145 IRecord *thiz = (IRecord *) self; local 167 IRecord *thiz = (IRecord *) self; local 186 IRecord *thiz = (IRecord *) self; local 211 IRecord *thiz = (IRecord *) self; local 239 IRecord *thiz = (IRecord *) self; local 262 IRecord *thiz = (IRecord *) self; local 284 IRecord *thiz = (IRecord *) self; local 313 IRecord *thiz = (IRecord *) self; local [all...] |
H A D | ISeek.c | 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 | 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 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...] |
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 | IVibra.c | 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...] |