Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 254) sorted by relevance

1234567891011

/hardware/qcom/msm8998/json-c/
Ddebug.c44 void mc_debug(const char *msg, ...) in mc_debug() argument
48 va_start(ap, msg); in mc_debug()
51 vsyslog(LOG_DEBUG, msg, ap); in mc_debug()
54 vprintf(msg, ap); in mc_debug()
59 void mc_error(const char *msg, ...) in mc_error() argument
62 va_start(ap, msg); in mc_error()
65 vsyslog(LOG_ERR, msg, ap); in mc_error()
68 vfprintf(stderr, msg, ap); in mc_error()
72 void mc_info(const char *msg, ...) in mc_info() argument
75 va_start(ap, msg); in mc_info()
[all …]
/hardware/interfaces/contexthub/1.0/default/
DContexthub.cpp59 bool Contexthub::setOsAppAsDestination(hub_message_t *msg, int hubId) { in setOsAppAsDestination() argument
66 msg->app_name = mCachedHubInfo[hubId].osAppName; in setOsAppAsDestination()
142 const ContextHubMsg &msg) { in sendMessageToHub() argument
147 if (!isValidHubId(hubId) || msg.msg.size() > UINT32_MAX) { in sendMessageToHub()
152 .app_name.id = msg.appName, in sendMessageToHub()
153 .message_type = msg.msgType, in sendMessageToHub()
154 .message_len = static_cast<uint32_t>(msg.msg.size()), // Note the check above in sendMessageToHub()
155 .message = static_cast<const uint8_t *>(msg.msg.data()), in sendMessageToHub()
181 hub_message_t msg; in reboot() local
183 if (setOsAppAsDestination(&msg, hubId) == false) { in reboot()
[all …]
/hardware/nxp/nfc/halimpl/utils/
DNxpNfcCapability.cpp35 tNFC_chipType capability::getChipType(uint8_t* msg, uint16_t msg_len) { in getChipType() argument
36 if ((msg != NULL) && (msg_len != 0)) { in getChipType()
40 if (msg[0] == 0x60 && msg[1] == 0x00) { in getChipType()
44 } else if (msg[0] == 0x40 && msg[1] == 0x01) { in getChipType()
48 } else if (msg[0] == 0x00 && msg[1] == 0x0A) { in getChipType()
55 ALOGD("%s HwVersion : 0x%02x", __func__, msg[offsetHwVersion]); in getChipType()
56 switch (msg[offsetHwVersion]) { in getChipType()
68 if (msg[offsetFwVersion] == 0x12) { in getChipType()
76 if (msg[offsetFwVersion] == 0x11) { in getChipType()
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_handler.cpp82 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
89 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
95 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
102 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
108 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
115 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
121 LocEngReqRelBIT* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
127 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
178 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_release_handler() local
185 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_release_handler()
[all …]
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_handler.cpp82 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
89 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
95 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
102 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
108 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
115 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
121 LocEngReqRelBIT* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
127 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
178 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_release_handler() local
185 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_release_handler()
[all …]
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_handler.cpp82 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
89 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
95 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
102 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
108 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
115 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
121 LocEngReqRelBIT* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
127 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
178 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_release_handler() local
185 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_release_handler()
[all …]
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_handler.cpp82 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
89 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
95 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
102 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
108 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
115 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
121 LocEngReqRelBIT* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
127 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
178 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_release_handler() local
185 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_release_handler()
[all …]
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_handler.cpp82 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
89 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
95 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
102 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
108 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
115 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
121 LocEngReqRelBIT* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
127 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
178 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_release_handler() local
185 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_release_handler()
[all …]
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_handler.cpp82 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
89 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
95 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
102 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
108 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
115 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
121 LocEngReqRelBIT* msg = in loc_eng_dmn_conn_loc_api_server_if_request_handler() local
127 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_request_handler()
178 LocEngReqRelWifi* msg = in loc_eng_dmn_conn_loc_api_server_if_release_handler() local
185 msg->send(); in loc_eng_dmn_conn_loc_api_server_if_release_handler()
[all …]
/hardware/qcom/gps/msm8909w_3100/utils/
DMsgTask.cpp38 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument
39 delete (LocMsg*)msg; in LocMsgDestroy()
75 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg()
76 if (msg) { in sendMsg()
77 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg()
89 LocMsg* msg; in run() local
90 msq_q_err_type result = msg_q_rcv((void*)mQ, (void **)&msg); in run()
97 msg->log(); in run()
99 msg->proc(); in run()
101 delete msg; in run()
/hardware/interfaces/wifi/1.2/default/
Dwifi_nan_iface.cpp45 const legacy_hal::NanResponseMsg& msg) { in WifiNanIface() argument
53 msg, &wifiNanStatus)) { in WifiNanIface()
58 switch (msg.response_type) { in WifiNanIface()
85 msg.body.publish_response.publish_id) in WifiNanIface()
119 msg.body.subscribe_response.subscribe_id) in WifiNanIface()
151 msg.body.nan_capabilities, &hidl_struct)) { in WifiNanIface()
196 msg.body.data_request_response.ndp_instance_id) in WifiNanIface()
237 << msg.response_type; in WifiNanIface()
243 [weak_ptr_this](const legacy_hal::NanDiscEngEventInd& msg) { in WifiNanIface() argument
251 hidl_struct.eventType = (NanClusterEventType)msg.event_type; in WifiNanIface()
[all …]
Dwifi_nan_iface.h54 Return<void> enableRequest(uint16_t cmd_id, const NanEnableRequest& msg,
56 Return<void> configRequest(uint16_t cmd_id, const NanConfigRequest& msg,
61 uint16_t cmd_id, const NanPublishRequest& msg,
67 uint16_t cmd_id, const NanSubscribeRequest& msg,
73 uint16_t cmd_id, const NanTransmitFollowupRequest& msg,
82 uint16_t cmd_id, const NanInitiateDataPathRequest& msg,
85 uint16_t cmd_id, const NanRespondToDataPathIndicationRequest& msg,
111 const NanEnableRequest& msg);
113 const NanConfigRequest& msg);
116 const NanPublishRequest& msg);
[all …]
/hardware/interfaces/biometrics/fingerprint/2.1/default/
DBiometricsFingerprint.cpp260 void BiometricsFingerprint::notify(const fingerprint_msg_t *msg) { in notify() argument
269 switch (msg->type) { in notify()
272 FingerprintError result = VendorErrorFilter(msg->data.error, &vendorCode); in notify()
282 VendorAcquiredFilter(msg->data.acquired.acquired_info, &vendorCode); in notify()
291 msg->data.enroll.finger.fid, in notify()
292 msg->data.enroll.finger.gid, in notify()
293 msg->data.enroll.samples_remaining); in notify()
295 msg->data.enroll.finger.fid, in notify()
296 msg->data.enroll.finger.gid, in notify()
297 msg->data.enroll.samples_remaining).isOk()) { in notify()
[all …]
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dnan.cpp70 NanEnableRequest* msg) in nan_enable_request() argument
95 ret = nanCommand->putNanEnable(id, msg); in nan_enable_request()
155 NanPublishRequest* msg) in nan_publish_request() argument
180 ret = nanCommand->putNanPublish(id, msg); in nan_publish_request()
198 NanPublishCancelRequest* msg) in nan_publish_cancel_request() argument
223 ret = nanCommand->putNanPublishCancel(id, msg); in nan_publish_cancel_request()
241 NanSubscribeRequest* msg) in nan_subscribe_request() argument
266 ret = nanCommand->putNanSubscribe(id, msg); in nan_subscribe_request()
284 NanSubscribeCancelRequest* msg) in nan_subscribe_cancel_request() argument
309 ret = nanCommand->putNanSubscribeCancel(id, msg); in nan_subscribe_cancel_request()
[all …]
/hardware/qcom/gps/msm8998/utils/
DMsgTask.cpp38 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument
39 delete (LocMsg*)msg; in LocMsgDestroy()
75 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg()
76 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg()
86 LocMsg* msg; in run() local
87 msq_q_err_type result = msg_q_rcv((void*)mQ, (void **)&msg); in run()
94 msg->log(); in run()
96 msg->proc(); in run()
98 delete msg; in run()
/hardware/qcom/gps/msm8909/utils/
DMsgTask.cpp39 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument
40 delete (LocMsg*)msg; in LocMsgDestroy()
76 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg()
77 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg()
87 LocMsg* msg; in run() local
88 msq_q_err_type result = msg_q_rcv((void*)mQ, (void **)&msg); in run()
95 msg->log(); in run()
97 msg->proc(); in run()
99 delete msg; in run()
/hardware/qcom/gps/msm8996/utils/
DMsgTask.cpp39 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument
40 delete (LocMsg*)msg; in LocMsgDestroy()
76 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg()
77 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg()
87 LocMsg* msg; in run() local
88 msq_q_err_type result = msg_q_rcv((void*)mQ, (void **)&msg); in run()
95 msg->log(); in run()
97 msg->proc(); in run()
99 delete msg; in run()
/hardware/ril/libril/
Dsap_service.cpp70 Return<void> addPayloadAndDispatchRequest(MsgHeader *msg, uint16_t reqLen, uint8_t *reqPtr);
96 MsgHeader *msg = (MsgHeader *)calloc(1, sizeof(MsgHeader)); in createMsgHeader() local
97 if (msg == NULL) { in createMsgHeader()
100 msg->token = token; in createMsgHeader()
101 msg->type = MsgType_REQUEST; in createMsgHeader()
102 msg->id = msgId; in createMsgHeader()
103 msg->error = Error_RIL_E_SUCCESS; in createMsgHeader()
104 return msg; in createMsgHeader()
107 Return<void> SapImpl::addPayloadAndDispatchRequest(MsgHeader *msg, uint16_t reqLen, in addPayloadAndDispatchRequest() argument
111 sendFailedResponse(msg->id, msg->token, 2, reqPtr, msg); in addPayloadAndDispatchRequest()
[all …]
/hardware/google/av/media/sfplugin/tests/
DReflectedParamUpdater_test.cpp149 ReflectedParamUpdater::Dict msg; in TEST_F() local
150 msg.emplace("int.value", int32_t(12)); in TEST_F()
151 msg.emplace("vendor.long.value", int64_t(34)); in TEST_F()
156 updater.getParamIndicesFromMessage(msg, &indices); in TEST_F()
174 updater.updateParamsFromMessage(msg, &params); in TEST_F()
181 msg = updater.getParams(params); in TEST_F()
182 ASSERT_EQ(1u, msg.count("int.value")); in TEST_F()
183 EXPECT_EQ(true, msg["int.value"].find(&c2Value)); in TEST_F()
187 ASSERT_EQ(1u, msg.count("vendor.long.value")); in TEST_F()
188 EXPECT_EQ(true, msg["vendor.long.value"].find(&c2Value)); in TEST_F()
[all …]
/hardware/akm/AK8975_FS/akmdfs/
DAKFS_Disp.c64 char msg[20]; in Menu_Main() local
65 memset(msg, 0, sizeof(msg)); in Menu_Main()
75 fgets(msg, 10, stdin); in Menu_Main()
80 if (!strncmp(msg, "1", 1)) { in Menu_Main()
82 } else if (!strncmp(msg, "2", 1)) { in Menu_Main()
84 } else if (strncmp(msg, "Q", 1) == 0 || strncmp(msg, "q", 1) == 0) { in Menu_Main()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu_nl80211.c45 static int dhd_nl_finish_handler(struct nl_msg *msg, void *arg) in dhd_nl_finish_handler() argument
52 static int dhd_nl_ack_handler(struct nl_msg *msg, void *arg) in dhd_nl_ack_handler() argument
59 static int dhd_nl_valid_handler(struct nl_msg *msg, void *arg) in dhd_nl_valid_handler() argument
103 struct nl_msg *msg; in dhd_nl_do_testmode() local
106 msg = nlmsg_alloc(); in dhd_nl_do_testmode()
107 if (msg == NULL) in dhd_nl_do_testmode()
111 genlmsg_put(msg, 0, 0, dhd_nli->nl_id, 0, 0, in dhd_nl_do_testmode()
113 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, dhd_nli->ifidx); in dhd_nl_do_testmode()
114 NLA_PUT(msg, NL80211_ATTR_TESTDATA, sizeof(*ioc), ioc); in dhd_nl_do_testmode()
116 err = nl_send_auto_complete(dhd_nli->nl, msg); in dhd_nl_do_testmode()
[all …]
/hardware/qcom/gps/msm8960/core/
DMsgTask.cpp43 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument
44 delete (LocMsg*)msg; in LocMsgDestroy()
89 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg()
90 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg()
103 LocMsg* msg; in loopMain() local
109 msq_q_err_type result = msg_q_rcv((void*)copy->mQ, (void **)&msg); in loopMain()
120 msg->log(); in loopMain()
122 msg->proc(); in loopMain()
124 delete msg; in loopMain()
/hardware/qcom/gps/core/
DMsgTask.cpp43 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument
44 delete (LocMsg*)msg; in LocMsgDestroy()
104 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg()
105 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg()
118 LocMsg* msg; in loopMain() local
124 msq_q_err_type result = msg_q_rcv((void*)copy->mQ, (void **)&msg); in loopMain()
135 msg->log(); in loopMain()
137 msg->proc(); in loopMain()
139 delete msg; in loopMain()
/hardware/qcom/gps/msm8994/core/
DMsgTask.cpp43 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument
44 delete (LocMsg*)msg; in LocMsgDestroy()
104 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg()
105 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg()
118 LocMsg* msg; in loopMain() local
124 msq_q_err_type result = msg_q_rcv((void*)copy->mQ, (void **)&msg); in loopMain()
135 msg->log(); in loopMain()
137 msg->proc(); in loopMain()
139 delete msg; in loopMain()
/hardware/qcom/gps/msm8084/core/
DMsgTask.cpp43 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument
44 delete (LocMsg*)msg; in LocMsgDestroy()
104 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg()
105 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg()
118 LocMsg* msg; in loopMain() local
124 msq_q_err_type result = msg_q_rcv((void*)copy->mQ, (void **)&msg); in loopMain()
135 msg->log(); in loopMain()
137 msg->proc(); in loopMain()
139 delete msg; in loopMain()

1234567891011