/hardware/ti/omap3/dspbridge/libbridge/ |
D | DSPStrm.c | 114 DSP_STATUS status = DSP_SOK; in DSPStream_AllocateBuffers() local 124 status = DSP_EHANDLE; in DSPStream_AllocateBuffers() 128 return status; in DSPStream_AllocateBuffers() 132 status = DSP_EPOINTER; in DSPStream_AllocateBuffers() 136 return status; in DSPStream_AllocateBuffers() 142 status = GetStrmInfo(hStream, &strmInfo, sizeof(struct DSP_STREAMINFO)); in DSPStream_AllocateBuffers() 143 if (!DSP_SUCCEEDED(status)) { in DSPStream_AllocateBuffers() 144 status = DSP_EFAIL; in DSPStream_AllocateBuffers() 148 return status; in DSPStream_AllocateBuffers() 157 status = DSPTRAP_Trap(&tempStruct, in DSPStream_AllocateBuffers() [all …]
|
D | DSPNode.c | 119 DSP_STATUS status = DSP_SOK; in DSPNode_Allocate() local 132 status = DSP_EHANDLE; in DSPNode_Allocate() 139 status = DSP_EPOINTER; in DSPNode_Allocate() 147 status = DSPNode_GetUUIDProps(hProcessor, pNodeID, &nodeProps); in DSPNode_Allocate() 149 if (DSP_SUCCEEDED(status)) { in DSPNode_Allocate() 168 status = DSP_EMEMORY; in DSPNode_Allocate() 178 if (DSP_SUCCEEDED(status)) { in DSPNode_Allocate() 188 status = DSPTRAP_Trap(&tempStruct, CMD_NODE_ALLOCATE_OFFSET); in DSPNode_Allocate() 193 if (!DSP_SUCCEEDED(status)) { in DSPNode_Allocate() 196 return status; in DSPNode_Allocate() [all …]
|
D | DSPManager.c | 92 int status = 0; in DspManager_Open() local 106 status = open(BRIDGE_DRIVER_NAME, O_RDWR); in DspManager_Open() 107 if (status >= 0) in DspManager_Open() 108 hMediaFile = status; in DspManager_Open() 111 if (status >= 0) { in DspManager_Open() 114 status = DSP_SOK; in DspManager_Open() 116 status = DSP_EFAIL; in DspManager_Open() 124 return status; in DspManager_Open() 133 int status = 0; in DspManager_Close() local 138 status = close(hMediaFile); in DspManager_Close() [all …]
|
D | DSPProcessor.c | 99 DSP_STATUS status = DSP_SOK; in DSPProcessor_Attach() local 109 status = DSPTRAP_Trap(&tempStruct, in DSPProcessor_Attach() 112 status = DSP_EINVALIDARG; in DSPProcessor_Attach() 118 status = DSP_EPOINTER; in DSPProcessor_Attach() 123 return status; in DSPProcessor_Attach() 133 DSP_STATUS status = DSP_SOK; in DSPProcessor_Detach() local 140 status = DSPTRAP_Trap(&tempStruct, CMD_PROC_DETACH_OFFSET); in DSPProcessor_Detach() 143 status = DSP_EHANDLE; in DSPProcessor_Detach() 148 return status; in DSPProcessor_Detach() 161 DSP_STATUS status = DSP_SOK; in DSPProcessor_EnumNodes() local [all …]
|
D | DSPProcessor_OEM.c | 66 DSP_STATUS status = DSP_SOK; in DSPProcessor_Ctrl() local 76 status = DSPTRAP_Trap(&tempStruct, CMD_PROC_CTRL_OFFSET); in DSPProcessor_Ctrl() 79 status = DSP_EHANDLE; in DSPProcessor_Ctrl() 84 return status; in DSPProcessor_Ctrl() 97 DSP_STATUS status = DSP_SOK; in DSPProcessor_Load() local 122 status = DSPTRAP_Trap(&tempStruct, in DSPProcessor_Load() 125 status = DSP_EPOINTER; in DSPProcessor_Load() 130 status = DSP_EINVALIDARG; in DSPProcessor_Load() 136 status = DSP_EHANDLE; in DSPProcessor_Load() 147 return status; in DSPProcessor_Load() [all …]
|
/hardware/ril/mock-ril/src/cpp/ |
D | ctrl_server.cpp | 117 int status; in ReadMessage() local 121 status = ReadAll(server_to_client_socket_, &len_msg_header, sizeof(len_msg_header)); in ReadMessage() 123 DBG("rm: read len_msg_header=%d status=%d", len_msg_header, status); in ReadMessage() 124 if (status != STATUS_OK) return status; in ReadMessage() 128 status = ReadAll(server_to_client_socket_, msg_header_raw, len_msg_header); in ReadMessage() 129 DBG("rm: read msg_header_raw=%p status=%d", msg_header_raw, status); in ReadMessage() 130 if (status != STATUS_OK) return status; in ReadMessage() 137 status = ReadAll(server_to_client_socket_, buffer->data(), buffer->length()); in ReadMessage() 138 DBG("rm: read protobuf status=%d", status); in ReadMessage() 139 if (status != STATUS_OK) return status; in ReadMessage() [all …]
|
D | requests.cpp | 55 int status; in ReqWithNoData() local 60 status = STATUS_OK; in ReqWithNoData() 62 DBG("ReqWithNoData X status=%d", status); in ReqWithNoData() 63 return status; in ReqWithNoData() 71 int status; in ReqEnterSimPin() local 77 status = STATUS_BAD_DATA; in ReqEnterSimPin() 86 status = STATUS_OK; in ReqEnterSimPin() 88 DBG("ReqEnterSimPin X status=%d", status); in ReqEnterSimPin() 89 return status; in ReqEnterSimPin() 97 int status; in ReqDial() local [all …]
|
D | js_support.cpp | 97 int status; in ReadFile() local 107 status = STATUS_COULD_NOT_OPEN_FILE; in ReadFile() 122 status = STATUS_COULD_NOT_READ_FILE; in ReadFile() 126 status = STATUS_OK; in ReadFile() 135 DBG("ReadFile X status=%d", status); in ReadFile() 136 return status; in ReadFile() 165 int status = ReadFile(fileName, &buffer); in ReadFileToString() local 166 if (status == 0) { in ReadFileToString() 191 int status = ReadFile(fileName, &buffer, &length); in ReadFileToBuffer() local 192 if (status == 0) { in ReadFileToBuffer() [all …]
|
/hardware/ti/omap3/dspbridge/dspexec/ |
D | dspexec.c | 104 DSP_STATUS status = DSP_SOK; in main() local 145 status = (DBAPI)DspManager_Open(0, NULL); in main() 146 if (DSP_FAILED(status)) { in main() 156 status = DSP_SOK; in main() 161 status = DSPProcessor_Attach(uProcId, NULL, &hProc); in main() 162 if (DSP_SUCCEEDED(status)) { in main() 164 status = DSPProcessor_Stop(hProc); in main() 165 if (DSP_SUCCEEDED(status)) { in main() 167 status = DSPProcessor_Load(hProc,argc,(CONST CHAR **)argv,NULL); in main() 168 if (DSP_SUCCEEDED(status)) { in main() [all …]
|
/hardware/libhardware_legacy/audio/ |
D | A2dpAudioInterface.cpp | 64 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument 68 return mHardwareInterface->openOutputStream(devices, format, channels, sampleRate, status); in openOutputStream() 75 if (status) in openOutputStream() 76 *status = -1; in openOutputStream() 90 if (status) in openOutputStream() 91 *status = err; in openOutputStream() 107 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, in openInputStream() argument 110 …return mHardwareInterface->openInputStream(devices, format, channels, sampleRate, status, acoustic… in openInputStream() 138 status_t status = NO_ERROR; in setParameters() local 161 if (status == NO_ERROR) { in setParameters() [all …]
|
D | AudioHardwareGeneric.cpp | 68 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument 74 if (status) { in openOutputStream() 75 *status = INVALID_OPERATION; in openOutputStream() 83 if (status) { in openOutputStream() 84 *status = lStatus; in openOutputStream() 103 status_t *status, AudioSystem::audio_in_acoustics acoustics) in openInputStream() argument 114 if (status) { in openInputStream() 115 *status = INVALID_OPERATION; in openInputStream() 123 if (status) { in openInputStream() 124 *status = lStatus; in openInputStream() [all …]
|
/hardware/ti/omap4xxx/domx/domx/omx_rpc/src/ |
D | omx_rpc.c | 108 OMX_S32 status = 0; in RPC_InstanceInit() local 150 status = ioctl(pRPCCtx->fd_omx, OMX_IOCCONNECT, &sReq); in RPC_InstanceInit() 151 RPC_assert(status >= 0, RPC_OMX_ErrorInsufficientResources, in RPC_InstanceInit() 170 status = in RPC_InstanceInit() 173 RPC_assert(status == 0, RPC_OMX_ErrorInsufficientResources, in RPC_InstanceInit() 204 OMX_S32 status = 0; in RPC_InstanceDeInit() local 213 status = in RPC_InstanceDeInit() 215 if (status <= 0) in RPC_InstanceDeInit() 223 status = pthread_join(pRPCCtx->cbThread, NULL); in RPC_InstanceDeInit() 224 if (status != 0) in RPC_InstanceDeInit() [all …]
|
/hardware/msm7k/libaudio-qdsp5v2/ |
D | AudioHardware.cpp | 63 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument 70 if (status) { in openOutputStream() 71 *status = INVALID_OPERATION; in openOutputStream() 80 *status = rc; in openOutputStream() 103 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, in openInputStream() argument 218 status_t status = NO_INIT; in write() local 224 status = ::open("/dev/msm_pcm_out", O_RDWR); in write() 225 if (status < 0) { in write() 229 mFd = status; in write() 234 status = ioctl(mFd, AUDIO_GET_CONFIG, &config); in write() [all …]
|
/hardware/libhardware/ |
D | hardware.c | 65 int status; in load() local 78 status = -EINVAL; in load() 87 status = -EINVAL; in load() 94 status = -EINVAL; in load() 101 status = 0; in load() 104 if (status != 0) { in load() 117 return status; in load() 123 int status; in hw_get_module_by_class() local 162 status = -ENOENT; in hw_get_module_by_class() 166 status = load(class_id, path, module); in hw_get_module_by_class() [all …]
|
/hardware/ril/mock-ril/src/python/ |
D | tcs.py | 72 self.status = 0 87 mh.status = self.status 103 self.status = mh.status 121 self.status = 0 137 self.status = 0 142 self.header.status = self.status 164 self.status = self.header.status 215 print "status=%d" % (resp.status) 219 (resp.status == 0) & (response.state == 1)): 231 print "status=%d" % (resp.status)
|
/hardware/broadcom/wlan/bcm4329/dhdutil/include/proto/ |
D | bt_amp_hci.h | 211 uint8 status; 227 uint8 status; 232 uint8 status; 239 uint8 status; 253 uint8 status; 260 uint8 status; 266 uint8 status; 272 uint8 status; 277 uint8 status; 282 uint8 status; [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
D | bt_amp_hci.h | 211 uint8 status; 227 uint8 status; 232 uint8 status; 239 uint8 status; 253 uint8 status; 260 uint8 status; 266 uint8 status; 272 uint8 status; 277 uint8 status; 282 uint8 status; [all …]
|
/hardware/msm7k/libaudio/ |
D | AudioHardware.cpp | 158 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument 165 if (status) { in openOutputStream() 166 *status = INVALID_OPERATION; in openOutputStream() 174 if (status) { in openOutputStream() 175 *status = lStatus; in openOutputStream() 198 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, in openInputStream() argument 210 if (status) { in openInputStream() 211 *status = lStatus; in openInputStream() 241 status_t status = AudioHardwareBase::setMode(mode); in setMode() local 242 if (status == NO_ERROR) { in setMode() [all …]
|
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/src/ |
D | LCML_DspCodec.c | 228 DSP_STATUS status; in InitMMCodecEx() local 274 status = DspManager_Open(0, NULL); in InitMMCodecEx() 275 DSP_ERROR_EXIT(status, "DSP Manager Open", ERROR); in InitMMCodecEx() 279 status = DSPProcessor_Attach(TI_PROCESSOR_DSP, NULL, &(phandle->dspCodec->hProc)); in InitMMCodecEx() 280 DSP_ERROR_EXIT(status, "Attach processor", ERROR); in InitMMCodecEx() 296 …status = DSPManager_RegisterObject((struct DSP_UUID *)phandle->dspCodec->NodeInfo.AllUUIDs[dllinfo… in InitMMCodecEx() 299 DSP_ERROR_EXIT (status, "Register Component Library", ERROR); in InitMMCodecEx() 342 status = DSPNode_Allocate(phandle->dspCodec->hProc, in InitMMCodecEx() 346 DSP_ERROR_EXIT(status, "Allocate Component", ERROR); in InitMMCodecEx() 359 status = DSPNode_Allocate(phandle->dspCodec->hProc, in InitMMCodecEx() [all …]
|
/hardware/msm7k/libcopybit/ |
D | copybit.cpp | 251 int status = 0; in set_parameter_copybit() local 273 status = -EINVAL; in set_parameter_copybit() 301 status = -EINVAL; in set_parameter_copybit() 305 status = -EINVAL; in set_parameter_copybit() 307 return status; in set_parameter_copybit() 348 int status = 0; in stretch_copybit() local 382 status = 0; in stretch_copybit() 383 while ((status == 0) && region->next(region, &clip)) { in stretch_copybit() 398 status = msm_copybit(ctx, &list); in stretch_copybit() 402 if ((status == 0) && list.count) { in stretch_copybit() [all …]
|
/hardware/ril/libril/ |
D | ril.cpp | 325 status_t status; in processCommandBuffer() local 334 status = p.readInt32(&request); in processCommandBuffer() 335 status = p.readInt32 (&token); in processCommandBuffer() 337 if (status != NO_ERROR) { in processCommandBuffer() 387 status_t status; in dispatchString() local 417 status_t status; in dispatchStrings() local 421 status = p.readInt32 (&countStrings); in dispatchStrings() 423 if (status != NO_ERROR) { in dispatchStrings() 474 status_t status; in dispatchInts() local 478 status = p.readInt32 (&count); in dispatchInts() [all …]
|
/hardware/ti/omap3/omx/ti_omx_config_parser/src/ |
D | ti_m4v_config_parser.cpp | 86 int16 status = 0; in SearchNextM4VFrame() local 96 status = -1; in SearchNextM4VFrame() 99 return status; in SearchNextM4VFrame() 104 int16 status; in iGetM4VConfigInfo() local 119 status = iDecodeVOLHeader(&psBits, width, height, display_width, display_height, &profilelevel); in iGetM4VConfigInfo() 120 return status; in iGetM4VConfigInfo() 195 int16 status = 0; in iDecodeVOLHeader() local 199 status = SearchNextM4VFrame(psBits); /* search 0x00 0x00 0x01 */ in iDecodeVOLHeader() 200 if (status != 0) in iDecodeVOLHeader() 203 status = ReadBits(psBits, VOL_START_CODE_LENGTH, &codeword); in iDecodeVOLHeader() [all …]
|
/hardware/msm7k/libaudio-qsd8k/ |
D | AudioHardware.cpp | 224 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument 231 if (status) { in openOutputStream() 232 *status = INVALID_OPERATION; in openOutputStream() 240 if (status) { in openOutputStream() 241 *status = lStatus; in openOutputStream() 264 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, in openInputStream() argument 276 if (status) { in openInputStream() 277 *status = lStatus; in openInputStream() 316 status_t status = AudioHardwareBase::setMode(mode); in setMode() local 317 if (status == NO_ERROR) { in setMode() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/ |
D | OMX_G726Dec_CompThread.c | 93 int status = 0; in G726DEC_ComponentThread() local 122 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in G726DEC_ComponentThread() 124 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in G726DEC_ComponentThread() 132 if (0 == status) { in G726DEC_ComponentThread() 139 } else if (-1 == status) { in G726DEC_ComponentThread()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
D | OMX_G711Dec_ComponentThread.c | 65 OMX_S16 status = 0; in ComponentThread() local 96 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); in ComponentThread() 98 status = select (fdmax+1, &rfds, NULL, NULL, &tv); in ComponentThread() 101 if (0 == status) { in ComponentThread() 117 } else if (-1 == status) { in ComponentThread()
|