Home
last modified time | relevance | path

Searched refs:response (Results 1 – 25 of 263) sorted by relevance

1234567891011

/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java156 public void addAccount(IAccountAuthenticatorResponse response, String accountType, in addAccount() argument
167 new AccountAuthenticatorResponse(response), in addAccount()
176 response.onResult(result); in addAccount()
178 response.onError(AccountManager.ERROR_CODE_INVALID_RESPONSE, in addAccount()
182 handleException(response, "addAccount", accountType, e); in addAccount()
187 public void confirmCredentials(IAccountAuthenticatorResponse response, in confirmCredentials() argument
195 new AccountAuthenticatorResponse(response), account, options); in confirmCredentials()
204 response.onResult(result); in confirmCredentials()
207 handleException(response, "confirmCredentials", account.toString(), e); in confirmCredentials()
212 public void getAuthTokenLabel(IAccountAuthenticatorResponse response, in getAuthTokenLabel() argument
[all …]
DIAccountAuthenticator.aidl32 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 …]
DIAccountManager.aidl41 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/
DImsPhoneCommandInterface.java190 public void setMute (boolean enableMute, Message response) { in setMute() argument
194 public void getMute (Message response) { in getMute() argument
244 int retry, int messageRef, Message response) { in sendImsGsmSms() argument
249 Message response) { in sendImsCdmaSms() argument
257 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument
261 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument
265 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument
269 public void writeSmsToRuim(int status, String pdu, Message response) { in writeSmsToRuim() argument
323 public void queryCallWaiting(int serviceClass, Message response) { in queryCallWaiting() argument
328 Message response) { in setCallWaiting() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipCommandInterface.java191 public void setMute (boolean enableMute, Message response) { in setMute() argument
195 public void getMute (Message response) { in getMute() argument
245 int retry, int messageRef, Message response) { in sendImsGsmSms() argument
250 Message response) { in sendImsCdmaSms() argument
258 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument
262 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument
266 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument
270 public void writeSmsToRuim(int status, String pdu, Message response) { in writeSmsToRuim() argument
324 public void queryCallWaiting(int serviceClass, Message response) { in queryCallWaiting() argument
329 Message response) { in setCallWaiting() argument
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/
Dconformance_ruby.rb40 response = Conformance::ConformanceResponse.new
49 response.parse_error = err.message.encode('utf-8')
50 return response
57 response.parse_error = err.message.encode('utf-8')
58 return response
70 response.protobuf_payload = test_message.to_proto
73 response.json_payload = test_message.to_json
79 response.runtime_error = err.message.encode('utf-8')
82 response
99 response = do_test(request)
[all …]
Dconformance_python.py56 response = conformance_pb2.ConformanceResponse()
64 response.parse_error = str(e)
65 return response
71 response.parse_error = str(e)
72 return response
81 response.protobuf_payload = test_message.SerializeToString()
84 response.json_payload = json_format.MessageToJson(test_message)
87 response.runtime_error = str(e)
89 return response
109 response = do_test(request)
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimDataDownloadCommands.java.broken46 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/core/java/android/net/
DParseException.java26 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/base/tools/preload/loadclass/
DLoadClass.java59 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/
DCommandsInterface.java1051 void setMute (boolean enableMute, Message response); in setMute() argument
1053 void getMute (Message response); in getMute() argument
1063 void getSignalStrength (Message response); in getSignalStrength() argument
1077 void getVoiceRegistrationState (Message response); in getVoiceRegistrationState() argument
1089 void getDataRegistrationState (Message response); in getDataRegistrationState() argument
1098 void getOperator(Message response); in getOperator() argument
1136 void sendSMS (String smscPDU, String pdu, Message response); in sendSMS() argument
1146 void sendSMSExpectMore (String smscPDU, String pdu, Message response); in sendSMSExpectMore() argument
1152 void sendCdmaSms(byte[] pdu, Message response); in sendCdmaSms() argument
1166 Message response); in sendImsGsmSms() argument
[all …]
DRadioIndication.java248 LinkCapacityEstimate response = RIL.convertHalLceData(lce, mRil); in currentLinkCapacityEstimate() local
250 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_LCEDATA_RECV, response); in currentLinkCapacityEstimate()
253 mRil.mLceInfoRegistrants.notifyRegistrants(new AsyncResult(null, response, null)); in currentLinkCapacityEstimate()
313 List<EmergencyNumber> response = new ArrayList<>(emergencyNumberList.size()); in currentEmergencyNumberList() local
321 response.add(emergencyNumber); in currentEmergencyNumberList()
324 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_EMERGENCY_NUMBER_LIST, response); in currentEmergencyNumberList()
327 new AsyncResult(null, response, null)); in currentEmergencyNumberList()
337 ArrayList<DataCallResponse> response = RIL.convertDataCallResultList(dcList); in dataCallListChanged() local
339 new AsyncResult(null, response, null)); in dataCallListChanged()
349 ArrayList<DataCallResponse> response = RIL.convertDataCallResultList(dcList); in dataCallListChanged_1_4() local
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommandsVerifier.java777 public void setMute(boolean enableMute, Message response) { in setMute() argument
782 public void getMute(Message response) { in getMute() argument
787 public void getSignalStrength(Message response) { in getSignalStrength() argument
792 public void getVoiceRegistrationState(Message response) { in getVoiceRegistrationState() argument
797 public void getDataRegistrationState(Message response) { in getDataRegistrationState() argument
802 public void getOperator(Message response) { in getOperator() argument
827 public void sendSMS(String smscPDU, String pdu, Message response) { in sendSMS() argument
832 public void sendSMSExpectMore(String smscPDU, String pdu, Message response) { in sendSMSExpectMore() argument
837 public void sendCdmaSms(byte[] pdu, Message response) { in sendCdmaSms() argument
843 Message response) { in sendImsGsmSms() argument
[all …]
DSimulatedCommands.java926 public void sendTerminalResponse(String contents, Message response) { in sendTerminalResponse() argument
927 resultSuccess(response, null); in sendTerminalResponse()
934 public void sendEnvelope(String contents, Message response) { in sendEnvelope() argument
935 resultSuccess(response, null); in sendEnvelope()
942 public void sendEnvelopeWithStatus(String contents, Message response) { in sendEnvelopeWithStatus() argument
943 resultSuccess(response, null); in sendEnvelopeWithStatus()
951 boolean accept, Message response) { in handleCallSetupRequestFromSim() argument
952 resultSuccess(response, null); in handleCallSetupRequestFromSim()
1114 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument
1116 unimplemented(response); in deleteSmsOnSim()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecordCache.java131 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 …]
DIccFileHandler.java181 Message response in loadEFLinearFixed() local
186 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFLinearFixed()
214 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_IMG_DONE, in loadEFImgLinearFixed() local
221 null, null, mAid, response); in loadEFImgLinearFixed()
237 Message response in getEFLinearRecordSize() local
241 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in getEFLinearRecordSize()
271 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_DONE, in loadEFLinearFixedAll() local
275 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFLinearFixedAll()
304 Message response = obtainMessage(EVENT_GET_BINARY_SIZE_DONE, in loadEFTransparent() local
308 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFTransparent()
[all …]
/frameworks/base/core/java/android/service/gatekeeper/
DGateKeeperResponse.java51 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/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DExchangeCompleteMessageTest.java43 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()
DPostDevDataResponseTest.java66 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()
DSoapParserTest.java55 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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/
DSppResponseMessage.java58 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 …]
/frameworks/base/core/java/com/android/internal/widget/
DVerifyCredentialResponse.java48 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/
DTestAccountType2Authenticator.java47 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/
DChannel.java168 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/
DARTSPConnection.cpp635 sp<ARTSPResponse> response = new ARTSPResponse; in receiveRTSPReponse() local
636 response->mStatusLine = statusLine; in receiveRTSPReponse()
638 ALOGI("status: %s", response->mStatusLine.c_str()); in receiveRTSPReponse()
640 ssize_t space1 = response->mStatusLine.find(" "); in receiveRTSPReponse()
644 ssize_t space2 = response->mStatusLine.find(" ", space1 + 1); in receiveRTSPReponse()
651 if (!IsRTSPVersion(AString(response->mStatusLine, 0, space1))) { in receiveRTSPReponse()
654 response->mStatusLine, in receiveRTSPReponse()
656 response->mStatusLine.size() - space2 - 1))); in receiveRTSPReponse()
660 response->mStatusCode = 0; in receiveRTSPReponse()
663 response->mStatusLine, space1 + 1, space2 - space1 - 1); in receiveRTSPReponse()
[all …]

1234567891011