/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCommandInterface.java | 175 public void setMute (boolean enableMute, Message response) { in setMute() argument 179 public void getMute (Message response) { in getMute() argument 229 int retry, int messageRef, Message response) { in sendImsGsmSms() argument 234 Message response) { in sendImsCdmaSms() argument 242 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 246 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument 250 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument 254 public void writeSmsToRuim(int status, String pdu, Message response) { in writeSmsToRuim() argument 308 public void queryCallWaiting(int serviceClass, Message response) { in queryCallWaiting() argument 313 Message response) { in setCallWaiting() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipCommandInterface.java | 176 public void setMute (boolean enableMute, Message response) { in setMute() argument 180 public void getMute (Message response) { in getMute() argument 230 int retry, int messageRef, Message response) { in sendImsGsmSms() argument 235 Message response) { in sendImsCdmaSms() argument 243 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 247 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument 251 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument 255 public void writeSmsToRuim(int status, String pdu, Message response) { in writeSmsToRuim() argument 309 public void queryCallWaiting(int serviceClass, Message response) { in queryCallWaiting() argument 314 Message response) { in setCallWaiting() argument [all …]
|
/frameworks/base/core/java/android/accounts/ |
D | AbstractAccountAuthenticator.java | 157 public void addAccount(IAccountAuthenticatorResponse response, String accountType, in addAccount() argument 168 new AccountAuthenticatorResponse(response), in addAccount() 177 response.onResult(result); 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 228 response.onResult(result); in getAuthTokenLabel() [all …]
|
D | IAccountAuthenticator.aidl | 31 void addAccount(in IAccountAuthenticatorResponse response, String accountType, in addAccount() argument 37 void confirmCredentials(in IAccountAuthenticatorResponse response, in Account account, in confirmCredentials() argument 43 void getAuthToken(in IAccountAuthenticatorResponse response, in Account account, in getAuthToken() argument 49 void getAuthTokenLabel(in IAccountAuthenticatorResponse response, String authTokenType); in getAuthTokenLabel() argument 54 void updateCredentials(in IAccountAuthenticatorResponse response, in Account account, in updateCredentials() argument 60 void editProperties(in IAccountAuthenticatorResponse response, String accountType); in editProperties() argument 66 void hasFeatures(in IAccountAuthenticatorResponse response, in Account account, in hasFeatures() argument 72 void getAccountRemovalAllowed(in IAccountAuthenticatorResponse response, in Account account); in getAccountRemovalAllowed() argument 77 void getAccountCredentialsForCloning(in IAccountAuthenticatorResponse response, in getAccountCredentialsForCloning() argument 84 void addAccountFromCredentials(in IAccountAuthenticatorResponse response, in Account account, in addAccountFromCredentials() argument [all …]
|
D | IAccountManager.aidl | 37 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features, in hasFeatures() argument 39 void getAccountsByFeatures(in IAccountManagerResponse response, String accountType, in getAccountsByFeatures() argument 42 void removeAccount(in IAccountManagerResponse response, in Account account, in removeAccount() argument 44 void removeAccountAsUser(in IAccountManagerResponse response, in Account account, in removeAccountAsUser() argument 47 void copyAccountToUser(in IAccountManagerResponse response, in Account account, in copyAccountToUser() argument 57 void getAuthToken(in IAccountManagerResponse response, in Account account, in getAuthToken() argument 60 void addAccount(in IAccountManagerResponse response, String accountType, in addAccount() argument 63 void addAccountAsUser(in IAccountManagerResponse response, String accountType, in addAccountAsUser() argument 66 void updateCredentials(in IAccountManagerResponse response, in Account account, in updateCredentials() argument 68 void editProperties(in IAccountManagerResponse response, String accountType, in editProperties() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcAsyncChannel.java | 133 public boolean rspIsInactive(Message response) { in rspIsInactive() argument 134 boolean retVal = response.arg1 == 1; in rspIsInactive() 146 Message response = sendMessageSynchronously(REQ_IS_INACTIVE); in isInactiveSync() local 147 if ((response != null) && (response.what == RSP_IS_INACTIVE)) { in isInactiveSync() 148 value = rspIsInactive(response); in isInactiveSync() 150 log("rspIsInactive error response=" + response); in isInactiveSync() 174 public int rspCid(Message response) { in rspCid() argument 175 int retVal = response.arg1; in rspCid() 186 Message response = sendMessageSynchronously(REQ_GET_CID); in getCidSync() local 187 if ((response != null) && (response.what == RSP_GET_CID)) { in getCidSync() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandsInterface.java | 1000 void setMute (boolean enableMute, Message response); in setMute() argument 1002 void getMute (Message response); in getMute() argument 1011 void getSignalStrength (Message response); in getSignalStrength() argument 1024 void getVoiceRegistrationState (Message response); in getVoiceRegistrationState() argument 1036 void getDataRegistrationState (Message response); in getDataRegistrationState() argument 1044 void getOperator(Message response); in getOperator() argument 1081 void sendSMS (String smscPDU, String pdu, Message response); in sendSMS() argument 1091 void sendSMSExpectMore (String smscPDU, String pdu, Message response); in sendSMSExpectMore() argument 1097 void sendCdmaSms(byte[] pdu, Message response); in sendCdmaSms() argument 1111 Message response); in sendImsGsmSms() argument [all …]
|
D | RIL.java | 1286 setMute (boolean enableMute, Message response) { in setMute() argument 1288 = RILRequest.obtain(RIL_REQUEST_SET_MUTE, response); in setMute() 1301 getMute (Message response) { in getMute() argument 1303 = RILRequest.obtain(RIL_REQUEST_GET_MUTE, response); in getMute() 1543 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 1545 response); in deleteSmsOnSim() 1558 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument 1560 response); in deleteSmsOnRuim() 1573 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument 1577 response); in writeSmsToSim() [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/test/ |
D | SimulatedCommandsVerifier.java | 760 public void setMute(boolean enableMute, Message response) { in setMute() argument 765 public void getMute(Message response) { in getMute() argument 770 public void getSignalStrength(Message response) { in getSignalStrength() argument 775 public void getVoiceRegistrationState(Message response) { in getVoiceRegistrationState() argument 780 public void getDataRegistrationState(Message response) { in getDataRegistrationState() argument 785 public void getOperator(Message response) { in getOperator() argument 810 public void sendSMS(String smscPDU, String pdu, Message response) { in sendSMS() argument 815 public void sendSMSExpectMore(String smscPDU, String pdu, Message response) { in sendSMSExpectMore() argument 820 public void sendCdmaSms(byte[] pdu, Message response) { in sendCdmaSms() argument 826 Message response) { in sendImsGsmSms() argument [all …]
|
D | SimulatedCommands.java | 872 public void sendTerminalResponse(String contents, Message response) { in sendTerminalResponse() argument 873 resultSuccess(response, null); in sendTerminalResponse() 880 public void sendEnvelope(String contents, Message response) { in sendEnvelope() argument 881 resultSuccess(response, null); in sendEnvelope() 888 public void sendEnvelopeWithStatus(String contents, Message response) { in sendEnvelopeWithStatus() argument 889 resultSuccess(response, null); in sendEnvelopeWithStatus() 897 boolean accept, Message response) { in handleCallSetupRequestFromSim() argument 898 resultSuccess(response, null); in handleCallSetupRequestFromSim() 1053 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 1055 unimplemented(response); in deleteSmsOnSim() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccFileHandler.java | 171 Message response in loadEFLinearFixed() local 176 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFLinearFixed() 203 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_IMG_DONE, in loadEFImgLinearFixed() local 210 null, null, mAid, response); in loadEFImgLinearFixed() 225 Message response in getEFLinearRecordSize() local 229 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in getEFLinearRecordSize() 257 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_DONE, in loadEFLinearFixedAll() local 261 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFLinearFixedAll() 288 Message response = obtainMessage(EVENT_GET_BINARY_SIZE_DONE, in loadEFTransparent() local 292 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFTransparent() [all …]
|
D | AdnRecordCache.java | 122 private void sendErrorResponse(Message response, String errString) { in sendErrorResponse() argument 123 if (response != null) { in sendErrorResponse() 125 AsyncResult.forMessage(response).exception = e; in sendErrorResponse() 126 response.sendToTarget(); in sendErrorResponse() 141 Message response) { in updateAdnByIndex() argument 145 sendErrorResponse(response, "EF is not known ADN-like EF:0x" + in updateAdnByIndex() 152 sendErrorResponse(response, "Have pending update for EF:0x" + in updateAdnByIndex() 157 mUserWriteResponse.put(efid, response); in updateAdnByIndex() 179 String pin2, Message response) { in updateAdnBySearch() argument 185 sendErrorResponse(response, "EF is not known ADN-like EF:0x" + in updateAdnBySearch() [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/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | HTTPHandler.java | 86 HTTPResponse response = exchangeWithRetry(url, message, HTTPMessage.Method.POST, in exchangeSOAP() local 88 if (response.getStatusCode() >= 300) { in exchangeSOAP() 89 throw new IOException("Bad HTTP status code " + response.getStatusCode()); in exchangeSOAP() 92 SOAPParser parser = new SOAPParser(response.getPayloadStream()); in exchangeSOAP() 95 ByteBuffer x = response.getPayload(); in exchangeSOAP() 105 HTTPResponse response = in exchangeBinary() local 107 return response.getBinaryPayload(); in exchangeBinary() 111 HTTPResponse response = exchangeWithRetry(url, null, HTTPMessage.Method.GET, null); in doGet() local 112 return response.getPayloadStream(); in doGet() 121 HTTPResponse response = null; in exchangeWithRetry() local [all …]
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | WifiDisplaySource.cpp | 94 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse() argument 95 status_t err = msg->postAndAwaitResponse(response); in PostAndAwaitResponse() 101 if (response == NULL || !(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 114 sp<AMessage> response; in start() local 115 return PostAndAwaitResponse(msg, &response); in start() 121 sp<AMessage> response; in stop() local 122 return PostAndAwaitResponse(msg, &response); in stop() 128 sp<AMessage> response; in pause() local 129 return PostAndAwaitResponse(msg, &response); in pause() 135 sp<AMessage> response; in resume() local [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTSPConnection.cpp | 634 sp<ARTSPResponse> response = new ARTSPResponse; in receiveRTSPReponse() local 635 response->mStatusLine = statusLine; in receiveRTSPReponse() 637 ALOGI("status: %s", response->mStatusLine.c_str()); in receiveRTSPReponse() 639 ssize_t space1 = response->mStatusLine.find(" "); in receiveRTSPReponse() 643 ssize_t space2 = response->mStatusLine.find(" ", space1 + 1); in receiveRTSPReponse() 650 if (!IsRTSPVersion(AString(response->mStatusLine, 0, space1))) { in receiveRTSPReponse() 653 response->mStatusLine, in receiveRTSPReponse() 655 response->mStatusLine.size() - space2 - 1))); in receiveRTSPReponse() 659 response->mStatusCode = 0; in receiveRTSPReponse() 662 response->mStatusLine, space1 + 1, space2 - space1 - 1); in receiveRTSPReponse() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.cpp | 48 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse() argument 49 status_t err = msg->postAndAwaitResponse(response); in PostAndAwaitResponse() 55 if (!(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 64 sp<AMessage> response; in setDataSource() local 65 return PostAndAwaitResponse(msg, &response); in setDataSource() 78 sp<AMessage> response; in setSurface() local 79 return PostAndAwaitResponse(msg, &response); in setSurface() 84 sp<AMessage> response; in prepare() local 85 return PostAndAwaitResponse(msg, &response); in prepare() 90 sp<AMessage> response; in start() local [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataConnectionTest.java | 214 DataCallResponse response = new DataCallResponse(); in testModemSuggestRetry() local 215 response.suggestedRetryTime = 0; in testModemSuggestRetry() 216 AsyncResult ar = new AsyncResult(null, response, null); in testModemSuggestRetry() 217 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar)); in testModemSuggestRetry() 219 response.suggestedRetryTime = 1000; in testModemSuggestRetry() 220 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar)); in testModemSuggestRetry() 222 response.suggestedRetryTime = 9999; in testModemSuggestRetry() 223 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar)); in testModemSuggestRetry() 229 DataCallResponse response = new DataCallResponse(); in testModemNotSuggestRetry() local 230 response.suggestedRetryTime = -1; in testModemNotSuggestRetry() [all …]
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 291 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse() argument 292 status_t err = msg->postAndAwaitResponse(response); in PostAndAwaitResponse() 298 if (!(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 312 sp<AMessage> response = new AMessage; in PostReplyWithError() local 313 response->setInt32("err", finalErr); in PostReplyWithError() 314 response->postReply(replyID); in PostReplyWithError() 415 sp<AMessage> response; in init() local 416 err = PostAndAwaitResponse(msg, &response); in init() 428 sp<AMessage> response; in setCallback() local 429 return PostAndAwaitResponse(msg, &response); in setCallback() [all …]
|
/frameworks/volley/src/main/java/com/android/volley/ |
D | ExecutorDelivery.java | 54 public void postResponse(Request<?> request, Response<?> response) { in postResponse() argument 55 postResponse(request, response, null); in postResponse() 59 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { in postResponse() argument 62 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, runnable)); in postResponse() 68 Response<?> response = Response.error(error); in postError() local 69 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, null)); in postError() 82 public ResponseDeliveryRunnable(Request request, Response response, Runnable runnable) { in ResponseDeliveryRunnable() argument 84 mResponse = response; in ResponseDeliveryRunnable()
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | StringRequest.java | 59 protected void deliverResponse(String response) { in deliverResponse() argument 60 mListener.onResponse(response); in deliverResponse() 64 protected Response<String> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse() argument 67 parsed = new String(response.data, HttpHeaderParser.parseCharset(response.headers)); in parseNetworkResponse() 69 parsed = new String(response.data); in parseNetworkResponse() 71 return Response.success(parsed, HttpHeaderParser.parseCacheHeaders(response)); in parseNetworkResponse()
|
/frameworks/base/docs/html/training/volley/ |
D | request-custom.jd | 31 Most requests have ready-to-use implementations in the toolbox; if your response is a string, 40 {@code <T>} represents the type of parsed response 41 the request expects. So if your parsed response is a string, for example, 53 <p>A {@code Response} encapsulates a parsed response for delivery, for a given type 60 NetworkResponse response) { 62 String json = new String(response.data, 63 HttpHeaderParser.parseCharset(response.headers)); 65 HttpHeaderParser.parseCacheHeaders(response)); 76 contains the response payload as a byte[], HTTP status code, and response headers.</li> 78 response object and cache metadata or an error, such as in the case of a parse failure.</li> [all …]
|
/frameworks/base/services/tests/servicestests/src/android/net/netlink/ |
D | NetlinkSocketTest.java | 58 ByteBuffer response = null; in testBasicWorkingGetNeighborsQuery() local 59 response = s.recvMessage(TIMEOUT); in testBasicWorkingGetNeighborsQuery() 60 assertNotNull(response); in testBasicWorkingGetNeighborsQuery() 61 assertTrue(StructNlMsgHdr.STRUCT_SIZE <= response.limit()); in testBasicWorkingGetNeighborsQuery() 62 assertEquals(0, response.position()); in testBasicWorkingGetNeighborsQuery() 63 assertEquals(ByteOrder.nativeOrder(), response.order()); in testBasicWorkingGetNeighborsQuery() 66 while (response.remaining() > 0) { in testBasicWorkingGetNeighborsQuery() 67 final NetlinkMessage msg = NetlinkMessage.parse(response); in testBasicWorkingGetNeighborsQuery()
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
D | HttpHeaderParserTest.java | 46 private NetworkResponse response; field in HttpHeaderParserTest 51 response = new NetworkResponse(0, null, headers, false); in setUp() 55 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_noHeaders() 68 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_headersSet() 79 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_etag() 91 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_normalExpire() 106 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_expiresInPast() 123 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_serverRelative() 135 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlOverridesExpires() 153 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_staleWhileRevalidate() [all …]
|