/frameworks/wilhelm/src/itf/ |
H A D | IBufferQueue.c | 26 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 128 IBufferQueue *thiz = (IBufferQueue *) self; local 151 IBufferQueue *thiz = (IBufferQueue *) self; local 176 IBufferQueue *thiz = (IBufferQueue *) self; local 206 IBufferQueue *thiz = (IBufferQueue *) 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 | 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 | 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 | 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 | IVirtualizer.c | 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); 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 D | IVolume.c | 29 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 D | I3DLocation.c | 29 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 D | I3DMacroscopic.c | 32 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 D | I3DSource.c | 26 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 D | IAndroidBufferQueue.c | 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 | IAudioIODeviceCapabilities.c | 76 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local 77 interface_lock_exclusive(thiz); 78 thiz->mAvailableAudioInputsChangedCallback = callback; 79 thiz->mAvailableAudioInputsChangedContext = pContext; 80 interface_unlock_exclusive(thiz); 146 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local 147 interface_lock_exclusive(thiz); 148 thiz->mAvailableAudioOutputsChangedCallback = callback; 149 thiz->mAvailableAudioOutputsChangedContext = pContext; 150 interface_unlock_exclusive(thiz); 163 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local 315 IAudioIODeviceCapabilities *thiz = (IAudioIODeviceCapabilities *) self; local [all...] |
H A D | IDynamicInterfaceManagement.c | 29 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 30 assert(NULL != thiz); 31 IObject *thisObject = InterfaceToIObject(thiz); 92 slDynamicInterfaceManagementCallback callback = thiz->mCallback; 93 void *context = thiz->mContext; 99 (*callback)(&thiz->mItf, context, SL_DYNAMIC_ITF_EVENT_ASYNC_TERMINATION, result, iid); 114 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 115 IObject *thisObject = InterfaceToIObject(thiz); 138 result = ThreadPool_add_ppi(&thisObject->mEngine->mThreadPool, HandleAdd, thiz, 210 IDynamicInterfaceManagement *thiz local 285 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 362 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 445 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 466 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local [all...] |
H A D | IEffectSend.c | 39 static struct EnableLevel *getEnableLevel(IEffectSend *thiz, const void *pAuxEffect) argument 42 CAudioPlayer *audioPlayer = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 43 (CAudioPlayer *) thiz->mThis : NULL; 81 return &thiz->mEnableLevels[aux]; 121 IEffectSend *thiz = (IEffectSend *) self; local 122 struct EnableLevel *enableLevel = getEnableLevel(thiz, pAuxEffect); 126 interface_lock_exclusive(thiz); 133 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 134 (CAudioPlayer *) thiz->mThis : NULL; 154 interface_unlock_exclusive(thiz); 170 IEffectSend *thiz = (IEffectSend *) self; local 197 IEffectSend *thiz = (IEffectSend *) self; local 232 IEffectSend *thiz = (IEffectSend *) self; local 260 IEffectSend *thiz = (IEffectSend *) self; local 295 IEffectSend *thiz = (IEffectSend *) self; local 323 IEffectSend *thiz = (IEffectSend *) self; local [all...] |
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 | 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 | 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 | 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...] |
/frameworks/wilhelm/src/objects/ |
H A D | CEngine.c | 54 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...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaHTTPConnection.cpp | 34 JMediaHTTPConnection::JMediaHTTPConnection(JNIEnv *env, jobject thiz) argument 38 jclass clazz = env->GetObjectClass(thiz); 42 mObject = env->NewWeakGlobalRef(thiz); 85 JNIEnv *env, jobject thiz, const sp<JMediaHTTPConnection> &conn) { 87 (JMediaHTTPConnection *)env->GetLongField(thiz, gFields.context); 90 conn->incStrong(thiz); 93 old->decStrong(thiz); 95 env->SetLongField(thiz, gFields.context, (jlong)conn.get()); 100 static sp<JMediaHTTPConnection> getObject(JNIEnv *env, jobject thiz) { argument 101 return (JMediaHTTPConnection *)env->GetLongField(thiz, gField 84 setObject( JNIEnv *env, jobject thiz, const sp<JMediaHTTPConnection> &conn) argument 115 android_media_MediaHTTPConnection_native_setup( JNIEnv *env, jobject thiz) argument 122 android_media_MediaHTTPConnection_native_finalize( JNIEnv *env, jobject thiz) argument 127 android_media_MediaHTTPConnection_native_getIMemory( JNIEnv *env, jobject thiz) argument 134 android_media_MediaHTTPConnection_native_readAt( JNIEnv *env, jobject thiz, jlong offset, jint size) argument [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_program.cpp | 30 jboolean Java_android_filterfw_core_NativeProgram_allocate(JNIEnv* env, jobject thiz) { argument 31 return ToJBool(WrapObjectInJava(new NativeProgram(), env, thiz, true)); 34 jboolean Java_android_filterfw_core_NativeProgram_deallocate(JNIEnv* env, jobject thiz) { argument 35 return ToJBool(DeleteNativeObject<NativeProgram>(env, thiz)); 38 jboolean Java_android_filterfw_core_NativeProgram_nativeInit(JNIEnv* env, jobject thiz) { argument 39 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); 44 jobject thiz, 46 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); 51 jobject thiz, 53 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); 43 Java_android_filterfw_core_NativeProgram_openNativeLibrary(JNIEnv* env, jobject thiz, jstring lib_name) argument 50 Java_android_filterfw_core_NativeProgram_bindInitFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 57 Java_android_filterfw_core_NativeProgram_bindSetValueFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 66 Java_android_filterfw_core_NativeProgram_bindGetValueFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 75 Java_android_filterfw_core_NativeProgram_bindProcessFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 82 Java_android_filterfw_core_NativeProgram_bindResetFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 91 Java_android_filterfw_core_NativeProgram_bindTeardownFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 100 Java_android_filterfw_core_NativeProgram_callNativeInit(JNIEnv* env, jobject thiz) argument 105 Java_android_filterfw_core_NativeProgram_callNativeSetValue(JNIEnv* env, jobject thiz, jstring key, jstring value) argument 119 Java_android_filterfw_core_NativeProgram_callNativeGetValue(JNIEnv* env, jobject thiz, jstring key) argument 130 Java_android_filterfw_core_NativeProgram_callNativeProcess(JNIEnv* env, jobject thiz, jobjectArray inputs, jobject output) argument 179 Java_android_filterfw_core_NativeProgram_callNativeReset(JNIEnv* env, jobject thiz) argument 184 Java_android_filterfw_core_NativeProgram_callNativeTeardown(JNIEnv* env, jobject thiz) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_UsbDeviceManager.cpp | 66 static jobjectArray android_server_UsbDeviceManager_getAccessoryStrings(JNIEnv *env, jobject thiz) argument 88 static jobject android_server_UsbDeviceManager_openAccessory(JNIEnv *env, jobject thiz) argument 103 static jboolean android_server_UsbDeviceManager_isStartRequested(JNIEnv *env, jobject thiz) argument 115 static jint android_server_UsbDeviceManager_getAudioMode(JNIEnv *env, jobject thiz) argument
|
/frameworks/wilhelm/src/desktop/ |
H A D | SndFile.c | 35 struct SndFile *thiz = &thisAP->mSndFile; local 37 pthread_mutex_lock(&thiz->mMutex); 38 if (thiz->mEOF) { 39 pthread_mutex_unlock(&thiz->mMutex); 42 short *pBuffer = &thiz->mBuffer[thiz->mWhich * SndFile_BUFSIZE]; 43 if (++thiz->mWhich >= SndFile_NUMBUFS) { 44 thiz->mWhich = 0; 47 count = sf_read_short(thiz->mSNDFILE, pBuffer, (sf_count_t) SndFile_BUFSIZE); 48 pthread_mutex_unlock(&thiz 137 SndFile_checkAudioPlayerSourceSink(CAudioPlayer *thiz) argument 239 SndFile_Realize(CAudioPlayer *thiz) argument 277 SndFile_Destroy(CAudioPlayer *thiz) argument [all...] |
/frameworks/wilhelm/src/ |
H A D | locks.c | 45 void object_lock_exclusive_(IObject *thiz, const char *file, int line) argument 48 ok = pthread_mutex_trylock(&thiz->mMutex); 51 int32_t oldGeneration = thiz->mGeneration; 60 ok = pthread_mutex_timedlock(&thiz->mMutex, &ts); 74 int32_t newGeneration = thiz->mGeneration; 84 pthread_t owner = thiz->mOwner; 88 " (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz, 89 *(void **)&owner, ownerTid, thiz->mFile, thiz->mLine); 93 ok = pthread_mutex_lock(&thiz 124 object_lock_exclusive(IObject *thiz) argument 136 object_unlock_exclusive_(IObject *thiz, const char *file, int line) argument 149 object_unlock_exclusive(IObject *thiz) argument 163 object_unlock_exclusive_attributes_(IObject *thiz, unsigned attributes, const char *file, int line) argument 289 object_cond_wait_(IObject *thiz, const char *file, int line) argument 308 object_cond_wait(IObject *thiz) argument 319 object_cond_signal(IObject *thiz) argument 331 object_cond_broadcast(IObject *thiz) argument [all...] |