Home
last modified time | relevance | path

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

123456

/hardware/libhardware/modules/camera/3_4/
Drequest_tracker.cpp45 std::set<camera3_stream_t*> RequestStreams(const CaptureRequest& request) { in RequestStreams() argument
47 if (request.input_buffer) { in RequestStreams()
48 result.insert(request.input_buffer->stream); in RequestStreams()
50 for (const auto& output_buffer : request.output_buffers) { in RequestStreams()
56 bool RequestTracker::Add(std::shared_ptr<CaptureRequest> request) { in Add() argument
57 if (!CanAddRequest(*request)) { in Add()
62 for (const auto stream : RequestStreams(*request)) { in Add()
67 frames_in_flight_[request->frame_number] = request; in Add()
72 bool RequestTracker::Remove(std::shared_ptr<CaptureRequest> request) { in Remove() argument
73 if (!request) { in Remove()
[all …]
Dcapture_request.cpp25 CaptureRequest::CaptureRequest(const camera3_capture_request_t* request) { in CaptureRequest() argument
26 if (!request) { in CaptureRequest()
30 frame_number = request->frame_number; in CaptureRequest()
35 settings = request->settings; in CaptureRequest()
41 if (request->input_buffer) { in CaptureRequest()
43 std::make_unique<camera3_stream_buffer_t>(*request->input_buffer); in CaptureRequest()
47 uint32_t num_output_buffers = request->num_output_buffers; in CaptureRequest()
48 if (num_output_buffers < 0 || !request->output_buffers) { in CaptureRequest()
52 request->output_buffers, in CaptureRequest()
53 request->output_buffers + num_output_buffers); in CaptureRequest()
Dcamera.cpp315 std::shared_ptr<CaptureRequest> request = std::make_shared<CaptureRequest>(temp_request); in processCaptureRequest() local
317 ALOGV("%s:%d: frame: %d", __func__, mId, request->frame_number); in processCaptureRequest()
319 if (!mInFlightTracker->CanAddRequest(*request)) { in processCaptureRequest()
326 if (request->settings.isEmpty() && !mSettingsSet) { in processCaptureRequest()
328 __func__, mId, request->frame_number); in processCaptureRequest()
332 if (request->input_buffer != NULL) { in processCaptureRequest()
334 request->input_buffer.get()); in processCaptureRequest()
339 if (!isValidRequestSettings(request->settings)) { in processCaptureRequest()
345 if (request->output_buffers.size() <= 0) { in processCaptureRequest()
347 request->output_buffers.size()); in processCaptureRequest()
[all …]
Dv4l2_camera.cpp203 std::shared_ptr<default_camera_hal::CaptureRequest> request) { in enqueueRequest() argument
210 request_queue_.push(request); in enqueueRequest()
224 std::shared_ptr<default_camera_hal::CaptureRequest> request = in dequeueRequest() local
227 return request; in dequeueRequest()
232 std::shared_ptr<default_camera_hal::CaptureRequest> request = in enqueueRequestBuffers() local
244 int res = metadata_->SetRequestSettings(request->settings); in enqueueRequestBuffers()
247 completeRequest(request, res); in enqueueRequestBuffers()
253 res = metadata_->FillResultMetadata(&request->settings); in enqueueRequestBuffers()
260 completeRequest(request, res); in enqueueRequestBuffers()
269 res = device_->EnqueueBuffer(&request->output_buffers[0], &index); in enqueueRequestBuffers()
[all …]
Drequest_tracker_test.cpp44 std::shared_ptr<CaptureRequest> request = in GenerateCaptureRequest() local
48 request->frame_number = frame; in GenerateCaptureRequest()
52 request->output_buffers.push_back(buffer); in GenerateCaptureRequest()
55 return request; in GenerateCaptureRequest()
61 std::shared_ptr<CaptureRequest> request = in AddRequest() local
63 EXPECT_EQ(dut_->CanAddRequest(*request), expected); in AddRequest()
67 EXPECT_EQ(dut_->Add(request), expected); in AddRequest()
157 std::shared_ptr<CaptureRequest> request = in TEST_F() local
159 EXPECT_TRUE(dut_->Add(request)); in TEST_F()
165 EXPECT_TRUE(dut_->Remove(request)); in TEST_F()
Drequest_tracker.h48 virtual bool Add(std::shared_ptr<CaptureRequest> request);
51 virtual bool Remove(std::shared_ptr<CaptureRequest> request = nullptr);
59 virtual bool CanAddRequest(const CaptureRequest& request) const;
Dcamera.h85 std::shared_ptr<CaptureRequest> request) = 0;
94 std::shared_ptr<CaptureRequest> request, int err);
113 void completeRequestWithError(std::shared_ptr<CaptureRequest> request);
115 void sendResult(std::shared_ptr<CaptureRequest> request);
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dgscan.cpp355 int createFeatureRequest(WifiRequest& request, int subcmd, int enable) { in createFeatureRequest() argument
357 int result = request.create(GOOGLE_OUI, subcmd); in createFeatureRequest()
362 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createFeatureRequest()
363 result = request.put_u32(GSCAN_ATTRIBUTE_ENABLE_FEATURE, enable); in createFeatureRequest()
368 request.attr_end(data); in createFeatureRequest()
383 int createRequest(WifiRequest& request, int subcmd, int enable) { in createRequest() argument
384 int result = request.create(GOOGLE_OUI, subcmd); in createRequest()
389 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
390 result = request.put_u32(GSCAN_ENABLE_FULL_SCAN_RESULTS, enable); in createRequest()
395 request.attr_end(data); in createRequest()
[all …]
Dwifi_offload.cpp76 int createRequest(WifiRequest &request) { in createRequest() argument
82 result = request.create(GOOGLE_OUI, WIFI_OFFLOAD_START_MKEEP_ALIVE); in createRequest()
88 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
90 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); in createRequest()
96 result = request.put_u16(MKEEP_ALIVE_ATTRIBUTE_IP_PKT_LEN, mIpPktLen); in createRequest()
102 result = request.put(MKEEP_ALIVE_ATTRIBUTE_IP_PKT, (u8*)mIpPkt, mIpPktLen); in createRequest()
108 result = request.put_addr(MKEEP_ALIVE_ATTRIBUTE_SRC_MAC_ADDR, mSrcMacAddr); in createRequest()
114 result = request.put_addr(MKEEP_ALIVE_ATTRIBUTE_DST_MAC_ADDR, mDstMacAddr); in createRequest()
120 result = request.put_u32(MKEEP_ALIVE_ATTRIBUTE_PERIOD_MSEC, mPeriodMsec); in createRequest()
126 request.attr_end(data); in createRequest()
[all …]
Dwifi_logger.cpp143 int createRingRequest(WifiRequest& request) { in createRingRequest() argument
144 int result = request.create(GOOGLE_OUI, LOGGER_START_LOGGING); in createRingRequest()
150 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRingRequest()
152 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_LEVEL, mVerboseLevel); in createRingRequest()
157 result = request.put_u32(LOGGER_ATTRIBUTE_RING_FLAGS, mFlags); in createRingRequest()
162 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_TIME_INTVAL, mMaxIntervalSec); in createRingRequest()
167 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_MIN_DATA_SIZE, mMinDataSize); in createRingRequest()
172 result = request.put_string(LOGGER_ATTRIBUTE_RING_NAME, mRingName); in createRingRequest()
177 request.attr_end(data); in createRingRequest()
182 int createRequest(WifiRequest &request) { in createRequest() argument
[all …]
Drtt.cpp324 int createSetupRequest(WifiRequest& request) { in createSetupRequest() argument
325 int result = request.create(GOOGLE_OUI, RTT_SUBCMD_SET_CONFIG); in createSetupRequest()
330 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createSetupRequest()
331 result = request.put_u8(RTT_ATTRIBUTE_TARGET_CNT, numRttParams); in createSetupRequest()
335 nlattr *rtt_config = request.attr_start(RTT_ATTRIBUTE_TARGET_INFO); in createSetupRequest()
337 nlattr *attr2 = request.attr_start(i); in createSetupRequest()
342 result = request.put_addr(RTT_ATTRIBUTE_TARGET_MAC, rttParams[i].addr); in createSetupRequest()
347 result = request.put_u8(RTT_ATTRIBUTE_TARGET_TYPE, rttParams[i].type); in createSetupRequest()
352 result = request.put_u8(RTT_ATTRIBUTE_TARGET_PEER, rttParams[i].peer); in createSetupRequest()
357 result = request.put(RTT_ATTRIBUTE_TARGET_CHAN, &rttParams[i].channel, in createSetupRequest()
[all …]
Dwifi_hal.cpp628 int createRequest(WifiRequest& request, int subcmd, byte *scan_oui) { in createRequest() argument
629 int result = request.create(GOOGLE_OUI, subcmd); in createRequest()
634 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
635 result = request.put(ANDR_WIFI_ATTRIBUTE_PNO_RANDOM_MAC_OUI, scan_oui, DOT11_OUI_LEN); in createRequest()
640 request.attr_end(data); in createRequest()
647 WifiRequest request(familyId(), ifaceId()); in start() local
648 int result = createRequest(request, WIFI_SUBCMD_SET_PNO_RANDOM_MAC_OUI, mOui); in start()
654 result = requestResponse(request); in start()
739 int createRequest(WifiRequest& request, int enable) { in createRequest() argument
740 int result = request.create(GOOGLE_OUI, WIFI_SUBCMD_SET_RSSI_MONITOR); in createRequest()
[all …]
/hardware/libhardware/modules/camera/3_0/
DCamera.cpp330 int Camera::processCaptureRequest(camera3_capture_request_t *request) in processCaptureRequest() argument
334 ALOGV("%s:%d: request=%p", __func__, mId, request); in processCaptureRequest()
337 if (request == NULL) { in processCaptureRequest()
343 request->frame_number, request->settings); in processCaptureRequest()
346 if (request->settings == NULL) { in processCaptureRequest()
349 __func__, mId, request->frame_number, request); in processCaptureRequest()
353 setSettings(request->settings); in processCaptureRequest()
356 if (request->input_buffer != NULL) { in processCaptureRequest()
358 request->input_buffer); in processCaptureRequest()
360 if (!isValidReprocessSettings(request->settings)) { in processCaptureRequest()
[all …]
/hardware/interfaces/wifi/supplicant/1.0/
DISupplicantStaNetworkCallback.hal28 /** Params of |onNetworkEapSimGsmAuthRequest| request. (Refer RFC 4186) */
34 /** Params of |onNetworkEapSimUmtsAuthRequest| request. (Refer RFC 4187) */
41 * Used to request EAP GSM SIM authentication for this particular network.
43 * The response for the request must be sent using the corresponding
46 * @param params Params associated with the request.
52 * Used to request EAP UMTS SIM authentication for this particular network.
54 * The response for the request must be sent using the corresponding
57 * @param params Params associated with the request.
63 * Used to request EAP Identity for this particular network.
65 * The response for the request must be sent using the corresponding
/hardware/interfaces/radio/1.0/
DIRadio.hal25 * serial: which corresponds to serial no. of request. Serial numbers must only be memorized for the
42 * @param serial Serial number of request.
52 * @param serial Serial number of request.
64 * @param serial Serial number of request.
78 * @param serial Serial number of request.
90 * @param serial Serial number of request.
104 * @param serial Serial number of request.
118 * @param serial Serial number of request.
132 * @param serial Serial number of request.
143 * @param serial Serial number of request.
[all …]
/hardware/libhardware/modules/usbcamera/
DCamera.cpp74 camera3_capture_request_t *request) { in process_capture_request() argument
75 return camdev_to_camera(dev)->processCaptureRequest(request); in process_capture_request()
368 int Camera::processCaptureRequest(camera3_capture_request_t *request) { in processCaptureRequest() argument
370 ALOGV("%s:%d: request=%p", __func__, mId, request); in processCaptureRequest()
374 if (request == NULL) { in processCaptureRequest()
380 request->frame_number, request->settings); in processCaptureRequest()
383 if (request->settings == NULL) { in processCaptureRequest()
386 __func__, mId, request->frame_number, request); in processCaptureRequest()
390 updateSettingsLocked(request->settings); in processCaptureRequest()
393 if (request->input_buffer != NULL) { in processCaptureRequest()
[all …]
/hardware/interfaces/wifi/1.0/
DIWifiNanIfaceEventCallback.hal32 * Asynchronous callback invoked in response to a capability request
35 * @param cmdId command Id corresponding to the original request.
44 * Asynchronous callback invoked in response to an enable request |IWifiNanIface.enableRequest|.
46 * @param cmdId command Id corresponding to the original request.
58 * Asynchronous callback invoked in response to a config request |IWifiNanIface.configRequest|.
60 * @param cmdId command Id corresponding to the original request.
70 * Asynchronous callback invoked in response to a disable request |IWifiNanIface.disableRequest|.
72 * @param cmdId command Id corresponding to the original request.
80 * Asynchronous callback invoked to notify the status of the start publish request
83 * @param cmdId command Id corresponding to the original request.
[all …]
/hardware/ril/libril/
DrilSocketQueue.h72 void enqueue(T* request);
121 void Ril_queue<T>::enqueue(T* request) { in enqueue() argument
126 this->front = request; in enqueue()
127 request->p_next = NULL; in enqueue()
129 request->p_next = this->front; in enqueue()
130 this->front = request; in enqueue()
DRilSapSocket.cpp48 SapSocketRequest *request = (SapSocketRequest*) t; in sOnRequestComplete() local
50 RLOGD("Socket id:%d", request->socketId); in sOnRequestComplete()
52 sap_socket = getSocketById(request->socketId); in sOnRequestComplete()
58 if (request->curr->payload) { in sOnRequestComplete()
59 free(request->curr->payload); in sOnRequestComplete()
61 free(request->curr); in sOnRequestComplete()
62 free(request); in sOnRequestComplete()
236 SapSocketRequest* request= (SapSocketRequest*)t; in onRequestComplete() local
237 MsgHeader *hdr = request->curr; in onRequestComplete()
240 rsp.token = request->curr->token; in onRequestComplete()
[all …]
/hardware/interfaces/radio/1.1/vts/functional/
Dradio_hidl_hal_api.cpp45 NetworkScanRequest request; in TEST_F() local
46 request.type = ScanType::ONE_SHOT; in TEST_F()
47 request.interval = 60; in TEST_F()
56 request.specifiers.resize(1); in TEST_F()
57 request.specifiers[0] = specifier; in TEST_F()
59 radio_v1_1->startNetworkScan(serial, request); in TEST_F()
80 NetworkScanRequest request; in TEST_F() local
81 request.type = ScanType::ONE_SHOT; in TEST_F()
82 request.interval = 60; in TEST_F()
84 radio_v1_1->startNetworkScan(serial, request); in TEST_F()
/hardware/qcom/display/sdm845/sdm/libs/hwc/
Dhwc_tonemapper.cpp106 tone_map_config_.secure = layer->request.flags.secure; in SetToneMapConfig()
107 tone_map_config_.format = layer->request.format; in SetToneMapConfig()
118 (layer->request.flags.secure == tone_map_config_.secure) && in IsSameToneMapConfig()
119 (layer->request.format == tone_map_config_.format) && in IsSameToneMapConfig()
120 (layer->request.width == UINT32(handle->unaligned_width)) && in IsSameToneMapConfig()
121 (layer->request.height == UINT32(handle->unaligned_height))); in IsSameToneMapConfig()
135 if (layer->request.flags.tone_map) { in HandleToneMap()
319 if (layer->request.flags.secure) { in AcquireToneMapSession()
324 status = buffer_allocator_.SetBufferInfo(layer->request.format, &format, &usage); in AcquireToneMapSession()
325 error = session->AllocateIntermediateBuffers(INT(layer->request.width), in AcquireToneMapSession()
[all …]
/hardware/qcom/display/sdm845/sdm/libs/hwc2/
Dhwc_tonemapper.cpp68 buffer_info.buffer_config.width = layer->request.width; in AllocateIntermediateBuffers()
69 buffer_info.buffer_config.height = layer->request.height; in AllocateIntermediateBuffers()
70 buffer_info.buffer_config.format = layer->request.format; in AllocateIntermediateBuffers()
71 buffer_info.buffer_config.secure = layer->request.flags.secure; in AllocateIntermediateBuffers()
115 tone_map_config_.secure = layer->request.flags.secure; in SetToneMapConfig()
116 tone_map_config_.format = layer->request.format; in SetToneMapConfig()
127 (layer->request.flags.secure == tone_map_config_.secure) && in IsSameToneMapConfig()
128 (layer->request.format == tone_map_config_.format) && in IsSameToneMapConfig()
129 (layer->request.width == UINT32(handle->unaligned_width)) && in IsSameToneMapConfig()
130 (layer->request.height == UINT32(handle->unaligned_height))); in IsSameToneMapConfig()
[all …]
/hardware/interfaces/radio/1.1/
DIRadio.hal25 * serial: which corresponds to serial no. of request. Serial numbers must only be memorized for the
36 * @param serial Serial number of request.
52 * @param serial Serial number of request
67 * At device power up, the SIM interface is powered up automatically. Each subsequent request
77 * @param serial Serial number of request.
78 * @param request Defines the radio networks/bands/channels which need to be scanned.
82 oneway startNetworkScan(int32_t serial, NetworkScanRequest request);
87 * @param serial Serial number of request.
96 * @param serial Serial number of request.
97 * @param keepalive A request structure containing all necessary info to describe a keepalive
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_tonemapper.cpp107 buffer_info.buffer_config.width = layer->request.width; in AllocateIntermediateBuffers()
108 buffer_info.buffer_config.height = layer->request.height; in AllocateIntermediateBuffers()
109 buffer_info.buffer_config.format = layer->request.format; in AllocateIntermediateBuffers()
110 buffer_info.buffer_config.secure = layer->request.flags.secure; in AllocateIntermediateBuffers()
154 tone_map_config_.secure = layer->request.flags.secure; in SetToneMapConfig()
155 tone_map_config_.format = layer->request.format; in SetToneMapConfig()
166 (layer->request.flags.secure == tone_map_config_.secure) && in IsSameToneMapConfig()
167 (layer->request.format == tone_map_config_.format) && in IsSameToneMapConfig()
168 (layer->request.width == UINT32(handle->unaligned_width)) && in IsSameToneMapConfig()
169 (layer->request.height == UINT32(handle->unaligned_height))); in IsSameToneMapConfig()
[all …]
/hardware/qcom/gps/msm8998/location/
DLocationAPIClientBase.cpp752 LocationAPIRequest* request = getRequestBySession(id); in onResponseCb() local
753 if (request) { in onResponseCb()
754 request->onResponse(error); in onResponseCb()
755 delete request; in onResponseCb()
769 LocationAPIRequest* request = nullptr; in onCollectiveResponseCb() local
772 request = mRequestQueues[REQUEST_GEOFENCE]->pop(); in onCollectiveResponseCb()
775 if (request) { in onCollectiveResponseCb()
776 request->onCollectiveResponse(count, errors, ids); in onCollectiveResponseCb()
777 delete request; in onCollectiveResponseCb()
788 LocationAPIRequest* request = getRequestBySession(id); in onCtrlResponseCb() local
[all …]

123456