/frameworks/base/core/java/android/accounts/ |
D | AbstractAccountAuthenticator.java | 154 public void addAccount(IAccountAuthenticatorResponse response, String accountType, in addAccount() argument 165 new AccountAuthenticatorResponse(response), in addAccount() 174 response.onResult(result); in addAccount() 176 response.onError(AccountManager.ERROR_CODE_INVALID_RESPONSE, in addAccount() 180 handleException(response, "addAccount", accountType, e); in addAccount() 185 public void confirmCredentials(IAccountAuthenticatorResponse response, in confirmCredentials() argument 193 new AccountAuthenticatorResponse(response), account, options); in confirmCredentials() 202 response.onResult(result); in confirmCredentials() 205 handleException(response, "confirmCredentials", account.toString(), e); in confirmCredentials() 210 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 | 41 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features, in hasFeatures() argument 43 void getAccountByTypeAndFeatures(in IAccountManagerResponse response, String accountType, in getAccountByTypeAndFeatures() argument 45 void getAccountsByFeatures(in IAccountManagerResponse response, String accountType, in getAccountsByFeatures() argument 48 void removeAccount(in IAccountManagerResponse response, in Account account, in removeAccount() argument 50 void removeAccountAsUser(in IAccountManagerResponse response, in Account account, in removeAccountAsUser() argument 53 void copyAccountToUser(in IAccountManagerResponse response, in Account account, in copyAccountToUser() argument 63 void getAuthToken(in IAccountManagerResponse response, in Account account, in getAuthToken() argument 66 void addAccount(in IAccountManagerResponse response, String accountType, in addAccount() argument 69 void addAccountAsUser(in IAccountManagerResponse response, String accountType, in addAccountAsUser() argument 72 void updateCredentials(in IAccountManagerResponse response, in Account account, in updateCredentials() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCommandInterface.java | 197 public void setMute (boolean enableMute, Message response) { in setMute() argument 201 public void getMute (Message response) { in getMute() argument 255 int retry, int messageRef, Message response) { in sendImsGsmSms() argument 260 Message response) { in sendImsCdmaSms() argument 268 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 272 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument 276 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument 280 public void writeSmsToRuim(int status, byte[] pdu, Message response) { in writeSmsToRuim() argument 334 public void queryCallWaiting(int serviceClass, Message response) { in queryCallWaiting() argument 339 Message response) { in setCallWaiting() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipCommandInterface.java | 198 public void setMute (boolean enableMute, Message response) { in setMute() argument 202 public void getMute (Message response) { in getMute() argument 256 int retry, int messageRef, Message response) { in sendImsGsmSms() argument 261 Message response) { in sendImsCdmaSms() argument 269 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 273 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument 277 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument 281 public void writeSmsToRuim(int status, byte[] pdu, Message response) { in writeSmsToRuim() argument 335 public void queryCallWaiting(int serviceClass, Message response) { in queryCallWaiting() argument 340 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/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandsInterface.java | 1091 void setMute (boolean enableMute, Message response); in setMute() argument 1093 void getMute (Message response); in getMute() argument 1103 void getSignalStrength (Message response); in getSignalStrength() argument 1117 void getVoiceRegistrationState (Message response); in getVoiceRegistrationState() argument 1129 void getDataRegistrationState (Message response); in getDataRegistrationState() argument 1138 void getOperator(Message response); in getOperator() argument 1176 void sendSMS (String smscPDU, String pdu, Message response); in sendSMS() argument 1186 void sendSMSExpectMore (String smscPDU, String pdu, Message response); in sendSMSExpectMore() argument 1192 void sendCdmaSms(byte[] pdu, Message response); in sendCdmaSms() argument 1199 void sendCdmaSMSExpectMore(byte[] pdu, Message response); in sendCdmaSMSExpectMore() argument [all …]
|
D | RadioIndication.java | 257 LinkCapacityEstimate response = RIL.convertHalLceData(lce, mRil); in currentLinkCapacityEstimate() local 259 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_LCEDATA_RECV, response); in currentLinkCapacityEstimate() 262 mRil.mLceInfoRegistrants.notifyRegistrants(new AsyncResult(null, response, null)); in currentLinkCapacityEstimate() 322 List<EmergencyNumber> response = new ArrayList<>(emergencyNumberList.size()); in currentEmergencyNumberList() local 330 response.add(emergencyNumber); in currentEmergencyNumberList() 333 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_EMERGENCY_NUMBER_LIST, response); in currentEmergencyNumberList() 336 mRil.cacheEmergencyNumberListIndication(response); in currentEmergencyNumberList() 340 new AsyncResult(null, response, null)); in currentEmergencyNumberList() 432 IccRefreshResponse response = new IccRefreshResponse(); in simRefresh() local 433 response.refreshResult = refreshResult.type; in simRefresh() [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/uicc/ |
D | IccFileHandler.java | 185 Message response in loadEFLinearFixed() local 190 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFLinearFixed() 218 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_IMG_DONE, in loadEFImgLinearFixed() local 225 null, null, mAid, response); in loadEFImgLinearFixed() 241 Message response in getEFLinearRecordSize() local 245 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in getEFLinearRecordSize() 271 Message response = obtainMessage(EVENT_GET_EF_TRANSPARENT_SIZE_DONE, fileid, 0, onLoaded); in getEFTransparentRecordSize() local 282 response); in getEFTransparentRecordSize() 307 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_DONE, in loadEFLinearFixedAll() local 311 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFLinearFixedAll() [all …]
|
D | AdnRecordCache.java | 131 private void sendErrorResponse(Message response, String errString) { in sendErrorResponse() argument 132 if (response != null) { in sendErrorResponse() 134 AsyncResult.forMessage(response).exception = e; in sendErrorResponse() 135 response.sendToTarget(); in sendErrorResponse() 151 Message response) { in updateAdnByIndex() argument 155 sendErrorResponse(response, "EF is not known ADN-like EF:0x" + in updateAdnByIndex() 162 sendErrorResponse(response, "Have pending update for EF:0x" + in updateAdnByIndex() 167 mUserWriteResponse.put(efid, response); in updateAdnByIndex() 189 String pin2, Message response) { in updateAdnBySearch() argument 195 sendErrorResponse(response, "EF is not known ADN-like EF:0x" + in updateAdnBySearch() [all …]
|
/frameworks/base/core/java/android/net/ |
D | ParseException.java | 26 public String response; field in ParseException 28 ParseException(@NonNull String response) { in ParseException() argument 29 super(response); in ParseException() 30 this.response = response; in ParseException() 33 ParseException(@NonNull String response, @NonNull Throwable cause) { in ParseException() argument 34 super(response, cause); in ParseException() 35 this.response = response; in ParseException()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimulatedCommandsVerifier.java | 787 public void setMute(boolean enableMute, Message response) { in setMute() argument 792 public void getMute(Message response) { in getMute() argument 797 public void getSignalStrength(Message response) { in getSignalStrength() argument 802 public void getVoiceRegistrationState(Message response) { in getVoiceRegistrationState() argument 807 public void getDataRegistrationState(Message response) { in getDataRegistrationState() argument 812 public void getOperator(Message response) { in getOperator() argument 837 public void sendSMS(String smscPDU, String pdu, Message response) { in sendSMS() argument 842 public void sendSMSExpectMore(String smscPDU, String pdu, Message response) { in sendSMSExpectMore() argument 847 public void sendCdmaSms(byte[] pdu, Message response) { in sendCdmaSms() argument 852 public void sendCdmaSMSExpectMore(byte[] pdu, Message response) { in sendCdmaSMSExpectMore() argument [all …]
|
D | SimulatedCommands.java | 951 public void sendTerminalResponse(String contents, Message response) { in sendTerminalResponse() argument 952 resultSuccess(response, null); in sendTerminalResponse() 959 public void sendEnvelope(String contents, Message response) { in sendEnvelope() argument 960 resultSuccess(response, null); in sendEnvelope() 967 public void sendEnvelopeWithStatus(String contents, Message response) { in sendEnvelopeWithStatus() argument 968 resultSuccess(response, null); in sendEnvelopeWithStatus() 976 boolean accept, Message response) { in handleCallSetupRequestFromSim() argument 977 resultSuccess(response, null); in handleCallSetupRequestFromSim() 1139 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 1141 unimplemented(response); in deleteSmsOnSim() [all …]
|
/frameworks/base/core/java/android/service/gatekeeper/ |
D | GateKeeperResponse.java | 51 GateKeeperResponse response = new GateKeeperResponse(RESPONSE_RETRY); in createRetryResponse() local 52 response.mTimeout = timeout; in createRetryResponse() 53 return response; in createRetryResponse() 58 GateKeeperResponse response = new GateKeeperResponse(RESPONSE_OK); in createOkResponse() local 59 response.mPayload = payload; in createOkResponse() 60 response.mShouldReEnroll = shouldReEnroll; in createOkResponse() 61 return response; in createOkResponse() 74 final GateKeeperResponse response; 76 response = createRetryResponse(source.readInt()); 85 response = createOkResponse(payload, shouldReEnroll); [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/ |
D | SppResponseMessage.java | 58 protected SppResponseMessage(@NonNull SoapObject response, int messageType) in SppResponseMessage() argument 60 if (!response.hasAttribute(SPPStatusAttribute)) { in SppResponseMessage() 66 response.getAttributeAsString(SPPStatusAttribute)); in SppResponseMessage() 67 if (!response.hasAttribute(SPPVersionAttribute) || !response.hasAttribute( in SppResponseMessage() 74 if (!response.hasProperty(SPPErrorProperty)) { in SppResponseMessage() 79 if (response.hasProperty(SPPErrorProperty)) { in SppResponseMessage() 80 SoapObject errorInfo = (SoapObject) response.getProperty(SPPErrorProperty); in SppResponseMessage() 88 mSessionID = response.getAttributeAsString(SPPSessionIDAttribute); in SppResponseMessage() 89 mVersion = response.getAttributeAsString(SPPVersionAttribute); in SppResponseMessage() 90 if (response.getAttributeCount() > 0) { in SppResponseMessage() [all …]
|
D | PostDevDataResponse.java | 38 private PostDevDataResponse(@NonNull SoapObject response) throws IllegalArgumentException { in PostDevDataResponse() argument 39 super(response, MessageType.POST_DEV_DATA_RESPONSE); in PostDevDataResponse() 46 response.getPropertyInfo(0, propertyInfo); in PostDevDataResponse() 57 public static PostDevDataResponse createInstance(@NonNull SoapObject response) { in createInstance() argument 58 if (response.getPropertyCount() != MAX_COMMAND_COUNT) { in createInstance() 59 Log.e(TAG, "max command count exceeds: " + response.getPropertyCount()); in createInstance() 65 postDevDataResponse = new PostDevDataResponse(response); in createInstance()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ |
D | ExchangeCompleteMessageTest.java | 43 SoapObject response = new SoapObject(); in verifyValidExchangeComplete() local 44 response.addAttribute(SppResponseMessage.SPPStatusAttribute, TEST_STATUS); in verifyValidExchangeComplete() 45 response.addAttribute(SppResponseMessage.SPPSessionIDAttribute, TEST_SESSION_ID); in verifyValidExchangeComplete() 46 response.addAttribute(SppResponseMessage.SPPVersionAttribute, TEST_VERSION); in verifyValidExchangeComplete() 48 mExchangeCompleteMessage = ExchangeCompleteMessage.createInstance(response); in verifyValidExchangeComplete() 58 SoapObject response = new SoapObject(); in verifyInvalidExchangeCompleteReturnNull() local 59 response.addAttribute(SppResponseMessage.SPPStatusAttribute, TEST_STATUS); in verifyInvalidExchangeCompleteReturnNull() 60 response.addAttribute(SppResponseMessage.SPPVersionAttribute, TEST_VERSION); in verifyInvalidExchangeCompleteReturnNull() 61 mExchangeCompleteMessage = ExchangeCompleteMessage.createInstance(response); in verifyInvalidExchangeCompleteReturnNull()
|
D | PostDevDataResponseTest.java | 66 SoapObject response = new SoapObject(); in verifyValidPostDevDataResponse() local 67 response.addAttribute(SppResponseMessage.SPPStatusAttribute, TEST_STATUS); in verifyValidPostDevDataResponse() 68 response.addAttribute(SppResponseMessage.SPPSessionIDAttribute, TEST_SESSION_ID); in verifyValidPostDevDataResponse() 69 response.addAttribute(SppResponseMessage.SPPVersionAttribute, TEST_VERSION); in verifyValidPostDevDataResponse() 71 response.addProperty(propertyInfo); in verifyValidPostDevDataResponse() 73 mPostDevDataResponse = PostDevDataResponse.createInstance(response); in verifyValidPostDevDataResponse() 85 SoapObject response = new SoapObject(); in verifyInvalidPostDevDataResponseReturnNull() local 86 response.addProperty(new PropertyInfo()); in verifyInvalidPostDevDataResponseReturnNull() 87 response.addProperty(new PropertyInfo()); in verifyInvalidPostDevDataResponseReturnNull() 88 mPostDevDataResponse = PostDevDataResponse.createInstance(response); in verifyInvalidPostDevDataResponseReturnNull()
|
D | SoapParserTest.java | 55 SoapObject response = new SoapObject("Spp", "InvalidMessageType"); in verifyInvalidMessageType() local 56 assertNull(SoapParser.getResponse(response)); in verifyInvalidMessageType() 70 SoapObject response = new SoapObject("Spp", "sppPostDevDataResponse"); in verifyValidSppPostDevDataResponse() local 71 response.addAttribute(SppResponseMessage.SPPStatusAttribute, TEST_STATUS); in verifyValidSppPostDevDataResponse() 72 response.addAttribute(SppResponseMessage.SPPSessionIDAttribute, TEST_SESSION_ID); in verifyValidSppPostDevDataResponse() 73 response.addAttribute(SppResponseMessage.SPPVersionAttribute, TEST_VERSION); in verifyValidSppPostDevDataResponse() 74 response.addProperty(propertyInfo); in verifyValidSppPostDevDataResponse() 76 SppResponseMessage result = SoapParser.getResponse(response); in verifyValidSppPostDevDataResponse()
|
/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 …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | VerifyCredentialResponse.java | 48 VerifyCredentialResponse response = new VerifyCredentialResponse(responseCode, 0, null); 50 response.setTimeout(source.readInt()); 56 response.setPayload(payload); 59 return response; 138 VerifyCredentialResponse response; in fromGateKeeperResponse() local 141 response = new VerifyCredentialResponse(gateKeeperResponse.getTimeout()); in fromGateKeeperResponse() 147 response = VerifyCredentialResponse.ERROR; in fromGateKeeperResponse() 149 response = new VerifyCredentialResponse(token); in fromGateKeeperResponse() 152 response = VerifyCredentialResponse.ERROR; in fromGateKeeperResponse() 154 return response; in fromGateKeeperResponse()
|
/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/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()
|