/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/ |
H A D | TranscriptionClient.java | 32 /** Wraps the server response and status objects, either of which may be null. */ 34 public final TranscribeVoicemailResponse response; field in class:TranscriptionClient.TranscriptionResponseWrapper 38 @Nullable TranscribeVoicemailResponse response, @Nullable Status status) { 39 Assert.checkArgument(!(response == null && status == null)); 40 this.response = response; 52 TranscribeVoicemailResponse response = null; 55 response = stub.transcribeVoicemail(request); 59 return new TranscriptionClient.TranscriptionResponseWrapper(response, status); 37 TranscriptionResponseWrapper( @ullable TranscribeVoicemailResponse response, @Nullable Status status) argument
|
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
H A D | SnepBasicTests.java | 55 SnepMessage response = null; 58 response = client.getMessage(); 63 assertNotNull(response); 64 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField()); 86 SnepMessage response = null; 89 response = client.getMessage(); 94 assertNotNull(response); 95 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField()); 117 SnepMessage response = null; 120 response [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
H A D | ImapConnection.java | 111 // consume the response before doing anything else. 112 ImapResponse response = mParser.readResponse(false); 113 if (!response.isOk()) { 117 "Invalid server initial response"); 248 String response = data.createResponse(); 249 // Respond to the challenge. If the server accepts it, it will reply a response-auth which 256 // response=d388dad90d4bbd760a152321f2143af7,qop=auth 259 responses = executeContinuationResponse(encodeBase64(response), true); 261 // Verify response-auth. 267 // Send a empty response t 368 executeContinuationResponse(String response, boolean sensitive) argument [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/ |
H A D | BlockingHttpClientTests.java | 103 byte[] response = new byte[100]; 104 rand.nextBytes(response); 106 when(mMockHttpConnection.getInputStream()).thenReturn(new ByteArrayInputStream(response)); 109 new FakeSuccessResponseProcessor(response); 118 byte[] response = new byte[100]; 119 rand.nextBytes(response); 122 when(mMockHttpConnection.getInputStream()).thenReturn(new ByteArrayInputStream(response)); 125 new FakeSuccessResponseProcessor(response); 133 public Void onSuccess(InputStream response) { argument 149 public Void onSuccess(InputStream response) { argument [all...] |
/packages/services/Car/obd2-lib/src/com/android/car/obd2/ |
H A D | Obd2Connection.java | 130 StringBuilder response = new StringBuilder(); 138 response.append(c); 141 String responseValue = response.toString(); 150 String removeSideData(String response, String... patterns) { argument 152 if (response.contains(pattern)) response = response.replaceAll(pattern, ""); 154 return response; 157 String unpackLongFrame(String response) { argument 159 if (response [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
H A D | ImapConnection.java | 72 /** # of command/response lines to log upon crash. */ 162 // NOTE: An IMAP response MUST be processed before issuing any new IMAP 163 // requests. Subsequent requests may destroy previous response data. As 221 * Sets the capability flags according to the response provided by the server. 296 * command, a response will be read which MUST be a continuation request. 312 // Otherwise, read the response from the previous part of the command 313 ImapResponse response = readResponse(); 315 if (!response.isContinuationRequest()) { 339 ImapResponse response; 341 response [all...] |
H A D | Pop3Store.java | 175 String response; 176 while ((response = mTransport.readLine(false)) != null) { 177 parser.parseMultiLine(response); 241 String response = executeSimpleCommand("STAT"); 242 String[] parts = response.split(" "); 393 String response = executeSimpleCommand("UIDL " + msgNum); 394 if (!parser.parseSingleLine(response)) { 402 String response = executeSimpleCommand("UIDL"); 403 while ((response = mTransport.readLine(false)) != null) { 404 if (!parser.parseMultiLine(response)) { 463 parseSingleLine(String response) argument 495 parseMultiLine(String response) argument [all...] |
H A D | ImapFolder.java | 278 // Process response to get the new UIDs 279 for (ImapResponse response : responseList) { 281 if (response.isBad() || (response.isNo() && response.isTagged())) { 282 String responseText = response.getStatusResponseTextOrEmpty().getString(); 286 if (!response.isTagged()) { 294 ImapList copyResponse = response.getListOrEmpty(1); 362 for (ImapResponse response : responses) { 363 if (response 848 handleUntaggedResponse(ImapResponse response) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
H A D | MockRespondMatrixCursor.java | 44 final Bundle response = new Bundle(); 49 return response; 54 // For each of the keys in the request, we want to see if there is a mock response for the 60 response.putParcelable(key, (Parcelable)responseData); 64 return response;
|
/packages/apps/Email/provider_src/com/android/email/service/ |
H A D | EasTestAuthenticatorService.java | 48 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument 72 intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response); 79 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, argument 85 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument 90 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, argument 102 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, argument 108 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, argument
|
H A D | AuthenticatorService.java | 56 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument 114 intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response); 121 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, argument 127 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument 132 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, argument 144 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, argument 150 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, argument
|
/packages/services/BuiltInPrintService/jni/ipphelper/ |
H A D | ippstatus_capabilities.c | 132 ipp_t *response = NULL; // IPP response object local 166 response = ipp_doCupsRequest(caps->http, request, caps->printer_caps.httpResource, 168 if (response == NULL) { 170 LOGE("_get_capabilities: %s response is null: ipp_status %d %s", 176 parse_printerAttributes(response, capabilities); 179 for (attrptr = ippFirstAttribute(response); attrptr; attrptr = ippNextAttribute( 180 response)) { 184 if ((attrptr = ippFindAttribute(response, "printer-state", IPP_TAG_ENUM)) == NULL) { 191 if (ipp_status >= IPP_OK && ipp_status < IPP_REDIRECTION_OTHER_SITE && response ! [all...] |
H A D | ipphelper.h | 84 extern void get_PrinterStateReason(ipp_t *response, ipp_pstate_t *printer_state, 88 * Parses printer attributes from the IPP response and copies them to capabilities 90 extern void parse_printerAttributes(ipp_t *response, printer_capabilities_t *capabilities); 98 * Parses supported media from the IPP response and copies the list into capabilities 100 extern void parse_getMediaSupported(ipp_t *response, media_supported_t *media_supported,
|
H A D | ipphelper.c | 41 * Parses supported IPP versions from the IPP response and copies them into ippVersions 43 static void parse_IPPVersions(ipp_t *response, ipp_version_supported_t *ippVersions); 46 * Parses printer URIs from the IPP response and copies them into capabilities 48 static void parse_printerUris(ipp_t *response, printer_capabilities_t *capabilities); 141 ipp_t *response; local 156 if ((response = cupsDoRequest(http, request, http_resource)) == NULL) { 158 LOGD("test_and_set_ipp_version: response is null: ipp_status %d %s", 193 ippDelete(response); 197 parse_IPPVersions(response, &ippVersions); 221 if (response ! 236 ipp_t *response = NULL; local 279 get_PrinterStateReason(ipp_t *response, ipp_pstate_t *printer_state, printer_state_dyn_t *printer_state_dyn) argument 576 parse_IPPVersions(ipp_t *response, ipp_version_supported_t *ippVersions) argument 740 parse_getMediaSupported(ipp_t *response, media_supported_t *media_supported, printer_capabilities_t *capabilities) argument 947 parse_printerAttributes(ipp_t *response, printer_capabilities_t *capabilities) argument 1317 parse_printerUris(ipp_t *response, printer_capabilities_t *capabilities) argument 1454 ipp_t *response = NULL; local 1491 ipp_t *response = NULL; local [all...] |
H A D | ippstatus_monitor.c | 287 ipp_t *response = NULL; local 317 response = ipp_doCupsRequest(monitor->http, request, monitor->http_resource, 319 if (response == NULL) { 321 LOGD("_cancel get job attributes: response is null, ipp_status %d: %s", 325 attr = ippFindAttribute(response, "job-id", IPP_TAG_INTEGER); 333 attr = ippFindAttribute(response, "job-state", IPP_TAG_ENUM); 339 attr = ippFindAttribute(response, "job-state-reasons", IPP_TAG_KEYWORD); 352 ippDelete(response); 353 response = NULL; 371 if ((response [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
H A D | ActionService.java | 49 * Process a response from the BackgroundWorker in the ActionService 52 final Action action, final Bundle response) { 53 ActionServiceImpl.handleResponseFromBackgroundWorker(action, response); 51 handleResponseFromBackgroundWorker( final Action action, final Bundle response) argument
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
H A D | WebAddress.java | 139 public String response; field in class:WebAddress.ParseException 141 ParseException(String response) { argument 142 this.response = response;
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/ |
H A D | TestAuthenticator.java | 62 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument 84 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, argument 99 AccountAuthenticatorResponse response, Account account, Bundle options) { 107 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument 125 AccountAuthenticatorResponse response, Account account, String[] features) { 138 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, argument 98 confirmCredentials( AccountAuthenticatorResponse response, Account account, Bundle options) argument 124 hasFeatures( AccountAuthenticatorResponse response, Account account, String[] features) argument
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
H A D | ActionTestHelpers.java | 127 public final Bundle response; field in class:ActionTestHelpers.StubActionService.StubActionServiceCallLog 133 final Bundle response, 138 this.response = response; 161 final Bundle response) { 162 mServiceCalls.add(new StubActionServiceCallLog(null, request, response, null, null)); 131 StubActionServiceCallLog(final Action action, final Action request, final Bundle response, final Exception exception, final Action update) argument 160 handleResponseFromBackgroundWorker(final Action request, final Bundle response) argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | QuickResponseSettings.java | 54 for (String response : mResponses) { 57 et.setTitle(response); // Display Text 58 et.setText(response); // Value to edit
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
H A D | MmsRequest.java | 58 * Transfer the received response to the caller 62 * @param response the pdu to transfer 63 * @return true if transferring response PDU to calling app succeeds, false otherwise 65 protected abstract boolean transferResponse(Context context, Intent fillIn, byte[] response); argument 76 * @return The HTTP response data 135 byte[] response = null; 172 response = doHttp( 175 if (isWrongApnResponse(response, mmsConfig)) { 209 returnResult(context, result, response, httpStatusCode); 213 * Check if the response indicate 223 isWrongApnResponse(final byte[] response, final Bundle mmsConfig) argument 257 returnResult(final Context context, int result, final byte[] response, final int httpStatusCode) argument [all...] |
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | TestUssdActivity.java | 25 String request, CharSequence response) { 26 Log.i(LOG_TAG, "USSD Success: " + request + "," + response); 28 response);
|
/packages/experimental/FillService/src/foo/bar/fill/ |
H A D | AuthActivity.java | 30 final FillResponse response; 40 response = new FillResponse.Builder() 65 response = null; 72 result.putExtra(AutofillManager.EXTRA_AUTHENTICATION_RESULT, response);
|
/packages/services/Mms/src/com/android/mms/service/ |
H A D | MmsRequest.java | 139 byte[] response = null; 171 response = doHttp(context, networkManager, apn); 202 processResult(context, result, response, httpStatusCode); 210 * @param response The response body 213 public void processResult(Context context, int result, byte[] response, int httpStatusCode) { argument 214 final Uri messageUri = persistIfRequired(context, result, response); 222 if (response != null) { 223 succeeded = transferResponse(fillIn, response); 291 * @return The HTTP response dat 316 persistIfRequired(Context context, int result, byte[] response) argument 331 transferResponse(Intent fillIn, byte[] response) argument [all...] |
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
H A D | HttpFetcher.java | 54 * @return The response body as a byte array. Or {@literal null} if status code is not 2xx. 75 LogUtil.i("HttpFetcher.sendRequestAsByteArray", "response code: " + responseCode); 100 byte[] response = baos.toByteArray(); 101 LogUtil.i("HttpFetcher.sendRequestAsByteArray", "received " + response.length + " bytes"); 104 return response; 116 * @return The response body as a InputStream. Or {@literal null} if status code is not 2xx. 135 LogUtil.i("HttpFetcher.sendRequestAsInputStream", "response code: " + responseCode); 207 * @return The response body as a String. Or {@literal null} if status code is not 2xx. 215 // Encountered error response... just return. 218 final String response 263 handleBadResponse(String url, byte[] response) argument [all...] |