Searched refs:Request (Results 1 - 19 of 19) sorted by relevance

/packages/apps/Exchange/exchange2/src/com/android/exchange/
H A DRequest.java24 public abstract class Request { class
28 public Request(long messageId) { method in class:Request
32 // Subclasses of Request may have different semantics regarding equality; therefore,
H A DMeetingResponseRequest.java22 public class MeetingResponseRequest extends Request {
H A DMessageMoveRequest.java22 public class MessageMoveRequest extends Request {
H A DPartRequest.java27 public class PartRequest extends Request {
H A DAbstractSyncService.java74 protected LinkedBlockingQueue<Request> mRequestQueue = new LinkedBlockingQueue<Request>();
277 * Request handling (common functionality)
281 public void addRequest(Request req) {
285 public void removeRequest(Request req) {
H A DExchangeService.java1684 private void requestSync(Mailbox m, int reason, Request req) {
2431 static public void sendMessageRequest(Request req) {
2490 static public void startManualSync(long mailboxId, int reason, Request req) {
H A DEasSyncService.java308 public void addRequest(Request request) {
690 s.startTag(null, "Request");
695 s.endTag(null, "Request");
1619 Request req = null;
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
H A DCallLogAdapterTest.java92 TestCallLogAdapter.Request request = mAdapter.requests.get(0);
110 TestCallLogAdapter.Request request = mAdapter.requests.get(0);
128 TestCallLogAdapter.Request request = mAdapter.requests.get(0);
158 TestCallLogAdapter.Request request = mAdapter.requests.get(0);
196 public static class Request { class in class:CallLogAdapterTest.TestCallLogAdapter
202 public Request(String number, String countryIso, ContactInfo callLogInfo, method in class:CallLogAdapterTest.TestCallLogAdapter.Request
211 public final List<Request> requests = Lists.newArrayList();
221 requests.add(new Request(number, countryIso, callLogInfo, immediate));
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DFilterDeleteSet.java38 private static class Request { class in class:FilterDeleteSet
42 public Request(int type, Path path, int indexHint) { method in class:FilterDeleteSet.Request
62 private ArrayList<Request> mRequests = new ArrayList<Request>();
153 Request r = mRequests.get(i);
227 Request r = new Request(type, path, indexHint);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractPublicApiTest.java175 protected DownloadManager.Request getRequest()
180 protected DownloadManager.Request getRequest(String path) {
181 return new DownloadManager.Request(Uri.parse(path));
184 protected Download enqueueRequest(DownloadManager.Request request) {
H A DPublicApiFunctionalTest.java488 .setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI));
525 getRequest().setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN));
550 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED));
641 * 1) Request to REQUEST_PATH with 3xx response redirecting to another URI
642 * 2) Request to REDIRECTED_PATH with interrupted partial response
/packages/apps/Contacts/src/com/android/contacts/
H A DContactPhotoManager.java331 private final ConcurrentHashMap<ImageView, Request> mPendingRequests =
332 new ConcurrentHashMap<ImageView, Request>();
481 loadPhotoByIdOrUri(view, Request.createFromThumbnailId(photoId, darkTheme,
495 loadPhotoByIdOrUri(view, Request.createFromUri(photoUri, requestedExtent, darkTheme,
500 private void loadPhotoByIdOrUri(ImageView view, Request request) {
537 private boolean loadCachedPhoto(ImageView view, Request request, boolean fadeIn) {
728 Request key = mPendingRequests.get(view);
787 Request request = Request.createFromUri(photoUri, smallerExtent, false, DEFAULT_AVATAR);
800 Set<String> photoIdsAsStrings, Set<Request> uri
1147 private static final class Request { class in class:ContactPhotoManagerImpl
1154 private Request(long id, Uri uri, int requestedExtent, boolean darkTheme, method in class:ContactPhotoManagerImpl.Request
[all...]
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/
H A DPublicApiAccessTest.java144 DownloadManager.Request request = new DownloadManager.Request(Uri.parse("http://localhost/path"));
148 request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI);
/packages/apps/Browser/src/com/android/browser/
H A DFetchUrlMimeType.java51 private DownloadManager.Request mRequest;
56 public FetchUrlMimeType(Context context, DownloadManager.Request request,
H A DDownloadHandler.java188 final DownloadManager.Request request;
190 request = new DownloadManager.Request(uri);
210 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadNotifier.java19 import static android.app.DownloadManager.Request.VISIBILITY_VISIBLE;
20 import static android.app.DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED;
21 import static android.app.DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION;
H A DDownloadReceiver.java19 import static android.app.DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED;
20 import static android.app.DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION;
H A DDownloadProvider.java20 import android.app.DownloadManager.Request;
754 Request.VISIBILITY_HIDDEN,
755 Request.VISIBILITY_VISIBLE,
756 Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED,
757 Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION);
760 Request.VISIBILITY_VISIBLE,
761 Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED,
762 Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION);
840 throw new UnsupportedOperationException("Request header queries do not support "
H A DDownloadInfo.java414 * DownloadManager.Request.NETWORK_* bit flag.
419 return DownloadManager.Request.NETWORK_MOBILE;
422 return DownloadManager.Request.NETWORK_WIFI;
425 return DownloadManager.Request.NETWORK_BLUETOOTH;

Completed in 1010 milliseconds