/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | Pop3Store.java | 175 String response; in checkSettings() local 176 while ((response = mTransport.readLine(false)) != null) { in checkSettings() 177 parser.parseMultiLine(response); in checkSettings() 241 String response = executeSimpleCommand("STAT"); in open() local 242 String[] parts = response.split(" "); in open() 393 String response = executeSimpleCommand("UIDL " + msgNum); in indexMsgNums() local 394 if (!parser.parseSingleLine(response)) { in indexMsgNums() 402 String response = executeSimpleCommand("UIDL"); in indexMsgNums() local 403 while ((response = mTransport.readLine(false)) != null) { in indexMsgNums() 404 if (!parser.parseMultiLine(response)) { in indexMsgNums() [all …]
|
D | ImapConnection.java | 313 ImapResponse response = readResponse(); in sendComplexCommand() local 315 if (!response.isContinuationRequest()) { in sendComplexCommand() 339 ImapResponse response; in getCommandResponses() local 341 response = mParser.readResponse(); in getCommandResponses() 342 responses.add(response); in getCommandResponses() 343 } while (!response.isTagged()); in getCommandResponses() 345 if (!response.isOk()) { in getCommandResponses() 346 final String toString = response.toString(); in getCommandResponses() 347 final String status = response.getStatusOrEmpty().getString(); in getCommandResponses() 348 final String alert = response.getAlertTextOrEmpty().getString(); in getCommandResponses() [all …]
|
D | ImapFolder.java | 279 for (ImapResponse response : responseList) { in copyMessages() 281 if (response.isBad() || (response.isNo() && response.isTagged())) { in copyMessages() 282 String responseText = response.getStatusResponseTextOrEmpty().getString(); in copyMessages() 286 if (!response.isTagged()) { in copyMessages() 294 ImapList copyResponse = response.getListOrEmpty(1); in copyMessages() 362 for (ImapResponse response : responses) { in getUnreadMessageCount() 363 if (response.isDataResponse(0, ImapConstants.STATUS)) { in getUnreadMessageCount() 364 unreadMessageCount = response.getListOrEmpty(2) in getUnreadMessageCount() 384 for (ImapResponse response : responses) { in getSearchUids() 385 if (!response.isDataResponse(0, ImapConstants.SEARCH)) { in getSearchUids() [all …]
|
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
D | SnepBasicTests.java | 55 SnepMessage response = null; in testGetSmallNdef() local 58 response = client.getMessage(); in testGetSmallNdef() 63 assertNotNull(response); in testGetSmallNdef() 64 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField()); in testGetSmallNdef() 86 SnepMessage response = null; in testGetLargeNdef() local 89 response = client.getMessage(); in testGetLargeNdef() 94 assertNotNull(response); in testGetLargeNdef() 95 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField()); in testGetLargeNdef() 117 SnepMessage response = null; in testGetExcessiveNdef() local 120 response = client.getMessage(); in testGetExcessiveNdef() [all …]
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
D | EasOperation.java | 276 final EasResponse response; in performOperationInternal() local 279 response = mConnection.executeHttpUriRequest(makeRequest(), getTimeout()); in performOperationInternal() 322 if (response.isSuccess()) { in performOperationInternal() 325 responseResult = handleResponse(response); in performOperationInternal() 347 result = handleHttpError(response.getStatus()); in performOperationInternal() 357 if (result == RESULT_FORBIDDEN || (response.isForbidden() && handleForbidden())) { in performOperationInternal() 363 if (result == RESULT_PROVISIONING_ERROR || response.isProvisionError()) { in performOperationInternal() 375 if (response.isAuthError()) { in performOperationInternal() 377 if (response.isMissingCertificate()) { in performOperationInternal() 384 if (response.isRedirectError()) { in performOperationInternal() [all …]
|
D | EasMoveItems.java | 130 protected int handleResponse(final EasResponse response) throws IOException { in handleResponse() argument 131 if (!response.isEmpty()) { in handleResponse() 132 final MoveItemsParser parser = new MoveItemsParser(response.getInputStream()); in handleResponse() 143 private void processResponse(final MessageMove request, final MoveResponse response) { in processResponse() argument 149 if (response.sourceMessageId == null) { in processResponse() 156 sourceMessageId = response.sourceMessageId; in processResponse() 166 if (response.moveStatus == MoveItemsParser.STATUS_CODE_REVERT) { in processResponse() 169 } else if (response.moveStatus == MoveItemsParser.STATUS_CODE_SUCCESS) { in processResponse() 170 if (response.newMessageId != null && !response.newMessageId.equals(sourceMessageId)) { in processResponse() 171 cv.put(EmailContent.SyncColumns.SERVER_ID, response.newMessageId); in processResponse()
|
D | EasSendMeetingResponse.java | 106 final HttpEntity response; in getRequestEntity() local 108 response = makeResponse(mMessage, mailboxServerId, mEasResponse); in getRequestEntity() 113 return response; in getRequestEntity() 129 protected int handleResponse(final EasResponse response) in handleResponse() argument 131 final int status = response.getStatus(); in handleResponse() 133 if (!response.isEmpty()) { in handleResponse() 135 new MeetingResponseParser(response.getInputStream()).parse(); in handleResponse() 147 } else if (response.isAuthError()) { in handleResponse() 158 private void sendMeetingResponseMail(final PackedString meetingInfo, final int response) { in sendMeetingResponseMail() argument 214 switch(response) { in sendMeetingResponseMail()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 1656 IccOpenLogicalChannelResponse response = (IccOpenLogicalChannelResponse)sendRequest( in iccOpenLogicalChannel() local 1658 if (DBG) log("iccOpenLogicalChannel: " + response); in iccOpenLogicalChannel() 1659 return response; in iccOpenLogicalChannel() 1690 IccIoResult response = (IccIoResult)sendRequest(CMD_TRANSMIT_APDU_LOGICAL_CHANNEL, in iccTransmitApduLogicalChannel() local 1692 if (DBG) log("iccTransmitApduLogicalChannel: " + response); in iccTransmitApduLogicalChannel() 1696 (response.sw1 << 8) + response.sw2 + 0x10000).substring(1); in iccTransmitApduLogicalChannel() 1697 if (response.payload != null) { in iccTransmitApduLogicalChannel() 1698 s = IccUtils.bytesToHexString(response.payload) + s; in iccTransmitApduLogicalChannel() 1713 IccIoResult response = (IccIoResult)sendRequest(CMD_TRANSMIT_APDU_BASIC_CHANNEL, in iccTransmitApduBasicChannel() local 1715 if (DBG) log("iccTransmitApduBasicChannel: " + response); in iccTransmitApduBasicChannel() [all …]
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsRequest.java | 134 byte[] response = null; in execute() 166 response = doHttp(context, networkManager, apn); in execute() 197 processResult(context, result, response, httpStatusCode); in execute() 208 public void processResult(Context context, int result, byte[] response, int httpStatusCode) { in processResult() argument 209 final Uri messageUri = persistIfRequired(context, result, response); in processResult() 217 if (response != null) { in processResult() 218 succeeded = transferResponse(fillIn, response); in processResult() 301 protected abstract Uri persistIfRequired(Context context, int result, byte[] response); in persistIfRequired() argument 316 protected abstract boolean transferResponse(Intent fillIn, byte[] response); in transferResponse() argument
|
D | SendRequest.java | 100 protected Uri persistIfRequired(Context context, int result, byte[] response) { in persistIfRequired() argument 137 if (response != null && response.length > 0) { in persistIfRequired() 138 pdu = (new PduParser(response, supportContentDisposition)).parse(); in persistIfRequired() 201 protected boolean transferResponse(Intent fillIn, byte[] response) { in transferResponse() argument 203 if (response != null) { in transferResponse() 204 fillIn.putExtra(SmsManager.EXTRA_MMS_DATA, response); in transferResponse()
|
D | DownloadRequest.java | 104 protected Uri persistIfRequired(Context context, int result, byte[] response) { in persistIfRequired() argument 112 if (response == null || response.length < 1) { in persistIfRequired() 119 (new PduParser(response, mMmsConfig.getSupportMmsContentDisposition())).parse(); in persistIfRequired() 243 protected boolean transferResponse(Intent fillIn, final byte[] response) { in transferResponse() argument 244 return mRequestManager.writePduToContentUri(mContentUri, response); in transferResponse()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EventInfoFragment.java | 770 int response = getResponseFromButtonId(checkedId); in onCheckedChanged() local 772 mUserSetResponse = response; in onCheckedChanged() 779 mUserSetResponse = response; in onCheckedChanged() 785 mTentativeUserSetResponse = response; in onCheckedChanged() 1177 int response; in onSaveInstanceState() local 1179 response = mAttendeeResponseFromIntent; in onSaveInstanceState() 1181 response = mOriginalAttendeeResponse; in onSaveInstanceState() 1183 outState.putInt(BUNDLE_KEY_ATTENDEE_RESPONSE, response); in onSaveInstanceState() 1185 response = mUserSetResponse; in onSaveInstanceState() 1186 outState.putInt(BUNDLE_KEY_USER_SET_ATTENDEE_RESPONSE, response); in onSaveInstanceState() [all …]
|
D | CalendarController.java | 209 int response = (int)(extraLong & ATTENTEE_STATUS_MASK); in getResponse() local 210 switch (response) { in getResponse() 220 Log.wtf(TAG,"Unknown attendee response " + response); in getResponse() 226 public static long buildViewExtraLong(int response, boolean allDay) { in buildViewExtraLong() argument 229 switch (response) { in buildViewExtraLong() 243 Log.wtf(TAG,"Unknown attendee response " + response); in buildViewExtraLong() 756 public void launchViewEvent(long eventId, long startMillis, long endMillis, int response) { in launchViewEvent() argument 763 intent.putExtra(ATTENDEE_STATUS, response); in launchViewEvent()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | EasTestAuthenticatorService.java | 48 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument 72 intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response); in addAccount() 79 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, in confirmCredentials() argument 85 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument 90 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, in getAuthToken() argument 102 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, in hasFeatures() argument 108 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, in updateCredentials() argument
|
D | AuthenticatorService.java | 56 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument 114 intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response); in addAccount() 121 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, in confirmCredentials() argument 127 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument 132 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, in getAuthToken() argument 144 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, in hasFeatures() argument 150 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, in updateCredentials() argument
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
D | ImapResponseParser.java | 161 ImapResponse response = null; in readResponse() local 163 response = parseResponse(); in readResponse() 165 LogUtils.d(Logging.LOG_TAG, "<<< " + response.toString()); in readResponse() 179 if (response.is(0, ImapConstants.BYE)) { in readResponse() 181 response.destroy(); in readResponse() 184 mResponsesToDestroy.add(response); in readResponse() 185 return response; in readResponse()
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
D | WbxmlResponseLogger.java | 73 public void process(HttpResponse response, HttpContext context) throws IOException { in process() argument 77 response.setEntity(new BufferedHttpEntity(response.getEntity())); in process() 81 final HttpEntity entity = response.getEntity(); in process() 95 final InputStream unwrappedIs = response.getEntity().getContent(); in process() 98 is = response.getEntity().getContent(); in process()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
D | TestAuthenticator.java | 62 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument 82 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, in getAuthToken() argument 95 AccountAuthenticatorResponse response, Account account, Bundle options) { in confirmCredentials() argument 101 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument 115 AccountAuthenticatorResponse response, Account account, String[] features) { in hasFeatures() argument 126 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, in updateCredentials() argument
|
/packages/apps/Exchange/src/com/android/exchange/ |
D | EasResponse.java | 60 private EasResponse(final HttpResponse response, in EasResponse() argument 62 mResponse = response; in EasResponse() 63 mEntity = (response == null) ? null : mResponse.getEntity(); in EasResponse() 69 int status = response.getStatusLine().getStatusCode(); in EasResponse() 83 final HttpResponse response = client.execute(request); in fromHttpRequest() local 84 return new EasResponse(response, connManager, reqTime); in fromHttpRequest()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CreateConnectionProcessor.java | 103 Call call, ConnectionServiceRepository repository, CreateConnectionResponse response, in CreateConnectionProcessor() argument 107 mResponse = response; in CreateConnectionProcessor() 138 void continueProcessingIfPossible(CreateConnectionResponse response, in continueProcessingIfPossible() argument 141 mResponse = response; in continueProcessingIfPossible() 151 CreateConnectionResponse response = mResponse; in abort() local 160 if (response != null) { in abort() 161 response.handleCreateConnectionFailure(new DisconnectCause(DisconnectCause.LOCAL)); in abort()
|
D | ConnectionServiceWrapper.java | 674 void createConnection(final Call call, final CreateConnectionResponse response) { in createConnection() argument 680 mPendingResponses.put(callId, response); in createConnection() 716 response.handleCreateConnectionFailure(new DisconnectCause(DisconnectCause.ERROR)); in createConnection() 859 CreateConnectionResponse response = mPendingResponses.remove(callId); in removeCall() local 860 if (response != null) { in removeCall() 861 response.handleCreateConnectionFailure(disconnectCause); in removeCall() 868 CreateConnectionResponse response = mPendingResponses.remove(mCallIdMapper.getCallId(call)); in removeCall() local 869 if (response != null) { in removeCall() 870 response.handleCreateConnectionFailure(disconnectCause); in removeCall()
|
D | RespondViaSmsManager.java | 56 Response<Void, List<String>> response = 61 response.onResult(null, textMessages); 63 response.onError(null, 0, null); 100 public void loadCannedTextMessages(final Response<Void, List<String>> response, in loadCannedTextMessages() argument 136 args.arg1 = response; in loadCannedTextMessages()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | P2pLinkManager.java | 772 NdefMessage response = null; in doHandover() local 782 response = handoverClient.sendHandoverRequest(request); in doHandover() 784 if (response == null && snepClient != null) { in doHandover() 789 response = snepResponse.getNdefMessage(); in doHandover() 791 if (response == null) { in doHandover() 799 mHandoverDataParser.getOutgoingHandoverData(response), uris, userHandle)) { in doHandover() 928 NdefMessage response = mHandoverDataParser.getIncomingHandoverData(msg).handoverSelect; 929 if (response != null) { 931 return SnepMessage.getSuccessResponse(response);
|
/packages/apps/Email/provider_src/com/android/email/mail/internet/ |
D | OAuthAuthenticator.java | 141 final HttpResponse response; in doRequest() local 142 response = mClient.execute(post); in doRequest() 143 final int status = response.getStatusLine().getStatusCode(); in doRequest() 145 return parseResponse(response); in doRequest() 158 private AuthenticationResult parseResponse(HttpResponse response) throws IOException, in parseResponse() argument 161 response.getEntity().getContent(), "UTF-8")); in parseResponse()
|
/packages/apps/Browser/src/com/android/browser/ |
D | FetchUrlMimeType.java | 87 HttpResponse response; in run() local 91 response = client.execute(request); in run() 95 if (response.getStatusLine().getStatusCode() == 200) { in run() 96 Header header = response.getFirstHeader("Content-Type"); in run() 104 Header contentDispositionHeader = response.getFirstHeader("Content-Disposition"); in run()
|