/system/media/opensles/libopensles/ |
H A D | IVisualization.c | 23 slVisualizationCallback callback, void *pContext, SLmilliHertz rate) 32 this->mCallback = callback; 22 IVisualization_RegisterVisualizationCallback(SLVisualizationItf self, slVisualizationCallback callback, void *pContext, SLmilliHertz rate) argument
|
H A D | IMIDIMessage.c | 39 slMetaEventCallback callback, void *pContext) 45 this->mMetaEventCallback = callback; 55 slMIDIMessageCallback callback, void *pContext) 61 this->mMessageCallback = callback; 38 IMIDIMessage_RegisterMetaEventCallback(SLMIDIMessageItf self, slMetaEventCallback callback, void *pContext) argument 54 IMIDIMessage_RegisterMIDIMessageCallback(SLMIDIMessageItf self, slMIDIMessageCallback callback, void *pContext) argument
|
H A D | android_AudioRecorder.cpp | 102 slRecordCallback callback = NULL; local 106 callback = ar->mRecord.mCallback; 110 if (NULL != callback) { 112 (*callback)(&ar->mRecord.mItf, callbackPContext, SL_RECORDEVENT_HEADATNEWPOS); 119 slRecordCallback callback = NULL; local 123 callback = ar->mRecord.mCallback; 127 if (NULL != callback) { 129 (*callback)(&ar->mRecord.mItf, callbackPContext, SL_RECORDEVENT_HEADATMARKER); 136 slRecordCallback callback = NULL; local 141 callback 211 slBufferQueueCallback callback = NULL; local [all...] |
H A D | IOutputMix.c | 48 slMixDeviceChangeCallback callback, void *pContext) 54 this->mCallback = callback; 47 IOutputMix_RegisterDeviceChangeCallback(SLOutputMixItf self, slMixDeviceChangeCallback callback, void *pContext) argument
|
H A D | android_AudioPlayer.cpp | 164 slPlayCallback callback = NULL; local 168 callback = ap->mPlay.mCallback; 172 if (NULL != callback) { 174 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADATMARKER); 181 slPlayCallback callback = NULL; local 185 callback = ap->mPlay.mCallback; 189 if (NULL != callback) { 191 (*callback)(&ap->mPlay.mItf, callbackPContext, SL_PLAYEVENT_HEADATNEWPOS); 198 slPlayCallback callback = NULL; local 202 callback 425 slPrefetchCallback callback = NULL; local 497 slPrefetchCallback callback = NULL; local 520 slPrefetchCallback callback = NULL; local 776 slBufferQueueCallback callback = NULL; local [all...] |
H A D | SDL.c | 56 fmt.callback = SDL_callback;
|
H A D | IDynamicInterfaceManagement.c | 91 // Make a copy of these, so we can call the callback with mutex unlocked 92 slDynamicInterfaceManagementCallback callback = this->mCallback; local 96 // Note that the mutex is unlocked during the callback 97 if (NULL != callback) { 99 (*callback)(&this->mItf, context, SL_DYNAMIC_ITF_EVENT_ASYNC_TERMINATION, result, iid); 341 // Make a copy of these, so we can call the callback with mutex unlocked 342 slDynamicInterfaceManagementCallback callback = this->mCallback; local 346 // Note that the mutex is unlocked during the callback 347 if (NULL != callback) { 349 (*callback)( 441 IDynamicInterfaceManagement_RegisterCallback(SLDynamicInterfaceManagementItf self, slDynamicInterfaceManagementCallback callback, void *pContext) argument [all...] |
H A D | IAudioIODeviceCapabilities.c | 71 SLAudioIODeviceCapabilitiesItf self, slAvailableAudioInputsChangedCallback callback, 78 this->mAvailableAudioInputsChangedCallback = callback; 141 SLAudioIODeviceCapabilitiesItf self, slAvailableAudioOutputsChangedCallback callback, 148 this->mAvailableAudioOutputsChangedCallback = callback; 158 SLAudioIODeviceCapabilitiesItf self, slDefaultDeviceIDMapChangedCallback callback, 165 this->mDefaultDeviceIDMapChangedCallback = callback; 70 IAudioIODeviceCapabilities_RegisterAvailableAudioInputsChangedCallback( SLAudioIODeviceCapabilitiesItf self, slAvailableAudioInputsChangedCallback callback, void *pContext) argument 140 IAudioIODeviceCapabilities_RegisterAvailableAudioOutputsChangedCallback( SLAudioIODeviceCapabilitiesItf self, slAvailableAudioOutputsChangedCallback callback, void *pContext) argument 157 IAudioIODeviceCapabilities_RegisterDefaultDeviceIDMapChangedCallback( SLAudioIODeviceCapabilitiesItf self, slDefaultDeviceIDMapChangedCallback callback, void *pContext) argument
|
H A D | IPrefetchStatus.c | 61 slPrefetchCallback callback, void *pContext) 67 this->mCallback = callback; 60 IPrefetchStatus_RegisterCallback(SLPrefetchStatusItf self, slPrefetchCallback callback, void *pContext) argument
|
H A D | IObject.c | 73 // Make a copy of these, so we can call the callback with mutex unlocked 74 slObjectCallback callback = this->mCallback; local 78 // Note that the mutex is unlocked during the callback 79 if (NULL != callback) { 80 (*callback)(&this->mItf, context, SL_OBJECT_EVENT_ASYNC_TERMINATION, result, state, NULL); 129 slObjectCallback callback = this->mCallback; local 133 // callback because there is no thread pool yet to do it asynchronously. 134 if (async && (NULL != callback)) { 135 (*callback)(&this->mItf, context, SL_OBJECT_EVENT_ASYNC_TERMINATION, result, state, 201 // Make a copy of these, so we can call the callback wit 202 slObjectCallback callback = this->mCallback; local 373 IObject_RegisterCallback(SLObjectItf self, slObjectCallback callback, void *pContext) argument [all...] |
H A D | IBufferQueue.c | 146 slBufferQueueCallback callback, void *pContext) 154 this->mCallback = callback; 145 IBufferQueue_RegisterCallback(SLBufferQueueItf self, slBufferQueueCallback callback, void *pContext) argument
|
H A D | SndFile.c | 51 slPlayCallback callback = thisAP->mPlay.mCallback; local 91 if (NULL != callback) { 93 (*callback)(&thisAP->mPlay.mItf, context, SL_PLAYEVENT_HEADATNEWPOS); 201 // seek postpones the next head at new position callback
|
H A D | IRecord.c | 116 static SLresult IRecord_RegisterCallback(SLRecordItf self, slRecordCallback callback, argument 123 this->mCallback = callback;
|
H A D | IOutputMixExt.c | 118 // NTH should be able to call a desperation callback when completely starved, 297 slBufferQueueCallback callback = bufferQueue->mCallback; local 300 // The callback function is called on each buffer completion 301 if (NULL != callback) { 302 (*callback)((SLBufferQueueItf) bufferQueue, context);
|
H A D | IPlay.c | 217 static SLresult IPlay_RegisterCallback(SLPlayItf self, slPlayCallback callback, void *pContext) argument 223 this->mCallback = callback; 360 // setting a new update period postpones the next callback
|
/system/core/fastboot/ |
H A D | usb.h | 60 usb_handle *usb_open(ifc_match_func callback);
|
H A D | usb_windows.c | 69 int recognized_device(usb_handle* handle, ifc_match_func callback); 271 int recognized_device(usb_handle* handle, ifc_match_func callback) { argument 313 if (callback(&info) == 0) { 320 static usb_handle *find_usb_device(ifc_match_func callback) { argument 350 if (recognized_device(handle, callback)) { 367 usb_handle *usb_open(ifc_match_func callback) argument 369 return find_usb_device(callback);
|
H A D | usb_osx.c | 56 ifc_match_func callback; member in struct:usb_handle 220 if (handle->callback(&handle->info) == 0) { 374 static int init_usb(ifc_match_func callback, usb_handle **handle) { argument 382 h.callback = callback; 447 usb_handle *usb_open(ifc_match_func callback) { argument 450 if (init_usb(callback, &handle) < 0) {
|
H A D | usb_linux.c | 93 ifc_match_func callback, 186 if(callback(&info) == 0) { 197 static usb_handle *find_usb_device(const char *base, ifc_match_func callback) argument 238 if(filter_usb_device(fd, desc, n, writable, callback, 385 usb_handle *usb_open(ifc_match_func callback) argument 387 return find_usb_device("/dev/bus/usb", callback); 92 filter_usb_device(int fd, char *ptr, int len, int writable, ifc_match_func callback, int *ept_in_id, int *ept_out_id, int *ifc_id) argument
|
/system/core/libcutils/ |
H A D | selector.c | 127 * Adds an fd to the given set if the callback is non-null. Returns true 131 void (*callback)(SelectableFd*), fd_set* fdSet) { 132 if (callback != NULL) { 198 * Invokes a callback if the callback is non-null and the fd is in the given 202 void (*callback)(SelectableFd*), fd_set* fdSet) { 203 if (callback != NULL && !selectableFd->remove && 206 callback(selectableFd); 130 maybeAdd(SelectableFd* selectableFd, void (*callback)(SelectableFd*), fd_set* fdSet) argument 201 maybeInvoke(SelectableFd* selectableFd, void (*callback)(SelectableFd*), fd_set* fdSet) argument
|
H A D | hashmap.c | 307 bool (*callback)(void* key, void* value, void* context), 313 if (!callback(entry->key, entry->value, context)) {
|
/system/core/include/cutils/ |
H A D | hashmap.h | 77 * value and creates an entry using the given callback. 79 * If memory allocation fails, the callback is not called, this function 97 * Invokes the given callback on each entry in the map. Stops iterating if 98 * the callback returns false. 101 bool (*callback)(void* key, void* value, void* context),
|
/system/media/opensles/include/SLES/ |
H A D | OpenSLES_Android.h | 200 slAndroidSimpleBufferQueueCallback callback,
|
/system/media/opensles/tests/sandbox/ |
H A D | intbufq.c | 70 static void callback(BufferQueueItf caller, void *context) function 208 callback : NULL, expectedContext);
|
H A D | playbq.c | 41 // This callback is called each time a buffer finishes playing 43 static void callback(SLBufferQueueItf bufq, void *param) function 251 // register a callback on the buffer queue 252 result = (*playerBufferQueue)->RegisterCallback(playerBufferQueue, callback, NULL);
|