Searched defs:callbacks (Results 1 - 15 of 15) sorted by relevance

/system/bt/btif/src/
H A Dbtif_mce.c123 static bt_status_t init(btmce_callbacks_t* callbacks) argument
127 bt_mce_callbacks = callbacks;
H A Dbtif_sdp.c124 static bt_status_t init(btsdp_callbacks_t* callbacks) argument
128 bt_sdp_callbacks = callbacks;
H A Dbluetooth.c122 static int init(bt_callbacks_t *callbacks) { argument
132 bt_hal_cbacks = callbacks;
H A Dbtif_av.c1054 static bt_status_t init_src(btav_callbacks_t* callbacks) argument
1060 bt_av_src_callbacks = callbacks;
1075 static bt_status_t init_sink(btav_callbacks_t* callbacks) argument
1081 bt_av_sink_callbacks = callbacks;
H A Dbtif_hf.c711 static bt_status_t init( bthf_callbacks_t* callbacks, int max_hf_clients) argument
716 bt_hf_callbacks = callbacks;
H A Dbtif_pan.c91 static bt_status_t btpan_jni_init(const btpan_callbacks_t* callbacks);
174 static bt_status_t btpan_jni_init(const btpan_callbacks_t* callbacks) argument
177 callback = *callbacks;
/system/bt/test/suite/support/
H A Dhal.c42 bool hal_open(bt_callbacks_t *callbacks) { argument
61 bool success = (bt_interface->init(callbacks) == BT_STATUS_SUCCESS);
/system/bt/hci/src/
H A Dhci_hal_h4.c36 static const hci_hal_callbacks_t *callbacks; variable
54 callbacks = upper_callbacks;
174 callbacks->data_ready(current_data_type);
H A Dhci_hal_mct.c37 static const hci_hal_callbacks_t *callbacks; variable
56 callbacks = upper_callbacks;
182 callbacks->data_ready(DATA_TYPE_EVENT);
187 callbacks->data_ready(DATA_TYPE_ACL);
H A Dpacket_fragmenter.c47 // Our interface and callbacks
51 static const packet_fragmenter_callbacks_t *callbacks; variable
56 callbacks = result_callbacks;
73 callbacks->fragmented(packet, true);
96 callbacks->fragmented(packet, false);
113 callbacks->transmit_finished(packet, false);
119 callbacks->fragmented(packet, true);
153 callbacks->reassembled(packet);
200 callbacks->reassembled(partial_packet);
204 callbacks
[all...]
H A Dvendor.c38 static vendor_cb callbacks[LAST_VENDOR_OPCODE_VALUE + 1]; variable
104 callbacks[opcode] = callback;
113 vendor_cb callback = callbacks[VENDOR_CONFIGURE_FIRMWARE];
123 vendor_cb callback = callbacks[VENDOR_CONFIGURE_SCO];
132 vendor_cb callback = callbacks[VENDOR_SET_LPM_MODE];
184 vendor_cb callback = callbacks[VENDOR_DO_EPILOG];
/system/bt/stack/l2cap/
H A Dl2cap_client.c35 l2cap_client_callbacks_t callbacks; member in struct:l2cap_client_t
85 l2cap_client_t *l2cap_client_new(const l2cap_client_callbacks_t *callbacks, void *context) { argument
86 assert(callbacks != NULL);
87 assert(callbacks->connected != NULL);
88 assert(callbacks->disconnected != NULL);
89 assert(callbacks->read_ready != NULL);
90 assert(callbacks->write_ready != NULL);
106 ret->callbacks = *callbacks;
203 client->callbacks
[all...]
H A Dl2c_api.c66 ** Note: Connection callbacks are required but not checked
336 bool L2CA_SetConnectionCallbacks(uint16_t local_cid, const tL2CAP_APPL_INFO *callbacks) { argument
337 assert(callbacks != NULL);
338 assert(callbacks->pL2CA_ConnectInd_Cb == NULL);
339 assert(callbacks->pL2CA_ConnectCfm_Cb != NULL);
340 assert(callbacks->pL2CA_ConfigInd_Cb != NULL);
341 assert(callbacks->pL2CA_ConfigCfm_Cb != NULL);
342 assert(callbacks->pL2CA_DisconnectInd_Cb != NULL);
343 assert(callbacks->pL2CA_DisconnectCfm_Cb != NULL);
344 assert(callbacks
[all...]
/system/extras/taskstats/
H A Dtaskstats.c94 struct nl_cb* callbacks = nl_cb_get(nl_cb_alloc(NL_CB_VALID)); local
95 nl_cb_set(callbacks, NL_CB_VALID, NL_CB_DEFAULT, &parse_family_id,
97 nl_cb_err(callbacks, NL_CB_DEFAULT, &print_receive_error, NULL);
99 if (nl_recvmsgs(netlink_socket, callbacks) < 0) {
102 nl_cb_put(callbacks);
156 struct nl_cb* callbacks = nl_cb_get(nl_cb_alloc(NL_CB_VALID)); local
157 nl_cb_set(callbacks, NL_CB_VALID, NL_CB_DEFAULT, &parse_task_stats, stats);
158 nl_cb_err(callbacks, NL_CB_DEFAULT, &print_receive_error, &family_id);
160 result = nl_recvmsgs(netlink_socket, callbacks);
164 nl_cb_put(callbacks);
[all...]
/system/core/libnativebridge/
H A Dnative_bridge.cc84 // Pointer to the callbacks. Available as soon as LoadNativeBridge succeeds, but only initialized
86 static const NativeBridgeCallbacks* callbacks = nullptr; member in namespace:android
153 if (!callbacks->isCompatibleWith(kLibNativeBridgeVersion)) {
195 callbacks = reinterpret_cast<NativeBridgeCallbacks*>(dlsym(handle,
197 if (callbacks != nullptr) {
198 if (VersionCheck(callbacks)) {
202 callbacks = nullptr;
213 if (callbacks == nullptr) {
340 static void SetupEnvironment(const NativeBridgeCallbacks* callbacks, JNIEnv* env, const char* isa) { argument
348 const struct NativeBridgeRuntimeValues* env_values = callbacks
[all...]

Completed in 811 milliseconds