/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | DataConnectionAc.java | 169 public boolean rspIsInactive(Message response) { in rspIsInactive() argument 170 boolean retVal = response.arg1 == 1; in rspIsInactive() 179 Message response = sendMessageSynchronously(REQ_IS_INACTIVE); in isInactiveSync() local 180 if ((response != null) && (response.what == RSP_IS_INACTIVE)) { in isInactiveSync() 181 return rspIsInactive(response); in isInactiveSync() 183 log("rspIsInactive error response=" + response); in isInactiveSync() 203 public int rspCid(Message response) { in rspCid() argument 204 int retVal = response.arg1; in rspCid() 213 Message response = sendMessageSynchronously(REQ_GET_CID); in getCidSync() local 214 if ((response != null) && (response.what == RSP_GET_CID)) { in getCidSync() [all …]
|
D | CommandsInterface.java | 914 void setMute (boolean enableMute, Message response); in setMute() argument 916 void getMute (Message response); in getMute() argument 925 void getSignalStrength (Message response); in getSignalStrength() argument 938 void getVoiceRegistrationState (Message response); in getVoiceRegistrationState() argument 950 void getDataRegistrationState (Message response); in getDataRegistrationState() argument 958 void getOperator(Message response); in getOperator() argument 995 void sendSMS (String smscPDU, String pdu, Message response); in sendSMS() argument 1001 void sendCdmaSms(byte[] pdu, Message response); in sendCdmaSms() argument 1009 void deleteSmsOnSim(int index, Message response); in deleteSmsOnSim() argument 1017 void deleteSmsOnRuim(int index, Message response); in deleteSmsOnRuim() argument [all …]
|
D | IccFileHandler.java | 147 Message response in loadEFLinearFixed() local 152 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFLinearFixed() 165 Message response = obtainMessage(EVENT_READ_IMG_DONE, in loadEFImgLinearFixed() local 172 GET_RESPONSE_EF_IMG_SIZE_BYTES, null, null, mAid, response); in loadEFImgLinearFixed() 185 Message response in getEFLinearRecordSize() local 189 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in getEFLinearRecordSize() 202 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_DONE, in loadEFLinearFixedAll() local 206 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFLinearFixedAll() 220 Message response = obtainMessage(EVENT_GET_BINARY_SIZE_DONE, in loadEFTransparent() local 224 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFTransparent() [all …]
|
D | AdnRecordCache.java | 123 private void sendErrorResponse(Message response, String errString) { in sendErrorResponse() argument 124 if (response != null) { in sendErrorResponse() 126 AsyncResult.forMessage(response).exception = e; in sendErrorResponse() 127 response.sendToTarget(); in sendErrorResponse() 142 Message response) { in updateAdnByIndex() argument 146 sendErrorResponse(response, "EF is not known ADN-like EF:" + efid); in updateAdnByIndex() 152 sendErrorResponse(response, "Have pending update for EF:" + efid); in updateAdnByIndex() 156 userWriteResponse.put(efid, response); in updateAdnByIndex() 178 String pin2, Message response) { in updateAdnBySearch() argument 184 sendErrorResponse(response, "EF is not known ADN-like EF:" + efid); in updateAdnBySearch() [all …]
|
D | RIL.java | 1075 setMute (boolean enableMute, Message response) { in setMute() argument 1077 = RILRequest.obtain(RIL_REQUEST_SET_MUTE, response); in setMute() 1089 getMute (Message response) { in getMute() argument 1091 = RILRequest.obtain(RIL_REQUEST_GET_MUTE, response); in getMute() 1248 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 1250 response); in deleteSmsOnSim() 1264 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument 1266 response); in deleteSmsOnRuim() 1280 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument 1284 response); in writeSmsToSim() [all …]
|
D | PhoneProxy.java | 632 public void getAvailableNetworks(Message response) { in getAvailableNetworks() argument 633 mActivePhone.getAvailableNetworks(response); in getAvailableNetworks() 636 public void setNetworkSelectionModeAutomatic(Message response) { in setNetworkSelectionModeAutomatic() argument 637 mActivePhone.setNetworkSelectionModeAutomatic(response); in setNetworkSelectionModeAutomatic() 640 public void selectNetworkManually(OperatorInfo network, Message response) { in selectNetworkManually() argument 641 mActivePhone.selectNetworkManually(network, response); in selectNetworkManually() 644 public void setPreferredNetworkType(int networkType, Message response) { in setPreferredNetworkType() argument 645 mActivePhone.setPreferredNetworkType(networkType, response); in setPreferredNetworkType() 648 public void getPreferredNetworkType(Message response) { in getPreferredNetworkType() argument 649 mActivePhone.getPreferredNetworkType(response); in getPreferredNetworkType() [all …]
|
D | Phone.java | 1088 void getAvailableNetworks(Message response); in getAvailableNetworks() argument 1099 void setNetworkSelectionModeAutomatic(Message response); in setNetworkSelectionModeAutomatic() argument 1110 Message response); in selectNetworkManually() argument 1118 void setPreferredNetworkType(int networkType, Message response); in setPreferredNetworkType() argument 1125 void getPreferredNetworkType(Message response); in getPreferredNetworkType() argument 1153 void getNeighboringCids(Message response); in getNeighboringCids() argument 1232 void invokeOemRilRequestRaw(byte[] data, Message response); in invokeOemRilRequestRaw() argument 1248 void invokeOemRilRequestStrings(String[] strings, Message response); in invokeOemRilRequestStrings() argument 1261 void getDataCallList(Message response); in getDataCallList() argument 1295 void setBandMode(int bandMode, Message response); in setBandMode() argument [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
D | SipCommandInterface.java | 141 public void setMute (boolean enableMute, Message response) { in setMute() argument 144 public void getMute (Message response) { in getMute() argument 178 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 181 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument 184 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument 187 public void writeSmsToRuim(int status, String pdu, Message response) { in writeSmsToRuim() argument 229 public void queryCallWaiting(int serviceClass, Message response) { in queryCallWaiting() argument 233 Message response) { in setCallWaiting() argument 236 public void setNetworkSelectionModeAutomatic(Message response) { in setNetworkSelectionModeAutomatic() argument 240 String operatorNumeric, Message response) { in setNetworkSelectionModeManual() argument [all …]
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadCommands.java | 84 synchronized void expectSendEnvelope(String contents, int sw1, int sw2, String response) { in expectSendEnvelope() argument 90 mExpectingSendEnvelopeResponse = response; in expectSendEnvelope() 107 Message response) { in acknowledgeLastIncomingGsmSms() argument 113 if (response != null) { in acknowledgeLastIncomingGsmSms() 114 AsyncResult.forMessage(response); in acknowledgeLastIncomingGsmSms() 115 response.sendToTarget(); in acknowledgeLastIncomingGsmSms() 122 Message response) { in acknowledgeIncomingGsmSmsWithPdu() argument 129 if (response != null) { in acknowledgeIncomingGsmSmsWithPdu() 130 AsyncResult.forMessage(response); in acknowledgeIncomingGsmSmsWithPdu() 131 response.sendToTarget(); in acknowledgeIncomingGsmSmsWithPdu() [all …]
|
/frameworks/base/core/java/android/accounts/ |
D | AbstractAccountAuthenticator.java | 118 public void addAccount(IAccountAuthenticatorResponse response, String accountType, in addAccount() argument 129 new AccountAuthenticatorResponse(response), in addAccount() 136 response.onResult(result); in addAccount() 139 handleException(response, "addAccount", accountType, e); in addAccount() 143 public void confirmCredentials(IAccountAuthenticatorResponse response, in confirmCredentials() argument 151 new AccountAuthenticatorResponse(response), account, options); in confirmCredentials() 158 response.onResult(result); in confirmCredentials() 161 handleException(response, "confirmCredentials", account.toString(), e); in confirmCredentials() 165 public void getAuthTokenLabel(IAccountAuthenticatorResponse response, in getAuthTokenLabel() argument 181 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
|
D | IAccountManager.aidl | 34 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features); in hasFeatures() argument 35 …void getAccountsByFeatures(in IAccountManagerResponse response, String accountType, in String[] fe… in getAccountsByFeatures() argument 37 void removeAccount(in IAccountManagerResponse response, in Account account); in removeAccount() argument 46 void getAuthToken(in IAccountManagerResponse response, in Account account, in getAuthToken() argument 49 void addAcount(in IAccountManagerResponse response, String accountType, in addAcount() argument 52 void updateCredentials(in IAccountManagerResponse response, in Account account, in updateCredentials() argument 54 void editProperties(in IAccountManagerResponse response, String accountType, in editProperties() argument 56 void confirmCredentials(in IAccountManagerResponse response, in Account account, in confirmCredentials() argument 58 void getAuthTokenLabel(in IAccountManagerResponse response, String accountType, in getAuthTokenLabel() argument
|
D | AccountManagerService.java | 559 public void hasFeatures(IAccountManagerResponse response, in hasFeatures() argument 563 + ", response " + response in hasFeatures() 568 if (response == null) throw new IllegalArgumentException("response is null"); in hasFeatures() 575 new TestFeaturesSession(accounts, response, account, features).bind(); in hasFeatures() 585 public TestFeaturesSession(UserAccounts accounts, IAccountManagerResponse response, in TestFeaturesSession() argument 587 super(accounts, response, account.type, false /* expectActivityLaunch */, in TestFeaturesSession() 602 IAccountManagerResponse response = getResponseAndClose(); in onResult() local 603 if (response != null) { in onResult() 606 response.onError(AccountManager.ERROR_CODE_INVALID_RESPONSE, "null bundle"); in onResult() 611 + response); in onResult() [all …]
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 79 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse() argument 80 status_t err = msg->postAndAwaitResponse(response); in PostAndAwaitResponse() 86 if (!(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 129 sp<AMessage> response; in init() local 130 return PostAndAwaitResponse(msg, &response); in init() 153 sp<AMessage> response; in configure() local 154 return PostAndAwaitResponse(msg, &response); in configure() 160 sp<AMessage> response; in start() local 161 return PostAndAwaitResponse(msg, &response); in start() 167 sp<AMessage> response; in stop() local [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/telephony/java/com/android/internal/telephony/test/ |
D | SimulatedCommands.java | 802 public void sendTerminalResponse(String contents, Message response) { in sendTerminalResponse() argument 803 resultSuccess(response, null); in sendTerminalResponse() 809 public void sendEnvelope(String contents, Message response) { in sendEnvelope() argument 810 resultSuccess(response, null); in sendEnvelope() 816 public void sendEnvelopeWithStatus(String contents, Message response) { in sendEnvelopeWithStatus() argument 817 resultSuccess(response, null); in sendEnvelopeWithStatus() 824 boolean accept, Message response) { in handleCallSetupRequestFromSim() argument 825 resultSuccess(response, null); in handleCallSetupRequestFromSim() 944 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 946 unimplemented(response); in deleteSmsOnSim() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTSPConnection.cpp | 624 sp<ARTSPResponse> response = new ARTSPResponse; in receiveRTSPReponse() local 625 response->mStatusLine = statusLine; in receiveRTSPReponse() 627 ALOGI("status: %s", response->mStatusLine.c_str()); in receiveRTSPReponse() 629 ssize_t space1 = response->mStatusLine.find(" "); in receiveRTSPReponse() 633 ssize_t space2 = response->mStatusLine.find(" ", space1 + 1); in receiveRTSPReponse() 640 if (!IsRTSPVersion(AString(response->mStatusLine, 0, space1))) { in receiveRTSPReponse() 643 response->mStatusLine, in receiveRTSPReponse() 645 response->mStatusLine.size() - space2 - 1))); in receiveRTSPReponse() 649 response->mStatusCode = 0; in receiveRTSPReponse() 652 response->mStatusLine, space1 + 1, space2 - space1 - 1); in receiveRTSPReponse() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.cpp | 47 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse() argument 48 status_t err = msg->postAndAwaitResponse(response); in PostAndAwaitResponse() 54 if (!(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 63 sp<AMessage> response; in setDataSource() local 64 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/support/volley/src/com/android/volley/toolbox/ |
D | StringRequest.java | 45 protected void deliverResponse(String response) { in deliverResponse() argument 46 mListener.onResponse(response); in deliverResponse() 50 protected Response<String> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse() argument 53 parsed = new String(response.data, HttpHeaderParser.parseCharset(response.headers)); in parseNetworkResponse() 55 parsed = new String(response.data); in parseNetworkResponse() 57 return Response.success(parsed, HttpHeaderParser.parseCacheHeaders(response)); in parseNetworkResponse()
|
D | ImageRequest.java | 122 protected Response<Bitmap> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse() argument 126 return doParse(response); in parseNetworkResponse() 128 VolleyLog.e("Caught OOM for %d byte image, url=%s", response.data.length, getUrl()); in parseNetworkResponse() 137 private Response<Bitmap> doParse(NetworkResponse response) { in doParse() argument 138 byte[] data = response.data; in doParse() 180 return Response.success(bitmap, HttpHeaderParser.parseCacheHeaders(response)); in doParse() 185 protected void deliverResponse(Bitmap response) { in deliverResponse() argument 186 mListener.onResponse(response); in deliverResponse()
|
/frameworks/base/telephony/mockril/src/com/android/internal/telephony/mockril/ |
D | MockRilController.java | 76 Msg response = null; in getCtrlResponse() local 78 response = Msg.recv(mRilChannel); in getCtrlResponse() 83 return response; in getCtrlResponse() 93 Msg response = getCtrlResponse(); in getRadioState() local 94 if (response == null) { in getRadioState() 98 response.printHeader(TAG); in getRadioState() 100 response.getDataAs(RilCtrlCmds.CtrlRspRadioState.class); in getRadioState() 124 Msg response = getCtrlResponse(); in setRadioState() local 125 if (response == null) { in setRadioState() 129 response.printHeader(TAG); in setRadioState() [all …]
|
/frameworks/support/volley/src/com/android/volley/ |
D | ExecutorDelivery.java | 57 public void postResponse(Request<?> request, Response<?> response) { in postResponse() argument 58 postResponse(request, response, null); in postResponse() 62 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { in postResponse() argument 65 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, runnable)); in postResponse() 71 Response<?> response = Response.error(error); in postError() local 72 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, null)); in postError() 90 public ResponseDeliveryRunnable(Request request, Response response, Runnable runnable) { in ResponseDeliveryRunnable() argument 92 mResponse = response; in ResponseDeliveryRunnable()
|
/frameworks/base/core/java/android/net/http/ |
D | RequestHandle.java | 225 String response = computeBasicAuthResponse(username, password); in setupBasicAuthResponse() local 227 HttpLog.v("setupBasicAuthResponse(): response: " + response); in setupBasicAuthResponse() 229 mHeaders.put(authorizationHeader(isProxy), "Basic " + response); in setupBasicAuthResponse() local 245 String response = computeDigestAuthResponse( in setupDigestAuthResponse() local 248 HttpLog.v("setupDigestAuthResponse(): response: " + response); in setupDigestAuthResponse() 250 mHeaders.put(authorizationHeader(isProxy), "Digest " + response); in setupDigestAuthResponse() local 316 String response = ""; in computeDigestAuthResponse() local 317 response += "username=" + doubleQuote(username) + ", "; in computeDigestAuthResponse() 318 response += "realm=" + doubleQuote(realm) + ", "; in computeDigestAuthResponse() 319 response += "nonce=" + doubleQuote(nonce) + ", "; in computeDigestAuthResponse() [all …]
|
/frameworks/base/core/java/android/net/ |
D | ParseException.java | 25 public String response; field in ParseException 27 ParseException(String response) { in ParseException() argument 28 this.response = response; in ParseException()
|
/frameworks/support/volley/tests/src/com/android/volley/toolbox/ |
D | HttpHeaderParserTest.java | 38 private NetworkResponse response; field in HttpHeaderParserTest 45 response = new NetworkResponse(0, null, headers, false); in setUp() 49 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_noHeaders() 61 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_etag() 72 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_normalExpire() 86 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_expiresInPast() 103 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_serverRelative() 115 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_cacheControlOverridesExpires() 129 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_cacheControlNoCache() 140 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_cacheControlMustRevalidate()
|