Home
last modified time | relevance | path

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

12

/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dgscan.cpp354 int createFeatureRequest(WifiRequest& request, int subcmd, int enable) { in createFeatureRequest() argument
356 int result = request.create(GOOGLE_OUI, subcmd); in createFeatureRequest()
361 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createFeatureRequest()
362 result = request.put_u32(GSCAN_ATTRIBUTE_ENABLE_FEATURE, enable); in createFeatureRequest()
367 request.attr_end(data); in createFeatureRequest()
382 int createRequest(WifiRequest& request, int subcmd, int enable) { in createRequest() argument
383 int result = request.create(GOOGLE_OUI, subcmd); in createRequest()
388 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
389 result = request.put_u32(GSCAN_ENABLE_FULL_SCAN_RESULTS, enable); in createRequest()
394 request.attr_end(data); in createRequest()
[all …]
Dwifi_logger.cpp144 int createRingRequest(WifiRequest& request) { in createRingRequest() argument
145 int result = request.create(GOOGLE_OUI, LOGGER_START_LOGGING); in createRingRequest()
151 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRingRequest()
153 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_LEVEL, mVerboseLevel); in createRingRequest()
158 result = request.put_u32(LOGGER_ATTRIBUTE_RING_FLAGS, mFlags); in createRingRequest()
163 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_TIME_INTVAL, mMaxIntervalSec); in createRingRequest()
168 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_MIN_DATA_SIZE, mMinDataSize); in createRingRequest()
173 result = request.put_string(LOGGER_ATTRIBUTE_RING_NAME, mRingName); in createRingRequest()
178 request.attr_end(data); in createRingRequest()
183 int createRequest(WifiRequest &request) { in createRequest() argument
[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 …]
Drtt.cpp323 int createSetupRequest(WifiRequest& request) { in createSetupRequest() argument
324 int result = request.create(GOOGLE_OUI, RTT_SUBCMD_SET_CONFIG); in createSetupRequest()
329 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createSetupRequest()
330 result = request.put_u8(RTT_ATTRIBUTE_TARGET_CNT, numRttParams); in createSetupRequest()
334 nlattr *rtt_config = request.attr_start(RTT_ATTRIBUTE_TARGET_INFO); in createSetupRequest()
336 nlattr *attr2 = request.attr_start(i); in createSetupRequest()
341 result = request.put_addr(RTT_ATTRIBUTE_TARGET_MAC, rttParams[i].addr); in createSetupRequest()
346 result = request.put_u8(RTT_ATTRIBUTE_TARGET_TYPE, rttParams[i].type); in createSetupRequest()
351 result = request.put_u8(RTT_ATTRIBUTE_TARGET_PEER, rttParams[i].peer); in createSetupRequest()
356 result = request.put(RTT_ATTRIBUTE_TARGET_CHAN, &rttParams[i].channel, in createSetupRequest()
[all …]
Dwifi_hal.cpp610 int createRequest(WifiRequest& request, int subcmd, byte *scan_oui) { in createRequest() argument
611 int result = request.create(GOOGLE_OUI, subcmd); in createRequest()
616 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
617 result = request.put(ANDR_WIFI_ATTRIBUTE_PNO_RANDOM_MAC_OUI, scan_oui, DOT11_OUI_LEN); in createRequest()
622 request.attr_end(data); in createRequest()
629 WifiRequest request(familyId(), ifaceId()); in start() local
630 int result = createRequest(request, WIFI_SUBCMD_SET_PNO_RANDOM_MAC_OUI, mOui); in start()
636 result = requestResponse(request); in start()
721 int createRequest(WifiRequest& request, int enable) { in createRequest() argument
722 int result = request.create(GOOGLE_OUI, WIFI_SUBCMD_SET_RSSI_MONITOR); in createRequest()
[all …]
Dcpp_bindings.cpp592 int WifiCommand::requestResponse(WifiRequest& request) { in requestResponse() argument
599 err = nl_send_auto_complete(mInfo->cmd_sock, request.getMessage()); /* send message */ in requestResponse()
/hardware/libhardware/modules/camera/
DCamera.cpp325 int Camera::processCaptureRequest(camera3_capture_request_t *request) in processCaptureRequest() argument
329 ALOGV("%s:%d: request=%p", __func__, mId, request); in processCaptureRequest()
332 if (request == NULL) { in processCaptureRequest()
338 request->frame_number, request->settings); in processCaptureRequest()
341 if (request->settings == NULL) { in processCaptureRequest()
344 __func__, mId, request->frame_number, request); in processCaptureRequest()
348 setSettings(request->settings); in processCaptureRequest()
351 if (request->input_buffer != NULL) { in processCaptureRequest()
353 request->input_buffer); in processCaptureRequest()
355 if (!isValidReprocessSettings(request->settings)) { in processCaptureRequest()
[all …]
DCamera.h50 int processCaptureRequest(camera3_capture_request_t *request);
/hardware/libhardware/modules/usbcamera/
DCamera.cpp67 camera3_capture_request_t *request) { in process_capture_request() argument
68 return camdev_to_camera(dev)->processCaptureRequest(request); in process_capture_request()
361 int Camera::processCaptureRequest(camera3_capture_request_t *request) { in processCaptureRequest() argument
363 ALOGV("%s:%d: request=%p", __func__, mId, request); in processCaptureRequest()
367 if (request == NULL) { in processCaptureRequest()
373 request->frame_number, request->settings); in processCaptureRequest()
376 if (request->settings == NULL) { in processCaptureRequest()
379 __func__, mId, request->frame_number, request); in processCaptureRequest()
383 updateSettingsLocked(request->settings); in processCaptureRequest()
386 if (request->input_buffer != NULL) { in processCaptureRequest()
[all …]
DCamera.h53 int processCaptureRequest(camera3_capture_request_t *request);
/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.cpp55 SapSocketRequest *request = (SapSocketRequest*) t; in sOnRequestComplete() local
57 RLOGD("Socket id:%d", request->socketId); in sOnRequestComplete()
59 sap_socket = getSocketById(request->socketId); in sOnRequestComplete()
65 if (request->curr->payload) { in sOnRequestComplete()
66 free(request->curr->payload); in sOnRequestComplete()
68 free(request->curr); in sOnRequestComplete()
69 free(request); in sOnRequestComplete()
300 SapSocketRequest* request= (SapSocketRequest*)t; in onRequestComplete() local
301 MsgHeader *hdr = request->curr; in onRequestComplete()
304 rsp.token = request->curr->token; in onRequestComplete()
[all …]
DRilSapSocket.h216 void dispatchRequest(MsgHeader *request);
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3HWI.h131 camera3_capture_request_t *request);
176 int processCaptureRequest(camera3_capture_request_t *request);
180 int setFrameParameters(camera3_capture_request_t *request,
182 int32_t setReprocParameters(camera3_capture_request_t *request,
184 int translateToHalMetadata(const camera3_capture_request_t *request,
193 camera3_capture_request_t *request);
273 int validateCaptureRequest(camera3_capture_request_t *request);
279 int64_t getMinFrameDuration(const camera3_capture_request_t *request);
294 const camera3_capture_request_t *request);
DQCamera3Channel.h96 virtual int32_t request(buffer_handle_t * /*buffer*/, in request() function
98 virtual int32_t request(buffer_handle_t * /*buffer*/, in request() function
189 virtual int32_t request(buffer_handle_t *buffer,
286 using QCamera3ProcessingChannel::request;
287 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber);
313 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber);
383 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber);
412 using QCamera3ProcessingChannel::request;
413 virtual int32_t request(buffer_handle_t *buffer,
476 virtual int32_t request(buffer_handle_t *buffer,
[all …]
DQCamera3HWI.cpp2200 camera3_capture_request_t *request) in validateCaptureRequest() argument
2207 if (request == NULL) { in validateCaptureRequest()
2212 if ((request->settings == NULL) && (mState == CONFIGURED)) { in validateCaptureRequest()
2217 uint32_t frameNumber = request->frame_number; in validateCaptureRequest()
2218 if (request->num_output_buffers < 1 || request->output_buffers == NULL) { in validateCaptureRequest()
2223 if (request->num_output_buffers >= MAX_NUM_STREAMS) { in validateCaptureRequest()
2225 request->num_output_buffers, MAX_NUM_STREAMS); in validateCaptureRequest()
2228 if (request->input_buffer != NULL) { in validateCaptureRequest()
2229 b = request->input_buffer; in validateCaptureRequest()
2248 b = request->output_buffers; in validateCaptureRequest()
[all …]
/hardware/ril/reference-ril/
Dreference-ril.c170 static void onRequest (int request, void *data, size_t datalen, RIL_Token t);
181 extern const char * requestToString(int request);
914 static void requestSetPreferredNetworkType( int request __unused, void *data,
961 static void requestGetPreferredNetworkType(int request __unused, void *data __unused,
986 static void requestCdmaPrlVersion(int request __unused, void *data __unused,
1010 static void requestCdmaBaseBandVersion(int request __unused, void *data __unused,
1029 static void requestCdmaDeviceIdentity(int request __unused, void *data __unused,
1066 static void requestCdmaGetSubscriptionSource(int request __unused, void *data,
1099 static void requestCdmaSetSubscriptionSource(int request __unused, void *data,
1131 static void requestCdmaSubscription(int request __unused, void *data __unused,
[all …]
/hardware/libhardware/tests/camera2/
DCameraMultiStreamTests.cpp344 void CaptureBurst(CameraMetadata& request, size_t requestCount, in CaptureBurst() argument
350 ASSERT_EQ(OK, request.update(ANDROID_SENSOR_FRAME_DURATION, in CaptureBurst()
355 ASSERT_EQ(OK, request.update(ANDROID_REQUEST_ID, requestIdStart, 1)); in CaptureBurst()
356 ASSERT_EQ(OK, request.update(ANDROID_SENSOR_EXPOSURE_TIME, &exposures[i], 1)); in CaptureBurst()
357 ASSERT_EQ(OK, request.update(ANDROID_SENSOR_SENSITIVITY, &sensitivities[i], 1)); in CaptureBurst()
358 ASSERT_EQ(OK, mDevice->capture(request)); in CaptureBurst()
362 request.dump(STDOUT_FILENO); in CaptureBurst()
/hardware/bsp/intel/peripheral/libupm/docs/
Dporting.md60 request! We'd love to include your sensor in our repository.
64 https://help.github.com/articles/creating-a-pull-request
/hardware/intel/img/hwcomposer/merrifield/common/observers/
DSoftVsyncObserver.cpp21 const struct timespec *request,
/hardware/libhardware/include/hardware/
Dhwcomposer2.h354 hwc2_display_request_t request) { in getDisplayRequestName() argument
355 switch (request) { in getDisplayRequestName()
453 static inline const char* getLayerRequestName(hwc2_layer_request_t request) { in getLayerRequestName() argument
454 switch (request) { in getLayerRequestName()
Dcamera3.h2929 camera3_capture_request_t *request);
Dcamera2.h582 camera_metadata_t **request);
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/include/
Dh264parse_dpb.h95 int32_t direct, int32_t request, int32_t num_ref_frames);
/hardware/qcom/audio/msm8909/hal/
Daudio_hw.h320 int pcm_ioctl(struct pcm *pcm, int request, ...);

12