/hardware/ril/mock-ril/src/js/ |
D | simulated_radio.js | 366 this.rilRequestGetCurrentCalls = function(req) { // 9 argument 389 this.rilRequestDial = function(req) { // 10 argument 392 newCall = this.addCall(CALLSTATE_DIALING, req.data.address, ''); 429 this.rilRequestHangUp = function(req) { // 12 argument 430 print('Radio: rilRequestHangUp data.connection_index=' + req.data.connectionIndex); 431 if (this.removeCall(req.data.connectionIndex) == null) { 444 this.rilRequestHangupWaitingOrBackground = function(req) { // 13 argument 480 this.rilRequestHangUpForegroundResumeBackground = function(req) { //14 argument 525 this.rilRequestSwitchWaitingOrHoldingAndActive = function(req) { // 15 argument 528 print('Radio: req.reqNum = ' + req.reqNum); [all …]
|
D | ctrl_server.js | 24 this.ctrlGetRadioState = function(req) { argument 34 this.ctrlSetRadioState = function(req) { argument 41 radioReq = ctrlSchema['ril_proto.CtrlReqRadioState'].parse(req.protobuf); 56 this.process = function(req) { argument 58 print('CtrlServer E: req.cmd=' + req.cmd + ' req.token=' + req.token); 67 result = (this.ctrlDispatchTable[req.cmd]).call(this, req); 69 print('ctrlServer: Unknown cmd=' + req.cmd); 74 sendCtrlRequestComplete(result.ctrlStatus, req.cmd, 75 req.token, result.responseProtobuf); 78 print('CtrlServer X: req.cmd=' + req.cmd + ' req.token=' + req.token); [all …]
|
D | simulated_icc.js | 66 this.rilRequestGetSimStatus = function(req) { // 1 argument 77 this.rilRequestEnterSimPin = function(req) { // 2 argument 78 print('Icc: rilRequestEnterSimPin req.data.pin=' + req.data.pin); 87 this.rilRequestGetImsi = function(req) { // 11 argument 98 this.rilRequestOperator = function(req) { // 22 argument 110 this.rilRequestGetImei = function(req) { // 38 argument 121 this.rilRequestGetImeisv = function(req) { // 39 argument 135 this.process = function(req) { argument 145 result = (this.simDispatchTable[req.reqNum]).call(this, req); 147 print('Icc: Unknown reqNum=' + req.reqNum); [all …]
|
D | simulated_radio_tests.js | 108 var req = new Object(); 109 req.reqNum = CTRL_CMD_SET_MT_CALL; 110 req.data = new Object(); 111 req.data.phoneNumber = '6502249208'; 118 result = simulatedRadio.ctrlServerCmdStartInComingCall(req); 127 req.data.phoneNumber = '6502223456'; 128 result = simulatedRadio.ctrlServerCmdStartInComingCall(req); 147 result = simulatedRadio.ctrlServerCmdStartInComingCall(req); 157 result = simulatedRadio.ctrlServerCmdStartInComingCall(req); 167 result = simulatedRadio.ctrlServerCmdStartInComingCall(req); [all …]
|
D | mock_ril.js | 187 req = new Request(reqNum, token, requestProtobuf, rilSchema, entry.schemaName); 189 entry.components[i].add(req);
|
/hardware/ril/mock-ril/src/cpp/ |
D | requests.cpp | 79 ril_proto::ReqEnterSimPin *req = new ril_proto::ReqEnterSimPin(); in ReqEnterSimPin() local 81 req->set_pin((((char **)data)[0])); in ReqEnterSimPin() 82 buffer = Buffer::New(req->ByteSize()); in ReqEnterSimPin() 83 req->SerializeToArray(buffer->data(), buffer->length()); in ReqEnterSimPin() 84 delete req; in ReqEnterSimPin() 107 ril_proto::ReqDial *req = new ril_proto::ReqDial(); in ReqDial() local 113 req->set_address(rilDial->address); in ReqDial() 114 req->set_clir(rilDial->clir); in ReqDial() 115 ril_proto::RilUusInfo *uusInfo = (ril_proto::RilUusInfo *)(&(req->uus_info())); in ReqDial() 137 DBG("req->ByetSize=%d", req->ByteSize()); in ReqDial() [all …]
|
/hardware/msm7k/libcopybit/ |
D | copybit.cpp | 197 static void set_infos(struct copybit_context_t *dev, struct mdp_blit_req *req) { in set_infos() argument 198 req->alpha = dev->mAlpha; in set_infos() 199 req->transp_mask = MDP_TRANSP_NOP; in set_infos() 200 req->flags = dev->mFlags | MDP_BLEND_FG_PREMULT; in set_infos() 220 l->req[i].src.width, in msm_copybit() 221 l->req[i].src.height, in msm_copybit() 222 l->req[i].src.format, in msm_copybit() 223 l->req[i].src_rect.x, in msm_copybit() 224 l->req[i].src_rect.y, in msm_copybit() 225 l->req[i].src_rect.w, in msm_copybit() [all …]
|
/hardware/qcom/display/libcopybit/ |
D | copybit.cpp | 211 struct mdp_blit_req *req, int flags) in set_infos() argument 213 req->alpha = dev->mAlpha; in set_infos() 214 req->transp_mask = MDP_TRANSP_NOP; in set_infos() 215 req->flags = dev->mFlags | flags; in set_infos() 218 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos() 221 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos() 243 l->req[i].src.width, in msm_copybit() 244 l->req[i].src.height, in msm_copybit() 245 l->req[i].src.format, in msm_copybit() 246 l->req[i].src_rect.x, in msm_copybit() [all …]
|
/hardware/msm7k/libgralloc/ |
D | framebuffer.cpp | 387 mdp_blit_req req; in msm_copy_buffer() member 394 blit.req.flags = 0; in msm_copy_buffer() 395 blit.req.alpha = 0xff; in msm_copy_buffer() 396 blit.req.transp_mask = 0xffffffff; in msm_copy_buffer() 398 blit.req.src.width = width; in msm_copy_buffer() 399 blit.req.src.height = height; in msm_copy_buffer() 400 blit.req.src.offset = 0; in msm_copy_buffer() 401 blit.req.src.memory_id = priv->fd; in msm_copy_buffer() 403 blit.req.dst.width = width; in msm_copy_buffer() 404 blit.req.dst.height = height; in msm_copy_buffer() [all …]
|
/hardware/msm7k/libgralloc-qsd8k/ |
D | framebuffer.cpp | 424 mdp_blit_req req; in msm_copy_buffer() member 431 blit.req.flags = 0; in msm_copy_buffer() 432 blit.req.alpha = 0xff; in msm_copy_buffer() 433 blit.req.transp_mask = 0xffffffff; in msm_copy_buffer() 435 blit.req.src.width = width; in msm_copy_buffer() 436 blit.req.src.height = height; in msm_copy_buffer() 437 blit.req.src.offset = 0; in msm_copy_buffer() 438 blit.req.src.memory_id = priv->fd; in msm_copy_buffer() 440 blit.req.dst.width = width; in msm_copy_buffer() 441 blit.req.dst.height = height; in msm_copy_buffer() [all …]
|
/hardware/qcom/media/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 59 int32_t getBuffReq(int32_t port, C2DBuffReq *req); 521 int32_t C2DColorConverter::getBuffReq(int32_t port, C2DBuffReq *req) { in getBuffReq() argument 522 if (!req) return -1; in getBuffReq() 526 memset(req, 0, sizeof(C2DBuffReq)); in getBuffReq() 528 req->width = mSrcWidth; in getBuffReq() 529 req->height = mSrcHeight; in getBuffReq() 530 req->stride = calcStride(mSrcFormat, mSrcWidth); in getBuffReq() 531 req->sliceHeight = mSrcHeight; in getBuffReq() 532 req->lumaAlign = calcLumaAlign(mSrcFormat); in getBuffReq() 533 req->sizeAlign = calcSizeAlign(mSrcFormat); in getBuffReq() [all …]
|
/hardware/qcom/display/liboverlay/ |
D | overlayUtils.cpp | 156 msmfb_mixer_info_req req; in initOverlay() local 169 req.mixer_num = i; in initOverlay() 170 if (ioctl(fd, MSMFB_MIXER_INFO, &req) == -1) { in initOverlay() 175 minfo = req.info; in initOverlay() 176 for (int j = 0; j < req.cnt; j++) { in initOverlay()
|
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/ |
D | driver_mac80211.c | 65 } req; in wpa_driver_wext_send_oper_ifla() local 70 os_memset(&req, 0, sizeof(req)); in wpa_driver_wext_send_oper_ifla() 72 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in wpa_driver_wext_send_oper_ifla() 73 req.hdr.nlmsg_type = RTM_SETLINK; in wpa_driver_wext_send_oper_ifla() 74 req.hdr.nlmsg_flags = NLM_F_REQUEST; in wpa_driver_wext_send_oper_ifla() 75 req.hdr.nlmsg_seq = ++nl_seq; in wpa_driver_wext_send_oper_ifla() 76 req.hdr.nlmsg_pid = 0; in wpa_driver_wext_send_oper_ifla() 78 req.ifinfo.ifi_family = AF_UNSPEC; in wpa_driver_wext_send_oper_ifla() 79 req.ifinfo.ifi_type = 0; in wpa_driver_wext_send_oper_ifla() 80 req.ifinfo.ifi_index = drv->ifindex; in wpa_driver_wext_send_oper_ifla() [all …]
|
/hardware/samsung_slsi/exynos5/libv4l2/ |
D | exynos_v4l2.c | 391 int exynos_v4l2_reqbufs(int fd, struct v4l2_requestbuffers *req) in exynos_v4l2_reqbufs() argument 403 if (!req) { in exynos_v4l2_reqbufs() 408 if ((req->memory != V4L2_MEMORY_MMAP) && in exynos_v4l2_reqbufs() 409 (req->memory != V4L2_MEMORY_USERPTR) && in exynos_v4l2_reqbufs() 410 (req->memory != V4L2_MEMORY_DMABUF)) { in exynos_v4l2_reqbufs() 415 if (__v4l2_check_buf_type(req->type) == false) { in exynos_v4l2_reqbufs() 420 count = req->count; in exynos_v4l2_reqbufs() 422 ret = ioctl(fd, VIDIOC_REQBUFS, req); in exynos_v4l2_reqbufs() 428 if (count != req->count) { in exynos_v4l2_reqbufs() 429 ALOGW("number of buffers had been changed: %d => %d", count, req->count); in exynos_v4l2_reqbufs()
|
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
D | loc_api_rpc_glue.c | 108 struct svc_req *req) in rpc_loc_event_cb_f_type_svc() argument 122 (int) req->rq_proc, in rpc_loc_event_cb_f_type_svc() 123 (int) req->rq_prog, in rpc_loc_event_cb_f_type_svc() 124 (int) req->rq_vers); in rpc_loc_event_cb_f_type_svc() 178 struct svc_req *req) in RPC_CALLBACK_FUNC_VERSION() 180 return rpc_loc_event_cb_f_type_svc(argp, ret, req); in RPC_CALLBACK_FUNC_VERSION() 224 void *a, int *b, struct svc_req *req) \
|
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/ |
D | ExynosVideoDecoder.c | 802 struct v4l2_requestbuffers req; in MFC_Decoder_Setup_Inbuf() local 822 memset(&req, 0, sizeof(req)); in MFC_Decoder_Setup_Inbuf() 824 req.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in MFC_Decoder_Setup_Inbuf() 825 req.count = nBufferCount; in MFC_Decoder_Setup_Inbuf() 828 req.memory = pCtx->nMemoryType; in MFC_Decoder_Setup_Inbuf() 830 req.memory = V4L2_MEMORY_MMAP; in MFC_Decoder_Setup_Inbuf() 832 if (exynos_v4l2_reqbufs(pCtx->hDec, &req) != 0) { in MFC_Decoder_Setup_Inbuf() 837 if (req.count != nBufferCount) { in MFC_Decoder_Setup_Inbuf() 838 ALOGE("%s: asked for %d, got %d\n", __func__, nBufferCount, req.count); in MFC_Decoder_Setup_Inbuf() 843 pCtx->nInbufs = (int)req.count; in MFC_Decoder_Setup_Inbuf() [all …]
|
/hardware/ti/omap4xxx/ion/ |
D | ion.c | 47 static int ion_ioctl(int fd, int req, void *arg) in ion_ioctl() argument 49 int ret = ioctl(fd, req, arg); in ion_ioctl() 51 ALOGE("ioctl %d failed with code %d: %s\n", req, in ion_ioctl()
|
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-1240/ |
D | loc_api_rpc_glue.c | 97 struct svc_req *req) in rpc_loc_event_cb_f_type_0x00040001_svc() argument 108 (int) req->rq_proc, in rpc_loc_event_cb_f_type_0x00040001_svc() 109 (int) req->rq_prog, in rpc_loc_event_cb_f_type_0x00040001_svc() 110 (int) req->rq_vers); in rpc_loc_event_cb_f_type_0x00040001_svc()
|
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-3200/ |
D | loc_api_rpc_glue.c | 97 struct svc_req *req) in rpc_loc_event_cb_f_type_0x00010001_svc() argument 108 (int) req->rq_proc, in rpc_loc_event_cb_f_type_0x00010001_svc() 109 (int) req->rq_prog, in rpc_loc_event_cb_f_type_0x00010001_svc() 110 (int) req->rq_vers); in rpc_loc_event_cb_f_type_0x00010001_svc()
|
/hardware/msm7k/librpc/ |
D | svc.c | 364 struct svc_req req; in svc_dispatch() local 395 req.rq_prog = prog; in svc_dispatch() 396 req.rq_vers = vers; in svc_dispatch() 397 req.rq_proc = proc; in svc_dispatch() 398 req.rq_xprt = xprt; in svc_dispatch() 411 svc->dispatch(&req, (SVCXPRT *)svc); in svc_dispatch()
|
/hardware/ril/mock-ril/src/python/ |
D | tcs.py | 206 req = Msg() 207 req.sendMsg(s, 0, 1234567890123, rrs_ser) 225 req.sendMsg(s, ctrl_pb2.CTRL_CMD_GET_RADIO_STATE, 4)
|
/hardware/samsung_slsi/exynos5/libhwjpeg/ |
D | ExynosJpegBase.cpp | 177 struct v4l2_requestbuffers req; in t_v4l2Reqbufs() local 180 memset(&req, 0, sizeof(v4l2_requestbuffers)); in t_v4l2Reqbufs() 182 req.type = pstBufInfo->buf_type; in t_v4l2Reqbufs() 183 req.memory = pstBufInfo->memory; in t_v4l2Reqbufs() 186 req.count = iBufCount; in t_v4l2Reqbufs() 188 iRet = ioctl(iFd, VIDIOC_REQBUFS, &req); in t_v4l2Reqbufs()
|
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/ |
D | ExynosVideoEncoder.c | 1151 struct v4l2_requestbuffers req; in MFC_Encoder_Setup_Inbuf() local 1167 memset(&req, 0, sizeof(req)); in MFC_Encoder_Setup_Inbuf() 1169 req.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in MFC_Encoder_Setup_Inbuf() 1170 req.count = nBufferCount; in MFC_Encoder_Setup_Inbuf() 1173 req.memory = pCtx->nMemoryType; in MFC_Encoder_Setup_Inbuf() 1175 req.memory = V4L2_MEMORY_MMAP; in MFC_Encoder_Setup_Inbuf() 1177 if (exynos_v4l2_reqbufs(pCtx->hEnc, &req) != 0) { in MFC_Encoder_Setup_Inbuf() 1183 pCtx->nInbufs = (int)req.count; in MFC_Encoder_Setup_Inbuf() 1273 struct v4l2_requestbuffers req; in MFC_Encoder_Setup_Outbuf() local 1290 memset(&req, 0, sizeof(req)); in MFC_Encoder_Setup_Outbuf() [all …]
|
/hardware/libhardware/tests/camera2/ |
D | camera2.cpp | 514 camera_metadata_t *req; in TEST_F() local 515 req = allocate_camera_metadata(20, 2000); in TEST_F() 516 append_camera_metadata(req, request); in TEST_F() 518 add_camera_metadata_entry(req, in TEST_F() 523 res = mRequests.enqueue(req); in TEST_F()
|
/hardware/samsung_slsi/exynos5/libcamera/ |
D | ExynosCamera.cpp | 1262 struct v4l2_requestbuffers req; in stopPreview() local 1263 req.count = 0; in stopPreview() 1264 req.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in stopPreview() 1265 req.memory = V4L2_MEMORY_DMABUF; in stopPreview() 1267 if (exynos_v4l2_reqbufs(m_previewDev->fd, &req) < 0) { in stopPreview() 1473 struct v4l2_requestbuffers req; in stopVideo() local 1474 req.count = 0; in stopVideo() 1475 req.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in stopVideo() 1476 req.memory = V4L2_MEMORY_DMABUF; in stopVideo() 1478 if (exynos_v4l2_reqbufs(m_videoDev->fd, &req) < 0) { in stopVideo() [all …]
|