/frameworks/volley/tests/src/com/android/volley/ |
H A D | RequestTest.java | 64 protected void deliverResponse(Object response) { argument 68 protected Response<Object> parseNetworkResponse(NetworkResponse response) { argument
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
H A D | MockHttpStack.java | 50 public void setResponseToReturn(HttpResponse response) { argument 51 mResponseToReturn = response;
|
H A D | WaitableQueue.java | 64 protected Response<Object> parseNetworkResponse(NetworkResponse response) { argument 69 protected void deliverResponse(Object response) { argument
|
H A D | MockHttpClient.java | 60 HttpResponse response = new BasicHttpResponse(statusLine); 61 response.setEntity(mResponseEntity); 63 return response;
|
H A D | TestRequest.java | 41 protected Response<byte[]> parseNetworkResponse(NetworkResponse response) { argument 46 protected void deliverResponse(byte[] response) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccSmsInterfaceManager.java | 197 Message response = mHandler.obtainMessage(EVENT_UPDATE_DONE); 205 mPhone.mCi.deleteSmsOnSim(index, response); 207 mPhone.mCi.deleteSmsOnRuim(index, response); 213 response.recycle(); 219 index, record, null, response); 252 Message response = mHandler.obtainMessage(EVENT_UPDATE_DONE); 257 IccUtils.bytesToHexString(pdu), response); 260 response); 299 Message response = mHandler.obtainMessage(EVENT_LOAD_DONE); 300 fh.loadEFLinearFixedAll(IccConstants.EF_SMS, response); [all...] |
H A D | IccPhoneBookInterfaceManager.java | 183 Message response = mBaseHandler.obtainMessage(EVENT_UPDATE_DONE, status); 187 mAdnCache.updateAdnBySearch(efid, oldAdn, newAdn, pin2, response); 232 Message response = mBaseHandler.obtainMessage(EVENT_UPDATE_DONE, status); 235 mAdnCache.updateAdnByIndex(efid, newAdn, index, pin2, response); 281 Message response = mBaseHandler.obtainMessage(EVENT_LOAD_DONE, status); 283 mAdnCache.requestLoadAllAdnLike(efid, mAdnCache.extensionEfForEf(efid), response);
|
H A D | PhoneBase.java | 577 public void restoreSavedNetworkSelection(Message response) { argument 583 mCi.setNetworkSelectionModeAutomatic(response); 585 mCi.setNetworkSelectionModeManual(networkSelection, response); 863 public void queryCdmaRoamingPreference(Message response) { argument 864 mCi.queryCdmaRoamingPreference(response); 884 public void setCdmaRoamingPreference(int cdmaRoamingType, Message response) { argument 885 mCi.setCdmaRoamingPreference(cdmaRoamingType, response); 892 public void setCdmaSubscription(int cdmaSubscriptionType, Message response) { argument 893 mCi.setCdmaSubscriptionSource(cdmaSubscriptionType, response); 900 public void setPreferredNetworkType(int networkType, Message response) { argument 905 getPreferredNetworkType(Message response) argument 942 setBandMode(int bandMode, Message response) argument 947 queryAvailableBandMode(Message response) argument 952 invokeOemRilRequestRaw(byte[] data, Message response) argument 957 invokeOemRilRequestStrings(String[] strings, Message response) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadHandler.java | 69 * UICC response as the acknowledgment to the SMSC. 92 return Activity.RESULT_OK; // acknowledge after response from write to USIM 106 return Activity.RESULT_OK; // we will send SMS ACK/ERROR based on UICC response 195 * Handle the response to the ENVELOPE command. 196 * @param response UICC response encoded as hexadecimal digits. First two bytes are the 199 private void sendSmsAckForEnvelopeResponse(IccIoResult response, int dcs, int pid) { argument 200 int sw1 = response.sw1; 201 int sw2 = response.sw2; 205 Rlog.d(TAG, "USIM data download succeeded: " + response [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipSessionGroup.java | 122 // external address observed from any response 397 Response response = evt.getResponse(); 398 ViaHeader viaHeader = (ViaHeader)(response.getHeader( 477 int response = processInviteWithReplaces(event, replaces); 480 + " response=" + response); 482 if (response == Response.OK) { 493 mSipHelper.sendResponse(event, response); 528 /** Invoked when the response of keeping alive comes back. */ 924 private int getExpiryTime(Response response) { argument 1005 crossDomainAuthenticationRequired(Response response) argument 1038 getRealmFromResponse(Response response) argument 1047 getNonceFromResponse(Response response) argument 1367 createErrorMessage(Response response) argument 1428 onError(Response response) argument 1485 onRegistrationFailed(Response response) argument 1656 getRPortFromResponse(Response response) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.h | 110 bool notifyResponseListener(const sp<ARTSPResponse> &response); 112 bool parseAuthMethod(const sp<ARTSPResponse> &response); 118 const sp<ARTSPResponse> &response, ssize_t *index) const;
|
H A D | MyTransmitter.h | 265 void authenticate(const sp<ARTSPResponse> &response) { argument 266 ssize_t i = response->mHeaders.indexOfKey("www-authenticate"); 269 AString value = response->mHeaders.valueAt(i); 336 request->append("response=\""); 374 CHECK(msg->findObject("response", &obj)); 375 sp<ARTSPResponse> response; local 378 response = static_cast<ARTSPResponse *>(obj.get()); 379 CHECK(response != NULL); 381 if (response->mStatusCode == 401) { 388 authenticate(response); 463 sp<ARTSPResponse> response; local 553 sp<ARTSPResponse> response; local 742 sp<ARTSPResponse> response; local 771 sp<ARTSPResponse> response; local [all...] |
H A D | MyHandler.h | 311 ALOGW("Missing 'source' field in Transport response. Using " 330 ALOGI("Missing 'server_port' field in Transport response."); 477 CHECK(msg->findObject("response", &obj)); 478 sp<ARTSPResponse> response = local 481 if (response->mStatusCode == 302) { 482 ssize_t i = response->mHeaders.indexOfKey("location"); 485 mSessionURL = response->mHeaders.valueAt(i); 499 if (response->mStatusCode != 200) { 501 } else if (response->mContent == NULL) { 503 ALOGE("The response ha 639 sp<ARTSPResponse> response = local 765 sp<ARTSPResponse> response = local 1109 sp<ARTSPResponse> response = local 1243 sp<ARTSPResponse> response = local 1378 parsePlayResponse(const sp<ARTSPResponse> &response) argument [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | HttpHeaderParser.java | 36 * @param response The network response to parse headers from 37 * @return a cache entry for the given response, or null if the response is not cacheable. 39 public static Cache.Entry parseCacheHeaders(NetworkResponse response) { argument 42 Map<String, String> headers = response.headers; 94 entry.data = response.data;
|
H A D | RequestFuture.java | 31 * Used by providing as your response and error listeners. For example: 43 * JSONObject response = future.get(); 44 * // do something with response 52 * @param <T> The type of parsed response this future expects. 141 public synchronized void onResponse(T response) { argument 143 mResult = response;
|
/frameworks/volley/src/com/android/volley/ |
H A D | Response.java | 20 * Encapsulates a parsed response for delivery. 22 * @param <T> Parsed type of this response 28 /** Called when a response is received. */ 29 public void onResponse(T response); argument 41 /** Returns a successful response containing the parsed result. */ 47 * Returns a failed response containing the given error code and an optional 54 /** Parsed response, or null in the case of error. */ 57 /** Cache metadata for this response, or null in the case of error. */ 63 /** True if this response was a soft-expired one and a second one MAY be coming. */ 67 * Returns whether this response i [all...] |
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
H A D | BasicNetworkTest.java | 53 protected Response<String> parseNetworkResponse(NetworkResponse response) { 58 protected void deliverResponse(String response) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | AdnRecordLoader.java | 68 * Resulting AdnRecord is placed in response.obj.result 69 * or response.obj.exception is set 73 Message response) { 77 mUserResponse = response; 87 * Resulting ArrayList<adnRecord> is placed in response.obj.result 88 * or response.obj.exception is set 92 Message response) { 95 mUserResponse = response; 113 * @param response will be sent to its handler when completed 117 String pin2, Message response) { 72 loadFromEF(int ef, int extensionEF, int recordNumber, Message response) argument 91 loadAllFromEF(int ef, int extensionEF, Message response) argument 116 updateEF(AdnRecord adn, int ef, int extensionEF, int recordNumber, String pin2, Message response) argument [all...] |
H A D | UiccCardApplication.java | 230 loge("Bogus facility lock response"); 247 Message response = (Message)ar.userObj; 248 response.arg1 = attemptsRemaining; 249 AsyncResult.forMessage(response).exception = ar.exception; 250 response.sendToTarget(); 309 loge("Bogus facility lock response"); 327 Message response = (Message)ar.userObj; 328 AsyncResult.forMessage(response).exception = ar.exception; 329 response.arg1 = attemptsRemaining; 330 response [all...] |
/frameworks/base/services/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 770 public void hasFeatures(IAccountManagerResponse response, argument 774 + ", response " + response 779 if (response == null) throw new IllegalArgumentException("response is null"); 786 new TestFeaturesSession(accounts, response, account, features).bind(); 796 public TestFeaturesSession(UserAccounts accounts, IAccountManagerResponse response, argument 798 super(accounts, response, account.type, false /* expectActivityLaunch */, 815 IAccountManagerResponse response = getResponseAndClose(); 816 if (response ! 848 removeAccount(IAccountManagerResponse response, Account account) argument 890 RemoveAccountSession(UserAccounts accounts, IAccountManagerResponse response, Account account) argument 1219 onResult(IAccountManagerResponse response, Bundle result) argument 1239 getAuthTokenLabel(IAccountManagerResponse response, final String accountType, final String authTokenType) argument 1286 getAuthToken(IAccountManagerResponse response, final Account account, final String authTokenType, final boolean notifyOnAuthFailure, final boolean expectActivityLaunch, Bundle loginOptionsIn) argument 1448 newGrantCredentialsPermissionIntent(Account account, int uid, AccountAuthenticatorResponse response, String authTokenType, String authTokenLabel) argument 1497 addAccount(final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn) argument 1564 confirmCredentialsAsUser(IAccountManagerResponse response, final Account account, final Bundle options, final boolean expectActivityLaunch, int userId) argument 1608 updateCredentials(IAccountManagerResponse response, final Account account, final String authTokenType, final boolean expectActivityLaunch, final Bundle loginOptions) argument 1647 editProperties(IAccountManagerResponse response, final String accountType, final boolean expectActivityLaunch) argument 1686 GetAccountsByTypeAndFeatureSession(UserAccounts accounts, IAccountManagerResponse response, String type, String[] features, int callingUid) argument 1969 getAccountsByFeatures(IAccountManagerResponse response, String type, String[] features) argument 2045 Session(UserAccounts accounts, IAccountManagerResponse response, String accountType, boolean expectActivityLaunch, boolean stripAuthTokenFromResult) argument [all...] |
/frameworks/base/services/common_time/ |
H A D | common_time_server.cpp | 76 // timeout used when waiting for a response to a WhoIsMaster request 92 // timeout used when waiting for a response to a WhoIsMaster request 833 const WhoIsMasterResponsePacket* response, 836 if (response->deviceID == mDeviceID) 841 mElectionLog.log("RXed WhoIs master response while in state %s. " 845 response->timelineID, 846 response->deviceID, 847 static_cast<uint32_t>(response->devicePriority), 852 response->deviceID, 853 response 832 handleWhoIsMasterResponse( const WhoIsMasterResponsePacket* response, const sockaddr_storage& srcAddr) argument 927 handleSyncResponse( const SyncResponsePacket* response, const sockaddr_storage& srcAddr) argument [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooperRoster.cpp | 171 const sp<AMessage> &msg, sp<AMessage> *response) { 181 response->clear(); 190 *response = mReplies.valueAt(index); 170 postAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | NetInitiatedActivity.java | 138 private void sendUserResponse(int response) { argument 139 if (DEBUG) Log.d(TAG, "sendUserResponse, response: " + response); 142 locationManager.sendNiResponse(notificationId, response);
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsXtraDownloader.java | 130 HttpResponse response = client.execute(req); 131 StatusLine status = response.getStatusLine(); 137 HttpEntity entity = response.getEntity();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcRetryAlarmController.java | 115 DataCallResponse response = (DataCallResponse) ar.result; 116 retryDelay = response.suggestedRetryTime; 134 log("getSuggestedRetryTime: " + retryDelay + " response=" + response + " dc=" + dc);
|