Searched refs:callback (Results 1 - 13 of 13) sorted by relevance

/system/core/fastboot/
H A Dusb.h60 usb_handle *usb_open(ifc_match_func callback);
H A Dusb_windows.c69 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 Dusb_osx.c56 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 Dusb_linux.c93 ifc_match_func callback,
185 if(callback(&info) == 0) {
196 static usb_handle *find_usb_device(const char *base, ifc_match_func callback) argument
237 if(filter_usb_device(fd, desc, n, writable, callback,
384 usb_handle *usb_open(ifc_match_func callback) argument
386 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 Dselector.c127 * 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 Dhashmap.c307 bool (*callback)(void* key, void* value, void* context),
313 if (!callback(entry->key, entry->value, context)) {
/system/core/include/cutils/
H A Dhashmap.h77 * 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/wlan/ti/wilink_6_1/stad/Export_Inc/
H A DparamOut.h268 void *callback; member in struct:__anon1531
/system/wlan/ti/sta_dk_4_0_4_32/common/inc/
H A DparamOut.h345 void *callback; member in struct:__anon282
/system/wlan/ti/sta_dk_4_0_4_32/common/src/Management/apConn/
H A DapConn.c198 BOOL roamingEnabled; /**< If FALSE, act like if no roaming callback registered. */
784 * I - callbackType - type of callback \n
785 * I - callbackFunction - pointer to callback \n
1330 * In case of successful allocation, Roaming Manager will be informed via callback about
2685 param.content.qosRenegotiateTspecRequest.callback = (void *)apConn_qosMngrReportResultCallb;
/system/wlan/ti/wilink_6_1/stad/src/Connection_Managment/
H A DapConn.c172 TI_BOOL roamingEnabled; /**< If TI_FALSE, act like if no roaming callback registered. */
2298 param.content.qosRenegotiateTspecRequest.callback = (void *)apConn_qosMngrReportResultCallb;
/system/wlan/ti/sta_dk_4_0_4_32/common/src/Management/QOS/
H A DqosMngr.c1133 pQosMngr->TSPECNegotiationResultCallb = (qosMngrCallb_t)pParamInfo->content.qosRenegotiateTspecRequest.callback;
/system/wlan/ti/wilink_6_1/stad/src/Sta_Management/
H A DqosMngr.c1160 pQosMngr->TSPECNegotiationResultCallb = (qosMngrCallb_t)pParamInfo->content.qosRenegotiateTspecRequest.callback;

Completed in 130 milliseconds