/hardware/qcom/msm8998/json-c/ |
D | debug.c | 44 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/ |
D | Contexthub.cpp | 59 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/ |
D | NxpNfcCapability.cpp | 35 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/sm8150/gps/utils/ |
D | MsgTask.cpp | 39 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 if (msg && this) { in sendMsg() 78 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg() 81 __func__, msg, this); in sendMsg() 93 LocMsg* msg; in run() local 94 msq_q_err_type result = msg_q_rcv((void*)mQ, (void **)&msg); in run() 101 msg->log(); in run() 103 msg->proc(); in run() [all …]
|
/hardware/st/nfc/st21nfc/hal/ |
D | halcore.cc | 57 static bool HalEnqueueThreadMessage(HalInstance* inst, ThreadMesssage* msg); 58 static bool HalDequeueThreadMessage(HalInstance* inst, ThreadMesssage* msg); 245 ThreadMesssage msg; in HalDestroy() local 246 msg.command = MSG_EXIT_REQUEST; in HalDestroy() 247 msg.payload = 0; in HalDestroy() 248 msg.length = 0; in HalDestroy() 250 HalEnqueueThreadMessage(inst, &msg); in HalDestroy() 281 ThreadMesssage msg; in HalSendDownstream() local 292 msg.command = MSG_TX_DATA; in HalSendDownstream() 293 msg.payload = 0; in HalSendDownstream() [all …]
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_handler.cpp | 82 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/sdm845/gps/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_handler.cpp | 82 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/sdm845/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_handler.cpp | 82 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/ |
D | loc_eng_dmn_conn_handler.cpp | 82 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/sdm845/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_handler.cpp | 82 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/ |
D | loc_eng_dmn_conn_handler.cpp | 82 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/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_handler.cpp | 82 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/ |
D | loc_eng_dmn_conn_handler.cpp | 82 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/sdm845/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_handler.cpp | 82 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/ |
D | loc_eng_dmn_conn_handler.cpp | 82 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/sdm845/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_handler.cpp | 82 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/sdm845/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_handler.cpp | 82 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/interfaces/wifi/1.3/default/ |
D | wifi_nan_iface.cpp | 49 const legacy_hal::NanResponseMsg& msg) { in WifiNanIface() argument 57 msg, &wifiNanStatus)) { in WifiNanIface() 62 switch (msg.response_type) { in WifiNanIface() 89 msg.body.publish_response.publish_id) in WifiNanIface() 123 msg.body.subscribe_response.subscribe_id) in WifiNanIface() 155 msg.body.nan_capabilities, &hidl_struct)) { in WifiNanIface() 200 msg.body.data_request_response.ndp_instance_id) in WifiNanIface() 241 << msg.response_type; in WifiNanIface() 247 [weak_ptr_this](const legacy_hal::NanDiscEngEventInd& msg) { in WifiNanIface() argument 255 hidl_struct.eventType = (NanClusterEventType)msg.event_type; in WifiNanIface() [all …]
|
/hardware/qcom/gps/msm8909w_3100/utils/ |
D | MsgTask.cpp | 38 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/qcom/sdm845/gps/sdm845/utils/ |
D | MsgTask.cpp | 40 static void LocMsgDestroy(void* msg) { in LocMsgDestroy() argument 41 delete (LocMsg*)msg; in LocMsgDestroy() 77 void MsgTask::sendMsg(const LocMsg* msg) const { in sendMsg() 78 if (msg) { in sendMsg() 79 msg_q_snd((void*)mQ, (void*)msg, LocMsgDestroy); in sendMsg() 91 LocMsg* msg; in run() local 92 msq_q_err_type result = msg_q_rcv((void*)mQ, (void **)&msg); in run() 99 msg->log(); in run() 101 msg->proc(); in run() 103 delete msg; in run()
|
/hardware/interfaces/biometrics/fingerprint/2.1/default/ |
D | BiometricsFingerprint.cpp | 260 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/ |
D | nan.cpp | 70 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/ril/libril/ |
D | sap_service.cpp | 70 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/ |
D | ReflectedParamUpdater_test.cpp | 149 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, ¶ms); 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/qcom/sdm845/gps/msm8909/utils/ |
D | MsgTask.cpp | 39 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()
|