Home
last modified time | relevance | path

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

12345

/hardware/ti/omap4-aah/libtiutils/
DMessageQueue.cpp100 android::status_t MessageQueue::get(Message* msg) in get() argument
104 if(!msg) in get()
118 char* p = (char*) msg; in get()
121 while( read_bytes < sizeof(*msg) ) in get()
123 int err = read(this->fd_read, p, sizeof(*msg) - read_bytes); in get()
136 MSGQ_LOGDB("MQ.get(%d,%p,%p,%p,%p)", msg->command, msg->arg1,msg->arg2,msg->arg3,msg->arg4); in get()
188 android::status_t MessageQueue::put(Message* msg) in put() argument
192 char* p = (char*) msg; in put()
195 if(!msg) in put()
210 MSGQ_LOGDB("MQ.put(%d,%p,%p,%p,%p)", msg->command, msg->arg1,msg->arg2,msg->arg3,msg->arg4); in put()
[all …]
/hardware/ti/omap4xxx/libtiutils/
DMessageQueue.cpp99 android::status_t MessageQueue::get(Message* msg) in get() argument
103 if(!msg) in get()
117 char* p = (char*) msg; in get()
120 while( read_bytes < sizeof(*msg) ) in get()
122 int err = read(this->fd_read, p, sizeof(*msg) - read_bytes); in get()
135 MSGQ_LOGDB("MQ.get(%d,%p,%p,%p,%p)", msg->command, msg->arg1,msg->arg2,msg->arg3,msg->arg4); in get()
187 android::status_t MessageQueue::put(Message* msg) in put() argument
191 char* p = (char*) msg; in put()
194 if(!msg) in put()
209 MSGQ_LOGDB("MQ.put(%d,%p,%p,%p,%p)", msg->command, msg->arg1,msg->arg2,msg->arg3,msg->arg4); in put()
[all …]
/hardware/invensense/60xx/mlsdk/platform/linux/
Dmlsl_linux_mpu.c283 struct mpu_read_write msg; in inv_serial_write() local
290 msg.address = 0; /* not used */ in inv_serial_write()
291 msg.length = length; in inv_serial_write()
292 msg.data = (unsigned char*)data; in inv_serial_write()
294 if ((result = ioctl((int)(uintptr_t)sl_handle, MPU_WRITE, &msg))) { in inv_serial_write()
321 struct mpu_read_write msg; in inv_serial_read() local
327 msg.address = registerAddr; in inv_serial_read()
328 msg.length = length; in inv_serial_read()
329 msg.data = data; in inv_serial_read()
331 result = ioctl((int)(uintptr_t)sl_handle, MPU_READ, &msg); in inv_serial_read()
[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/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/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/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_Log.c32 void _Exynos_OSAL_Log(EXYNOS_LOG_LEVEL logLevel, const char *tag, const char *msg, ...) in _Exynos_OSAL_Log() argument
36 va_start(argptr, msg); in _Exynos_OSAL_Log()
40 __android_log_vprint(ANDROID_LOG_DEBUG, tag, msg, argptr); in _Exynos_OSAL_Log()
43 __android_log_vprint(ANDROID_LOG_INFO, tag, msg, argptr); in _Exynos_OSAL_Log()
46 __android_log_vprint(ANDROID_LOG_WARN, tag, msg, argptr); in _Exynos_OSAL_Log()
49 __android_log_vprint(ANDROID_LOG_ERROR, tag, msg, argptr); in _Exynos_OSAL_Log()
52 __android_log_vprint(ANDROID_LOG_VERBOSE, tag, msg, argptr); in _Exynos_OSAL_Log()
/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/intel/img/libdrm/
Dmissing47 msg="missing on your system"
62 msg="probably too old"
144 WARNING: \`$1' is $msg. You should only need it if
153 WARNING: \`$1' is $msg. You should only need it if
162 WARNING: \`$1' is $msg. You should only need it if
181 WARNING: \`$1' is $msg. You should only need it if
192 WARNING: \`$1' is needed, but is $msg.
215 WARNING: \`$1' $msg. You should only need it if
245 WARNING: \`$1' is $msg. You should only need it if
268 WARNING: \`$1' is $msg. You should only need it if
[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/samsung_slsi/exynos5/libexynosutils/
DExynos_log.c29 void Exynos_Log(EXYNOS_DEV_LOG_LEVEL logLevel, const char *tag, const char *msg, ...) in Exynos_Log() argument
33 va_start(argptr, msg); in Exynos_Log()
37 __android_log_vprint(ANDROID_LOG_DEBUG, tag, msg, argptr); in Exynos_Log()
40 __android_log_vprint(ANDROID_LOG_WARN, tag, msg, argptr); in Exynos_Log()
43 __android_log_vprint(ANDROID_LOG_ERROR, tag, msg, argptr); in Exynos_Log()
46 __android_log_vprint(ANDROID_LOG_VERBOSE, tag, msg, argptr); in Exynos_Log()
/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/intel/img/hwcomposer/common/observers/
DUeventObserver.cpp187 char *msg = mUeventMessage; in onUevent() local
189 if (strncmp(msg, envelope, strlen(envelope)) != 0) in onUevent()
192 msg += strlen(msg) + 1; in onUevent()
196 while (*msg) { in onUevent()
197 key = String8(msg); in onUevent()
199 DLOGTRACE("received Uevent: %s", msg); in onUevent()
204 ELOGTRACE("no listener for uevent %s", msg); in onUevent()
207 msg += strlen(msg) + 1; in onUevent()
/hardware/qcom/display/msm8084/libqservice/
DIQHDMIClient.cpp57 void onCECMessageRecieved(char *msg, ssize_t len) in onCECMessageRecieved() argument
63 memcpy(buf, msg, len); in onCECMessageRecieved()
85 const void* msg; in onTransact() local
87 msg = data.readInplace(len); in onTransact()
89 msg = NULL; in onTransact()
92 onCECMessageRecieved((char*) msg, len); in onTransact()
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Server/
DNetlinkServer.cpp74 struct msghdr msg; in run() local
93 memset(&msg, 0, sizeof(msg)); in run()
96 msg.msg_iov = &iov; in run()
97 msg.msg_iovlen = 1; in run()
98 msg.msg_name = &src_addr; in run()
99 msg.msg_namelen = sizeof(src_addr); in run()
105 if ((len = recvmsg(serverSock, &msg, 0)) < 0) { in run()
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
DNetlinkConnection.cpp238 struct msghdr msg; in writeData() local
263 msg.msg_name = (void *)&dest_addr; in writeData()
264 msg.msg_namelen = sizeof(dest_addr); in writeData()
265 msg.msg_iov = &iov; in writeData()
266 msg.msg_iovlen = 1; in writeData()
267 msg.msg_control = NULL; in writeData()
268 msg.msg_controllen = 0; in writeData()
270 ret = sendmsg(socketDescriptor, &msg, 0); in writeData()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCameraAdapter.cpp261 TIUTILS::Message *msg = mEventSignalQ.itemAt(i); in initialize() local
263 if ( NULL != msg ) { in initialize()
264 free(msg); in initialize()
1167 TIUTILS::Message msg; in switchToExecuting() local
1172 msg.command = CommandHandler::CAMERA_SWITCH_TO_EXECUTING; in switchToExecuting()
1173 msg.arg1 = mErrorNotifier; in switchToExecuting()
1174 ret = mCommandHandler->put(&msg); in switchToExecuting()
2265 TIUTILS::Message msg; in autoFocus() local
2282 msg.command = CommandHandler::CAMERA_PERFORM_AUTOFOCUS; in autoFocus()
2283 msg.arg1 = mErrorNotifier; in autoFocus()
[all …]
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/src/
DLCML_DspCodec.c871 struct DSP_MSG msg; in QueueBuffer() local
1126 msg.dwCmd = commandId; in QueueBuffer()
1127 msg.dwArg1 = (int)pDmmBuf->pMapped; in QueueBuffer()
1128 msg.dwArg2 = 0; in QueueBuffer()
1130 status = DSPNode_PutMessage (phandle->dspCodec->hNode, &msg, DSP_FOREVER); in QueueBuffer()
1179 struct DSP_MSG msg = {USN_GPPMSG_PAUSE, 0, 0}; in ControlCodec() local
1183 msg.dwCmd, in ControlCodec()
1184 msg.dwArg1, in ControlCodec()
1187 status = DSPNode_PutMessage (phandle->dspCodec->hNode, &msg, DSP_FOREVER); in ControlCodec()
1193 struct DSP_MSG msg = {USN_GPPMSG_PLAY, 0, 0}; in ControlCodec() local
[all …]
/hardware/ti/omap4xxx/camera/
DANativeWindowDisplayAdapter.cpp192 TIUTILS::Message msg; in ~ANativeWindowDisplayAdapter() local
212 msg.command = DisplayThread::DISPLAY_EXIT; in ~ANativeWindowDisplayAdapter()
215 msg.arg1 = &sem; in ~ANativeWindowDisplayAdapter()
218 mDisplayThread->msgQ().put(&msg); in ~ANativeWindowDisplayAdapter()
360 TIUTILS::Message msg; in enableDisplay() local
391 msg.command = DisplayThread::DISPLAY_START; in enableDisplay()
394 msg.arg1 = &sem; in enableDisplay()
397 mDisplayThread->msgQ().put(&msg); in enableDisplay()
440 TIUTILS::Message msg; in disableDisplay() local
441 msg.command = DisplayThread::DISPLAY_STOP; in disableDisplay()
[all …]
/hardware/ti/omap4-aah/camera/
DANativeWindowDisplayAdapter.cpp122 Utils::Message msg; in ~ANativeWindowDisplayAdapter() local
142 msg.command = DisplayThread::DISPLAY_EXIT; in ~ANativeWindowDisplayAdapter()
145 msg.arg1 = &sem; in ~ANativeWindowDisplayAdapter()
148 mDisplayThread->msgQ().put(&msg); in ~ANativeWindowDisplayAdapter()
289 Utils::Message msg; in enableDisplay() local
314 msg.command = DisplayThread::DISPLAY_START; in enableDisplay()
317 msg.arg1 = &sem; in enableDisplay()
320 mDisplayThread->msgQ().put(&msg); in enableDisplay()
365 Utils::Message msg; in disableDisplay() local
366 msg.command = DisplayThread::DISPLAY_STOP; in disableDisplay()
[all …]
/hardware/libhardware/include/hardware/
Dqemud.h105 qemud_channel_send(int fd, const void* msg, int msglen) in qemud_channel_send() argument
110 msglen = strlen((const char*)msg); in qemud_channel_send()
121 if (qemud_fd_write(fd, msg, msglen) != msglen) { in qemud_channel_send()
129 qemud_channel_recv(int fd, void* msg, int msgsize) in qemud_channel_recv() argument
146 if (qemud_fd_read(fd, msg, size) != size) { in qemud_channel_recv()
/hardware/qcom/display/msm8960/libqservice/
DIQClient.cpp44 virtual status_t notifyCallback(uint32_t msg, uint32_t value) { in notifyCallback() argument
47 data.writeInt32(msg); in notifyCallback()
65 uint32_t msg = data.readInt32(); in onTransact() local
67 notifyCallback(msg, value); in onTransact()
/hardware/qcom/display/msm8974/libqservice/
DIQClient.cpp44 virtual status_t notifyCallback(uint32_t msg, uint32_t value) { in notifyCallback() argument
47 data.writeInt32(msg); in notifyCallback()
65 uint32_t msg = data.readInt32(); in onTransact() local
67 notifyCallback(msg, value); in onTransact()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dmessage_layer.c49 long msg; in inv_get_message_level_0() local
50 msg = mh.message; in inv_get_message_level_0()
54 return msg; in inv_get_message_level_0()
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
Dmessage_layer.c49 long msg; in inv_get_message_level_0() local
50 msg = mh.message; in inv_get_message_level_0()
54 return msg; in inv_get_message_level_0()

12345