/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 773 * cause code returned as Integer in Message.obj.response 852 * ((AsyncResult)response.obj).result is an int[] where int[0] is 872 public void sendTerminalResponse(String contents, Message response) { argument 873 resultSuccess(response, null); 880 public void sendEnvelope(String contents, Message response) { argument 881 resultSuccess(response, null); 888 public void sendEnvelopeWithStatus(String contents, Message response) { argument 889 resultSuccess(response, null); 897 boolean accept, Message response) { 898 resultSuccess(response, nul 896 handleCallSetupRequestFromSim( boolean accept, Message response) argument 1053 deleteSmsOnSim(int index, Message response) argument 1059 deleteSmsOnRuim(int index, Message response) argument 1065 writeSmsToSim(int status, String smsc, String pdu, Message response) argument 1071 writeSmsToRuim(int status, String pdu, Message response) argument 1152 setLocationUpdates(boolean enable, Message response) argument 1219 iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, Message response) argument 1242 queryCLIP(Message response) argument 1282 queryCallWaiting(int serviceClass, Message response) argument 1293 setCallWaiting(boolean enable, int serviceClass, Message response) argument 1421 cancelPendingUssd(Message response) argument 1432 invokeOemRilRequestRaw(byte[] data, Message response) argument 1441 invokeOemRilRequestStrings(String[] strings, Message response) argument 1605 getDeviceIdentity(Message response) argument 1624 setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response) argument 1629 queryCdmaRoamingPreference(Message response) argument 1634 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument 1664 setTTYMode(int ttyMode, Message response) argument 1680 queryTTYMode(Message response) argument 1688 sendCDMAFeatureCode(String FeatureCode, Message response) argument 1696 sendCdmaSms(byte[] pdu, Message response) argument 1702 setCdmaBroadcastActivation(boolean activate, Message response) argument 1708 getCdmaBroadcastConfig(Message response) argument 1714 setCdmaBroadcastConfig(CdmaSmsBroadcastConfigInfo[] configs, Message response) argument 1718 forceDataDormancy(Message response) argument 1724 setGsmBroadcastActivation(boolean activate, Message response) argument 1730 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument 1735 getGsmBroadcastConfig(Message response) argument 1740 supplyIccPinForApp(String pin, String aid, Message response) argument 1755 supplyIccPukForApp(String puk, String newPin, String aid, Message response) argument 1760 supplyIccPin2ForApp(String pin2, String aid, Message response) argument 1765 supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) argument 1770 changeIccPinForApp(String oldPin, String newPin, String aidPtr, Message response) argument 1777 changeIccPin2ForApp(String oldPin2, String newPin2, String aidPtr, Message response) argument 1783 requestIsimAuthentication(String nonce, Message response) argument 1788 requestIccSimAuthentication(int authContext, String data, String aid, Message response) argument 1793 getVoiceRadioTechnology(Message response) argument 1805 getCellInfoList(Message response) argument 1835 setCellInfoListRate(int rateInMillis, Message response) argument 1853 getImsRegistrationState(Message response) argument 1862 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message response) argument 1869 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument 1877 iccOpenLogicalChannel(String AID, Message response) argument 1884 iccCloseLogicalChannel(int channel, Message response) argument 1889 iccTransmitApduLogicalChannel(int channel, int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument 1902 iccTransmitApduBasicChannel(int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument 1908 nvReadItem(int itemID, Message response) argument 1913 nvWriteItem(int itemID, String itemValue, Message response) argument 1918 nvWriteCdmaPrl(byte[] preferredRoamingList, Message response) argument 1923 nvResetConfig(int resetType, Message response) argument [all...] |
H A D | SimulatedCommandsVerifier.java | 760 public void setMute(boolean enableMute, Message response) { argument 765 public void getMute(Message response) { argument 770 public void getSignalStrength(Message response) { argument 775 public void getVoiceRegistrationState(Message response) { argument 780 public void getDataRegistrationState(Message response) { argument 785 public void getOperator(Message response) { argument 810 public void sendSMS(String smscPDU, String pdu, Message response) { argument 815 public void sendSMSExpectMore(String smscPDU, String pdu, Message response) { argument 820 public void sendCdmaSms(byte[] pdu, Message response) { argument 826 Message response) { 825 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument 831 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message response) argument 836 deleteSmsOnSim(int index, Message response) argument 841 deleteSmsOnRuim(int index, Message response) argument 846 writeSmsToSim(int status, String smsc, String pdu, Message response) argument 851 writeSmsToRuim(int status, String pdu, Message response) argument 856 setRadioPower(boolean on, Message response) argument 861 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message response) argument 866 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message response) argument 871 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message response) argument 876 iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, Message response) argument 882 iccIOForApp(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, String aid, Message response) argument 888 queryCLIP(Message response) argument 893 getCLIR(Message response) argument 898 setCLIR(int clirMode, Message response) argument 903 queryCallWaiting(int serviceClass, Message response) argument 908 setCallWaiting(boolean enable, int serviceClass, Message response) argument 913 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message response) argument 919 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message response) argument 925 setNetworkSelectionModeAutomatic(Message response) argument 930 setNetworkSelectionModeManual(String operatorNumeric, Message response) argument 935 getNetworkSelectionMode(Message response) argument 940 getAvailableNetworks(Message response) argument 945 getBasebandVersion(Message response) argument 950 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument 956 queryFacilityLockForApp(String facility, String password, int serviceClass, String appId, Message response) argument 962 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument 968 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument 974 sendUSSD(String ussdString, Message response) argument 979 cancelPendingUssd(Message response) argument 989 setBandMode(int bandMode, Message response) argument 994 queryAvailableBandMode(Message response) argument 999 setPreferredNetworkType(int networkType, Message response) argument 1004 getPreferredNetworkType(Message response) argument 1009 getNeighboringCids(Message response) argument 1014 setLocationUpdates(boolean enable, Message response) argument 1039 invokeOemRilRequestRaw(byte[] data, Message response) argument 1044 invokeOemRilRequestStrings(String[] strings, Message response) argument 1059 sendTerminalResponse(String contents, Message response) argument 1064 sendEnvelope(String contents, Message response) argument 1069 sendEnvelopeWithStatus(String contents, Message response) argument 1074 handleCallSetupRequestFromSim(boolean accept, Message response) argument 1084 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument 1089 getGsmBroadcastConfig(Message response) argument 1094 getDeviceIdentity(Message response) argument 1099 getCDMASubscription(Message response) argument 1104 sendCDMAFeatureCode(String FeatureCode, Message response) argument 1114 queryCdmaRoamingPreference(Message response) argument 1119 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument 1124 setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response) argument 1129 getCdmaSubscriptionSource(Message response) argument 1134 setTTYMode(int ttyMode, Message response) argument 1139 queryTTYMode(Message response) argument 1160 setCdmaBroadcastConfig(CdmaSmsBroadcastConfigInfo[] configs, Message response) argument 1170 exitEmergencyCallbackMode(Message response) argument 1185 requestIsimAuthentication(String nonce, Message response) argument 1190 requestIccSimAuthentication(int authContext, String data, String aid, Message response) argument 1206 setCellInfoListRate(int rateInMillis, Message response) argument 1237 iccOpenLogicalChannel(String AID, Message response) argument 1242 iccCloseLogicalChannel(int channel, Message response) argument 1247 iccTransmitApduLogicalChannel(int channel, int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument 1253 iccTransmitApduBasicChannel(int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument 1259 nvReadItem(int itemID, Message response) argument 1264 nvWriteItem(int itemID, String itemValue, Message response) argument 1269 nvWriteCdmaPrl(byte[] preferredRoamingList, Message response) argument 1274 nvResetConfig(int resetType, Message response) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | AdnRecordCache.java | 122 private void sendErrorResponse(Message response, String errString) { argument 123 if (response != null) { 125 AsyncResult.forMessage(response).exception = e; 126 response.sendToTarget(); 137 * @param response message to be posted when done 138 * response.exception hold the exception in error 141 Message response) { 145 sendErrorResponse(response, "EF is not known ADN-like EF:0x" + 152 sendErrorResponse(response, "Have pending update for EF:0x" + 157 mUserWriteResponse.put(efid, response); 140 updateAdnByIndex(int efid, AdnRecord adn, int recordIndex, String pin2, Message response) argument 178 updateAdnBySearch(int efid, AdnRecord oldAdn, AdnRecord newAdn, String pin2, Message response) argument 251 requestLoadAllAdnLike(int efid, int extensionEf, Message response) argument [all...] |
H A D | AdnRecordLoader.java | 78 * Resulting AdnRecord is placed in response.obj.result 79 * or response.obj.exception is set 83 Message response) { 87 mUserResponse = response; 96 * Resulting ArrayList<adnRecord> is placed in response.obj.result 97 * or response.obj.exception is set 101 Message response) { 104 mUserResponse = response; 125 * @param response will be sent to its handler when completed 129 String pin2, Message response) { 82 loadFromEF(int ef, int extensionEF, int recordNumber, Message response) argument 100 loadAllFromEF(int ef, int extensionEF, Message response) argument 128 updateEF(AdnRecord adn, int ef, int extensionEF, int recordNumber, String pin2, Message response) argument [all...] |
H A D | IccFileHandler.java | 55 // Byte order received in response to COMMAND_GET_RESPONSE 171 Message response 176 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); 203 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_IMG_DONE, 210 null, null, mAid, response); 225 Message response 229 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); 257 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_DONE, 261 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); 288 Message response 393 sendResult(Message response, Object result, Throwable ex) argument 403 processException(Message response, AsyncResult ar) argument [all...] |
H A D | UiccCard.java | 582 public void iccOpenLogicalChannel(String AID, Message response) { argument 586 mHandler.obtainMessage(EVENT_OPEN_LOGICAL_CHANNEL_DONE, response)); 592 public void iccCloseLogicalChannel(int channel, Message response) { argument 595 mHandler.obtainMessage(EVENT_CLOSE_LOGICAL_CHANNEL_DONE, response)); 602 int p1, int p2, int p3, String data, Message response) { 604 data, mHandler.obtainMessage(EVENT_TRANSMIT_APDU_LOGICAL_CHANNEL_DONE, response)); 611 int p1, int p2, int p3, String data, Message response) { 613 data, mHandler.obtainMessage(EVENT_TRANSMIT_APDU_BASIC_CHANNEL_DONE, response)); 620 String pathID, Message response) { 622 mHandler.obtainMessage(EVENT_SIM_IO_DONE, response)); 601 iccTransmitApduLogicalChannel(int channel, int cla, int command, int p1, int p2, int p3, String data, Message response) argument 610 iccTransmitApduBasicChannel(int cla, int command, int p1, int p2, int p3, String data, Message response) argument 619 iccExchangeSimIO(int fileID, int command, int p1, int p2, int p3, String pathID, Message response) argument 628 sendEnvelopeWithStatus(String contents, Message response) argument [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
H A D | DcTrackerMock.java | 157 public void setDataAllowed(boolean enable, Message response) { argument
|
H A D | PhoneMock.java | 328 public void setNetworkSelectionModeAutomatic(Message response) { argument 337 Message response) { 350 public void restoreSavedNetworkSelection(Message response) { argument 460 public void queryCdmaRoamingPreference(Message response) { argument 468 public void setCdmaRoamingPreference(int cdmaRoamingType, Message response) { argument 472 public void setCdmaSubscription(int cdmaSubscriptionType, Message response) { argument 476 public void setPreferredNetworkType(int networkType, Message response) { argument 480 public void getPreferredNetworkType(Message response) { argument 512 public void setBandMode(int bandMode, Message response) { argument 516 public void queryAvailableBandMode(Message response) { argument 336 selectNetworkManually(OperatorInfo network, boolean persistSelection, Message response) argument 520 invokeOemRilRequestRaw(byte[] data, Message response) argument 524 invokeOemRilRequestStrings(String[] strings, Message response) argument 528 nvReadItem(int itemID, Message response) argument 532 nvWriteItem(int itemID, String itemValue, Message response) argument 536 nvWriteCdmaPrl(byte[] preferredRoamingList, Message response) argument 540 nvResetConfig(int resetType, Message response) argument 948 setRadioCapability(RadioCapability rc, Message response) argument 992 getModemActivityInfo(Message response) argument 1219 getAvailableNetworks(Message response) argument 1223 getNeighboringCids(Message response) argument 1239 getDataCallList(Message response) argument 1307 activateCellBroadcastSms(int activate, Message response) argument 1311 getCellBroadcastSmsConfig(Message response) argument 1315 setCellBroadcastSmsConfig(int[] configValuesArray, Message response) argument [all...] |
/frameworks/volley/src/main/java/com/android/volley/ |
H A D | AuthFailureError.java | 35 public AuthFailureError(NetworkResponse response) { argument 36 super(response);
|
H A D | ExecutorDelivery.java | 31 * Creates a new response delivery interface. 45 * Creates a new response delivery interface, mockable version 54 public void postResponse(Request<?> request, Response<?> response) { argument 55 postResponse(request, response, null); 59 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { argument 61 request.addMarker("post-response"); 62 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, runnable)); 68 Response<?> response = Response.error(error); 69 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, null)); 82 public ResponseDeliveryRunnable(Request request, Response response, Runnabl argument [all...] |
H A D | Request.java | 36 * @param <T> The type of parsed response this request expects. 90 /** Whether or not a response has been delivered for this request yet. */ 99 * a "Not Modified" response, we can be sure it hasn't been evicted from cache. 108 * the normal response listener is not provided here as delivery of responses 110 * already-parsed response. 121 * URL, and error listener. Note that the normal response listener is not provided here as 123 * an already-parsed response. 511 * Mark this request as having a response delivered on it. This can be used 519 * Returns true if this request has had a response delivered for it. 526 * Subclasses must implement this to parse the raw network response 533 parseNetworkResponse(NetworkResponse response) argument 554 deliverResponse(T response) argument [all...] |
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...] |
H A D | ResponseDelivery.java | 21 * Parses a response from the network or cache and delivers it. 23 public void postResponse(Request<?> request, Response<?> response); argument 26 * Parses a response from the network or cache and delivers it. The provided 29 public void postResponse(Request<?> request, Response<?> response, Runnable runnable); argument
|
H A D | VolleyError.java | 31 public VolleyError(NetworkResponse response) { argument 32 networkResponse = response;
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | ClearCacheRequest.java | 63 protected Response<Object> parseNetworkResponse(NetworkResponse response) { argument 68 protected void deliverResponse(Object response) { argument
|
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; 112 entry.data = response.data;
|
H A D | ImageLoader.java | 46 /** Amount of time to wait after first response arrives before delivering all responses. */ 66 /** Runnable for in-flight response delivery. */ 91 * of showing a default image until the network response is received, at which point 108 public void onResponse(ImageContainer response, boolean isImmediate) { 109 if (response.getBitmap() != null) { 110 view.setImageBitmap(response.getBitmap()); 119 * Interface for the response handlers on image requests. 122 * 1. Upon being attached to a request, onResponse(response, true) will 124 * data was available, response.getBitmap() will be non-null. 126 * 2. After a network response return 142 onResponse(ImageContainer response, boolean isImmediate) argument 279 onGetImageSuccess(String cacheKey, Bitmap response) argument [all...] |
H A D | ImageRequest.java | 155 protected Response<Bitmap> parseNetworkResponse(NetworkResponse response) { argument 159 return doParse(response); 161 VolleyLog.e("Caught OOM for %d byte image, url=%s", response.data.length, getUrl()); 170 private Response<Bitmap> doParse(NetworkResponse response) { argument 171 byte[] data = response.data; 211 return Response.error(new ParseError(response)); 213 return Response.success(bitmap, HttpHeaderParser.parseCacheHeaders(response)); 218 protected void deliverResponse(Bitmap response) { argument 219 mListener.onResponse(response);
|
H A D | JsonArrayRequest.java | 31 * A request for retrieving a {@link JSONArray} response body at a given URL. 38 * @param listener Listener to receive the JSON response 51 * @param listener Listener to receive the JSON response 61 protected Response<JSONArray> parseNetworkResponse(NetworkResponse response) { argument 63 String jsonString = new String(response.data, 64 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET)); 66 HttpHeaderParser.parseCacheHeaders(response));
|
H A D | JsonObjectRequest.java | 31 * A request for retrieving a {@link JSONObject} response body at a given URL, allowing for an 42 * @param listener Listener to receive the JSON response 64 protected Response<JSONObject> parseNetworkResponse(NetworkResponse response) { argument 66 String jsonString = new String(response.data, 67 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET)); 69 HttpHeaderParser.parseCacheHeaders(response));
|
H A D | JsonRequest.java | 29 * A request for retrieving a T type response body at a given URL that also 32 * @param <T> JSON type of response expected 64 protected void deliverResponse(T response) { argument 65 mListener.onResponse(response); 69 abstract protected Response<T> parseNetworkResponse(NetworkResponse response); argument
|
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;
|
H A D | StringRequest.java | 28 * A canned request for retrieving the response body at a given URL as a String. 38 * @param listener Listener to receive the String response 51 * @param listener Listener to receive the String response 59 protected void deliverResponse(String response) { argument 60 mListener.onResponse(response); 64 protected Response<String> parseNetworkResponse(NetworkResponse response) { argument 67 parsed = new String(response.data, HttpHeaderParser.parseCharset(response.headers)); 69 parsed = new String(response.data); 71 return Response.success(parsed, HttpHeaderParser.parseCacheHeaders(response)); [all...] |
/frameworks/volley/src/test/java/com/android/volley/ |
H A D | RequestTest.java | 61 protected void deliverResponse(Object response) { argument 65 protected Response<Object> parseNetworkResponse(NetworkResponse response) { argument 89 protected void deliverResponse(Object response) { argument 93 protected Response<Object> parseNetworkResponse(NetworkResponse response) { argument
|
/frameworks/volley/src/test/java/com/android/volley/mock/ |
H A D | MockHttpStack.java | 50 public void setResponseToReturn(HttpResponse response) { argument 51 mResponseToReturn = response;
|