/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/location/ |
D | RecentLocationRequestsPreferenceControllerTest.java | 80 List<RecentLocationApps.Request> list = Arrays.asList( in refreshUi_someRecentRequests_preferencesAddedToScreen() 81 mock(RecentLocationApps.Request.class), in refreshUi_someRecentRequests_preferencesAddedToScreen() 82 mock(RecentLocationApps.Request.class), in refreshUi_someRecentRequests_preferencesAddedToScreen() 83 mock(RecentLocationApps.Request.class)); in refreshUi_someRecentRequests_preferencesAddedToScreen() 92 List<RecentLocationApps.Request> list1 = Arrays.asList( in refreshUi_newRecentRequests_listIsUpdated() 93 mock(RecentLocationApps.Request.class), in refreshUi_newRecentRequests_listIsUpdated() 94 mock(RecentLocationApps.Request.class), in refreshUi_newRecentRequests_listIsUpdated() 95 mock(RecentLocationApps.Request.class)); in refreshUi_newRecentRequests_listIsUpdated() 98 List<RecentLocationApps.Request> list2 = new ArrayList<>(list1); in refreshUi_newRecentRequests_listIsUpdated() 99 list2.add(mock(RecentLocationApps.Request.class)); in refreshUi_newRecentRequests_listIsUpdated()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | CapabilitiesCache.java | 70 private final Map<Uri, Request> mRequests = new HashMap<>(); 159 Request request = mRequests.computeIfAbsent(printer.path, uri -> in request() 160 new Request(printer, highPriority ? SECOND_PASS_TIMEOUT : FIRST_PASS_TIMEOUT)); in request() 196 for (Map.Entry<Uri, Request> entry : mRequests.entrySet()) { in cancel() 197 Request request = entry.getValue(); in cancel() 211 final Request request = getNextRequest(); in startNextRequest() 220 private Request getNextRequest() { in getNextRequest() 221 Request found = null; in getNextRequest() 223 for (Request request : mRequests.values()) { in getNextRequest() 242 public class Request implements Consumer<LocalPrinterCapabilities> { class in CapabilitiesCache [all …]
|
/packages/apps/Dialer/java/com/android/dialer/contactphoto/ |
D | ContactPhotoManagerImpl.java | 129 private final ConcurrentHashMap<ImageView, Request> pendingRequests = 130 new ConcurrentHashMap<ImageView, Request>(); 401 view, Request.createFromThumbnailId(photoId, darkTheme, isCircular, defaultProvider)); in loadThumbnail() 435 Request.createFromUri(photoUri, requestedExtent, darkTheme, isCircular, defaultProvider)); in loadPhoto() 458 private void loadPhotoByIdOrUri(ImageView view, Request request) { in loadPhotoByIdOrUri() 487 final Iterator<Entry<ImageView, Request>> iterator = pendingRequests.entrySet().iterator(); in cancelPendingRequests() 523 private boolean loadCachedPhoto(ImageView view, Request request, boolean fadeIn) { in loadCachedPhoto() 578 private Drawable getDrawableForBitmap(Resources resources, Bitmap bitmap, Request request) { in getDrawableForBitmap() 667 final Iterator<Entry<ImageView, Request>> iterator = pendingRequests.entrySet().iterator(); in processLoadedImages() 669 final Entry<ImageView, Request> entry = iterator.next(); in processLoadedImages() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 664 private final ConcurrentHashMap<ImageView, Request> mPendingRequests = 665 new ConcurrentHashMap<ImageView, Request>(); 832 loadPhotoByIdOrUri(view, Request.createFromThumbnailId(photoId, darkTheme, isCircular, in loadThumbnail() 852 loadPhotoByIdOrUri(view, Request.createFromUri(photoUri, requestedExtent, in loadPhoto() 865 private void loadPhotoByIdOrUri(ImageView view, Request request) { in loadPhotoByIdOrUri() 895 final Iterator<Entry<ImageView, Request>> iterator = mPendingRequests.entrySet().iterator(); in cancelPendingRequests() 932 private boolean loadCachedPhoto(ImageView view, Request request, boolean fadeIn) { in loadCachedPhoto() 997 private Drawable getDrawableForBitmap(Resources resources, Bitmap bitmap, Request request) { in getDrawableForBitmap() 1151 final Iterator<Entry<ImageView, Request>> iterator = mPendingRequests.entrySet().iterator(); in processLoadedImages() 1153 final Entry<ImageView, Request> entry = iterator.next(); in processLoadedImages() [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/ |
D | ZslPreviewCommand.java | 24 import com.android.camera.one.v2.core.Request; 83 List<Request> previewWarming = createWarmupBurst(mPreviewWarmupRequestBuilder, in run() 89 List<Request> zslWarmingBurst = in run() 97 List<Request> zslAndPreviewRepeating = Arrays.asList(zslAndPreviewRequest.build()); in run() 104 private List<Request> createWarmupBurst(RequestBuilder.Factory builder, int type, int size) in createWarmupBurst() 107 Request zslWarmingRequest = zslRequest.build(); in createWarmupBurst() 108 List<Request> zslWarmingBurst = new ArrayList<>(size); in createWarmupBurst()
|
/packages/apps/Car/Settings/src/com/android/car/settings/location/ |
D | RecentLocationRequestsPreferenceController.java | 35 import com.android.settingslib.location.RecentLocationApps.Request; 46 private List<Request> mRecentLocationRequests; 73 List<Request> newRequests = mRecentLocationApps.getAppListSorted(true); in updateState() 87 for (Request request : mRecentLocationRequests) { in updateState() 94 private Preference createPreference(Request request) { in createPreference() 118 private boolean listsEqual(List<Request> a, List<Request> b) { in listsEqual()
|
/packages/modules/ExtServices/tests/src/android/ext/services/notification/ |
D | SmartActionsHelperTest.java | 108 when(mTextClassifier.suggestConversationActions(any(ConversationActions.Request.class))) in setup() 132 .suggestConversationActions(any(ConversationActions.Request.class)); in testSuggest_notMessageNotification() 144 ConversationActions.Request request = runSuggestAndCaptureRequest(); in testSuggest_noInlineReply() 164 .suggestConversationActions(any(ConversationActions.Request.class)); in testSuggest_settingsOff() 174 ConversationActions.Request request = runSuggestAndCaptureRequest(); in testSuggest_settings_repliesOnActionsOff() 191 ConversationActions.Request request = runSuggestAndCaptureRequest(); in testSuggest_settings_repliesOffActionsOn() 298 .suggestConversationActions(any(ConversationActions.Request.class)); in testSuggest_lastMessageLocalUser() 317 .suggestConversationActions(any(ConversationActions.Request.class)); in testSuggest_messageStyle_noPerson() 355 when(mTextClassifier.suggestConversationActions(any(ConversationActions.Request.class))) in testOnSuggestedReplySent_missingResultId() 437 when(mTextClassifier.suggestConversationActions(any(ConversationActions.Request.class))) in testCopyAction() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | FilterDeleteSet.java | 38 private static class Request { class in FilterDeleteSet 42 public Request(int type, Path path, int indexHint) { in Request() method in FilterDeleteSet.Request 62 private ArrayList<Request> mRequests = new ArrayList<Request>(); 153 Request r = mRequests.get(i); in reload() 227 Request r = new Request(type, path, indexHint); in sendRequest()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallerInfoAsyncQueryFactoryFixture.java | 41 static class Request { class in CallerInfoAsyncQueryFactoryFixture 58 Request r = new Request(); 70 final List<Request> mRequests = Collections.synchronizedList(new ArrayList<Request>());
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractPublicApiTest.java | 237 protected DownloadManager.Request getRequest() in getRequest() 242 protected DownloadManager.Request getRequestWithDestinationDownloadsDir() in getRequestWithDestinationDownloadsDir() 244 final DownloadManager.Request request = getRequest(); in getRequestWithDestinationDownloadsDir() 249 protected DownloadManager.Request getRequest(String path) { in getRequest() 250 return new DownloadManager.Request(Uri.parse(path)); in getRequest() 253 protected Download enqueueRequest(DownloadManager.Request request) { in enqueueRequest()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/ |
D | Downloads.java | 551 return visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED || in isNotificationToBeDisplayed() 552 visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION; in isNotificationToBeDisplayed() 757 public static final int VISIBILITY_VISIBLE = DownloadManager.Request.VISIBILITY_VISIBLE; 764 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED; 769 public static final int VISIBILITY_HIDDEN = DownloadManager.Request.VISIBILITY_HIDDEN;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ProcessingTask.java | 30 static interface Request {} interface in ProcessingTask 34 public boolean postRequest(Request message) { in postRequest() 60 public void processRequest(Request message) { in processRequest() 83 public abstract Result doInBackground(Request message); in doInBackground()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | IntegratedDownloadsUiTest.java | 20 import android.app.DownloadManager.Request; 48 dm.enqueue(new Request(Uri.parse("http://hammychamp.toodles"))); in testDownload_Queued() 59 dm.enqueue(new Request(Uri.parse("http://www.google.com/hamfancy"))); in testDownload_RetryUnsuccessful()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | RecentLocationRequestSeeAllPreferenceController.java | 81 List<RecentLocationApps.Request> requests = mRecentLocationApps.getAppListSorted( in updateState() 90 for (RecentLocationApps.Request request : requests) { in updateState() 99 Context prefContext, RecentLocationApps.Request request) { in createAppPreference()
|
D | RecentLocationRequestPreferenceController.java | 102 final List<RecentLocationApps.Request> recentLocationRequests = in updateState() 112 for (RecentLocationApps.Request request : recentLocationRequests) { in updateState() 136 AppPreference createAppPreference(Context prefContext, RecentLocationApps.Request request) { in createAppPreference()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | ActionBatch.java | 19 import android.app.DownloadManager.Request; 139 final Request request = new Request(uri); in execute() 142 request.setAllowedNetworkTypes(Request.NETWORK_WIFI | Request.NETWORK_MOBILE); in execute() 144 request.setNotificationVisibility(Request.VISIBILITY_HIDDEN); in execute()
|
D | UpdateHandler.java | 21 import android.app.DownloadManager.Request; 231 final Request metadataRequest = new Request(Uri.parse(metadataUri + disambiguator)); in updateClientsWithMetadataUri() 235 metadataRequest.setAllowedNetworkTypes(Request.NETWORK_WIFI | Request.NETWORK_MOBILE); in updateClientsWithMetadataUri() 238 metadataRequest.setNotificationVisibility(Request.VISIBILITY_HIDDEN); in updateClientsWithMetadataUri() 330 final Request request, final SQLiteDatabase db, final String id, final int version) { in registerDownloadRequest()
|
/packages/apps/Test/connectivity/UID/src/com/android/tests/connectivity/uid/ |
D | ConnectivityTestActivity.java | 102 DownloadManager.Request request = in downloadData() 103 new DownloadManager.Request(Uri.parse(url)); in downloadData() 105 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED); in downloadData()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
D | TagDispatchCaptureSession.java | 133 public void submitRequest(List<Request> burstRequests, FrameServer.RequestType requestType) in submitRequest() 141 for (Request request : burstRequests) { in submitRequest() 159 for (Request r : burstRequests) { in submitRequest()
|
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/ |
D | PublicApiAccessTest.java | 144 … DownloadManager.Request request = new DownloadManager.Request(Uri.parse("http://localhost/path")); in testDownloadManagerRequest() 148 request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI); in testDownloadManagerRequest()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MasClient.java | 173 private void executeRequest(Request request) { in executeRequest() 186 public boolean makeRequest(Request request) { in makeRequest() 238 inst.executeRequest((Request) msg.obj); in handleMessage()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/ |
D | voicemail_transcription.proto | 82 // Request for synchronous voicemail transcription. 97 // Request for asynchronous voicemail transcription. 130 // Request for retrieving an asynchronously generated transcript. 156 // Request for uploading transcription ratings.
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DownloadPackageTask.java | 25 import android.app.DownloadManager.Request; 131 Request request = new Request(Uri.parse(mPackageDownloadInfo.location)); in run()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/ |
D | Vvm3Subscriber.java | 45 import com.android.volley.Request; 249 new StringRequest(Request.Method.POST, url, future, future) { in getSelfProvisionResponse() 278 new StringRequest(Request.Method.POST, subscribeLink, future, future); in clickSubscribeLink() 306 new StringRequest(Request.Method.POST, voicemailManagementGateway, future, future) { in vvm3XmlRequest()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/network/ |
D | Requester.java | 22 import com.android.volley.Request; 35 <T> void addToRequestQueue(Request<T> request); in addToRequestQueue()
|