Home
last modified time | relevance | path

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

/system/dev/bluetooth/bt-transport-uart/
A Dbt-transport-uart.c49 zx_handle_t cmd_channel; member
116 if (hci->cmd_channel != ZX_HANDLE_INVALID) { in hci_build_read_wait_items_locked()
117 items[count].handle = hci->cmd_channel; in hci_build_read_wait_items_locked()
181 channel_cleanup_locked(hci, &hci->cmd_channel); in hci_handle_cmd_read_events()
264 zx_status_t status = zx_channel_write(hci->cmd_channel, 0, in hci_handle_uart_read_events()
357 channel_cleanup_locked(hci, &hci->cmd_channel); in hci_read_thread()
368 if (item.handle == hci->cmd_channel) { in hci_read_thread()
435 channel_cleanup_locked(hci, &hci->cmd_channel); in hci_unbind()
452 return hci_open_channel(hci, &hci->cmd_channel, out_channel); in hci_open_command_channel()
/system/dev/bluetooth/bt-transport-usb/
A Dbt-transport-usb.c53 zx_handle_t cmd_channel; member
141 if (hci->cmd_channel == ZX_HANDLE_INVALID && hci->snoop_channel == ZX_HANDLE_INVALID) in hci_event_complete()
157 if (hci->cmd_channel != ZX_HANDLE_INVALID) { in hci_event_complete()
185 zx_status_t status = zx_channel_write(hci->cmd_channel, 0, hci->event_buffer, in hci_event_complete()
273 if (hci->cmd_channel != ZX_HANDLE_INVALID) { in hci_build_read_wait_items_locked()
274 items[count].handle = hci->cmd_channel; in hci_build_read_wait_items_locked()
332 channel_cleanup_locked(hci, &hci->cmd_channel); in hci_handle_cmd_read_events()
410 channel_cleanup_locked(hci, &hci->cmd_channel); in hci_read_thread()
421 if (item.handle == hci->cmd_channel) { in hci_read_thread()
486 channel_cleanup_locked(hci, &hci->cmd_channel); in hci_unbind()
[all …]
/system/utest/core/process/
A Dprocess.cpp33 zx_handle_t cmd_channel; in mini_process_sanity() local
34 EXPECT_EQ(start_mini_process_etc(proc, thread, vmar, event, &cmd_channel), ZX_OK); in mini_process_sanity()
36 EXPECT_EQ(mini_process_cmd(cmd_channel, MINIP_CMD_ECHO_MSG, nullptr), ZX_OK); in mini_process_sanity()
39 EXPECT_EQ(mini_process_cmd(cmd_channel, MINIP_CMD_CREATE_EVENT, &oev), ZX_OK); in mini_process_sanity()
41 EXPECT_EQ(mini_process_cmd(cmd_channel, MINIP_CMD_EXIT_NORMAL, nullptr), ZX_ERR_PEER_CLOSED); in mini_process_sanity()

Completed in 9 milliseconds