Searched refs:request (Results 51 - 75 of 407) sorted by relevance

1234567891011>>

/frameworks/base/telecomm/java/android/telecom/
H A DRemoteConnectionManager.java55 ConnectionRequest request,
57 PhoneAccountHandle accountHandle = request.getAccountHandle();
62 ComponentName componentName = request.getAccountHandle().getComponentName();
71 connectionManagerPhoneAccount, request, isIncoming);
53 createRemoteConnection( PhoneAccountHandle connectionManagerPhoneAccount, ConnectionRequest request, boolean isIncoming) argument
/frameworks/support/v13/java/android/support/v13/app/
H A DActivityCompat.java31 * @param dragEvent Drag event to request permission for
38 return DragAndDropPermissionsCompat.request(activity, dragEvent);
/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp91 virtual status_t invoke(const Parcel& request, Parcel *reply);
92 virtual status_t setParameter(int /* key */, const Parcel& /* request */) { return OK; }
97 // Take a request, copy it to the reply.
98 void ping(const Parcel& request, Parcel *reply);
104 status_t Player::invoke(const Parcel& request, Parcel *reply) argument
108 ping(request, reply);
115 void Player::ping(const Parcel& request, Parcel *reply) argument
117 const size_t len = request.dataAvail();
119 reply->setData(static_cast<const uint8_t*>(request.readInplace(len)), len);
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusedLocationProvider.java55 public ProviderRequestUnbundled request; field in class:FusedLocationProvider.RequestWrapper
57 public RequestWrapper(ProviderRequestUnbundled request, WorkSource source) { argument
58 this.request = request;
98 mEngine.setRequest(wrapper.request, wrapper.source);
116 public void onSetRequest(ProviderRequestUnbundled request, WorkSource source) { argument
117 mHandler.obtainMessage(MSG_SET_REQUEST, new RequestWrapper(request, source)).sendToTarget();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DClientWakelockAccountant.java39 public void startAttributingWakelock(int request, argument
42 RilWakelockInfo wlInfo = new RilWakelockInfo(request, token, concurrentRequests, time);
49 public void stopAttributingWakelock(int request, int token, long time) { argument
50 RilWakelockInfo wlInfo = removePendingWakelock(request, token);
106 private RilWakelockInfo removePendingWakelock(int request, int token) { argument
111 (wlInfo.getRilRequestSent() == request)) {
120 Rlog.w(LOG_TAG, "Looking for Request<" + request + "," + token + "> in "
/frameworks/base/core/tests/coretests/src/android/provider/
H A DFontsContractE2ETest.java121 FontRequest request = new FontRequest(
123 FontsContract.requestFonts(ctx, request, new Handler(), null, callback);
132 FontRequest request = new FontRequest(
134 FontsContract.requestFonts(ctx, request, new Handler(), null, callback2);
143 FontRequest request = new FontRequest(
145 FontsContract.requestFonts(ctx, request, new Handler(), null, callback3);
158 FontRequest request = new FontRequest(
161 ctx, null /* cancellation signal */, request);
167 ctx, null /* cancellation signal */, request);
181 FontRequest request
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsObservers.java72 * Creates a wrapper that contains the caller context and a normalized request.
73 * The request should be returned to the caller app, and the wrapper should be sent to this
78 * @return the normalized request wrapped within {@link RequestInfo}.
82 DataUsageRequest request = buildRequest(inputRequest);
83 RequestInfo requestInfo = buildRequestInfo(request, messenger, binder, callingUid,
86 if (LOGV) Slog.v(TAG, "Registering observer for " + request);
88 return request;
96 public void unregister(DataUsageRequest request, int callingUid) { argument
98 request));
171 private void handleUnregister(DataUsageRequest request, in argument
200 buildRequest(DataUsageRequest request) argument
211 buildRequestInfo(DataUsageRequest request, Messenger messenger, IBinder binder, int callingUid, @NetworkStatsAccess.Level int accessLevel) argument
239 RequestInfo(NetworkStatsObservers statsObserver, DataUsageRequest request, Messenger messenger, IBinder binder, int callingUid, @NetworkStatsAccess.Level int accessLevel) argument
334 NetworkUsageRequestInfo(NetworkStatsObservers statsObserver, DataUsageRequest request, Messenger messenger, IBinder binder, int callingUid, @NetworkStatsAccess.Level int accessLevel) argument
376 UserUsageRequestInfo(NetworkStatsObservers statsObserver, DataUsageRequest request, Messenger messenger, IBinder binder, int callingUid, @NetworkStatsAccess.Level int accessLevel) argument
[all...]
/frameworks/base/core/java/android/app/
H A DVoiceInteractor.java53 * <p>Once a request is submitted, the voice system will process it and eventually deliver
54 * the result to the request object. The application can cancel a pending request at any
61 * request, rather than holding on to the activity instance yourself, either explicitly
81 Request request;
85 request = pullRequest((IVoiceInteractorRequest)args.arg1, true);
87 + ((IVoiceInteractorRequest)args.arg1).asBinder() + "/" + request
89 if (request != null) {
90 ((ConfirmationRequest)request).onConfirmationResult(msg.arg1 != 0,
92 request
892 pullRequest(IVoiceInteractorRequest request, boolean complete) argument
960 submitRequest(Request request) argument
975 submitRequest(Request request, String name) argument
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DBackgroundHelper.java130 Request request = params[0];
132 request.mResult = loadBitmap(request.mImageToken);
134 return request;
138 protected void onPostExecute(Request request) { argument
140 BitmapCache.getInstance().putCache(request.mImageToken, request.mResult);
144 protected void onCancelled(Request request) { argument
163 protected void onPostExecute(Request request) { argument
164 super.onPostExecute(request);
177 onPostExecute(Request request) argument
[all...]
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DBackgroundHelper.java130 Request request = params[0];
132 request.mResult = loadBitmap(request.mImageToken);
134 return request;
138 protected void onPostExecute(Request request) { argument
140 BitmapCache.getInstance().putCache(request.mImageToken, request.mResult);
144 protected void onCancelled(Request request) { argument
163 protected void onPostExecute(Request request) { argument
164 super.onPostExecute(request);
177 onPostExecute(Request request) argument
[all...]
/frameworks/base/cmds/incidentd/src/
H A DIncidentService.cpp74 ReportRequestQueue::addRequest(const sp<ReportRequest>& request) argument
77 mQueue.push_back(request);
120 ReportHandler::scheduleRunReport(const sp<ReportRequest>& request) argument
122 mQueue->addRequest(request);
151 sp<ReportRequest> request = mQueue->getNextRequest(); local
152 if (request == NULL) {
155 reporter->batch.add(request);
156 reporter->args.merge(request->args);
/frameworks/base/core/java/android/ddm/
H A DDdmHandleHello.java85 public Chunk handleChunk(Chunk request) { argument
87 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk");
88 int type = request.type;
91 return handleHELO(request);
93 return handleFEAT(request);
105 private Chunk handleHELO(Chunk request) { argument
110 * Process the request.
112 ByteBuffer in = wrapChunk(request);
174 * Handle request for list of supported features.
176 private Chunk handleFEAT(Chunk request) { argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DCaptureFailure.java68 public CaptureFailure(CaptureRequest request, int reason, argument
70 mRequest = request;
78 * Get the request associated with this failed capture.
80 * <p>Whenever a request is unsuccessfully captured, with
82 * the {@code failed capture}'s {@code getRequest()} will return that {@code request}.
95 * @return The request associated with this failed capture. Never {@code null}.
105 * <p>Whenever a request has been processed, regardless of failed capture or success,
119 * Determine why the request was dropped, whether due to an error or to a user
/frameworks/base/core/java/android/os/
H A DHwBinder.java39 int code, HwParcel request, HwParcel reply, int flags)
43 int code, HwParcel request, HwParcel reply, int flags)
38 transact( int code, HwParcel request, HwParcel reply, int flags) argument
42 onTransact( int code, HwParcel request, HwParcel reply, int flags) argument
/frameworks/base/core/tests/coretests/src/android/os/
H A DBroadcasterTest.java44 b.request(MESSAGE_A, h, MESSAGE_B);
79 b.request(MESSAGE_A, mHandlers[i], MESSAGE_B + i);
112 * 2 handlers request the same message, with different translations
121 * 1000 handlers request the same message, with different translations
130 * Two handlers request different messages, with translations, sending
142 b.request(MESSAGE_A, h1, MESSAGE_C);
143 b.request(MESSAGE_B, h2, MESSAGE_D);
165 * Two handlers request different messages, with translations, sending
177 b.request(MESSAGE_A, h1, MESSAGE_C);
178 b.request(MESSAGE_
[all...]
/frameworks/base/location/lib/java/com/android/location/provider/
H A DProviderRequestUnbundled.java36 public ProviderRequestUnbundled(ProviderRequest request) { argument
37 mRequest = request;
/frameworks/base/telephony/java/android/telephony/
H A DUssdResponse.java59 * * Initialize the object from the request and return message.
70 String request = in.readString();
72 return new UssdResponse(request, message);
/frameworks/base/telephony/java/android/telephony/mbms/
H A DDownloadStateCallback.java104 * @param request a {@link DownloadRequest}, indicating which download is being referenced.
106 * the request may result in many files being downloaded and the client
115 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo, argument
123 * @param request a {@link DownloadRequest}, indicating which download is being referenced.
125 * the request may result in many files being downloaded and the client
129 public void onStateUpdated(DownloadRequest request, FileInfo fileInfo, argument
/frameworks/ml/nn/driver/sample/
H A DSampleDriver.h57 Return<ErrorStatus> execute(const Request& request,
61 void asyncExecute(const Request& request, const sp<IExecutionCallback>& callback);
/frameworks/base/tests/net/java/android/net/
H A DConnectivityManagerTest.java208 NetworkRequest request = makeRequest(1);
215 .thenReturn(request);
216 manager.requestNetwork(request, callback, handler);
219 captor.getValue().send(makeMessage(request, ConnectivityManager.CALLBACK_AVAILABLE));
224 verify(mService, times(1)).releaseNetworkRequest(request);
227 captor.getValue().send(makeMessage(request, ConnectivityManager.CALLBACK_LOSING));
271 // TODO: turn on this test when request callback 1:1 mapping is enforced
275 NetworkRequest request = makeRequest(1);
282 when(mService.requestNetwork(any(), any(), anyInt(), any(), anyInt())).thenReturn(request);
285 manager.requestNetwork(request, callbac
[all...]
/frameworks/av/camera/ndk/include/camera/
H A DNdkCameraCaptureSession.h85 * all of its active capture requests, and no repeating request or burst is set up.</p>
117 * <p>Whenever a request has been processed, regardless of failed capture or success,
127 * Determine why the request was dropped, whether due to an error or to a user
160 * @param request The capture request that is starting. Note that this pointer points to a copy of
161 * capture request sent by application, so the address is different to what
162 * application sent but the content will match. This request will be freed by
170 const ACaptureRequest* request, int64_t timestamp);
178 * @param request The capture request o
[all...]
/frameworks/av/media/mtp/
H A DMtpEventPacket.h39 // read our buffer with the given request
40 int sendRequest(struct usb_request *request);
H A DMtpRequestPacket.h41 int write(struct usb_request *request);
/frameworks/av/services/oboeservice/
H A DAAudioServiceEndpointPlay.h44 aaudio_result_t open(const aaudio::AAudioStreamRequest &request) override;
/frameworks/base/core/java/android/net/
H A DINetworkStatsService.aidl65 in DataUsageRequest request, in Messenger messenger, in IBinder binder);
68 void unregisterUsageRequest(in DataUsageRequest request);

Completed in 1565 milliseconds

1234567891011>>