/system/core/libnativebridge/ |
D | native_bridge.cc | 86 static const NativeBridgeCallbacks* callbacks = nullptr; variable 160 if (!callbacks->isCompatibleWith(kLibNativeBridgeVersion)) { in VersionCheck() 201 callbacks = reinterpret_cast<NativeBridgeCallbacks*>(dlsym(handle, in LoadNativeBridge() 203 if (callbacks != nullptr) { in LoadNativeBridge() 204 if (VersionCheck(callbacks)) { in LoadNativeBridge() 208 callbacks = nullptr; in LoadNativeBridge() 219 if (callbacks == nullptr) { in LoadNativeBridge() 346 static void SetupEnvironment(const NativeBridgeCallbacks* callbacks, JNIEnv* env, const char* isa) { in SetupEnvironment() argument 354 const struct NativeBridgeRuntimeValues* env_values = callbacks->getAppEnv(isa); in SetupEnvironment() 429 if (callbacks->initialize(runtime_callbacks, app_code_cache_dir, instruction_set)) { in InitializeNativeBridge() [all …]
|
/system/bt/stack/l2cap/ |
D | l2cap_client.c | 35 l2cap_client_callbacks_t callbacks; member 85 l2cap_client_t *l2cap_client_new(const l2cap_client_callbacks_t *callbacks, void *context) { in l2cap_client_new() argument 86 assert(callbacks != NULL); in l2cap_client_new() 87 assert(callbacks->connected != NULL); in l2cap_client_new() 88 assert(callbacks->disconnected != NULL); in l2cap_client_new() 89 assert(callbacks->read_ready != NULL); in l2cap_client_new() 90 assert(callbacks->write_ready != NULL); in l2cap_client_new() 102 ret->callbacks = *callbacks; in l2cap_client_new() 199 client->callbacks.disconnected(client, client->context); in connect_completed_cb() 208 client->callbacks.disconnected(client, client->context); in connect_completed_cb() [all …]
|
D | l2c_api.c | 637 bool L2CA_SetConnectionCallbacks(uint16_t local_cid, const tL2CAP_APPL_INFO *callbacks) { in L2CA_SetConnectionCallbacks() argument 638 assert(callbacks != NULL); in L2CA_SetConnectionCallbacks() 639 assert(callbacks->pL2CA_ConnectInd_Cb == NULL); in L2CA_SetConnectionCallbacks() 640 assert(callbacks->pL2CA_ConnectCfm_Cb != NULL); in L2CA_SetConnectionCallbacks() 641 assert(callbacks->pL2CA_ConfigInd_Cb != NULL); in L2CA_SetConnectionCallbacks() 642 assert(callbacks->pL2CA_ConfigCfm_Cb != NULL); in L2CA_SetConnectionCallbacks() 643 assert(callbacks->pL2CA_DisconnectInd_Cb != NULL); in L2CA_SetConnectionCallbacks() 644 assert(callbacks->pL2CA_DisconnectCfm_Cb != NULL); in L2CA_SetConnectionCallbacks() 645 assert(callbacks->pL2CA_CongestionStatus_Cb != NULL); in L2CA_SetConnectionCallbacks() 646 assert(callbacks->pL2CA_DataInd_Cb != NULL); in L2CA_SetConnectionCallbacks() [all …]
|
/system/bt/hci/src/ |
D | packet_fragmenter.c | 52 static const packet_fragmenter_callbacks_t *callbacks; variable 57 callbacks = result_callbacks; in init() 74 callbacks->fragmented(packet, true); in fragment_and_dispatch() 97 callbacks->fragmented(packet, false); in fragment_and_dispatch() 114 callbacks->transmit_finished(packet, false); in fragment_and_dispatch() 120 callbacks->fragmented(packet, true); in fragment_and_dispatch() 174 callbacks->reassembled(packet); in reassemble_and_dispatch() 221 callbacks->reassembled(partial_packet); in reassemble_and_dispatch() 225 callbacks->reassembled(packet); in reassemble_and_dispatch()
|
D | vendor.c | 39 static vendor_cb callbacks[VENDOR_LAST_OP]; variable 105 callbacks[opcode] = callback; in set_callback() 114 vendor_cb callback = callbacks[VENDOR_CONFIGURE_FIRMWARE]; in firmware_config_cb() 124 vendor_cb callback = callbacks[VENDOR_CONFIGURE_SCO]; in sco_config_cb() 133 vendor_cb callback = callbacks[VENDOR_SET_LPM_MODE]; in low_power_mode_cb() 189 vendor_cb callback = callbacks[VENDOR_DO_EPILOG]; in epilog_cb()
|
D | hci_hal_mct.c | 38 static const hci_hal_callbacks_t *callbacks; variable 57 callbacks = upper_callbacks; in hal_init() 184 callbacks->data_ready(DATA_TYPE_EVENT); in event_event_stream_has_bytes() 189 callbacks->data_ready(DATA_TYPE_ACL); in event_acl_stream_has_bytes()
|
D | hci_hal_h4.c | 43 static const hci_hal_callbacks_t *callbacks; variable 63 callbacks = upper_callbacks; in hal_init() 224 callbacks->data_ready(current_data_type); in event_uart_has_bytes()
|
/system/bt/btif/src/ |
D | btif_gatt.c | 61 static bt_status_t btif_gatt_init( const btgatt_callbacks_t* callbacks ) in btif_gatt_init() argument 63 bt_gatt_callbacks = callbacks; in btif_gatt_init()
|
D | btif_mce.c | 124 static bt_status_t init(btmce_callbacks_t* callbacks) in init() argument 128 bt_mce_callbacks = callbacks; in init()
|
D | btif_sdp.c | 125 static bt_status_t init(btsdp_callbacks_t* callbacks) in init() argument 129 bt_sdp_callbacks = callbacks; in init()
|
D | bluetooth.c | 128 static int init(bt_callbacks_t *callbacks) { in init() argument 138 bt_hal_cbacks = callbacks; in init()
|
D | btif_av.c | 1215 static bt_status_t init_src(btav_callbacks_t* callbacks) in init_src() argument 1221 bt_av_src_callbacks = callbacks; in init_src() 1236 static bt_status_t init_sink(btav_callbacks_t* callbacks) in init_sink() argument 1242 bt_av_sink_callbacks = callbacks; in init_sink()
|
D | btif_pan.c | 94 static bt_status_t btpan_jni_init(const btpan_callbacks_t* callbacks); 177 static bt_status_t btpan_jni_init(const btpan_callbacks_t* callbacks) in btpan_jni_init() argument 180 callback = *callbacks; in btpan_jni_init()
|
D | btif_hf_client.c | 194 static bt_status_t init( bthf_client_callbacks_t* callbacks ) in init() argument 198 bt_hf_client_callbacks = callbacks; in init()
|
/system/webservd/libwebserv/ |
D | dbus_protocol_handler.cc | 274 auto callbacks = std::make_shared<Callbacks>(); in GetFileData() local 275 callbacks->on_success = success_callback; in GetFileData() 276 callbacks->on_error = error_callback; in GetFileData() 278 auto on_success = [callbacks](const dbus::FileDescriptor& fd) { in GetFileData() 285 return callbacks->on_error.Run(error.get()); in GetFileData() 286 callbacks->on_success.Run(std::move(stream)); in GetFileData() 288 auto on_error = [callbacks](brillo::Error* error) { in GetFileData() 289 callbacks->on_error.Run(error); in GetFileData()
|
/system/extras/taskstats/ |
D | taskstats.c | 106 struct nl_cb* callbacks = nl_cb_get(nl_cb_alloc(NL_CB_CUSTOM)); in query_task_stats() local 107 nl_cb_set(callbacks, NL_CB_VALID, NL_CB_CUSTOM, &parse_task_stats, stats); in query_task_stats() 108 nl_cb_err(callbacks, NL_CB_CUSTOM, &print_receive_error, &family_id); in query_task_stats() 110 result = nl_recvmsgs(netlink_socket, callbacks); in query_task_stats() 111 nl_cb_put(callbacks); in query_task_stats()
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | vendor_manager.cc | 133 void VendorManager::SetVendorCallbacks(const bt_vendor_callbacks_t& callbacks) { in SetVendorCallbacks() argument 134 vendor_callbacks_ = callbacks; in SetVendorCallbacks()
|
/system/bt/hci/test/ |
D | packet_fragmenter_test.cpp | 292 callbacks.fragmented = fragmented_callback; 293 callbacks.reassembled = reassembled_callback; 294 callbacks.transmit_finished = transmit_finished_callback; 299 fragmenter->init(&callbacks); 308 packet_fragmenter_callbacks_t callbacks;
|
D | hci_hal_mct_test.cpp | 140 callbacks.data_ready = data_ready_callback; 155 EXPECT_TRUE(hal->init(&callbacks, thread)); 178 hci_hal_callbacks_t callbacks;
|
D | hci_hal_h4_test.cpp | 147 callbacks.data_ready = data_ready_callback; 155 EXPECT_TRUE(hal->init(&callbacks, thread)); 175 hci_hal_callbacks_t callbacks;
|
/system/extras/iotop/ |
D | taskstats.cpp | 139 std::unique_ptr<nl_cb, decltype(&nl_cb_put)> callbacks( in GetStats() local 141 nl_cb_set(callbacks.get(), NL_CB_VALID, NL_CB_CUSTOM, &ParseTaskStats, in GetStats() 144 result = nl_recvmsgs(nl_.get(), callbacks.get()); in GetStats()
|
/system/bt/stack/include/ |
D | l2cap_client.h | 46 l2cap_client_t *l2cap_client_new(const l2cap_client_callbacks_t *callbacks, void *context);
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
D | vendor_manager.h | 60 void SetVendorCallbacks(const bt_vendor_callbacks_t& callbacks);
|
/system/bt/tools/bdtool/ |
D | Android.mk.disabled | 29 ../../test/suite/support/callbacks.c \
|
/system/bt/service/doc/ |
D | IBluetoothLowEnergyCallback.txt | 18 * Binder IPC interface for receiving callbacks related to Bluetooth Low Energy
|