Home
last modified time | relevance | path

Searched refs:P_CBACK (Results 1 – 3 of 3) sorted by relevance

/system/bt/btif/include/
Dbtif_common.h81 #define HAL_CBACK(P_CB, P_CBACK, ...) \ argument
83 if ((P_CB) && (P_CB)->P_CBACK) { \
84 BTIF_TRACE_API("%s: HAL %s->%s", __func__, #P_CB, #P_CBACK); \
85 (P_CB)->P_CBACK(__VA_ARGS__); \
/system/bt/btif/src/
Dbtif_ble_scanner.cc55 #define SCAN_CBACK_IN_JNI(P_CBACK, ...) \ argument
57 if (bt_gatt_callbacks && bt_gatt_callbacks->scanner->P_CBACK) { \
58 BTIF_TRACE_API("HAL bt_gatt_callbacks->client->%s", #P_CBACK); \
60 Bind(bt_gatt_callbacks->scanner->P_CBACK, __VA_ARGS__)); \
Dbtif_gatt_client.cc67 #define CLI_CBACK_IN_JNI(P_CBACK, ...) \ argument
69 if (bt_gatt_callbacks && bt_gatt_callbacks->client->P_CBACK) { \
70 BTIF_TRACE_API("HAL bt_gatt_callbacks->client->%s", #P_CBACK); \
71 do_in_jni_thread(Bind(bt_gatt_callbacks->client->P_CBACK, __VA_ARGS__)); \