Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 254) sorted by relevance

1234567891011

/packages/apps/Contacts/src/com/android/contacts/list/
DContactsIntentResolver.java56 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/
DCachingPipeline.java141 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 …]
DImageSavingTask.java71 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 …]
DRenderingRequestTask.java32 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 …]
DRenderingRequest.java64 RenderingRequest request = new RenderingRequest(); in post() local
78 request.setBitmap(bitmap); in post()
80 request.setOriginalImagePreset(preset); in post()
81 request.setScaleFactor(MasterImage.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 …]
DFullresRenderingRequestTask.java16 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()
DHighresRenderingRequestTask.java36 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()
DProcessingService.java90 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/
Dipp_print.c172 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 …]
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java397 MainThreadRequest request; in handleMessage() local
406 request = (MainThreadRequest) msg.obj; in handleMessage()
407 final Phone phone = getPhoneFromRequest(request); in handleMessage()
408 Pair<String, ResultReceiver> ussdObject = (Pair) request.argument; in handleMessage()
412 if (!isUssdApiAllowed(request.subId)) { in handleMessage()
420 request.result = true; in handleMessage()
421 notifyRequester(request); in handleMessage()
426 request.result = phone != null in handleMessage()
429 request.result = false; in handleMessage()
432 notifyRequester(request); in handleMessage()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockSettingsHelper.java95 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/Settings/src/com/android/settings/password/
DChooseLockSettingsHelper.java101 public boolean launchConfirmationActivity(int request, CharSequence title) { in launchConfirmationActivity() argument
103 request /* request */, in launchConfirmationActivity()
120 …public boolean launchConfirmationActivity(int request, CharSequence title, boolean returnCredentia… in launchConfirmationActivity() argument
122 request /* request */, in launchConfirmationActivity()
140 public boolean launchConfirmationActivity(int request, CharSequence title, in launchConfirmationActivity() argument
143 request /* request */, in launchConfirmationActivity()
168 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() argument
172 request /* request */, in launchConfirmationActivity()
198 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() argument
202 request /* request */, in launchConfirmationActivity()
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
DContactInfoCache.java156 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/UnifiedEmail/src/com/android/mail/bitmap/
DContactResolver.java119 public void add(final ContactRequest request, final ContactDrawableInterface drawable) { in add() argument
120 mBatch.add(new ContactRequestHolder(request, drawable)); in add()
124 public void remove(final ContactRequest request, final ContactDrawableInterface drawable) { in remove() argument
125 mBatch.remove(new ContactRequestHolder(request, drawable)); in remove()
178 for (ContactRequestHolder request : mContactRequests) { in doInBackground()
179 final String email = request.getEmail(); in doInBackground()
189 for (ContactRequestHolder request : mContactRequests) { in doInBackground()
191 final String email = request.getEmail(); in doInBackground()
195 publishProgress(new Result(request, null)); in doInBackground()
213 publishProgress(new Result(request, null)); in doInBackground()
[all …]
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedConnectionService.java44 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/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionServiceSystemTest.java117 final Action request = mWorker.getRequestsMade().get(0); in testChatActionSucceeds() local
118 assertTrue("Expect Test type", request instanceof TestChatAction); in testChatActionSucceeds()
124 request.markBackgroundWorkStarting(); in testChatActionSucceeds()
125 request.markBackgroundWorkQueued(); in testChatActionSucceeds()
127 request.markBackgroundWorkStarting(); in testChatActionSucceeds()
128 request.markBackgroundCompletionQueued(); in testChatActionSucceeds()
129 service.handleResponseFromBackgroundWorker(request, response); in testChatActionSucceeds()
165 final Action request = mWorker.getRequestsMade().get(0); in testChatActionFails() local
166 assertTrue("Expect Test type", request instanceof TestChatAction); in testChatActionFails()
170 request.markBackgroundWorkStarting(); in testChatActionFails()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVoicemailTranscriptionServiceGrpc.java121 …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/modules/NetworkStack/src/android/net/dhcp/
DDhcpServer.java433 private Inet4Address getAckOrOfferDst(@NonNull DhcpPacket request, @NonNull DhcpLease lease, in getAckOrOfferDst() argument
437 if (!isEmpty(request.mRelayIp)) { in getAckOrOfferDst()
438 return request.mRelayIp; in getAckOrOfferDst()
441 } else if (!isEmpty(request.mClientIp)) { in getAckOrOfferDst()
442 return request.mClientIp; in getAckOrOfferDst()
452 private static boolean getBroadcastFlag(@NonNull DhcpPacket request, @NonNull DhcpLease lease) { in getBroadcastFlag() argument
460 return isEmpty(request.mClientIp) && (request.mBroadcast || isEmpty(lease.getNetAddr())); in getBroadcastFlag()
469 private static String getHostnameIfRequested(@NonNull DhcpPacket request, in getHostnameIfRequested() argument
471 return request.hasRequestedParam(DHCP_HOST_NAME) && !TextUtils.isEmpty(lease.getHostname()) in getHostnameIfRequested()
476 private boolean transmitOffer(@NonNull DhcpPacket request, @NonNull DhcpLease lease, in transmitOffer() argument
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java152 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/
DContactPhotoManager.java74 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/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java343 final ConnectionRequest request) { in onCreateOutgoingConnection() argument
344 Log.i(this, "onCreateOutgoingConnection, request: " + request); in onCreateOutgoingConnection()
346 Uri handle = request.getAddress(); in onCreateOutgoingConnection()
360 final Phone phone = getPhoneForAccount(request.getAccountHandle(), in onCreateOutgoingConnection()
399 final Phone phone = getPhoneForAccount(request.getAccountHandle(), in onCreateOutgoingConnection()
431 final Phone phone = getPhoneForAccount(request.getAccountHandle(), false, in onCreateOutgoingConnection()
461 final Connection resultConnection = getTelephonyConnection(request, numberToDial, in onCreateOutgoingConnection()
469 handleOnComplete(isRadioReady, isEmergencyNumber, resultConnection, request, in onCreateOutgoingConnection()
513 final Phone phone = getPhoneForAccount(request.getAccountHandle(), isEmergencyNumber, in onCreateOutgoingConnection()
517 final Connection resultConnection = getTelephonyConnection(request, numberToDial, in onCreateOutgoingConnection()
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DCapabilitiesCache.java140 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/
DExtDtaSnepServer.java114 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/
DSimulatorConnectionService.java74 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/
DMmsService.java266 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 …]

1234567891011