/hardware/libhardware/modules/camera/3_4/ |
D | request_tracker.cpp | 46 std::set<camera3_stream_t*> RequestStreams(const CaptureRequest& request) { in RequestStreams() argument 48 if (request.input_buffer) { in RequestStreams() 49 result.insert(request.input_buffer->stream); in RequestStreams() 51 for (const auto& output_buffer : request.output_buffers) { in RequestStreams() 57 bool RequestTracker::Add(std::shared_ptr<CaptureRequest> request) { in Add() argument 58 if (!CanAddRequest(*request)) { in Add() 63 for (const auto stream : RequestStreams(*request)) { in Add() 68 frames_in_flight_[request->frame_number] = request; in Add() 73 bool RequestTracker::Remove(std::shared_ptr<CaptureRequest> request) { in Remove() argument 74 if (!request) { in Remove() [all …]
|
D | capture_request.cpp | 23 CaptureRequest::CaptureRequest(const camera3_capture_request_t* request) { in CaptureRequest() argument 24 if (!request) { in CaptureRequest() 28 frame_number = request->frame_number; in CaptureRequest() 33 settings = request->settings; in CaptureRequest() 39 if (request->input_buffer) { in CaptureRequest() 41 std::make_unique<camera3_stream_buffer_t>(*request->input_buffer); in CaptureRequest() 45 uint32_t num_output_buffers = request->num_output_buffers; in CaptureRequest() 46 if (num_output_buffers < 0 || !request->output_buffers) { in CaptureRequest() 50 request->output_buffers, in CaptureRequest() 51 request->output_buffers + num_output_buffers); in CaptureRequest()
|
D | camera.cpp | 313 std::shared_ptr<CaptureRequest> request = std::make_shared<CaptureRequest>(temp_request); in processCaptureRequest() local 315 ALOGV("%s:%d: frame: %d", __func__, mId, request->frame_number); in processCaptureRequest() 317 if (!mInFlightTracker->CanAddRequest(*request)) { in processCaptureRequest() 324 if (request->settings.isEmpty() && !mSettingsSet) { in processCaptureRequest() 326 __func__, mId, request->frame_number); in processCaptureRequest() 330 if (request->input_buffer != NULL) { in processCaptureRequest() 332 request->input_buffer.get()); in processCaptureRequest() 337 if (!isValidRequestSettings(request->settings)) { in processCaptureRequest() 343 if (request->output_buffers.size() <= 0) { in processCaptureRequest() 345 request->output_buffers.size()); in processCaptureRequest() [all …]
|
D | v4l2_camera.cpp | 183 std::shared_ptr<default_camera_hal::CaptureRequest> request) { in enqueueRequest() argument 190 request_queue_.push(request); in enqueueRequest() 204 std::shared_ptr<default_camera_hal::CaptureRequest> request = in dequeueRequest() local 207 return request; in dequeueRequest() 212 std::shared_ptr<default_camera_hal::CaptureRequest> request = in enqueueRequestBuffers() local 224 int res = metadata_->SetRequestSettings(request->settings); in enqueueRequestBuffers() 227 completeRequest(request, res); in enqueueRequestBuffers() 233 res = metadata_->FillResultMetadata(&request->settings); in enqueueRequestBuffers() 240 completeRequest(request, res); in enqueueRequestBuffers() 245 res = device_->EnqueueRequest(request); in enqueueRequestBuffers() [all …]
|
/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
D | ValidateRequest.cpp | 40 Request request = originalRequest; in validate() local 41 mutate(&request); in validate() 45 Return<ErrorStatus> executeLaunchStatus = preparedModel->execute(request, executionCallback); in validate() 56 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest() argument 57 for (size_t input = 0; input < request.inputs.size(); ++input) { in removeInputTest() 59 validate(preparedModel, message, request, in removeInputTest() 60 [input](Request* request) { hidl_vec_removeAt(&request->inputs, input); }); in removeInputTest() argument 66 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest() argument 67 for (size_t output = 0; output < request.outputs.size(); ++output) { in removeOutputTest() 69 validate(preparedModel, message, request, in removeOutputTest() [all …]
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | gscan.cpp | 372 int createFeatureRequest(WifiRequest& request, int subcmd, int enable) { in createFeatureRequest() argument 374 int result = request.create(GOOGLE_OUI, subcmd); in createFeatureRequest() 379 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createFeatureRequest() 380 result = request.put_u32(GSCAN_ATTRIBUTE_ENABLE_FEATURE, enable); in createFeatureRequest() 385 request.attr_end(data); in createFeatureRequest() 400 int createRequest(WifiRequest& request, int subcmd, int enable) { in createRequest() argument 401 int result = request.create(GOOGLE_OUI, subcmd); in createRequest() 406 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest() 407 result = request.put_u32(GSCAN_ENABLE_FULL_SCAN_RESULTS, enable); in createRequest() 412 request.attr_end(data); in createRequest() [all …]
|
D | wifi_logger.cpp | 161 int createRingRequest(WifiRequest& request) { in createRingRequest() argument 162 int result = request.create(GOOGLE_OUI, LOGGER_START_LOGGING); in createRingRequest() 168 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRingRequest() 170 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_LEVEL, mVerboseLevel); in createRingRequest() 175 result = request.put_u32(LOGGER_ATTRIBUTE_RING_FLAGS, mFlags); in createRingRequest() 180 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_TIME_INTVAL, mMaxIntervalSec); in createRingRequest() 185 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_MIN_DATA_SIZE, mMinDataSize); in createRingRequest() 190 result = request.put_string(LOGGER_ATTRIBUTE_RING_NAME, mRingName); in createRingRequest() 195 request.attr_end(data); in createRingRequest() 200 int createRequest(WifiRequest &request) { in createRequest() argument [all …]
|
D | wifi_offload.cpp | 94 int createRequest(WifiRequest &request) { in createRequest() argument 100 result = request.create(GOOGLE_OUI, WIFI_OFFLOAD_START_MKEEP_ALIVE); in createRequest() 106 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest() 108 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); in createRequest() 114 result = request.put_u16(MKEEP_ALIVE_ATTRIBUTE_IP_PKT_LEN, mIpPktLen); in createRequest() 120 result = request.put(MKEEP_ALIVE_ATTRIBUTE_IP_PKT, (u8*)mIpPkt, mIpPktLen); in createRequest() 126 result = request.put_addr(MKEEP_ALIVE_ATTRIBUTE_SRC_MAC_ADDR, mSrcMacAddr); in createRequest() 132 result = request.put_addr(MKEEP_ALIVE_ATTRIBUTE_DST_MAC_ADDR, mDstMacAddr); in createRequest() 138 result = request.put_u32(MKEEP_ALIVE_ATTRIBUTE_PERIOD_MSEC, mPeriodMsec); in createRequest() 144 request.attr_end(data); in createRequest() [all …]
|
D | rtt.cpp | 342 int createSetupRequest(WifiRequest& request) { in createSetupRequest() argument 343 int result = request.create(GOOGLE_OUI, RTT_SUBCMD_SET_CONFIG); in createSetupRequest() 348 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createSetupRequest() 349 result = request.put_u8(RTT_ATTRIBUTE_TARGET_CNT, numRttParams); in createSetupRequest() 353 nlattr *rtt_config = request.attr_start(RTT_ATTRIBUTE_TARGET_INFO); in createSetupRequest() 355 nlattr *attr2 = request.attr_start(i); in createSetupRequest() 360 result = request.put_addr(RTT_ATTRIBUTE_TARGET_MAC, rttParams[i].addr); in createSetupRequest() 365 result = request.put_u8(RTT_ATTRIBUTE_TARGET_TYPE, rttParams[i].type); in createSetupRequest() 370 result = request.put_u8(RTT_ATTRIBUTE_TARGET_PEER, rttParams[i].peer); in createSetupRequest() 375 result = request.put(RTT_ATTRIBUTE_TARGET_CHAN, &rttParams[i].channel, in createSetupRequest() [all …]
|
/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | ValidateRequest.cpp | 36 Request request = originalRequest; in validate() local 37 mutate(&request); in validate() 41 Return<ErrorStatus> executeLaunchStatus = preparedModel->execute(request, executionCallback); in validate() 72 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest() argument 73 for (size_t input = 0; input < request.inputs.size(); ++input) { in removeInputTest() 75 validate(preparedModel, message, request, in removeInputTest() 76 [input](Request* request) { hidl_vec_removeAt(&request->inputs, input); }); in removeInputTest() argument 82 static void removeOutputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeOutputTest() argument 83 for (size_t output = 0; output < request.outputs.size(); ++output) { in removeOutputTest() 85 validate(preparedModel, message, request, in removeOutputTest() [all …]
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | ValidateRequest.cpp | 46 Request request = originalRequest; in validate() local 47 mutate(&request); in validate() 65 preparedModel->execute_1_2(request, measure, executionCallback); in validate() 83 request, measure, in validate() 104 std::vector<intptr_t> keys(request.pools.size()); in validate() 106 keys[i] = reinterpret_cast<intptr_t>(&request.pools[i]); in validate() 110 const auto [n, outputShapes, timing, fallback] = burst->compute(request, measure, keys); in validate() 118 if (request.pools.size() > 0) { in validate() 133 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest() argument 134 for (size_t input = 0; input < request.inputs.size(); ++input) { in removeInputTest() [all …]
|
D | VtsHalNeuralnetworks.cpp | 123 void validateRequest(const sp<IPreparedModel>& preparedModel, const V1_0::Request& request); 125 void validateRequestFailure(const sp<IPreparedModel>& preparedModel, const V1_0::Request& request); 127 void validateBurst(const sp<IPreparedModel>& preparedModel, const V1_0::Request& request); 129 void validateEverything(const sp<IDevice>& device, const Model& model, const Request& request) { in validateEverything() argument 137 validateRequest(preparedModel, request); in validateEverything() 138 validateBurst(preparedModel, request); in validateEverything() 141 void validateFailure(const sp<IDevice>& device, const Model& model, const Request& request) { in validateFailure() argument 151 validateRequestFailure(preparedModel, request); in validateFailure() 157 const Request request = context.createRequest(kTestModel); in TEST_P() local 159 validateFailure(kDevice, model, request); in TEST_P() [all …]
|
D | ValidateBurst.cpp | 242 const Request& request) { in validateBurstSerialization() argument 255 keys.reserve(request.pools.size()); in validateBurstSerialization() 256 std::transform(request.pools.begin(), request.pools.end(), std::back_inserter(keys), in validateBurstSerialization() 258 const std::vector<int32_t> slots = callback->getSlots(request.pools, keys); in validateBurstSerialization() 267 const auto serialized = android::nn::serialize(request, MeasureTiming::YES, slots); in validateBurstSerialization() 278 const Request& request) { in validateBurstFmqLength() argument 292 std::vector<intptr_t> keys(request.pools.size()); in validateBurstFmqLength() 294 keys[i] = reinterpret_cast<intptr_t>(&request.pools[i]); in validateBurstFmqLength() 299 controllerRegular->compute(request, MeasureTiming::NO, keys); in validateBurstFmqLength() 315 controllerSmall->compute(request, MeasureTiming::NO, keys); in validateBurstFmqLength() [all …]
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | ValidateRequest.cpp | 50 Request request = originalRequest; in validate() local 51 mutate(&request); in validate() 69 preparedModel->execute_1_3(request, measure, {}, {}, executionCallback); in validate() 87 request, measure, {}, {}, in validate() 102 ASSERT_TRUE(nn::compliantWithV1_0(request)); in validate() 103 V1_0::Request request10 = nn::convertToV1_0(request); in validate() 142 preparedModel->executeFenced(request, {}, MeasureTiming::NO, {}, {}, {}, in validate() 155 static void removeInputTest(const sp<IPreparedModel>& preparedModel, const Request& request) { in removeInputTest() argument 156 for (size_t input = 0; input < request.inputs.size(); ++input) { in removeInputTest() 158 validate(preparedModel, message, request, in removeInputTest() [all …]
|
D | VtsHalNeuralnetworks.cpp | 128 void validateRequest(const sp<IPreparedModel>& preparedModel, const Request& request); 130 void validateRequestFailure(const sp<IPreparedModel>& preparedModel, const Request& request); 132 void validateBurst(const sp<IPreparedModel>& preparedModel, const V1_0::Request& request); 135 void validateExecuteFenced(const sp<IPreparedModel>& preparedModel, const Request& request) { in validateExecuteFenced() argument 138 request, {hidl_handle(nullptr)}, V1_2::MeasureTiming::NO, {}, {}, {}, in validateExecuteFenced() 148 void validateEverything(const sp<IDevice>& device, const Model& model, const Request& request) { in validateEverything() argument 156 validateRequest(preparedModel, request); in validateEverything() 157 validateExecuteFenced(preparedModel, request); in validateEverything() 160 ASSERT_TRUE(nn::compliantWithV1_0(request)); in validateEverything() 161 V1_0::Request request10 = nn::convertToV1_0(request); in validateEverything() [all …]
|
D | ValidateBurst.cpp | 248 const Request& request) { in validateBurstSerialization() argument 261 keys.reserve(request.pools.size()); in validateBurstSerialization() 262 std::transform(request.pools.begin(), request.pools.end(), std::back_inserter(keys), in validateBurstSerialization() 264 const std::vector<int32_t> slots = callback->getSlots(request.pools, keys); in validateBurstSerialization() 273 const auto serialized = android::nn::serialize(request, MeasureTiming::YES, slots); in validateBurstSerialization() 284 const Request& request) { in validateBurstFmqLength() argument 298 std::vector<intptr_t> keys(request.pools.size()); in validateBurstFmqLength() 300 keys[i] = reinterpret_cast<intptr_t>(&request.pools[i]); in validateBurstFmqLength() 305 controllerRegular->compute(request, MeasureTiming::NO, keys); in validateBurstFmqLength() 321 controllerSmall->compute(request, MeasureTiming::NO, keys); in validateBurstFmqLength() [all …]
|
/hardware/st/secure_element2/secure_element/1.0/esehal/src/ |
D | iso7816_t1.c | 191 write_request(struct t1_state *t1, int request, uint8_t *buf) in write_request() argument 194 buf[1] = 0xC0 | request; in write_request() 196 request &= 0x1F; in write_request() 197 if (T1_REQUEST_IFS == request) { in write_request() 204 } else if (T1_REQUEST_WTX == request) { in write_request() 277 t1->state.request = 1; in parse_rblock() 278 t1->request = T1_REQUEST_RESYNC; in parse_rblock() 293 uint8_t request = buf[1] & 0x3F; in parse_request() local 295 t1->request = request; in parse_request() 296 switch (request) { in parse_request() [all …]
|
/hardware/libhardware/modules/camera/3_0/ |
D | Camera.cpp | 330 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/ |
D | ISupplicantStaNetworkCallback.hal | 28 /** 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/ |
D | IRadio.hal | 25 * 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/ |
D | Camera.cpp | 74 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/gatekeeper/1.0/software/tests/ |
D | gatekeeper_test.cpp | 53 EnrollRequest request(0, {}, makePasswordBuffer(), {}); in do_enroll() local 55 gatekeeper.Enroll(request, response); in do_enroll() 69 EnrollRequest request(0, {}, {}, {}); in TEST() local 71 gatekeeper.Enroll(request, &response); in TEST() 82 VerifyRequest request(0, 1, std::move(enroll_response.enrolled_password_handle), in TEST() local 86 gatekeeper.Verify(request, &response); in TEST() 109 VerifyRequest request(0, 0, copySizedBuffer(enroll_response.enrolled_password_handle), in TEST() local 112 gatekeeper.Verify(request, &response); in TEST() 146 VerifyRequest request(0, 0, std::move(enroll_response.enrolled_password_handle), in TEST() local 149 gatekeeper.Verify(request, &response); in TEST() [all …]
|
/hardware/interfaces/wifi/1.0/ |
D | IWifiNanIfaceEventCallback.hal | 32 * 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/interfaces/camera/device/3.4/ |
D | types.hal | 102 * The session parameters contain the initial values of any request keys that were 160 * output buffers of the capture request. 164 * If non-zero, read settings from request queue instead 177 * request and return Status::ILLEGAL_ARGUMENT. 185 * settings are identical to the most-recently submitted capture request. 186 * An empty buffer cannot be used as the first submitted request after 198 * A single request for image capture/buffer reprocessing, sent to the Camera 201 * The request contains the settings to be used for this capture, and the set of 203 * contain an input buffer, in which case the request is for reprocessing that 231 * settings when it receives a CaptureRequest request in [all …]
|
/hardware/ril/libril/ |
D | RilSapSocket.cpp | 48 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) { in sOnRequestComplete() 59 free(request->curr); in sOnRequestComplete() 61 free(request); in sOnRequestComplete() 235 SapSocketRequest* request= (SapSocketRequest*)t; in onRequestComplete() local 237 if (!request || !request->curr) { in onRequestComplete() 242 MsgHeader *hdr = request->curr; in onRequestComplete() 245 rsp.token = request->curr->token; in onRequestComplete() [all …]
|