Searched refs:thiz (Results 26 - 50 of 125) sorted by relevance

12345

/frameworks/wilhelm/src/
H A Dhandler_bodies.c25 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 Dhandlers.h27 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 Dsync.c30 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/itf/
H A DIVibra.c26 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 DILEDArray.c26 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 DIMIDITime.c29 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 DIBassBoost.c42 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);
70 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 DIVirtualizer.c42 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);
72 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 DIMetadataTraversal.c30 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 DIAndroidEffectCapabilities.c30 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 DIAndroidEffectSend.c32 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local
33 interface_lock_exclusive(thiz);
35 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ?
36 (CAudioPlayer *) thiz->mThis : NULL;
49 thiz->mSendLevel = initialLevel;
50 thiz->mEnabled = enable;
53 interface_unlock_exclusive(thiz);
68 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local
69 interface_lock_shared(thiz);
71 SLboolean enable = thiz
91 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local
124 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local
152 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local
191 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local
232 IAndroidEffectSend *thiz = (IAndroidEffectSend *) self; local
[all...]
H A DIObject.c29 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 DIEnvironmentalReverb.c50 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 DIEqualizer.c59 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 DISeek.c34 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 DIAndroidEffect.cpp28 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
116 IAndroidEffect *thiz = (IAndroidEffect *) self; local
[all...]
H A DIAndroidConfiguration.c34 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 DIMetadataExtraction.c29 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 DIDynamicSource.c29 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 DIAndroidBufferQueue.c30 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...]
/frameworks/wilhelm/src/objects/
H A DCEngine.c54 CEngine *thiz = (CEngine *) self; local
58 int err = pthread_create(&thiz->mSyncThread, (const pthread_attr_t *) NULL, sync_start, thiz);
64 result = ThreadPool_init(&thiz->mThreadPool, 0, 0);
66 thiz->mEngine.mShutdown = SL_BOOLEAN_TRUE;
67 (void) pthread_join(thiz->mSyncThread, (void **) NULL);
71 SDL_open(&thiz->mEngine);
89 CEngine *thiz = (CEngine *) self; local
92 unsigned instanceCount = thiz->mEngine.mInstanceCount;
93 unsigned instanceMask = thiz
[all...]
H A DCAudioPlayer.c26 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 DCAudioRecorder.c29 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);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_program.h27 Java_android_filterfw_core_NativeProgram_allocate(JNIEnv* env, jobject thiz);
30 Java_android_filterfw_core_NativeProgram_deallocate(JNIEnv* env, jobject thiz);
33 Java_android_filterfw_core_NativeProgram_nativeInit(JNIEnv* env, jobject thiz);
37 jobject thiz,
42 jobject thiz,
47 jobject thiz,
52 jobject thiz,
57 jobject thiz,
62 jobject thiz,
67 jobject thiz,
[all...]
/frameworks/base/include/android_runtime/
H A Dandroid_graphics_SurfaceTexture.h29 JNIEnv* env, jobject thiz);
30 extern bool android_SurfaceTexture_isInstanceOf(JNIEnv* env, jobject thiz);
33 extern sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz);

Completed in 9276 milliseconds

12345