Searched defs:msg (Results 1 - 25 of 54) sorted by relevance

123

/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
H A DExynos_OSAL_Log.c32 void _Exynos_OSAL_Log(EXYNOS_LOG_LEVEL logLevel, const char *tag, const char *msg, ...) argument
36 va_start(argptr, msg);
40 __android_log_vprint(ANDROID_LOG_DEBUG, tag, msg, argptr);
43 __android_log_vprint(ANDROID_LOG_INFO, tag, msg, argptr);
46 __android_log_vprint(ANDROID_LOG_WARN, tag, msg, argptr);
49 __android_log_vprint(ANDROID_LOG_ERROR, tag, msg, argptr);
52 __android_log_vprint(ANDROID_LOG_VERBOSE, tag, msg, argptr);
/hardware/samsung_slsi/exynos5/libexynosutils/
H A DExynos_log.c29 void Exynos_Log(EXYNOS_DEV_LOG_LEVEL logLevel, const char *tag, const char *msg, ...) argument
33 va_start(argptr, msg);
37 __android_log_vprint(ANDROID_LOG_DEBUG, tag, msg, argptr);
40 __android_log_vprint(ANDROID_LOG_WARN, tag, msg, argptr);
43 __android_log_vprint(ANDROID_LOG_ERROR, tag, msg, argptr);
46 __android_log_vprint(ANDROID_LOG_VERBOSE, tag, msg, argptr);
/hardware/invensense/libsensors_iio/software/core/mllite/
H A Dmessage_layer.c49 long msg; local
50 msg = mh.message;
54 return msg;
/hardware/ti/wlan/wl1271/platforms/os/linux/src/
H A Dipc_k.c74 TI_UINT8 *msg; local
101 msg = (char *)NLMSG_DATA(nlh);
104 memcpy(msg,pEvData,msgSize);
/hardware/ti/wpan/tools/FM/FmRadioIf/src/java/com/ti/core/
H A DJFmLog.java24 public static int v(String tag, String msg) { argument
25 return Log.v(tag, msg);
28 public static int d(String tag, String msg) { argument
29 return Log.d(tag, msg);
32 public static int i(String tag, String msg) { argument
33 return Log.i(tag, msg);
36 public static int w(String tag, String msg) { argument
37 return Log.w(tag, msg);
40 public static int e(String tag, String msg) { argument
41 return Log.e(tag, msg);
[all...]
/hardware/ril/mock-ril/src/cpp/
H A Dutil.cpp86 v8::Handle<v8::Message> msg = try_catch->Message(); local
87 if (msg.IsEmpty()) {
91 LogErrorMessage(msg, ToCString(exception));
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
H A DNetlinkConnection.cpp238 struct msghdr msg; local
263 msg.msg_name = (void *)&dest_addr;
264 msg.msg_namelen = sizeof(dest_addr);
265 msg.msg_iov = &iov;
266 msg.msg_iovlen = 1;
267 msg.msg_control = NULL;
268 msg.msg_controllen = 0;
270 ret = sendmsg(socketDescriptor, &msg, 0);
/hardware/libhardware/include/hardware/
H A Dqemud.h105 qemud_channel_send(int fd, const void* msg, int msglen) argument
110 msglen = strlen((const char*)msg);
121 if (qemud_fd_write(fd, msg, msglen) != msglen) {
129 qemud_channel_recv(int fd, void* msg, int msgsize) argument
146 if (qemud_fd_read(fd, msg, size) != size) {
/hardware/libhardware_legacy/uevent/
H A Duevent.c34 void (*handler)(void *data, const char *msg, int msg_len);
102 int uevent_add_native_handler(void (*handler)(void *data, const char *msg, int msg_len), argument
120 int uevent_remove_native_handler(void (*handler)(void *data, const char *msg, int msg_len)) argument
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/src/
H A Dmm_camera_sock.c104 * DESCRIPTION: send msg through domain socket
106 * mm_camera_sock_msg_packet_t *msg: pointer to msg to be sent over domain socket
108 * return the total bytes of sent msg
112 void *msg,
121 if (msg == NULL) {
122 CDBG("%s: msg is NULL", __func__);
129 iov[0].iov_base = msg;
138 /* if sendfd is vlaid, we need to pass it through control msg */
144 CDBG("%s: Got ctrl msg pointe
110 mm_camera_socket_sendmsg( int fd, void *msg, uint32_t buf_size, int sendfd) argument
170 mm_camera_socket_recvmsg( int fd, void *msg, uint32_t buf_size, int *rcvdfd) argument
[all...]
/hardware/qcom/camera/mm-camera-interface/
H A Dmm_camera_sock.c104 * DESCRIPTION: send msg through domain socket
106 * mm_camera_sock_msg_packet_t *msg: pointer to msg to be sent over domain socket
108 * return the total bytes of sent msg
112 void *msg,
121 if (msg == NULL) {
122 CDBG("%s: msg is NULL", __func__);
129 iov[0].iov_base = msg;
138 // if sendfd is vlaid, we need to pass it through control msg
144 CDBG("%s: Got ctrl msg pointe
110 mm_camera_socket_sendmsg( int fd, void *msg, uint32_t buf_size, int sendfd) argument
170 mm_camera_socket_recvmsg( int fd, void *msg, uint32_t buf_size, int *rcvdfd) argument
[all...]
/hardware/qcom/gps/loc_api/libloc_api_50001/
H A Dloc_eng_ni.cpp184 loc_eng_msg_inform_ni_response *msg = NULL; local
188 msg = new loc_eng_msg_inform_ni_response(loc_eng_data_p,
198 if (NULL != msg) {
199 loc_eng_msg_sender(loc_eng_data_p, msg);
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Server/
H A DNetlinkServer.cpp74 struct msghdr msg; local
93 memset(&msg, 0, sizeof(msg));
96 msg.msg_iov = &iov;
97 msg.msg_iovlen = 1;
98 msg.msg_name = &src_addr;
99 msg.msg_namelen = sizeof(src_addr);
105 if ((len = recvmsg(serverSock, &msg, 0)) < 0) {
/hardware/ti/wlan/mac80211/ti-utils/
H A Dmisc_cmds.c21 struct nl_msg *msg,
50 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA);
55 NLA_PUT_U32(msg, WL1271_TM_ATTR_CMD_ID, WL1271_TM_CMD_NVS_PUSH);
56 NLA_PUT(msg, WL1271_TM_ATTR_DATA, filestat.st_size, map);
58 nla_nest_end(msg, key);
82 struct nl_msg *msg,
94 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA);
98 NLA_PUT_U32(msg, WL1271_TM_ATTR_CMD_ID, WL1271_TM_CMD_NVS_PUSH);
99 NLA_PUT_U32(msg, WL1271_TM_ATTR_IE_ID, WL1271_TM_CMD_NVS_PUSH);
101 nla_nest_end(msg, ke
19 handle_push_nvs(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
121 get_nvs_mac(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
158 set_nvs_mac(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
223 set_ref_nvs(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
262 set_ref_nvs2(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
305 set_upd_nvs(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
346 get_dump_nvs(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
373 set_autofem(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
408 set_fem_manuf(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
[all...]
H A Dplt.c20 #include <netlink/msg.h>
43 struct nl_msg *msg, int argc, char **argv)
62 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA);
68 NLA_PUT_U32(msg, WL1271_TM_ATTR_CMD_ID, WL1271_TM_CMD_SET_PLT_MODE);
69 NLA_PUT_U32(msg, WL1271_TM_ATTR_PLT_MODE, pmode);
71 nla_nest_end(msg, key);
85 struct nl_msg *msg, int argc, char **argv)
98 key = nla_nest_start(msg, NL80211_ATTR_TESTDATA);
104 NLA_PUT_U32(msg, WL1271_TM_ATTR_CMD_ID, WL1271_TM_CMD_TEST);
105 NLA_PUT(msg, WL1271_TM_ATTR_DAT
42 plt_power_mode(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
84 plt_tune_channel(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
122 plt_ref_point(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
159 calib_valid_handler(struct nl_msg *msg, void *arg) argument
215 plt_tx_bip(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
267 plt_tx_tone(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
306 plt_tx_cont(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
379 plt_tx_stop(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
409 plt_start_rx_statcs(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
439 plt_stop_rx_statcs(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
469 plt_reset_rx_statcs(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
499 display_rx_statcs(struct nl_msg *msg, void *arg) argument
533 plt_get_rx_statcs(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
569 plt_rx_statistics(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
644 plt_calibrate(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
[all...]
H A Dcalibrator.c20 #include <netlink/msg.h>
212 struct nl_msg *msg,
262 static int finish_handler(struct nl_msg *msg, void *arg) argument
270 static int ack_handler(struct nl_msg *msg, void *arg) argument
283 struct nl_msg *msg; local
417 msg = nlmsg_alloc();
418 if (!msg) {
430 genlmsg_put(msg, 0, 0, genl_family_get_id(state->nl80211), 0,
435 NLA_PUT_U32(msg, NL80211_ATTR_WIPHY, devidx);
438 NLA_PUT_U32(msg, NL80211_ATTR_IFINDE
210 print_help(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, int argc, char **argv) argument
[all...]
/hardware/qcom/gps/loc_api/libloc_api/
H A Dloc_eng_ni.cpp250 static void loc_ni_request_handler(const char *msg, const rpc_loc_ni_event_s_type *ni_req) argument
275 LOGD("NI Notification: %s, event: %d", msg, ni_req->event);
/hardware/ti/omap4xxx/libtiutils/
H A DMessageQueue.cpp93 @param msg Message structure to hold the message to be retrieved
99 android::status_t MessageQueue::get(Message* msg) argument
103 if(!msg)
105 MSGQ_LOGEA("msg is NULL");
117 char* p = (char*) msg;
120 while( read_bytes < sizeof(*msg) )
122 int err = read(this->fd_read, p, sizeof(*msg) - read_bytes);
135 MSGQ_LOGDB("MQ.get(%d,%p,%p,%p,%p)", msg->command, msg->arg1,msg
187 put(Message* msg) argument
288 Message msg; local
[all...]
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/
H A Ddriver_mac80211_nl.c12 #include <netlink/msg.h>
43 int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg,
56 static int get_link_signal(struct nl_msg *msg, void *arg) argument
59 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg));
106 struct nl_msg *msg; local
112 msg = nlmsg_alloc();
113 if (!msg)
116 genlmsg_put(msg, 0, 0, genl_family_get_id(drv->nl80211), 0,
119 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, drv->ifindex);
120 NLA_PUT(msg, NL80211_ATTR_MA
150 struct nl_msg *msg; local
[all...]
/hardware/ti/wlan/wl1271/platforms/os/common/src/
H A Dtracebuf.c48 char msg[MAX_TB_MSG]; member in struct:__anon2753
186 vsprintf(&tb_control->entry[pos].msg[0], format, ap);
210 tb_control->entry[pos].loc, tb_control->entry[pos].msg));
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
H A Ddriver_cmd_nl80211.c31 int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg,
50 struct nl_msg *msg; local
54 msg = nlmsg_alloc();
55 if (!msg)
58 genlmsg_put(msg, 0, 0, drv->global->nl80211_id, 0, 0,
66 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, drv->ifindex);
67 NLA_PUT_U32(msg, NL80211_ATTR_PS_STATE, ps_state);
69 ret = send_and_recv_msgs(drv, msg, NULL, NULL);
70 msg = NULL;
74 nlmsg_free(msg);
78 get_power_mode_handler(struct nl_msg *msg, void *arg) argument
104 struct nl_msg *msg; local
[all...]
/hardware/invensense/mlsdk/platform/linux/
H A Dmlsl_linux_mpu.c283 struct mpu_read_write msg; local
290 msg.address = 0; /* not used */
291 msg.length = length;
292 msg.data = (unsigned char*)data;
294 if ((result = ioctl((int)sl_handle, MPU_WRITE, &msg))) {
321 struct mpu_read_write msg; local
327 msg.address = registerAddr;
328 msg.length = length;
329 msg.data = data;
331 result = ioctl((int)sl_handle, MPU_READ, &msg);
359 struct mpu_read_write msg; local
391 struct mpu_read_write msg; local
427 struct mpu_read_write msg; local
463 struct mpu_read_write msg; local
[all...]
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/
H A Ddriver_cmd_nl80211.c31 int send_and_recv_msgs(struct wpa_driver_nl80211_data *drv, struct nl_msg *msg,
50 struct nl_msg *msg; local
54 msg = nlmsg_alloc();
55 if (!msg)
58 genlmsg_put(msg, 0, 0, drv->global->nl80211_id, 0, 0,
66 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, drv->ifindex);
67 NLA_PUT_U32(msg, NL80211_ATTR_PS_STATE, ps_state);
69 ret = send_and_recv_msgs(drv, msg, NULL, NULL);
70 msg = NULL;
74 nlmsg_free(msg);
78 get_power_mode_handler(struct nl_msg *msg, void *arg) argument
104 struct nl_msg *msg; local
[all...]
/hardware/ti/omap4xxx/security/tf_daemon/
H A Dlib_manifest2.c39 #define LOG_ERROR(pContext, msg, ...) log_error("%s - line %d: " msg, pContext->pManifestName, pContext->nLine, __VA_ARGS__)
40 static void log_error(const char* msg, ...) argument
43 va_start(arg_list, msg);
44 exosTraceVPrintf("LIB_MANIFEST2", EXOS_TRACE_ORG_APPLI, K_PRINT_ERROR_LOG, msg, &arg_list);
/hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/
H A DFmRxRdsConfig.java212 public void showAlert(Context context, String title, String msg) { argument
215 android.R.drawable.ic_dialog_alert).setMessage(msg)

Completed in 409 milliseconds

123