Searched refs:thiz (Results 1 - 25 of 125) sorted by relevance

12345

/frameworks/wilhelm/src/
H A Dlocks.h20 extern void object_lock_exclusive_(IObject *thiz, const char *file, int line);
21 extern void object_unlock_exclusive_(IObject *thiz, const char *file, int line);
22 extern void object_unlock_exclusive_attributes_(IObject *thiz, unsigned attr,
24 extern void object_cond_wait_(IObject *thiz, const char *file, int line);
26 extern void object_lock_exclusive(IObject *thiz);
27 extern void object_unlock_exclusive(IObject *thiz);
28 extern void object_unlock_exclusive_attributes(IObject *thiz, unsigned attr);
29 extern void object_cond_wait(IObject *thiz);
31 extern void object_cond_signal(IObject *thiz);
32 extern void object_cond_broadcast(IObject *thiz);
[all...]
H A Dlocks.c34 void object_lock_exclusive_(IObject *thiz, const char *file, int line) argument
37 ok = pthread_mutex_trylock(&thiz->mMutex);
40 int32_t oldGeneration = thiz->mGeneration;
46 ok = pthread_mutex_lock_timeout_np(&thiz->mMutex, backoffs[i]);
60 int32_t newGeneration = thiz->mGeneration;
70 pthread_t owner = thiz->mOwner;
74 " (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz,
75 *(void **)&owner, ownerTid, thiz->mFile, thiz->mLine);
79 ok = pthread_mutex_lock(&thiz
110 object_lock_exclusive(IObject *thiz) argument
122 object_unlock_exclusive_(IObject *thiz, const char *file, int line) argument
135 object_unlock_exclusive(IObject *thiz) argument
149 object_unlock_exclusive_attributes_(IObject *thiz, unsigned attributes, const char *file, int line) argument
275 object_cond_wait_(IObject *thiz, const char *file, int line) argument
294 object_cond_wait(IObject *thiz) argument
305 object_cond_signal(IObject *thiz) argument
317 object_cond_broadcast(IObject *thiz) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIThreadSync.c26 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 DIBufferQueue.c26 static SLuint32 getAssociatedState(IBufferQueue *thiz) argument
29 switch (InterfaceToObjectID(thiz)) {
31 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState;
34 state = ((CAudioRecorder *) thiz->mThis)->mRecord.mState;
56 IBufferQueue *thiz = (IBufferQueue *) self; local
57 interface_lock_exclusive(thiz);
58 BufferHeader *oldRear = thiz->mRear, *newRear;
59 if ((newRear = oldRear + 1) == &thiz->mArray[thiz->mNumBuffers + 1]) {
60 newRear = thiz
85 IBufferQueue *thiz = (IBufferQueue *) self; local
127 IBufferQueue *thiz = (IBufferQueue *) self; local
150 IBufferQueue *thiz = (IBufferQueue *) self; local
175 IBufferQueue *thiz = (IBufferQueue *) self; local
204 IBufferQueue *thiz = (IBufferQueue *) self; local
[all...]
H A DI3DCommit.c26 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 DI3DDoppler.c29 I3DDoppler *thiz = (I3DDoppler *) self; local
31 interface_lock_exclusive(thiz);
32 thiz->mVelocityCartesian = velocityCartesian;
33 thiz->mVelocityActive = CARTESIAN_SET_SPHERICAL_UNKNOWN;
34 interface_unlock_exclusive(thiz);
47 I3DDoppler *thiz = (I3DDoppler *) self; local
48 interface_lock_exclusive(thiz);
49 thiz->mVelocitySpherical.mAzimuth = azimuth;
50 thiz->mVelocitySpherical.mElevation = elevation;
51 thiz
67 I3DDoppler *thiz = (I3DDoppler *) self; local
114 I3DDoppler *thiz = (I3DDoppler *) self; local
131 I3DDoppler *thiz = (I3DDoppler *) self; local
153 I3DDoppler *thiz = (I3DDoppler *) self; local
[all...]
H A DIMIDITempo.c29 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 DI3DLocation.c29 I3DLocation *thiz = (I3DLocation *) self; local
31 interface_lock_exclusive(thiz);
32 thiz->mLocationCartesian = locationCartesian;
33 thiz->mLocationActive = CARTESIAN_SET_SPHERICAL_UNKNOWN;
34 interface_unlock_exclusive(thiz);
52 I3DLocation *thiz = (I3DLocation *) self; local
53 interface_lock_exclusive(thiz);
54 thiz->mLocationSpherical.mAzimuth = azimuth;
55 thiz->mLocationSpherical.mElevation = elevation;
56 thiz
73 I3DLocation *thiz = (I3DLocation *) self; local
120 I3DLocation *thiz = (I3DLocation *) self; local
174 I3DLocation *thiz = (I3DLocation *) self; local
198 I3DLocation *thiz = (I3DLocation *) self; local
222 I3DLocation *thiz = (I3DLocation *) self; local
249 I3DLocation *thiz = (I3DLocation *) self; local
276 I3DLocation *thiz = (I3DLocation *) self; local
[all...]
H A DIMIDIMuteSolo.c30 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 DIMIDIMessage.c30 //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 DIRecord.c31 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 DI3DSource.c26 I3DSource *thiz = (I3DSource *) self; local
27 interface_lock_poke(thiz);
28 thiz->mHeadRelative = SL_BOOLEAN_FALSE != headRelative; // normalize
29 interface_unlock_poke(thiz);
43 I3DSource *thiz = (I3DSource *) self; local
44 interface_lock_peek(thiz);
45 SLboolean headRelative = thiz->mHeadRelative;
46 interface_unlock_peek(thiz);
64 I3DSource *thiz = (I3DSource *) self; local
65 interface_lock_exclusive(thiz);
84 I3DSource *thiz = (I3DSource *) self; interface_lock_shared(thiz); local
101 I3DSource *thiz = (I3DSource *) self; local
118 I3DSource *thiz = (I3DSource *) self; local
137 I3DSource *thiz = (I3DSource *) self; local
152 I3DSource *thiz = (I3DSource *) self; local
170 I3DSource *thiz = (I3DSource *) self; local
185 I3DSource *thiz = (I3DSource *) self; local
204 I3DSource *thiz = (I3DSource *) self; local
224 I3DSource *thiz = (I3DSource *) self; local
245 I3DSource *thiz = (I3DSource *) self; local
266 I3DSource *thiz = (I3DSource *) self; local
301 I3DSource *thiz = (I3DSource *) self; local
[all...]
H A DIPlay.c31 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 DIPitch.c26 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 DIRatePitch.c26 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 DIVolume.c29 IVolume *thiz = (IVolume *) self; local
30 interface_lock_exclusive(thiz);
31 SLmillibel oldLevel = thiz->mLevel;
33 thiz->mLevel = level;
34 interface_unlock_exclusive_attributes(thiz, ATTR_GAIN);
36 interface_unlock_exclusive(thiz);
52 IVolume *thiz = (IVolume *) self; local
53 interface_lock_shared(thiz);
54 SLmillibel level = thiz->mLevel;
55 interface_unlock_shared(thiz);
83 IVolume *thiz = (IVolume *) self; local
106 IVolume *thiz = (IVolume *) self; local
122 IVolume *thiz = (IVolume *) self; local
145 IVolume *thiz = (IVolume *) self; local
164 IVolume *thiz = (IVolume *) self; local
187 IVolume *thiz = (IVolume *) self; local
213 IVolume *thiz = (IVolume *) self; local
[all...]
H A DI3DMacroscopic.c32 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local
33 interface_lock_exclusive(thiz);
34 thiz->mSize.mWidth = width;
35 thiz->mSize.mHeight = height;
36 thiz->mSize.mDepth = depth;
37 interface_unlock_exclusive(thiz);
53 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local
54 interface_lock_shared(thiz);
55 SLmillimeter width = thiz->mSize.mWidth;
56 SLmillimeter height = thiz
79 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local
103 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local
131 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local
154 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local
213 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local
[all...]
H A DIAudioEncoder.c30 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 DIVisualization.c30 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 DIPresetReverb.c34 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 DIPlaybackRate.c26 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 DIPrefetchStatus.c29 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...]
/frameworks/wilhelm/src/objects/
H A DC3DGroup.c26 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 DCMediaPlayer.c32 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...]
/frameworks/wilhelm/src/desktop/
H A DSLSndFile.h21 extern SLresult SndFile_checkAudioPlayerSourceSink(CAudioPlayer *thiz);
22 extern void audioPlayerTransportUpdate(CAudioPlayer *thiz);
23 extern SLresult SndFile_Realize(CAudioPlayer *thiz);
24 extern void SndFile_Destroy(CAudioPlayer *thiz);

Completed in 194 milliseconds

12345