/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsIntentResolver.java | 56 ContactsRequest request = new ContactsRequest(); in resolveIntent() local 63 request.setActionCode(ContactsRequest.ACTION_DEFAULT); in resolveIntent() 65 request.setActionCode(ContactsRequest.ACTION_ALL_CONTACTS); in resolveIntent() 67 request.setActionCode(ContactsRequest.ACTION_CONTACTS_WITH_PHONES); in resolveIntent() 69 request.setActionCode(ContactsRequest.ACTION_STARRED); in resolveIntent() 71 request.setActionCode(ContactsRequest.ACTION_FREQUENT); in resolveIntent() 73 request.setActionCode(ContactsRequest.ACTION_STREQUENT); in resolveIntent() 75 request.setActionCode(ContactsRequest.ACTION_GROUP); in resolveIntent() 80 request.setActionCode(ContactsRequest.ACTION_PICK_PHONES); in resolveIntent() 82 request.setActionCode(ContactsRequest.ACTION_PICK_EMAILS); in resolveIntent() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | CachingPipeline.java | 141 private String getType(RenderingRequest request) { in getType() argument 142 if (request.getType() == RenderingRequest.ICON_RENDERING) { in getType() 145 if (request.getType() == RenderingRequest.FILTERS_RENDERING) { in getType() 148 if (request.getType() == RenderingRequest.FULL_RENDERING) { in getType() 151 if (request.getType() == RenderingRequest.GEOMETRY_RENDERING) { in getType() 154 if (request.getType() == RenderingRequest.PARTIAL_RENDERING) { in getType() 157 if (request.getType() == RenderingRequest.HIGHRES_RENDERING) { in getType() 215 public void renderHighres(RenderingRequest request) { in renderHighres() argument 220 ImagePreset preset = request.getImagePreset(); in renderHighres() 232 request.setBitmap(bmp); in renderHighres() [all …]
|
D | ImageSavingTask.java | 71 SaveRequest request = new SaveRequest(); in saveImage() local 72 request.sourceUri = sourceUri; in saveImage() 73 request.selectedUri = selectedUri; in saveImage() 74 request.destinationFile = destinationFile; in saveImage() 75 request.preset = preset; in saveImage() 76 request.flatten = flatten; in saveImage() 77 request.quality = quality; in saveImage() 78 request.sizeFactor = sizeFactor; in saveImage() 79 request.previewImage = previewImage; in saveImage() 80 request.exit = exit; in saveImage() [all …]
|
D | RenderingRequestTask.java | 32 RenderingRequest request; field in RenderingRequestTask.Render 36 RenderingRequest request; field in RenderingRequestTask.RenderResult 53 public void postRenderingRequest(RenderingRequest request) { in postRenderingRequest() argument 58 render.request = request; in postRenderingRequest() 64 RenderingRequest request = ((Render) message).request; in doInBackground() local 66 if (request.getType() == RenderingRequest.GEOMETRY_RENDERING) { in doInBackground() 67 mPreviewPipeline.renderGeometry(request); in doInBackground() 68 } else if (request.getType() == RenderingRequest.FILTERS_RENDERING) { in doInBackground() 69 mPreviewPipeline.renderFilters(request); in doInBackground() 71 mPreviewPipeline.render(request); in doInBackground() [all …]
|
D | RenderingRequest.java | 64 RenderingRequest request = new RenderingRequest(); in post() local 78 request.setBitmap(bitmap); in post() 80 request.setOriginalImagePreset(preset); in post() 81 request.setScaleFactor(PrimaryImage.getImage().getScaleFactor()); in post() 84 request.setBounds(bounds); in post() 85 request.setDestination(destination); in post() 89 request.setImagePreset(passedPreset); in post() 90 request.setType(type); in post() 91 request.setCaller(caller); in post() 92 request.post(context); in post() [all …]
|
D | FullresRenderingRequestTask.java | 16 RenderingRequest request; field in FullresRenderingRequestTask.Render 20 RenderingRequest request; field in FullresRenderingRequestTask.RenderResult 37 public void postRenderingRequest(RenderingRequest request) { in postRenderingRequest() argument 42 render.request = request; in postRenderingRequest() 48 RenderingRequest request = ((Render) message).request; in doInBackground() local 50 mFullresPipeline.render(request); in doInBackground() 52 result.request = request; in doInBackground() 61 RenderingRequest request = ((RenderResult) message).request; in onResult() local 62 request.markAvailable(); in onResult()
|
D | HighresRenderingRequestTask.java | 36 RenderingRequest request; field in HighresRenderingRequestTask.Render 40 RenderingRequest request; field in HighresRenderingRequestTask.RenderResult 60 public void postRenderingRequest(RenderingRequest request) { in postRenderingRequest() argument 65 render.request = request; in postRenderingRequest() 71 RenderingRequest request = ((Render) message).request; in doInBackground() local 73 mHighresPreviewPipeline.renderHighres(request); in doInBackground() 75 result.request = request; in doInBackground() 84 RenderingRequest request = ((RenderResult) message).request; in onResult() local 85 request.markAvailable(); in onResult()
|
D | ProcessingService.java | 90 public void postRenderingRequest(RenderingRequest request) { in postRenderingRequest() argument 91 mRenderingRequestTask.postRenderingRequest(request); in postRenderingRequest() 96 RenderingRequest request = new RenderingRequest(); in postHighresRenderingRequest() local 99 request.setOriginalImagePreset(preset); in postHighresRenderingRequest() 100 request.setScaleFactor(scaleFactor); in postHighresRenderingRequest() 101 request.setImagePreset(passedPreset); in postHighresRenderingRequest() 102 request.setType(RenderingRequest.HIGHRES_RENDERING); in postHighresRenderingRequest() 103 request.setCaller(caller); in postHighresRenderingRequest() 104 mHighresRenderingRequestTask.postRenderingRequest(request); in postHighresRenderingRequest() 110 RenderingRequest request = new RenderingRequest(); in postFullresRenderingRequest() local [all …]
|
/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ipp_print.c | 172 ipp_t *request = NULL; // IPP request object in _fill_job() local 179 request = ippNewRequest(ipp_op); in _fill_job() 180 if (request == NULL) { in _fill_job() 181 return request; in _fill_job() 184 if (set_ipp_version(request, printer_uri, NULL, IPP_VERSION_RESOLVED) != 0) { in _fill_job() 185 ippDelete(request); in _fill_job() 191 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, in _fill_job() 194 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, in _fill_job() 196 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "job-name", NULL, job_params->job_name); in _fill_job() 226 ippAddCollection(request, IPP_TAG_OPERATION, "document-format-details", in _fill_job() [all …]
|
D | ippstatus_monitor.c | 286 ipp_t *request = NULL; in _cancel() local 300 request = ippNewRequest(IPP_GET_JOBS); in _cancel() 301 if (request == NULL) { in _cancel() 305 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, in _cancel() 307 ippAddBoolean(request, IPP_TAG_OPERATION, "my-jobs", 1); in _cancel() 308 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", in _cancel() 314 ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, "requested-attributes", in _cancel() 317 response = ipp_doCupsRequest(monitor->http, request, monitor->http_resource, in _cancel() 350 ippDelete(request); in _cancel() 351 request = NULL; in _cancel() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 431 MainThreadRequest request; in handleMessage() local 440 request = (MainThreadRequest) msg.obj; in handleMessage() 441 final Phone phone = getPhoneFromRequest(request); in handleMessage() 442 Pair<String, ResultReceiver> ussdObject = (Pair) request.argument; in handleMessage() 446 if (!isUssdApiAllowed(request.subId)) { in handleMessage() 454 request.result = true; in handleMessage() 455 notifyRequester(request); in handleMessage() 460 request.result = phone != null in handleMessage() 463 request.result = false; in handleMessage() 466 notifyRequester(request); in handleMessage() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ChooseLockSettingsHelper.java | 95 public boolean launchConfirmationActivity(int request, CharSequence title) { in launchConfirmationActivity() argument 97 request /* request */, in launchConfirmationActivity() 114 …public boolean launchConfirmationActivity(int request, CharSequence title, boolean returnCredentia… in launchConfirmationActivity() argument 116 request /* request */, in launchConfirmationActivity() 134 public boolean launchConfirmationActivity(int request, CharSequence title, in launchConfirmationActivity() argument 137 request /* request */, in launchConfirmationActivity() 162 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() argument 166 request /* request */, in launchConfirmationActivity() 192 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() argument 196 request /* request */, in launchConfirmationActivity() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/ |
D | ContactInfoCache.java | 156 private boolean queryContactInfo(ContactInfoRequest request) { in queryContactInfo() argument 160 LogUtil.sanitizePhoneNumber(request.number), in queryContactInfo() 161 request.type); in queryContactInfo() 163 if (request.isLocalRequest()) { in queryContactInfo() 164 info = contactInfoHelper.lookupNumber(request.number, request.countryIso); in queryContactInfo() 169 contactInfoHelper.updateFromCequintCallerId(cequintCallerIdManager, info, request.number); in queryContactInfo() 174 if (request.type == ContactInfoRequest.TYPE_LOCAL_AND_REMOTE) { in queryContactInfo() 177 request.number, in queryContactInfo() 178 request.countryIso, in queryContactInfo() 179 request.callLogInfo, in queryContactInfo() [all …]
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockSettingsHelper.java | 102 public boolean launchConfirmationActivity(int request, CharSequence title) { in launchConfirmationActivity() argument 104 request /* request */, in launchConfirmationActivity() 122 …public boolean launchConfirmationActivity(int request, CharSequence title, boolean returnCredentia… in launchConfirmationActivity() argument 124 request /* request */, in launchConfirmationActivity() 143 public boolean launchConfirmationActivity(int request, CharSequence title, in launchConfirmationActivity() argument 146 request /* request */, in launchConfirmationActivity() 173 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() argument 177 request /* request */, in launchConfirmationActivity() 204 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() argument 208 request /* request */, in launchConfirmationActivity() [all …]
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | SelfManagedConnectionService.java | 44 final ConnectionRequest request) { in onCreateOutgoingConnection() argument 46 return createSelfManagedConnection(request, false, false /* isHandover */); in onCreateOutgoingConnection() 51 ConnectionRequest request) { in onCreateIncomingConnection() argument 52 return createSelfManagedConnection(request, true, false /* isHandover */); in onCreateIncomingConnection() 57 ConnectionRequest request) { in onCreateOutgoingHandoverConnection() argument 58 return createSelfManagedConnection(request, false, true /* isHandover */); in onCreateOutgoingHandoverConnection() 63 ConnectionRequest request) { in onCreateIncomingHandoverConnection() argument 64 return createSelfManagedConnection(request, true, true /* isHandover */); in onCreateIncomingHandoverConnection() 69 ConnectionRequest request) { in onCreateIncomingConnectionFailed() argument 70 mCallList.notifyCreateIncomingConnectionFailed(request); in onCreateIncomingConnectionFailed() [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 541 private Conference placeOutgoingConference(ConnectionRequest request, in placeOutgoingConference() argument 544 return placeOutgoingConference((TelephonyConnection) resultConnection, phone, request); in placeOutgoingConference() 550 Phone phone, ConnectionRequest request) { in placeOutgoingConference() argument 555 getParticipantsToDial(request.getParticipants()), in placeOutgoingConference() 557 .setVideoState(request.getVideoState()) in placeOutgoingConference() 578 return prepareConference(conferenceHostConnection, request.getAccountHandle()); in placeOutgoingConference() 610 @NonNull final ConnectionRequest request) { in onCreateIncomingConference() argument 611 Log.i(this, "onCreateIncomingConference, request: " + request); in onCreateIncomingConference() 612 Connection connection = onCreateIncomingConnection(connectionManagerPhoneAccount, request); in onCreateIncomingConference() 618 request.getAccountHandle()); in onCreateIncomingConference() [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ActionServiceSystemTest.java | 116 final Action request = mWorker.getRequestsMade().get(0); in testChatActionSucceeds() local 117 assertTrue("Expect Test type", request instanceof TestChatAction); in testChatActionSucceeds() 123 request.markBackgroundWorkStarting(); in testChatActionSucceeds() 124 request.markBackgroundWorkQueued(); in testChatActionSucceeds() 126 request.markBackgroundWorkStarting(); in testChatActionSucceeds() 127 request.markBackgroundCompletionQueued(); in testChatActionSucceeds() 128 service.handleResponseFromBackgroundWorker(request, response); in testChatActionSucceeds() 164 final Action request = mWorker.getRequestsMade().get(0); in testChatActionFails() local 165 assertTrue("Expect Test type", request instanceof TestChatAction); in testChatActionFails() 169 request.markBackgroundWorkStarting(); in testChatActionFails() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | VoicemailTranscriptionServiceGrpc.java | 121 …il(com.google.internal.communications.voicemailtranscription.v1.TranscribeVoicemailRequest request, in transcribeVoicemail() argument 132 …m.google.internal.communications.voicemailtranscription.v1.TranscribeVoicemailAsyncRequest request, in transcribeVoicemailAsync() argument 143 …anscript(com.google.internal.communications.voicemailtranscription.v1.GetTranscriptRequest request, in getTranscript() argument 154 ….google.internal.communications.voicemailtranscription.v1.SendTranscriptionFeedbackRequest request, in sendTranscriptionFeedback() argument 219 …il(com.google.internal.communications.voicemailtranscription.v1.TranscribeVoicemailRequest request, in transcribeVoicemail() argument 222 … getChannel().newCall(METHOD_TRANSCRIBE_VOICEMAIL, getCallOptions()), request, responseObserver); in transcribeVoicemail() local 231 …m.google.internal.communications.voicemailtranscription.v1.TranscribeVoicemailAsyncRequest request, in transcribeVoicemailAsync() argument 234 …getChannel().newCall(METHOD_TRANSCRIBE_VOICEMAIL_ASYNC, getCallOptions()), request, responseObserv… in transcribeVoicemailAsync() local 243 …anscript(com.google.internal.communications.voicemailtranscription.v1.GetTranscriptRequest request, in getTranscript() argument 246 getChannel().newCall(METHOD_GET_TRANSCRIPT, getCallOptions()), request, responseObserver); in getTranscript() local [all …]
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactPhotoManager.java | 152 public static Uri getDefaultAvatarUriForContact(DefaultImageRequest request) { in getDefaultAvatarUriForContact() argument 154 if (request != null) { in getDefaultAvatarUriForContact() 155 if (!TextUtils.isEmpty(request.displayName)) { in getDefaultAvatarUriForContact() 156 builder.appendQueryParameter(DISPLAY_NAME_PARAM_KEY, request.displayName); in getDefaultAvatarUriForContact() 158 if (!TextUtils.isEmpty(request.identifier)) { in getDefaultAvatarUriForContact() 159 builder.appendQueryParameter(IDENTIFIER_PARAM_KEY, request.identifier); in getDefaultAvatarUriForContact() 161 if (request.contactType != TYPE_DEFAULT) { in getDefaultAvatarUriForContact() 163 String.valueOf(request.contactType)); in getDefaultAvatarUriForContact() 165 if (request.scale != SCALE_DEFAULT) { in getDefaultAvatarUriForContact() 166 builder.appendQueryParameter(SCALE_PARAM_KEY, String.valueOf(request.scale)); in getDefaultAvatarUriForContact() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/contactphoto/ |
D | ContactPhotoManager.java | 74 public static Uri getDefaultAvatarUriForContact(DefaultImageRequest request) { in getDefaultAvatarUriForContact() argument 76 if (request != null) { in getDefaultAvatarUriForContact() 77 if (!TextUtils.isEmpty(request.displayName)) { in getDefaultAvatarUriForContact() 78 builder.appendQueryParameter(DISPLAY_NAME_PARAM_KEY, request.displayName); in getDefaultAvatarUriForContact() 80 if (!TextUtils.isEmpty(request.identifier)) { in getDefaultAvatarUriForContact() 81 builder.appendQueryParameter(IDENTIFIER_PARAM_KEY, request.identifier); in getDefaultAvatarUriForContact() 83 if (request.contactType != LetterTileDrawable.TYPE_DEFAULT) { in getDefaultAvatarUriForContact() 84 builder.appendQueryParameter(CONTACT_TYPE_PARAM_KEY, String.valueOf(request.contactType)); in getDefaultAvatarUriForContact() 86 if (request.scale != SCALE_DEFAULT) { in getDefaultAvatarUriForContact() 87 builder.appendQueryParameter(SCALE_PARAM_KEY, String.valueOf(request.scale)); in getDefaultAvatarUriForContact() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpBipClient.java | 208 RequestGetImageProperties request = new RequestGetImageProperties(imageHandle); in getImageProperties() local 209 boolean status = mHandler.sendMessage(mHandler.obtainMessage(REQUEST, request)); in getImageProperties() 221 RequestGetImage request = new RequestGetImage(imageHandle, descriptor); in getImage() local 222 boolean status = mHandler.sendMessage(mHandler.obtainMessage(REQUEST, request)); in getImage() 350 private void executeRequest(BipRequest request) { in executeRequest() argument 352 error("Cannot execute request " + request.toString() in executeRequest() 354 notifyCaller(request); in executeRequest() 359 request.execute(mSession); in executeRequest() 360 notifyCaller(request); in executeRequest() 361 debug("Completed request - " + request.toString()); in executeRequest() [all …]
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | CapabilitiesCache.java | 140 public void request(DiscoveredPrinter printer, boolean highPriority, in request() method in CapabilitiesCache 159 Request request = mRequests.computeIfAbsent(printer.path, uri -> in request() local 163 request.mHighPriority = true; in request() 166 request.mCallbacks.add(onLocalPrinterCapabilities); in request() 197 Request request = entry.getValue(); in cancel() local 198 request.mCallbacks.remove(onLocalPrinterCapabilities); in cancel() 199 if (request.mCallbacks.isEmpty()) { in cancel() 201 request.cancel(); in cancel() 204 for (Uri request : toDrop) { in cancel() 205 mRequests.remove(request); in cancel() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/sneptest/ |
D | ExtDtaSnepServer.java | 114 SnepMessage request; in handleRequest() local 116 request = messenger.getMessage(); in handleRequest() 126 if (((request.getVersion() & 0xF0) >> 4) != SnepMessage.VERSION_MAJOR) { in handleRequest() 129 …} else if ((request.getLength() > SnepMessage.MAL_IUT) || request.getLength() == SnepMessage.MAL) { in handleRequest() 132 } else if (request.getField() == SnepMessage.REQUEST_GET) { in handleRequest() 133 if (DBG) Log.d(TAG, "getting message " + request.toString()); in handleRequest() 134 … messenger.sendMessage(callback.doGet(request.getAcceptableLength(), request.getNdefMessage())); in handleRequest() 135 if (request.getNdefMessage() != null) in handleRequest() 136 dtaServiceConnector.sendMessage(request.getNdefMessage().toString()); in handleRequest() 137 } else if (request.getField() == SnepMessage.REQUEST_PUT) { in handleRequest() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorConnectionService.java | 74 PhoneAccountHandle phoneAccount, ConnectionRequest request) { in onCreateOutgoingConnection() argument 77 && !SimulatorSimCallManager.isSimulatorConnectionRequest(request)) { in onCreateOutgoingConnection() 86 SimulatorConnection connection = new SimulatorConnection(this, request); in onCreateOutgoingConnection() 87 if (SimulatorSimCallManager.isSimulatorConnectionRequest(request)) { in onCreateOutgoingConnection() 90 request.getAddress(), in onCreateOutgoingConnection() 91 request in onCreateOutgoingConnection() 104 connection.setAddress(request.getAddress(), 1); in onCreateOutgoingConnection() 118 PhoneAccountHandle phoneAccount, ConnectionRequest request) { in onCreateIncomingConnection() argument 120 if (!SimulatorSimCallManager.isSimulatorConnectionRequest(request)) { in onCreateIncomingConnection() 129 SimulatorConnection connection = new SimulatorConnection(this, request); in onCreateIncomingConnection() [all …]
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsService.java | 266 public static void startRequest(final Context context, final MmsRequest request) { in startRequest() argument 268 request.setUseWakeLock(useWakeLock); in startRequest() 270 intent.putExtra(EXTRA_REQUEST, request); in startRequest() 324 final MmsRequest request = intent.getParcelableExtra(EXTRA_REQUEST); in onStartCommand() local 325 if (request != null) { in onStartCommand() 327 retainService(request, new Runnable() { in onStartCommand() 331 request.execute( in onStartCommand() 340 if (request.getUseWakeLock()) { in onStartCommand() 352 request.returnResult(this, SmsManager.MMS_ERROR_UNSPECIFIED, in onStartCommand() 354 if (request.getUseWakeLock()) { in onStartCommand() [all …]
|