Home
last modified time | relevance | path

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

12345

/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_logger.cpp145 int createRingRequest(WifiRequest& request) { in createRingRequest() argument
146 int result = request.create(GOOGLE_OUI, LOGGER_START_LOGGING); in createRingRequest()
152 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRingRequest()
154 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_LEVEL, mVerboseLevel); in createRingRequest()
159 result = request.put_u32(LOGGER_ATTRIBUTE_RING_FLAGS, mFlags); in createRingRequest()
164 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_TIME_INTVAL, mMaxIntervalSec); in createRingRequest()
169 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_MIN_DATA_SIZE, mMinDataSize); in createRingRequest()
174 result = request.put_string(LOGGER_ATTRIBUTE_RING_NAME, mRingName); in createRingRequest()
179 request.attr_end(data); in createRingRequest()
184 int createRequest(WifiRequest &request) { in createRequest() argument
[all …]
Dwifi_offload.cpp78 int createRequest(WifiRequest &request) { in createRequest() argument
84 result = request.create(GOOGLE_OUI, WIFI_OFFLOAD_START_MKEEP_ALIVE); in createRequest()
90 nlattr *data = request.attr_start(NL80211_ATTR_VENDOR_DATA); in createRequest()
92 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); in createRequest()
98 result = request.put_u16(MKEEP_ALIVE_ATTRIBUTE_IP_PKT_LEN, mIpPktLen); in createRequest()
104 result = request.put(MKEEP_ALIVE_ATTRIBUTE_IP_PKT, (u8*)mIpPkt, mIpPktLen); in createRequest()
110 result = request.put_addr(MKEEP_ALIVE_ATTRIBUTE_SRC_MAC_ADDR, mSrcMacAddr); in createRequest()
116 result = request.put_addr(MKEEP_ALIVE_ATTRIBUTE_DST_MAC_ADDR, mDstMacAddr); in createRequest()
122 result = request.put_u32(MKEEP_ALIVE_ATTRIBUTE_PERIOD_MSEC, mPeriodMsec); in createRequest()
128 request.attr_end(data); in createRequest()
[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.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 …]
/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.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 …]
/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 …]
DIWifiStaIfaceEventCallback.hal21 * Callback indicating that an ongoing background scan request has failed.
24 * @param cmdId command ID corresponding to the request.
33 * @param cmdId command ID corresponding to the request.
47 * @param cmdId command ID corresponding to the request.
56 * @param cmdId command ID corresponding to the 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.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 …]
Dril_internal.h70 extern "C" const char * requestToString(int request);
88 RequestInfo * addRequestToList(int serial, int slotId, int request);
/hardware/qcom/gps/msm8998/location/
DLocationAPIClientBase.cpp682 LocationAPIRequest* request = getRequestBySession(id); in onResponseCb() local
683 if (request) { in onResponseCb()
684 request->onResponse(error); in onResponseCb()
685 delete request; in onResponseCb()
699 LocationAPIRequest* request = nullptr; in onCollectiveResponseCb() local
701 request = getRequestBySession(ids[0]); in onCollectiveResponseCb()
702 if (!request) in onCollectiveResponseCb()
703 request = getGeofencesRequest(); in onCollectiveResponseCb()
704 if (request) { in onCollectiveResponseCb()
705 request->onCollectiveResponse(count, errors, ids); in onCollectiveResponseCb()
[all …]
/hardware/qcom/display/msm8998/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()
318 if (layer->request.flags.secure) { in AcquireToneMapSession()
323 status = buffer_allocator_.SetBufferInfo(layer->request.format, &format, &usage); in AcquireToneMapSession()
324 error = session->AllocateIntermediateBuffers(INT(layer->request.width), in AcquireToneMapSession()
[all …]
/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp222 const CaptureRequest& request, in importRequest() argument
225 bool hasInputBuf = (request.inputBuffer.streamId != -1 && in importRequest()
226 request.inputBuffer.bufferId != 0); in importRequest()
227 size_t numOutputBufs = request.outputBuffers.size(); in importRequest()
239 allBufs[i] = request.outputBuffers[i].buffer.getNativeHandle(); in importRequest()
240 allBufIds[i] = request.outputBuffers[i].bufferId; in importRequest()
242 streamIds[i] = request.outputBuffers[i].streamId; in importRequest()
245 allBufs[numOutputBufs] = request.inputBuffer.buffer.getNativeHandle(); in importRequest()
246 allBufIds[numOutputBufs] = request.inputBuffer.bufferId; in importRequest()
248 streamIds[numOutputBufs] = request.inputBuffer.streamId; in importRequest()
[all …]
/hardware/interfaces/camera/device/3.2/
DICameraDeviceCallback.hal41 * response to a single capture request. This allows, for example, the
44 * call must include the frame number of the request it is returning
51 * and the result metadata, must be returned by the HAL for each request in
58 * the buffer for request 5 for stream A must always be returned before the
59 * buffer for request 6 for stream A. This also applies to the result
60 * metadata; the metadata for request 5 must be returned before the metadata
61 * for request 6.
64 * acceptable and expected that the buffer for request 5 for stream A may be
65 * returned after the buffer for request 6 for stream B is. And it is
66 * acceptable that the result metadata for request 6 for stream B is
[all …]
Dtypes.hal122 * processing where the request controls are same for all the frames in
163 * android.request.availableCapabilities.
166 * CONSTRAINED_HIGH_SPEED_VIDEO in the android.request.availableCapabilities
558 * The exposure of a given request or processing a reprocess request has
578 * An error has occurred in processing a request. No output (metadata or
579 * buffers) must be produced for this request. The frameNumber field
580 * specifies which request has been dropped. Subsequent requests are
587 * for a request, but output stream buffers for it must still be
589 * operational. The frameNumber field specifies the request for which
596 * request. The frame metadata and other buffers may still be
[all …]
DICameraDeviceSession.hal25 * configure and request captures from an active camera device.
37 * enums. All request control fields must be included.
59 * @return template The default capture request settings for the requested
72 * least once before a request is submitted with processCaptureRequest().
87 * stream buffers before using buffers from that stream in a request.
100 * Newly allocated buffers may be included in a capture request at any time
180 * request and its associated buffers are available. In a normal preview
182 * framework almost instantly. If more than one request is provided by the
191 * The actual request processing is asynchronous, with the results of
197 * The framework retains ownership of the request structure. It is only
[all …]
/hardware/interfaces/gnss/1.0/
DIGnssNiCallback.hal68 /** Represents an NI request */
101 * request.
107 * who sent the network initiated location request.
123 * Callback with a network initiated request.
125 * @param notification network initiated request.
DIGnssXtraCallback.hal4 * This interface is used by the GNSS HAL to request download of XTRA data.
8 * Callback to request the client to download XTRA data. The client should
DIAGnssRilCallback.hal20 * Callback for IAGnssRil interface. Used to request SET ID and
32 * The Hal uses this API to request a SET ID.
39 * The Hal uses this API to request a reference location.
/hardware/interfaces/radio/deprecated/1.0/
DIOemHook.hal39 * This request passes raw byte arrays between framework and vendor code.
41 * @param serial Serial number of request.
49 * This request passes strings between framework and vendor code.
51 * @param serial Serial number of request.
/hardware/interfaces/drm/1.0/
Dtypes.hal111 * This event type indicates that the app needs to request a certificate
112 * from the provisioning server. The request message data is obtained using
118 * This event type indicates that the app needs to request keys from a
119 * license server. The request message data is obtained using getKeyRequest.
157 * The Release type is used to request that offline keys be no longer
165 * request returned from getKeyRequest.
169 * Key request type is for an initial license request
174 * Key request type is for license renewal. Renewal requests are used
180 * Key request type is a release. A key release causes offline keys
186 * Key request type is unknown due to some error condition.

12345