/frameworks/base/core/java/android/accounts/ |
D | AbstractAccountAuthenticator.java | 155 public void addAccount(IAccountAuthenticatorResponse response, String accountType, in addAccount() argument 166 new AccountAuthenticatorResponse(response), in addAccount() 175 response.onResult(result); in addAccount() 177 response.onError(AccountManager.ERROR_CODE_INVALID_RESPONSE, in addAccount() 181 handleException(response, "addAccount", accountType, e); in addAccount() 186 public void confirmCredentials(IAccountAuthenticatorResponse response, in confirmCredentials() argument 194 new AccountAuthenticatorResponse(response), account, options); in confirmCredentials() 203 response.onResult(result); in confirmCredentials() 206 handleException(response, "confirmCredentials", account.toString(), e); in confirmCredentials() 211 public void getAuthTokenLabel(IAccountAuthenticatorResponse response, in getAuthTokenLabel() argument [all …]
|
D | IAccountAuthenticator.aidl | 32 void addAccount(in IAccountAuthenticatorResponse response, String accountType, in addAccount() argument 39 void confirmCredentials(in IAccountAuthenticatorResponse response, in Account account, in confirmCredentials() argument 46 void getAuthToken(in IAccountAuthenticatorResponse response, in Account account, in getAuthToken() argument 53 void getAuthTokenLabel(in IAccountAuthenticatorResponse response, String authTokenType); in getAuthTokenLabel() argument 59 void updateCredentials(in IAccountAuthenticatorResponse response, in Account account, in updateCredentials() argument 66 void editProperties(in IAccountAuthenticatorResponse response, String accountType); in editProperties() argument 73 void hasFeatures(in IAccountAuthenticatorResponse response, in Account account, in hasFeatures() argument 80 void getAccountRemovalAllowed(in IAccountAuthenticatorResponse response, in Account account); in getAccountRemovalAllowed() argument 85 void getAccountCredentialsForCloning(in IAccountAuthenticatorResponse response, in getAccountCredentialsForCloning() argument 92 void addAccountFromCredentials(in IAccountAuthenticatorResponse response, in Account account, in addAccountFromCredentials() argument [all …]
|
D | IAccountManager.aidl | 40 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features, in hasFeatures() argument 42 void getAccountByTypeAndFeatures(in IAccountManagerResponse response, String accountType, in getAccountByTypeAndFeatures() argument 44 void getAccountsByFeatures(in IAccountManagerResponse response, String accountType, in getAccountsByFeatures() argument 47 void removeAccountAsUser(in IAccountManagerResponse response, in Account account, in removeAccountAsUser() argument 50 void copyAccountToUser(in IAccountManagerResponse response, in Account account, in copyAccountToUser() argument 60 void getAuthToken(in IAccountManagerResponse response, in Account account, in getAuthToken() argument 63 void addAccount(in IAccountManagerResponse response, String accountType, in addAccount() argument 66 void addAccountAsUser(in IAccountManagerResponse response, String accountType, in addAccountAsUser() argument 69 void updateCredentials(in IAccountManagerResponse response, in Account account, in updateCredentials() argument 71 void editProperties(in IAccountManagerResponse response, String accountType, in editProperties() argument [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/ |
D | SubscribeRequestCoordinator.java | 80 RequestResult createRequestResult(long taskId, CapabilityRequestResponse response, in createRequestResult() argument 85 private static final RequestResultCreator sRequestErrorCreator = (taskId, response, 87 int errorCode = response.getRequestInternalError().orElse(DEFAULT_ERROR_CODE); 88 long retryAfter = response.getRetryAfterMillis(); 93 private static final RequestResultCreator sCommandErrorCreator = (taskId, response, 95 int cmdError = response.getCommandError().orElse(COMMAND_CODE_GENERIC_FAILURE); 97 long retryAfter = response.getRetryAfterMillis(); 102 private static final RequestResultCreator sNetworkRespErrorCreator = (taskId, response, 110 int errorCode = CapabilityRequestResponse.getCapabilityErrorFromSipCode(response); 111 long retryAfter = response.getRetryAfterMillis(); [all …]
|
D | OptionsRequestCoordinator.java | 67 RequestResult createRequestResult(long taskId, CapabilityRequestResponse response); in createRequestResult() argument 71 private static final RequestResultCreator sRequestErrorCreator = (taskId, response) -> { 72 int errorCode = response.getRequestInternalError().orElse(DEFAULT_ERROR_CODE); 73 long retryAfter = response.getRetryAfterMillis(); 78 private static final RequestResultCreator sCommandErrorCreator = (taskId, response) -> { 79 int cmdError = response.getCommandError().orElse(COMMAND_CODE_GENERIC_FAILURE); 81 long retryAfter = response.getRetryAfterMillis(); 86 private static final RequestResultCreator sNetworkRespCreator = (taskId, response) -> { 87 if (response.isNetworkResponseOK()) { 90 int errorCode = CapabilityRequestResponse.getCapabilityErrorFromSipCode(response); [all …]
|
D | RemoteOptionsCoordinator.java | 64 RequestResult createRequestResult(long taskId, RemoteOptResponse response); in createRequestResult() argument 68 private static final RequestResultCreator sRemoteResponseCreator = (taskId, response) -> { 69 RcsContactUceCapability capability = response.getRcsContactCapability(); 73 int errorCode = response.getErrorSipCode().orElse(SIP_CODE_SERVER_INTERNAL_ERROR); 123 RemoteOptResponse response = request.getRemoteOptResponse(); in handleRemoteRequestDone() local 124 RcsContactUceCapability capability = response.getRcsContactCapability(); in handleRemoteRequestDone() 126 boolean isNumberBlocked = response.isNumberBlocked(); in handleRemoteRequestDone() 129 int errorCode = response.getErrorSipCode().orElse(SIP_CODE_SERVER_INTERNAL_ERROR); in handleRemoteRequestDone() 130 String reason = response.getErrorReason().orElse(SIP_SERVICE_UNAVAILABLE); in handleRemoteRequestDone() 139 RequestResult requestResult = sRemoteResponseCreator.createRequestResult(taskId, response); in handleRemoteRequestDone()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCommandInterface.java | 200 public void setMute (boolean enableMute, Message response) { in setMute() argument 204 public void getMute (Message response) { in getMute() argument 258 int retry, int messageRef, Message response) { in sendImsGsmSms() argument 263 Message response) { in sendImsCdmaSms() argument 271 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 275 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument 279 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument 283 public void writeSmsToRuim(int status, byte[] pdu, Message response) { in writeSmsToRuim() argument 338 public void queryCallWaiting(int serviceClass, Message response) { in queryCallWaiting() argument 343 Message response) { in setCallWaiting() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipCommandInterface.java | 201 public void setMute (boolean enableMute, Message response) { in setMute() argument 205 public void getMute (Message response) { in getMute() argument 259 int retry, int messageRef, Message response) { in sendImsGsmSms() argument 264 Message response) { in sendImsCdmaSms() argument 272 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 276 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument 280 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument 284 public void writeSmsToRuim(int status, byte[] pdu, Message response) { in writeSmsToRuim() argument 339 public void queryCallWaiting(int serviceClass, Message response) { in queryCallWaiting() argument 344 Message response) { in setCallWaiting() argument [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadCommands.java.broken | 46 private int mExpectingSendEnvelopeResponseSw1; // SW1/SW2 response status 47 private int mExpectingSendEnvelopeResponseSw2; // SW1/SW2 response status 83 * @param response simulated envelope response to return 85 synchronized void expectSendEnvelope(String contents, int sw1, int sw2, String response) { 91 mExpectingSendEnvelopeResponse = response; 108 Message response) { 114 if (response != null) { 115 AsyncResult.forMessage(response); 116 response.sendToTarget(); 123 Message response) { [all …]
|
/frameworks/base/tools/preload/loadclass/ |
D | LoadClass.java | 59 StringBuilder response = new StringBuilder("DECAFBAD"); in main() local 64 response.append(',').append(memoryInfo.nativeSharedDirty); in main() 65 response.append(',').append(memoryInfo.dalvikSharedDirty); in main() 66 response.append(',').append(memoryInfo.otherSharedDirty); in main() 67 response.append(',').append(memoryInfo.nativePrivateDirty); in main() 68 response.append(',').append(memoryInfo.dalvikPrivateDirty); in main() 69 response.append(',').append(memoryInfo.otherPrivateDirty); in main() 71 response.append(',').append(allocCount); in main() 72 response.append(',').append(allocSize); in main() 73 response.append(',').append(freedCount); in main() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandsInterface.java | 1101 void setMute (boolean enableMute, Message response); in setMute() argument 1103 void getMute (Message response); in getMute() argument 1113 void getSignalStrength (Message response); in getSignalStrength() argument 1127 void getVoiceRegistrationState (Message response); in getVoiceRegistrationState() argument 1139 void getDataRegistrationState (Message response); in getDataRegistrationState() argument 1148 void getOperator(Message response); in getOperator() argument 1186 void sendSMS (String smscPDU, String pdu, Message response); in sendSMS() argument 1196 void sendSMSExpectMore (String smscPDU, String pdu, Message response); in sendSMSExpectMore() argument 1202 void sendCdmaSms(byte[] pdu, Message response); in sendCdmaSms() argument 1209 void sendCdmaSMSExpectMore(byte[] pdu, Message response); in sendCdmaSMSExpectMore() argument [all …]
|
D | RadioIndication.java | 266 List<LinkCapacityEstimate> response = RIL.convertHalLceData(lce, mRil); in currentLinkCapacityEstimate() local 268 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_LCEDATA_RECV, response); in currentLinkCapacityEstimate() 271 mRil.mLceInfoRegistrants.notifyRegistrants(new AsyncResult(null, response, null)); in currentLinkCapacityEstimate() 282 List<LinkCapacityEstimate> response = RIL.convertHalLceData(lce, mRil); in currentLinkCapacityEstimate_1_6() local 284 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_LCEDATA_RECV, response); in currentLinkCapacityEstimate_1_6() 287 mRil.mLceInfoRegistrants.notifyRegistrants(new AsyncResult(null, response, null)); in currentLinkCapacityEstimate_1_6() 373 List<EmergencyNumber> response = new ArrayList<>(emergencyNumberList.size()); in currentEmergencyNumberList() local 381 response.add(emergencyNumber); in currentEmergencyNumberList() 384 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_EMERGENCY_NUMBER_LIST, response); in currentEmergencyNumberList() 387 mRil.cacheEmergencyNumberListIndication(response); in currentEmergencyNumberList() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimulatedCommandsVerifier.java | 800 public void setMute(boolean enableMute, Message response) { in setMute() argument 805 public void getMute(Message response) { in getMute() argument 810 public void getSignalStrength(Message response) { in getSignalStrength() argument 815 public void getVoiceRegistrationState(Message response) { in getVoiceRegistrationState() argument 820 public void getDataRegistrationState(Message response) { in getDataRegistrationState() argument 825 public void getOperator(Message response) { in getOperator() argument 850 public void sendSMS(String smscPDU, String pdu, Message response) { in sendSMS() argument 855 public void sendSMSExpectMore(String smscPDU, String pdu, Message response) { in sendSMSExpectMore() argument 860 public void sendCdmaSms(byte[] pdu, Message response) { in sendCdmaSms() argument 865 public void sendCdmaSMSExpectMore(byte[] pdu, Message response) { in sendCdmaSMSExpectMore() argument [all …]
|
D | SimulatedCommands.java | 962 public void sendTerminalResponse(String contents, Message response) { in sendTerminalResponse() argument 963 resultSuccess(response, null); in sendTerminalResponse() 970 public void sendEnvelope(String contents, Message response) { in sendEnvelope() argument 971 resultSuccess(response, null); in sendEnvelope() 978 public void sendEnvelopeWithStatus(String contents, Message response) { in sendEnvelopeWithStatus() argument 979 resultSuccess(response, null); in sendEnvelopeWithStatus() 987 boolean accept, Message response) { in handleCallSetupRequestFromSim() argument 988 resultSuccess(response, null); in handleCallSetupRequestFromSim() 1157 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 1159 unimplemented(response); in deleteSmsOnSim() [all …]
|
/frameworks/base/core/java/android/service/quickaccesswallet/ |
D | GetWalletCardsCallbackImpl.java | 56 public void onSuccess(@NonNull GetWalletCardsResponse response) { in onSuccess() argument 57 if (isValidResponse(response)) { in onSuccess() 58 mHandler.post(() -> onSuccessInternal(response)); in onSuccess() 77 private void onSuccessInternal(GetWalletCardsResponse response) { in onSuccessInternal() argument 84 mCallback.onGetWalletCardsSuccess(response); in onSuccessInternal() 103 private boolean isValidResponse(@NonNull GetWalletCardsResponse response) { in isValidResponse() argument 104 if (response == null) { in isValidResponse() 108 if (response.getWalletCards() == null) { in isValidResponse() 112 if (response.getSelectedIndex() < 0) { in isValidResponse() 116 if (!response.getWalletCards().isEmpty() in isValidResponse() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AdnRecordCache.java | 134 private void sendErrorResponse(Message response, String errString) { in sendErrorResponse() argument 135 if (response != null) { in sendErrorResponse() 137 AsyncResult.forMessage(response).exception = e; in sendErrorResponse() 138 response.sendToTarget(); in sendErrorResponse() 154 Message response) { in updateAdnByIndex() argument 158 sendErrorResponse(response, "EF is not known ADN-like EF:0x" + in updateAdnByIndex() 165 sendErrorResponse(response, "Have pending update for EF:0x" + in updateAdnByIndex() 170 mUserWriteResponse.put(efid, response); in updateAdnByIndex() 192 String pin2, Message response) { in updateAdnBySearch() argument 198 sendErrorResponse(response, "EF is not known ADN-like EF:0x" + in updateAdnBySearch() [all …]
|
D | IccFileHandler.java | 186 Message response in loadEFLinearFixed() local 191 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFLinearFixed() 219 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_IMG_DONE, in loadEFImgLinearFixed() local 226 null, null, mAid, response); in loadEFImgLinearFixed() 242 Message response in getEFLinearRecordSize() local 246 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in getEFLinearRecordSize() 272 Message response = obtainMessage(EVENT_GET_EF_TRANSPARENT_SIZE_DONE, fileid, 0, onLoaded); in getEFTransparentRecordSize() local 283 response); in getEFTransparentRecordSize() 308 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_DONE, in loadEFLinearFixedAll() local 312 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFLinearFixedAll() [all …]
|
D | SimPhonebookRecordCache.java | 138 private void sendErrorResponse(Message response, String errString) { in sendErrorResponse() argument 139 if (response != null) { in sendErrorResponse() 141 AsyncResult.forMessage(response).exception = e; in sendErrorResponse() 142 response.sendToTarget(); in sendErrorResponse() 148 for (Message response : mAdnLoadingWaiters){ in notifyAndClearWaiters() 149 if (response != null) { in notifyAndClearWaiters() 150 AsyncResult.forMessage(response).result = mSimPbRecords; in notifyAndClearWaiters() 151 response.sendToTarget(); in notifyAndClearWaiters() 162 for (Message response : mAdnLoadingWaiters) { in sendResponsesToWaitersWithError() 163 sendErrorResponse(response, "Query adn record failed"); in sendResponsesToWaitersWithError() [all …]
|
/frameworks/base/core/java/android/service/gatekeeper/ |
D | GateKeeperResponse.java | 53 GateKeeperResponse response = new GateKeeperResponse(RESPONSE_RETRY); in createRetryResponse() local 54 response.mTimeout = timeout; in createRetryResponse() 55 return response; in createRetryResponse() 60 GateKeeperResponse response = new GateKeeperResponse(RESPONSE_OK); in createOkResponse() local 61 response.mPayload = payload; in createOkResponse() 62 response.mShouldReEnroll = shouldReEnroll; in createOkResponse() 63 return response; in createOkResponse() 76 final GateKeeperResponse response; 78 response = createRetryResponse(source.readInt()); 87 response = createOkResponse(payload, shouldReEnroll); [all …]
|
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/ |
D | EapAkaHelperTest.java | 105 String response = mEapAkaHelper.getEapAkaChallengeResponse(challenge); in getEapAkaChallengeResponse() local 107 assertThat(response).isEqualTo(expectedResponse); in getEapAkaChallengeResponse() 122 String response = mEapAkaHelper.getEapAkaChallengeResponse(challenge); in getEapAkaChallengeResponse_getIccAuthenticationFailed() local 124 assertThat(response).isNull(); in getEapAkaChallengeResponse_getIccAuthenticationFailed() 141 EapAkaHelper.EapAkaResponse response = mEapAkaHelper.getEapAkaResponse(challenge); in getEapAkaResponse() local 143 assertThat(response.response()).isEqualTo(expectedResponse); in getEapAkaResponse() 144 assertThat(response.synchronizationFailureResponse()).isNull(); in getEapAkaResponse() 161 EapAkaHelper.EapAkaResponse response = mEapAkaHelper.getEapAkaResponse(challenge); in getEapAkaResponse_synchronizationFailure() local 163 assertThat(response.response()).isNull(); in getEapAkaResponse_synchronizationFailure() 164 assertThat(response.synchronizationFailureResponse()).isEqualTo(expectedResponse); in getEapAkaResponse_synchronizationFailure() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | TestAccountType2Authenticator.java | 47 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument 54 AccountAuthenticatorResponse response, in addAccount() argument 65 AccountAuthenticatorResponse response, in confirmCredentials() argument 74 AccountAuthenticatorResponse response, in getAuthToken() argument 90 AccountAuthenticatorResponse response, in updateCredentials() argument 100 AccountAuthenticatorResponse response, in hasFeatures() argument 109 AccountAuthenticatorResponse response, in startAddAccountSession() argument 120 AccountAuthenticatorResponse response, in startUpdateCredentialsSession() argument 131 public Bundle finishSession(AccountAuthenticatorResponse response, in finishSession() argument 140 final AccountAuthenticatorResponse response, in isCredentialsUpdateSuggested() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | IccPhoneBookInterfaceManagerTest.java | 82 Message response = (Message) invocation.getArguments()[2]; in setUp() 84 AsyncResult.forMessage(response).result = mAdnList; in setUp() 85 response.sendToTarget(); in setUp() 91 Message response = (Message) invocation.getArguments()[0]; in setUp() 93 AsyncResult.forMessage(response).result = mAdnList; in setUp() 94 response.sendToTarget(); in setUp() 123 Message response = (Message) invocation.getArguments()[2]; in testAdnEFLoadWithFailure() 124 AsyncResult.forMessage(response).exception = new RuntimeException(); in testAdnEFLoadWithFailure() 125 response.sendToTarget(); in testAdnEFLoadWithFailure() 146 Message response = (Message) invocation.getArguments()[0]; in testAdnEFLoadByPbCacheWithFailure() [all …]
|
/frameworks/base/core/java/android/se/omapi/ |
D | Channel.java | 168 byte[] response = mChannel.transmit(command); in transmit() 169 if (response == null) { in transmit() 172 return response; in transmit() 205 byte[] response; in getSelectResponse() 207 response = mChannel.getSelectResponse(); in getSelectResponse() 212 if (response != null && response.length == 0) { in getSelectResponse() 213 response = null; in getSelectResponse() 215 return response; in getSelectResponse()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTSPConnection.cpp | 637 sp<ARTSPResponse> response = new ARTSPResponse; in receiveRTSPReponse() local 638 response->mStatusLine = statusLine; in receiveRTSPReponse() 640 ALOGI("status: %s", response->mStatusLine.c_str()); in receiveRTSPReponse() 642 ssize_t space1 = response->mStatusLine.find(" "); in receiveRTSPReponse() 646 ssize_t space2 = response->mStatusLine.find(" ", space1 + 1); in receiveRTSPReponse() 653 if (!IsRTSPVersion(AString(response->mStatusLine, 0, space1))) { in receiveRTSPReponse() 656 response->mStatusLine, in receiveRTSPReponse() 658 response->mStatusLine.size() - space2 - 1))); in receiveRTSPReponse() 662 response->mStatusCode = 0; in receiveRTSPReponse() 665 response->mStatusLine, space1 + 1, space2 - space1 - 1); in receiveRTSPReponse() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.cpp | 49 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse() argument 50 status_t err = msg->postAndAwaitResponse(response); in PostAndAwaitResponse() 56 if (!(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 65 sp<AMessage> response; in setDataSource() local 66 return PostAndAwaitResponse(msg, &response); in setDataSource() 79 sp<AMessage> response; in setSurface() local 80 return PostAndAwaitResponse(msg, &response); in setSurface() 85 sp<AMessage> response; in prepare() local 86 return PostAndAwaitResponse(msg, &response); in prepare() 91 sp<AMessage> response; in start() local [all …]
|