Searched defs:request (Results 76 - 100 of 213) sorted by relevance

123456789

/frameworks/support/core-ui/java/android/support/v4/view/
H A DAsyncLayoutInflater.java42 * when the inflate request has completed.
86 InflateRequest request = mInflateThread.obtainRequest();
87 request.inflater = this;
88 request.resid = resid;
89 request.parent = parent;
90 request.callback = callback;
91 mInflateThread.enqueue(request);
97 InflateRequest request = (InflateRequest) msg.obj;
98 if (request.view == null) {
99 request
221 enqueue(InflateRequest request) argument
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DDrmPlugin.h56 Vector<uint8_t>& request,
95 Vector<uint8_t>& request,
99 UNUSED(request);
92 getProvisionRequest( const String8& cert_type, const String8& cert_authority, Vector<uint8_t>& request, String8& defaultUrl) argument
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DStreamingProcessor.cpp126 ALOGE("%s: Camera %d: Unable to create default preview request: "
135 "request: %s (%d)", __FUNCTION__, mId,
143 ALOGE("%s: Camera %d: Unable to update request id for preview: %s (%d)",
270 ALOGE("%s: Camera %d: Unable to create default recording request:"
279 "request: %s (%d)", __FUNCTION__, mId,
287 ALOGE("%s: Camera %d: Unable to update request id for request: %s (%d)",
452 CameraMetadata &request = (type == PREVIEW) ? local
455 res = request.update(
459 ALOGE("%s: Camera %d: Unable to set up preview request
516 CameraMetadata &request = local
[all...]
/frameworks/av/services/oboeservice/
H A DAAudioServiceStreamMMAP.cpp71 aaudio_result_t AAudioServiceStreamMMAP::open(const aaudio::AAudioStreamRequest &request, argument
82 aaudio_result_t result = AAudioServiceStreamBase::open(request, configurationOutput);
88 const AAudioStreamConfiguration &configurationInput = request.getConstantConfiguration();
91 mMmapClient.clientUid = request.getUserId();
92 mMmapClient.clientPid = request.getProcessId();
93 aaudio_direction_t direction = request.getDirection();
/frameworks/base/core/java/android/app/usage/
H A DNetworkStatsManager.java359 DataUsageRequest request = new DataUsageRequest(DataUsageRequest.REQUEST_ID_UNSET,
364 callback.request = mService.registerUsageCallback(
365 mContext.getOpPackageName(), request, new Messenger(callbackHandler),
367 if (DBG) Log.d(TAG, "registerUsageCallback returned " + callback.request);
369 if (callback.request == null) {
384 if (callback == null || callback.request == null
385 || callback.request.requestId == DataUsageRequest.REQUEST_ID_UNSET) {
389 mService.unregisterUsageRequest(callback.request);
409 private DataUsageRequest request; field in class:NetworkStatsManager.UsageCallback
445 DataUsageRequest request
[all...]
/frameworks/base/core/java/android/companion/
H A DCompanionDeviceManager.java129 * @param request specific details about this request
137 @NonNull AssociationRequest request,
143 checkNotNull(request, "Request cannot be null");
147 request,
148 new CallbackProxy(request, callback, Handler.mainIfNull(handler)),
274 private CallbackProxy(AssociationRequest request, Callback callback, Handler handler) { argument
277 mRequest = request;
136 associate( @onNull AssociationRequest request, @NonNull Callback callback, @Nullable Handler handler) argument
/frameworks/base/core/java/android/content/
H A DContentProviderNative.java637 public Bundle call(String callingPkg, String method, String request, Bundle args) argument
646 data.writeString(request);
H A DRestrictionsManager.java56 * and can be expressed via a predefined set of request types.
130 * Broadcast intent delivered when a response is received for a permission request. The
136 * the app can post a notification that the request had been approved or denied.
145 * Broadcast intent sent to the Restrictions Provider to handle a permission request from
148 * The Restrictions Provider will handle the request and respond back to the
174 * The package name of the application making the request.
181 * The request type passed in the {@link #ACTION_REQUEST_PERMISSION} broadcast.
188 * The request ID passed in the {@link #ACTION_REQUEST_PERMISSION} broadcast.
195 * The request bundle passed in the {@link #ACTION_REQUEST_PERMISSION} broadcast.
202 * Contains a response from the administrator for specific request
466 requestPermission(String requestType, String requestId, PersistableBundle request) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraCaptureSession.java95 * a given output Surface before that Surface is used as a target for a request. The number of
108 * applications using this method should take care to request only the number of buffers
113 * used as a target of a capture request in the first session, prepare cannot be called on it
209 * again even if it was used as a request target before the tearDown() call, as long as it
210 * doesn't get used as a target of a request between the tearDown() and prepare() calls.</p>
286 * <p>Submit a request for an image to be captured by the camera device.</p>
288 * <p>The request defines all the parameters for capturing the single image,
291 * <p>Each request will produce one {@link CaptureResult} and produce new frames for one or more
301 * first-in, first-out order, respectively. However, the processing order of a regular request
302 * and a reprocess request i
352 capture(@onNull CaptureRequest request, @Nullable CaptureCallback listener, @Nullable Handler handler) argument
481 setRepeatingRequest(@onNull CaptureRequest request, @Nullable CaptureCallback listener, @Nullable Handler handler) argument
874 onCaptureStarted(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, long timestamp, long frameNumber) argument
904 onCapturePartial(CameraCaptureSession session, CaptureRequest request, CaptureResult result) argument
948 onCaptureProgressed(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, @NonNull CaptureResult partialResult) argument
977 onCaptureCompleted(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, @NonNull TotalCaptureResult result) argument
1006 onCaptureFailed(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, @NonNull CaptureFailure failure) argument
1089 onCaptureBufferLost(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, @NonNull Surface target, long frameNumber) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCallbackProxies.java102 CaptureRequest request, long timestamp, long frameNumber) {
103 mProxy.invoke("onCaptureStarted", camera, request, timestamp, frameNumber);
108 CaptureRequest request, CaptureResult result) {
109 mProxy.invoke("onCapturePartial", camera, request, result);
114 CaptureRequest request, CaptureResult partialResult) {
115 mProxy.invoke("onCaptureProgressed", camera, request, partialResult);
120 CaptureRequest request, TotalCaptureResult result) {
121 mProxy.invoke("onCaptureCompleted", camera, request, result);
126 CaptureRequest request, CaptureFailure failure) {
127 mProxy.invoke("onCaptureFailed", camera, request, failur
101 onCaptureStarted(CameraDevice camera, CaptureRequest request, long timestamp, long frameNumber) argument
107 onCapturePartial(CameraDevice camera, CaptureRequest request, CaptureResult result) argument
113 onCaptureProgressed(CameraDevice camera, CaptureRequest request, CaptureResult partialResult) argument
119 onCaptureCompleted(CameraDevice camera, CaptureRequest request, TotalCaptureResult result) argument
125 onCaptureFailed(CameraDevice camera, CaptureRequest request, CaptureFailure failure) argument
143 onCaptureBufferLost(CameraDevice camera, CaptureRequest request, Surface target, long frameNumber) argument
[all...]
H A DCameraCaptureSessionImpl.java161 public synchronized int capture(CaptureRequest request, CaptureCallback callback, argument
163 if (request == null) {
164 throw new IllegalArgumentException("request must not be null");
165 } else if (request.isReprocess() && !isReprocessable()) {
168 } else if (request.isReprocess() && request.getReprocessableSessionId() != mId) {
169 throw new IllegalArgumentException("capture request was created for another session");
177 Log.v(TAG, mIdString + "capture - request " + request + ", callback " + callback +
181 return addPendingSequence(mDeviceImpl.capture(request,
221 setRepeatingRequest(CaptureRequest request, CaptureCallback callback, Handler handler) argument
[all...]
H A DCameraConstrainedHighSpeedCaptureSessionImpl.java73 public List<CaptureRequest> createHighSpeedRequestList(CaptureRequest request) argument
75 if (request == null) {
76 throw new IllegalArgumentException("Input capture request must not be null");
78 Collection<Surface> outputSurfaces = request.getTargets();
79 Range<Integer> fpsRange = request.get(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE);
91 // Prepare the Request builders: need carry over the request controls.
92 // First, create a request builder that will only include preview or recording target.
93 CameraMetadataNative requestMetadata = new CameraMetadataNative(request.getNativeCopy());
95 // for next request builder creation.
113 // Second, Create a request builde
183 capture(CaptureRequest request, CaptureCallback listener, Handler handler) argument
201 setRepeatingRequest(CaptureRequest request, CaptureCallback listener, Handler handler) argument
[all...]
H A DICameraDeviceUserWrapper.java71 public SubmitInfo submitRequest(CaptureRequest request, boolean streaming) argument
74 return mRemoteDevice.submitRequest(request, streaming);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceState.java137 * @param request A {@link RequestHolder} containing the request for the current capture.
139 * @param captureError Report a recoverable error for a single request using a valid
144 public synchronized boolean setCaptureStart(final RequestHolder request, long timestamp, argument
146 mCurrentRequest = request;
161 * @param request The {@link RequestHolder} request that created this result.
169 public synchronized boolean setCaptureResult(final RequestHolder request, argument
184 mCurrentListener.onError(captureError, captureErrorArg, request);
191 mCurrentListener.onCaptureResult(result, request);
199 setCaptureResult(final RequestHolder request, final CameraMetadataNative result) argument
[all...]
H A DRequestHolder.java28 * Semi-immutable container for a single capture request and associated information,
51 * This allows per-request queries to be cached for repeating {@link CaptureRequest} objects.
68 * @param request the original {@link CaptureRequest} to set in {@link RequestHolder}
70 * @param repeating {@code true} if the request is repeating.
72 public Builder(int requestId, int subsequenceId, CaptureRequest request, argument
74 checkNotNull(request, "request must not be null");
77 mRequest = request;
114 * Returns the number of surfaces targeted by the request that require jpeg buffers.
116 private int numJpegTargets(CaptureRequest request) { argument
133 numPreviewTargets(CaptureRequest request) argument
160 RequestHolder(int requestId, int subsequenceId, CaptureRequest request, boolean repeating, long frameNumber, int numJpegTargets, int numPreviewTargets, Collection<Long> jpegSurfaceIds) argument
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java158 * The direction of the transfer is determined by the request type.
169 * @param requestType request type for this transaction
170 * @param request request ID for this transaction
180 public int controlTransfer(int requestType, int request, int value, argument
182 return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout);
187 * The direction of the transfer is determined by the request type.
193 * @param requestType request type for this transaction
194 * @param request request I
205 controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int offset, int length, int timeout) argument
366 native_control_request(int requestType, int request, int value, int index, byte[] buffer, int offset, int length, int timeout) argument
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkFactory.java46 * request that passes their current filters.
55 * Pass a network request to the bearer. If the bearer believes it can
56 * satisfy the request it should connect to the network and create a
59 * If the bearer cannot immediately satisfy the request (no network,
66 * request. If this bearer knows in advance it cannot
67 * exceed this score it should not try to connect, holding the request
70 * or higher) score for this request, transmitted to each
79 * Cancel a network request
156 public final NetworkRequest request; field in class:NetworkFactory.NetworkRequestInfo
158 public boolean requested; // do we have a request outstandin
160 NetworkRequestInfo(NetworkRequest request, int score) argument
173 handleAddRequest(NetworkRequest request, int score) argument
189 handleRemoveRequest(NetworkRequest request) argument
226 acceptRequest(NetworkRequest request, int score) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java296 * fields in <code>request</code> for how many chars to return,
306 * @param request Description of how the text should be returned.
314 * longer valid of the editor can't comply with the request for
317 public ExtractedText getExtractedText(ExtractedTextRequest request, argument
818 * @return {@code true} if the request is scheduled. {@code false} to indicate that when the
852 * When this flag is used, the editor will be able to request read access to the content URI
863 * client is able to request a temporary read-only access even after the current IME is switched
877 * <li>Editor can ignore this request when the MIME type specified in
897 * @return {@code true} if this request is accepted by the application, whether the request
[all...]
H A DInputConnectionWrapper.java109 public ExtractedText getExtractedText(ExtractedTextRequest request, int flags) { argument
110 return mTarget.getExtractedText(request, flags);
/frameworks/base/core/java/android/webkit/
H A DWebViewClient.java62 * with the request's url from inside the method and then return true,
68 * @param request Object containing the details of the request.
72 public boolean shouldOverrideUrlLoading(WebView view, WebResourceRequest request) { argument
73 return shouldOverrideUrlLoading(view, request.getUrl().toString());
146 * Notify the host application of a resource request and allow the
169 * Notify the host application of a resource request and allow the
178 * @param request Object containing the details of the request.
184 WebResourceRequest request) {
183 shouldInterceptRequest(WebView view, WebResourceRequest request) argument
265 onReceivedError(WebView view, WebResourceRequest request, WebResourceError error) argument
283 onReceivedHttpError( WebView view, WebResourceRequest request, WebResourceResponse errorResponse) argument
362 onReceivedClientCertRequest(WebView view, ClientCertRequest request) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDeviceConnection.cpp174 jint requestType, jint request, jint value, jint index,
188 jint result = usb_device_control_transfer(device, requestType, request,
231 struct usb_request* request; local
233 request = usb_request_wait(device, -1);
238 // Poll the existence of a request via usb_request_wait until we get a result, an unexpected
242 request = usb_request_wait(device, duration_cast<std::chrono::milliseconds>(endTime
246 if (request != NULL) {
262 if (request) {
263 return (jobject)request->client_data;
173 android_hardware_UsbDeviceConnection_control_request(JNIEnv *env, jobject thiz, jint requestType, jint request, jint value, jint index, jbyteArray buffer, jint start, jint length, jint timeout) argument
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DAbstractProxyTest.java79 RecordedRequest request = server.takeRequest();
80 assertEquals("GET /foo HTTP/1.1", request.getRequestLine());
121 HttpGet request = new HttpGet("http://android.com/foo");
122 proxyConfig.configure(server, httpProxyClient, request);
124 HttpResponse response = httpProxyClient.execute(request);
166 HttpGet request = new HttpGet("https://android.com/foo");
167 proxyConfig.configure(server, httpProxyClient, request);
169 HttpResponse response = httpProxyClient.execute(request);
191 server.enqueue(new MockResponse().setBody("Via request parameter proxy!"));
197 HttpGet request
271 configure(MockWebServer proxy, HttpClient client, HttpRequest request) argument
[all...]
/frameworks/base/libs/androidfw/
H A DLocaleData.cpp109 // written for 'supported' minus 1) plus the distance of 'request' to the
145 const uint32_t request = packLocale(requested_language, requested_region); local
161 // Find the parents of the request, but stop as soon as we saw left or right
165 request, requested_script,
175 // request. This means that all the ancestors have been computed and
186 // If we are here, left and right are equidistant from the request. We will
/frameworks/base/libs/hwui/
H A DAnimator.cpp120 void BaseRenderNodeAnimator::resolveStagingRequest(Request request) { argument
121 switch (request) {
149 LOG_ALWAYS_FATAL("Invalid staging request: %d", static_cast<int>(request));
178 for (Request request : mStagingRequests) {
179 resolveStagingRequest(request);
204 // If the request is to start from the beginning, include start delay.
207 // If the request is to seek to a non-zero play time, then we skip start
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusionEngine.java113 public void setRequest(ProviderRequestUnbundled request, WorkSource source) { argument
114 mRequest = request;
115 mEnabled = request.getReportLocation();
166 for (LocationRequestUnbundled request : mRequest.getLocationRequests()) {
167 switch (request.getQuality()) {
170 if (request.getInterval() < gpsInterval) {
171 gpsInterval = request.getInterval();
173 if (request.getInterval() < networkInterval) {
174 networkInterval = request.getInterval();
180 if (request
[all...]

Completed in 268 milliseconds

123456789