/system/bt/audio_a2dp_hw/src/ |
H A D | audio_a2dp_hw_utils.cc | 25 const char* audio_a2dp_hw_dump_ctrl_event(tA2DP_CTRL_CMD event) { argument 26 switch (event) {
|
/system/core/libmetricslogger/ |
H A D | metrics_logger.cpp | 27 void LogHistogram(const std::string& event, int32_t data) { argument 30 << LOGBUILDER_NAME << event
|
/system/chre/core/ |
H A D | event_ref_queue.cc | 32 bool EventRefQueue::push(Event *event) { argument 33 CHRE_ASSERT(event != nullptr); 35 bool pushed = mQueue.push(event); 37 event->incrementRefCount(); 46 Event *event = mQueue.front(); local 48 event->decrementRefCount(); 50 return event;
|
H A D | nanoapp.cc | 44 FATAL_ERROR("App failed to register for event: out of memory"); 60 void Nanoapp::postEvent(Event *event) { argument 61 mEventQueue.push(event); 69 Event *event = mEventQueue.pop(); local 71 CHRE_ASSERT_LOG(event != nullptr, "Tried delivering event, but queue empty"); 72 if (event != nullptr) { 73 handleEvent(event->senderInstanceId, event->eventType, event [all...] |
H A D | sensor.cc | 46 // Mark last event as invalid when sensor is disabled. 75 void Sensor::setLastEvent(const ChreSensorData *event) { argument 77 mPlatformSensor->setLastEvent(event); 79 // Mark last event as valid only if the sensor is enabled. Event data may
|
/system/bt/bta/dm/ |
H A D | bta_dm_ci.cc | 50 p_msg->hdr.event = BTA_DM_CI_IO_REQ_EVT; 75 p_msg->hdr.event = BTA_DM_CI_RMT_OOB_EVT; 89 * Description This function sends an event to indicating that the phone 92 * Parameters event: is obtained from bta_dm_sco_co_open() function, which 93 * is the BTA event we want to send back to BTA module 100 void bta_dm_sco_ci_data_ready(uint16_t event, uint16_t sco_handle) { argument 103 p_buf->event = event;
|
/system/bt/btif/src/ |
H A D | btif_sm.cc | 120 * Description Dispatches the 'event' along with 'data' to the current state 124 * BT_STATUS_UNHANDLED if event was not processed 128 bt_status_t btif_sm_dispatch(btif_sm_handle_t handle, btif_sm_event_t event, argument 139 if (p_cb->p_handlers[p_cb->state](event, data) == false) 155 * BT_STATUS_UNHANDLED if event was not processed 169 /* Send exit event to the current state */ 176 /* Send enter event to the new state */
|
H A D | btif_a2dp_control.cc | 40 static void btif_a2dp_data_cb(tUIPC_CH_ID ch_id, tUIPC_EVENT event); 41 static void btif_a2dp_ctrl_cb(tUIPC_CH_ID ch_id, tUIPC_EVENT event); 116 * Post start event and wait for audio path to open. 271 tUIPC_EVENT event) { 272 APPL_TRACE_DEBUG("A2DP-CTRL-CHANNEL EVENT %s", dump_uipc_event(event)); 274 switch (event) { 289 APPL_TRACE_ERROR("### A2DP-CTRL-CHANNEL EVENT %d NOT HANDLED ###", event); 295 tUIPC_EVENT event) { 296 APPL_TRACE_DEBUG("BTIF MEDIA (A2DP-DATA) EVENT %s", dump_uipc_event(event)); 298 switch (event) { 270 btif_a2dp_ctrl_cb(UNUSED_ATTR tUIPC_CH_ID ch_id, tUIPC_EVENT event) argument 294 btif_a2dp_data_cb(UNUSED_ATTR tUIPC_CH_ID ch_id, tUIPC_EVENT event) argument [all...] |
H A D | btif_gatt_client.cc | 98 void btif_gattc_upstreams_evt(uint16_t event, char* p_param) { argument 99 LOG_VERBOSE(LOG_TAG, "%s: Event %d", __func__, event); 102 switch (event) { 197 LOG_ERROR(LOG_TAG, "%s: Unhandled event (%d)!", __func__, event); 202 void bta_gattc_cback(tBTA_GATTC_EVT event, tBTA_GATTC* p_data) { argument 204 btif_transfer_context(btif_gattc_upstreams_evt, (uint16_t)event,
|
H A D | btif_mce.cc | 51 static void btif_mce_mas_discovery_comp_evt(uint16_t event, char* p_param) { argument 57 BTIF_TRACE_EVENT("%s: event = %d", __func__, event); 59 if (event != BTA_MCE_MAS_DISCOVERY_COMP_EVT) return; 74 static void mas_discovery_comp_copy_cb(uint16_t event, char* p_dest, argument 84 if (event != BTA_MCE_MAS_DISCOVERY_COMP_EVT) return; 99 static void mce_dm_cback(tBTA_MCE_EVT event, tBTA_MCE* p_data, argument 101 switch (event) { 111 btif_transfer_context(btif_mce_mas_discovery_comp_evt, event,
|
/system/bt/main/ |
H A D | bte_main.cc | 205 void bte_main_hci_send(BT_HDR* p_msg, uint16_t event) { argument 206 uint16_t sub_event = event & BT_SUB_EVT_MASK; /* local controller ID */ 208 p_msg->event = event; 212 hci->transmit_downward(event, p_msg);
|
/system/bt/stack/avct/ |
H A D | avct_ccb.cc | 74 void avct_ccb_dealloc(tAVCT_CCB* p_ccb, uint8_t event, uint16_t result, argument 90 if (event != AVCT_NO_EVT) { 91 (*p_cback)(avct_ccb_to_idx(p_ccb), event, result, bd_addr); local
|
/system/bt/stack/mcap/ |
H A D | mca_dact.cc | 57 * MCA_OPEN_CFM_EVT event. 66 uint8_t event = MCA_OPEN_IND_EVT; local 68 if (p_data->open.param == MCA_INT) event = MCA_OPEN_CFM_EVT; 74 mca_ccb_report_event(p_ccb, event, &evt_data);
|
/system/chre/platform/shared/ |
H A D | platform_gnss.cc | 74 struct chreGnssLocationEvent *event) { 84 struct chreGnssDataEvent *event) { 73 locationEventCallback( struct chreGnssLocationEvent *event) argument 83 measurementEventCallback( struct chreGnssDataEvent *event) argument
|
H A D | platform_wifi.cc | 76 void PlatformWifi::releaseScanEvent(struct chreWifiScanEvent *event) { argument 78 mWifiApi->releaseScanEvent(event); 93 void PlatformWifiBase::scanEventCallback(struct chreWifiScanEvent *event) { argument 95 .handleScanEvent(event);
|
/system/media/brillo/audio/audioservice/test/ |
H A D | audio_device_handler_test.cpp | 170 struct input_event event; local 171 event.type = 0; 172 event.code = 0; 173 event.value = 0; 175 handler_.ProcessEvent(event); 182 struct input_event event; local 183 event.type = EV_SW; 184 event.code = SW_MICROPHONE_INSERT; 185 event.value = 1; 186 handler_.ProcessEvent(event); 193 struct input_event event; local 204 struct input_event event; local 215 struct input_event event; local 226 struct input_event event; local [all...] |
H A D | audio_volume_handler_test.cpp | 122 struct input_event event; local 123 event.type = 0; 124 event.code = 0; 125 event.value = 0; 127 handler_.ProcessEvent(event); 131 struct input_event event; local 132 event.type = EV_KEY; 133 event.code = KEY_VOLUMEUP; 134 event.value = 1; 136 handler_.ProcessEvent(event); 140 struct input_event event; local [all...] |
/system/nfc/halimpl/bcm2079x/adaptation/ |
H A D | SyncEvent.h | 56 ** Description: Block the thread and wait for the event to occur. 67 ** Description: Block the thread and wait for the event to occur. 82 ** Description: Notify a blocked thread that the event has occured. 113 ** Description: Automatically start and end a synchronization event. 127 SyncEventGuard(SyncEvent& event) : mEvent(event) { argument 128 event.start(); // automatically start operation
|
/system/nfc/src/nfa/rw/ |
H A D | nfa_rw_main.c | 53 static char* nfa_rw_evt_2_str(uint16_t event); 113 void nfa_rw_proc_disc_evt(tNFA_DM_RF_DISC_EVT event, tNFC_DISCOVER* p_data, argument 117 switch (event) { 119 msg.hdr.event = NFA_RW_ACTIVATE_NTF_EVT; 127 msg.hdr.event = NFA_RW_DEACTIVATE_NTF_EVT; 151 p_msg->hdr.event = NFA_RW_OP_REQUEST_EVT; 167 ** Description nfa rw main event handling function. 176 NFA_TRACE_EVENT3("nfa_rw_handle_event event: %s (0x%02x), flags: %08x", 177 nfa_rw_evt_2_str(p_msg->event), p_msg->event, 203 nfa_rw_evt_2_str(uint16_t event) argument [all...] |
/system/chre/platform/linux/ |
H A D | platform_sensor.cc | 74 void PlatformSensor::setLastEvent(const ChreSensorData *event) { argument
|
/system/core/libappfuse/ |
H A D | EpollController.cc | 55 epoll_event event; local 56 memset(&event, 0, sizeof(event)); 57 event.events = events; 58 event.data.ptr = data; 59 if (epoll_ctl(poll_fd_, op, fd, &event) == -1) {
|
/system/nfc/src/nfa/ce/ |
H A D | nfa_ce_main.c | 60 static char* nfa_ce_evt_2_str(uint16_t event); 164 ** Description nfa rw main event handling function. 174 NFA_TRACE_EVENT3("nfa_ce_handle_event event: %s (0x%02x), flags: %08x", 175 nfa_ce_evt_2_str(p_msg->event), p_msg->event, 178 NFA_TRACE_EVENT2("nfa_ce_handle_event event: 0x%x, flags: %08x", p_msg->event, 182 /* Get NFA_RW sub-event */ 183 act_idx = (p_msg->event & 0x00FF); 188 /* if vendor specific event handle 204 nfa_ce_evt_2_str(uint16_t event) argument [all...] |
/system/nfc/src/nfc/nfc/ |
H A D | nfc_task.c | 62 /* post event to start timer in NFC task */ 65 p_msg->event = BT_EVT_TO_START_TIMER; 76 p_tle->event = type; 99 ** Description Process nfc GKI timer event 113 switch (p_tle->event) { 123 NFC_TRACE_DEBUG2("nfc_process_timer_evt: timer:0x%x event (0x%04x)", 124 p_tle, p_tle->event); 126 "nfc_process_timer_evt: unhandled timer event (0x%04x)", 127 p_tle->event); 176 /* post event t 333 uint16_t event; local [all...] |
/system/tpm/trunks/ |
H A D | background_command_transceiver.cc | 31 base::WaitableEvent* event, 34 event->Signal(); 30 AssignAndSignal(std::string* destination, base::WaitableEvent* event, const std::string& source) argument
|
/system/bt/bta/hf_client/ |
H A D | bta_hf_client_act.cc | 332 uint16_t event = BTA_HF_CLIENT_DISC_FAIL_EVT; local 348 event = BTA_HF_CLIENT_DISC_OK_EVT; 355 /* send ourselves sdp ok/fail event */ 356 bta_hf_client_sm_execute(event, p_data);
|