Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 28) sorted by relevance

12

/device/moto/shamu/dataservices/rmnetctl/src/
Dlibrmnetctl.c92 struct rmnet_nl_msg_s *request, in rmnetctl_transact() argument
106 if (!request){ in rmnetctl_transact()
137 memcpy((void *)NLMSG_DATA(request_buf), request, in rmnetctl_transact()
178 if (request->message_type != response->message_type) { in rmnetctl_transact()
363 struct rmnet_nl_msg_s request, response; in rmnet_associate_network_device() local
374 request.message_type = RMNET_NETLINK_ASSOCIATE_NETWORK_DEVICE; in rmnet_associate_network_device()
376 request.message_type = RMNET_NETLINK_UNASSOCIATE_NETWORK_DEVICE; in rmnet_associate_network_device()
378 request.arg_length = RMNET_MAX_STR_LEN; in rmnet_associate_network_device()
379 str_len = strlcpy((char *)(request.data), dev_name, RMNET_MAX_STR_LEN); in rmnet_associate_network_device()
383 if ((*error_code = rmnetctl_transact(hndl, &request, &response)) in rmnet_associate_network_device()
[all …]
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3HWI.h90 camera3_capture_request_t *request);
132 int processCaptureRequest(camera3_capture_request_t *request);
136 int setFrameParameters(camera3_capture_request_t *request,
138 int setReprocParameters(camera3_capture_request_t *request);
139 int translateToHalMetadata(const camera3_capture_request_t *request,
177 int validateCaptureRequest(camera3_capture_request_t *request);
180 int64_t getMinFrameDuration(const camera3_capture_request_t *request);
194 const camera3_capture_request_t *request);
DQCamera3Channel.h75 virtual int32_t request(buffer_handle_t * /*buffer*/, in request() function
77 virtual int32_t request(buffer_handle_t * /*buffer*/, in request() function
137 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber);
170 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber);
197 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber);
259 virtual int32_t request(buffer_handle_t *buffer,
368 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber);
DQCamera3HWI.cpp957 camera3_capture_request_t *request) in validateCaptureRequest() argument
964 if (request == NULL) { in validateCaptureRequest()
969 if (request->settings == NULL && mFirstRequest) { in validateCaptureRequest()
974 uint32_t frameNumber = request->frame_number; in validateCaptureRequest()
975 if (request->input_buffer != NULL && in validateCaptureRequest()
976 request->input_buffer->stream != mInputStream) { in validateCaptureRequest()
981 if (request->num_output_buffers < 1 || request->output_buffers == NULL) { in validateCaptureRequest()
986 if (request->input_buffer != NULL) { in validateCaptureRequest()
987 b = request->input_buffer; in validateCaptureRequest()
1013 b = request->output_buffers; in validateCaptureRequest()
[all …]
DQCamera3Channel.cpp599 int32_t QCamera3RegularChannel::request(buffer_handle_t *buffer, uint32_t frameNumber) in request() function in qcamera::QCamera3RegularChannel
801 int32_t QCamera3MetadataChannel::request(buffer_handle_t * /*buffer*/, in request() function in qcamera::QCamera3MetadataChannel
1164 int32_t QCamera3PicChannel::request(buffer_handle_t *buffer, in request() function in qcamera::QCamera3PicChannel
2601 int32_t QCamera3SupportChannel::request(buffer_handle_t * /*buffer*/, in request() function in qcamera::QCamera3SupportChannel
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraHWI.cpp129 camera_metadata_t *request=NULL; in runCommandThread() local
134 mRequestQueueSrc->dequeue_request(mRequestQueueSrc,&request); in runCommandThread()
135 if(request==NULL) { in runCommandThread()
147 sort_camera_metadata(request); in runCommandThread()
150 res = find_camera_metadata_entry(request, in runCommandThread()
177 mRequestQueueSrc->free_request(mRequestQueueSrc,request); in runCommandThread()
352 int request_template, camera_metadata_t **request) in construct_default_request() argument
357 if (request == NULL) in construct_default_request()
362 ret = constructDefaultRequest(request_template, request, true); in construct_default_request()
368 ret = constructDefaultRequest(request_template, request, false); in construct_default_request()
DQCameraHWI_Metatags.cpp82 static status_t addOrSize(camera_metadata_t *request, in addOrSize() argument
91 return add_camera_metadata_entry(request, tag, entryData, in addOrSize()
398 camera_metadata_t **request, bool sizeRequest) in constructDefaultRequest() argument
405 if ( ( ret = addOrSize(*request, sizeRequest, &entryCount, &dataCount, \ in constructDefaultRequest()
719 *request = allocate_camera_metadata(entryCount, dataCount); in constructDefaultRequest()
720 if (*request == NULL) { in constructDefaultRequest()
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.h104 camera3_capture_request_t *request);
150 int processCaptureRequest(camera3_capture_request_t *request);
154 int setFrameParameters(camera3_capture_request_t *request,
156 int32_t setReprocParameters(camera3_capture_request_t *request,
158 int translateToHalMetadata(const camera3_capture_request_t *request,
209 int validateCaptureRequest(camera3_capture_request_t *request);
213 int64_t getMinFrameDuration(const camera3_capture_request_t *request);
228 const camera3_capture_request_t *request);
DQCamera3Channel.h78 virtual int32_t request(buffer_handle_t * /*buffer*/, in request() function
80 virtual int32_t request(buffer_handle_t * /*buffer*/, in request() function
149 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber);
184 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber);
250 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber);
280 virtual int32_t request(buffer_handle_t *buffer,
410 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber);
DQCamera3HWI.cpp1375 camera3_capture_request_t *request) in validateCaptureRequest() argument
1382 if (request == NULL) { in validateCaptureRequest()
1387 if (request->settings == NULL && mFirstRequest) { in validateCaptureRequest()
1392 uint32_t frameNumber = request->frame_number; in validateCaptureRequest()
1393 if (request->num_output_buffers < 1 || request->output_buffers == NULL) { in validateCaptureRequest()
1398 if (request->input_buffer != NULL) { in validateCaptureRequest()
1399 b = request->input_buffer; in validateCaptureRequest()
1418 b = request->output_buffers; in validateCaptureRequest()
1448 b = request->output_buffers + idx; in validateCaptureRequest()
1449 } while (idx < (ssize_t)request->num_output_buffers); in validateCaptureRequest()
[all …]
DQCamera3Channel.cpp647 int32_t QCamera3RegularChannel::request(buffer_handle_t *buffer, uint32_t frameNumber) in request() function in qcamera::QCamera3RegularChannel
882 int32_t QCamera3MetadataChannel::request(buffer_handle_t * /*buffer*/, in request() function in qcamera::QCamera3MetadataChannel
1274 int32_t QCamera3RawDumpChannel::request(buffer_handle_t * /*buffer*/, in request() function in qcamera::QCamera3RawDumpChannel
1587 int32_t QCamera3PicChannel::request(buffer_handle_t *buffer, in request() function in qcamera::QCamera3PicChannel
3357 int32_t QCamera3SupportChannel::request(buffer_handle_t * /*buffer*/, in request() function in qcamera::QCamera3SupportChannel
/device/generic/goldfish/camera/
DEmulatedFakeCamera2.h88 camera_metadata_t **request);
156 camera_metadata_t **request,
159 static status_t addOrSize( camera_metadata_t *request,
235 camera_metadata_t *request,
258 camera_metadata_t *request; member
292 status_t processRequest(camera_metadata_t *request);
DEmulatedFakeCamera3.cpp722 camera3_capture_request *request) { in processCaptureRequest() argument
735 if (request == NULL) { in processCaptureRequest()
740 uint32_t frameNumber = request->frame_number; in processCaptureRequest()
742 if (request->settings == NULL && mPrevSettings.isEmpty()) { in processCaptureRequest()
748 if (request->input_buffer != NULL && in processCaptureRequest()
749 request->input_buffer->stream != mInputStream) { in processCaptureRequest()
753 __FUNCTION__, request->input_buffer->stream, in processCaptureRequest()
756 __FUNCTION__, request->input_buffer->stream->stream_type, in processCaptureRequest()
762 if (request->num_output_buffers < 1 || request->output_buffers == NULL) { in processCaptureRequest()
772 if (request->input_buffer != NULL) { in processCaptureRequest()
[all …]
DEmulatedCamera3.cpp147 camera3_capture_request *request) { in processCaptureRequest() argument
214 camera3_capture_request_t *request) { in process_capture_request() argument
216 return ec->processCaptureRequest(request); in process_capture_request()
DEmulatedCamera3.h121 virtual status_t processCaptureRequest(camera3_capture_request *request);
159 camera3_capture_request_t *request);
DEmulatedFakeCamera2.cpp305 camera_metadata_t **request) { in constructDefaultRequest() argument
307 if (request == NULL) return BAD_VALUE; in constructDefaultRequest()
323 request, in constructDefaultRequest()
330 request, in constructDefaultRequest()
1162 camera_metadata_t *request, in setNextOperation() argument
1171 mInFlightQueue[mInFlightTail].request = request; in setNextOperation()
1242 mRequest = mInFlightQueue[mInFlightHead].request; in threadLoop()
1244 mInFlightQueue[mInFlightHead].request = NULL; in threadLoop()
1593 status_t EmulatedFakeCamera2::ControlThread::processRequest(camera_metadata_t *request) { in processRequest() argument
1602 res = find_camera_metadata_entry(request, in processRequest()
[all …]
DEmulatedCamera2.h99 camera_metadata_t **request);
175 camera_metadata_t **request);
DEmulatedCamera2.cpp124 camera_metadata_t **request) { in constructDefaultRequest() argument
253 camera_metadata_t **request) { in construct_default_request() argument
255 return ec->constructDefaultRequest(request_template, request); in construct_default_request()
DEmulatedFakeCamera3.h89 virtual status_t processCaptureRequest(camera3_capture_request *request);
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3Channel.h76 virtual int32_t request(buffer_handle_t * /*buffer*/, in request() function
78 virtual int32_t request(buffer_handle_t * /*buffer*/, in request() function
143 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber);
181 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber);
209 virtual int32_t request(buffer_handle_t *buffer,
DQCamera3HWI.cpp649 camera3_capture_request_t *request) in validateCaptureRequest() argument
656 if (request == NULL) { in validateCaptureRequest()
661 uint32_t frameNumber = request->frame_number; in validateCaptureRequest()
662 if (request->input_buffer != NULL && in validateCaptureRequest()
663 request->input_buffer->stream != mInputStream) { in validateCaptureRequest()
668 if (request->num_output_buffers < 1 || request->output_buffers == NULL) { in validateCaptureRequest()
673 if (request->input_buffer != NULL) { in validateCaptureRequest()
674 b = request->input_buffer; in validateCaptureRequest()
700 b = request->output_buffers; in validateCaptureRequest()
725 b = request->output_buffers + idx; in validateCaptureRequest()
[all …]
DQCamera3HWI.h84 camera3_capture_request_t *request);
120 int processCaptureRequest(camera3_capture_request_t *request);
162 int validateCaptureRequest(camera3_capture_request_t *request);
DQCamera3Channel.cpp523 int32_t QCamera3RegularChannel::request(buffer_handle_t *buffer, uint32_t frameNumber) in request() function in qcamera::QCamera3RegularChannel
758 int32_t QCamera3MetadataChannel::request(buffer_handle_t * /*buffer*/, in request() function in qcamera::QCamera3MetadataChannel
977 int32_t QCamera3PicChannel::request(buffer_handle_t *buffer, in request() function in qcamera::QCamera3PicChannel
/device/moto/shamu/camera/QCamera/HAL2/wrapper/
DQualcommCamera.h62 camera_metadata_t **request);
DQualcommCamera.cpp264 camera_metadata_t **request) in construct_default_request() argument
270 rc = hardware->construct_default_request(request_template, request); in construct_default_request()

12