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

1234567

/frameworks/wilhelm/src/
H A Dlocks.h22 extern void object_lock_exclusive_(IObject *thiz, const char *file, int line);
23 extern void object_unlock_exclusive_(IObject *thiz, const char *file, int line);
24 extern void object_unlock_exclusive_attributes_(IObject *thiz, unsigned attr,
26 extern void object_cond_wait_(IObject *thiz, const char *file, int line);
28 extern void object_lock_exclusive(IObject *thiz);
29 extern void object_unlock_exclusive(IObject *thiz);
30 extern void object_unlock_exclusive_attributes(IObject *thiz, unsigned attr);
31 extern void object_cond_wait(IObject *thiz);
33 extern void object_cond_signal(IObject *thiz);
34 extern void object_cond_broadcast(IObject *thiz);
[all...]
H A Dlocks.cpp44 void object_lock_exclusive_(IObject *thiz, const char *file, int line) argument
47 ok = pthread_mutex_trylock(&thiz->mMutex);
50 int32_t oldGeneration = thiz->mGeneration;
59 ok = pthread_mutex_timedlock(&thiz->mMutex, &ts);
73 int32_t newGeneration = thiz->mGeneration;
83 pthread_t owner = thiz->mOwner;
87 " (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz,
88 *(void **)&owner, ownerTid, thiz->mFile, thiz->mLine);
92 ok = pthread_mutex_lock(&thiz
123 object_lock_exclusive(IObject *thiz) argument
135 object_unlock_exclusive_(IObject *thiz, const char *file, int line) argument
148 object_unlock_exclusive(IObject *thiz) argument
162 object_unlock_exclusive_attributes_(IObject *thiz, unsigned attributes, const char *file, int line) argument
288 object_cond_wait_(IObject *thiz, const char *file, int line) argument
307 object_cond_wait(IObject *thiz) argument
318 object_cond_signal(IObject *thiz) argument
330 object_cond_broadcast(IObject *thiz) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIThreadSync.cpp26 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.cpp26 static SLuint32 getAssociatedState(IBufferQueue *thiz) argument
29 switch (InterfaceToObjectID(thiz)) {
31 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState;
34 state = ((CAudioRecorder *) thiz->mThis)->mRecord.mState;
55 IBufferQueue *thiz = (IBufferQueue *) self; local
56 interface_lock_exclusive(thiz);
57 BufferHeader *oldRear = thiz->mRear, *newRear;
58 if ((newRear = oldRear + 1) == &thiz->mArray[thiz->mNumBuffers + 1]) {
59 newRear = thiz
84 IBufferQueue *thiz = (IBufferQueue *) self; local
131 IBufferQueue *thiz = (IBufferQueue *) self; local
154 IBufferQueue *thiz = (IBufferQueue *) self; local
179 IBufferQueue *thiz = (IBufferQueue *) self; local
209 IBufferQueue *thiz = (IBufferQueue *) self; local
[all...]
H A DI3DCommit.cpp26 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.cpp29 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 DIAcousticEchoCancellation.cpp35 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local
36 interface_lock_exclusive(thiz);
37 thiz->mEnabled = (SLboolean) enabled;
38 if (NO_ECHOCANCEL(thiz)) {
41 android::status_t status = thiz->mAECEffect->setEnabled((bool) thiz->mEnabled);
44 interface_unlock_exclusive(thiz);
58 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local
59 interface_lock_exclusive(thiz);
60 if (NO_ECHOCANCEL(thiz)) {
79 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local
89 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local
96 IAndroidAcousticEchoCancellation *thiz = (IAndroidAcousticEchoCancellation *) self; local
[all...]
H A DIAutomaticGainControl.cpp34 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local
35 interface_lock_exclusive(thiz);
36 thiz->mEnabled = (SLboolean) enabled;
37 if (NO_AUTOGAIN(thiz)) {
40 android::status_t status = thiz->mAGCEffect->setEnabled((bool) thiz->mEnabled);
43 interface_unlock_exclusive(thiz);
56 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local
57 interface_lock_exclusive(thiz);
58 if (NO_AUTOGAIN(thiz)) {
76 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local
86 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local
93 IAndroidAutomaticGainControl *thiz = (IAndroidAutomaticGainControl *) self; local
[all...]
H A DINoiseSuppression.cpp32 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local
33 interface_lock_exclusive(thiz);
34 thiz->mEnabled = (SLboolean) enabled;
35 if (NO_NOISESUPPRESS(thiz)) {
38 android::status_t status = thiz->mNSEffect->setEnabled((bool) thiz->mEnabled);
41 interface_unlock_exclusive(thiz);
53 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local
54 interface_lock_exclusive(thiz);
55 if (NO_NOISESUPPRESS(thiz)) {
73 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local
83 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local
90 IAndroidNoiseSuppression *thiz = (IAndroidNoiseSuppression *) self; local
[all...]
H A DIMIDITempo.cpp29 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.cpp29 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 DIMIDIMessage.cpp30 //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 DIMIDIMuteSolo.cpp30 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 DIRecord.cpp31 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.cpp26 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.cpp31 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.cpp26 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.cpp26 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.cpp30 IVolume *thiz = (IVolume *) self; local
31 interface_lock_exclusive(thiz);
32 SLmillibel oldLevel = thiz->mLevel;
34 thiz->mLevel = level;
35 interface_unlock_exclusive_attributes(thiz, ATTR_GAIN);
37 interface_unlock_exclusive(thiz);
53 IVolume *thiz = (IVolume *) self; local
54 interface_lock_shared(thiz);
55 SLmillibel level = thiz->mLevel;
56 interface_unlock_shared(thiz);
84 IVolume *thiz = (IVolume *) self; local
107 IVolume *thiz = (IVolume *) self; local
123 IVolume *thiz = (IVolume *) self; local
146 IVolume *thiz = (IVolume *) self; local
165 IVolume *thiz = (IVolume *) self; local
188 IVolume *thiz = (IVolume *) self; local
214 IVolume *thiz = (IVolume *) self; local
[all...]
H A DI3DMacroscopic.cpp32 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.cpp30 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...]
/frameworks/wilhelm/src/objects/
H A DC3DGroup.cpp26 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.cpp32 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 DCAudioRecorder.cpp29 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);
62 CAudioRecorder *thiz = (CAudioRecorder *) self; local
64 android_audioRecorder_preDestroy(thiz);
/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 833 milliseconds

1234567