/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmInboundSmsHandler.java | 172 * @param response callback message sent when operation completes. 175 protected void acknowledgeLastIncomingSms(boolean success, int result, Message response) { argument 176 mPhone.mCi.acknowledgeLastIncomingGsmSms(success, resultToCause(result), response);
|
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/volley/src/main/java/com/android/volley/toolbox/ |
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 | 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 | 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...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoderBase.cpp | 51 const sp<AMessage> &msg, sp<AMessage> *response) { 52 status_t err = msg->postAndAwaitResponse(response); 58 if (!(*response)->findInt32("err", &err)) { 90 sp<AMessage> response; local 91 PostAndAwaitResponse(msg, &response); 98 sp<AMessage> response; local 99 return PostAndAwaitResponse(msg, &response); 50 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | NetInitiatedActivity.java | 137 private void sendUserResponse(int response) { argument 138 if (DEBUG) Log.d(TAG, "sendUserResponse, response: " + response); 141 locationManager.sendNiResponse(notificationId, response);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | OSUClient.java | 149 throw new IOException("Bad user input complete response: " + moResponse1); 178 throw new IOException("Bad cert enrollment complete response: " + moResponse2); 192 Log.d(TAG, "exComplete response: " + exComplete); 224 Log.d(TAG, "Remediation response: " + pddResponse); 272 throw new IOException("Bad user input complete response: " + udResponse); 302 throw new IOException("Bad cert enrollment complete response: " 315 Log.d(TAG, "Remediation response: " + pddResponse); 322 throw new IOException("Unexpected OSU response: " + command); 332 // 5. -> Update response 340 Log.d(TAG, "exComplete response 397 checkResponse(PostDevDataResponse response) argument [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | CallScreeningService.java | 105 throw new IllegalStateException("Invalid response state for allowed call."); 222 * @param response The {@link CallScreeningService.CallResponse} which contains information 225 public final void respondToCall(Call.Details callDetails, CallResponse response) { argument 227 if (response.getDisallowCall()) { 230 response.getRejectCall(), 231 !response.getSkipCallLog(), 232 !response.getSkipNotification());
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaInboundSmsHandler.java | 183 * @param response callback message sent when operation completes. 186 protected void acknowledgeLastIncomingSms(boolean success, int result, Message response) { argument 188 mPhone.mCi.acknowledgeLastIncomingCdmaSms(success, causeCode, response);
|
/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...] |
/frameworks/volley/src/test/java/com/android/volley/mock/ |
H A D | MockRequest.java | 64 protected void deliverResponse(byte[] response) { argument 96 protected Response<byte[]> parseNetworkResponse(NetworkResponse response) { argument 98 return Response.success(response.data, CacheTestUtils.makeRandomCacheEntry(response.data));
|
H A D | TestRequest.java | 41 protected Response<byte[]> parseNetworkResponse(NetworkResponse response) { argument 46 protected void deliverResponse(byte[] response) { argument
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
H A D | HttpHeaderParserTest.java | 46 private NetworkResponse response; field in class:HttpHeaderParserTest 51 response = new NetworkResponse(0, null, headers, false); 55 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 68 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 79 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 91 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 106 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 123 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 135 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 153 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 48 const sp<AMessage> &msg, sp<AMessage> *response) { 49 status_t err = msg->postAndAwaitResponse(response); 55 if (!(*response)->findInt32("err", &err)) { 64 sp<AMessage> response; local 65 return PostAndAwaitResponse(msg, &response); 78 sp<AMessage> response; local 79 return PostAndAwaitResponse(msg, &response); 84 sp<AMessage> response; local 85 return PostAndAwaitResponse(msg, &response); 90 sp<AMessage> response; local 47 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument 96 sp<AMessage> response; local 102 sp<AMessage> response; local 121 sp<AMessage> response = new AMessage; local 142 sp<AMessage> response = new AMessage; local 164 sp<AMessage> response = new AMessage; local 197 sp<AMessage> response = new AMessage; local 220 sp<AMessage> response = new AMessage; local 243 sp<AMessage> response = new AMessage; local [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | DrmPlugin.h | 62 const Vector<uint8_t>& response, 99 const Vector<uint8_t>& response, 102 UNUSED(response); 98 provideProvisionResponse( const Vector<uint8_t>& response, Vector<uint8_t>& certificate, Vector<uint8_t>& wrappedKey) argument
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooper.cpp | 236 status_t ALooper::awaitResponse(const sp<AReplyToken> &replyToken, sp<AMessage> *response) { argument 240 while (!replyToken->retrieveReply(response)) {
|
/frameworks/base/core/java/android/accounts/ |
H A D | AbstractAccountAuthenticator.java | 105 * and return the result via that response when the activity finishes (or whenever else the 157 public void addAccount(IAccountAuthenticatorResponse response, String accountType, argument 168 new AccountAuthenticatorResponse(response), 177 response.onResult(result); 180 handleException(response, "addAccount", accountType, e); 185 public void confirmCredentials(IAccountAuthenticatorResponse response, argument 193 new AccountAuthenticatorResponse(response), account, options); 202 response.onResult(result); 205 handleException(response, "confirmCredentials", account.toString(), e); 210 public void getAuthTokenLabel(IAccountAuthenticatorResponse response, argument 235 getAuthToken(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument 263 updateCredentials(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument 292 editProperties(IAccountAuthenticatorResponse response, String accountType) argument 307 hasFeatures(IAccountAuthenticatorResponse response, Account account, String[] features) argument 322 getAccountRemovalAllowed(IAccountAuthenticatorResponse response, Account account) argument 337 getAccountCredentialsForCloning(IAccountAuthenticatorResponse response, Account account) argument 353 addAccountFromCredentials(IAccountAuthenticatorResponse response, Account account, Bundle accountCredentials) argument 371 startAddAccountSession(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument 401 startUpdateCredentialsSession( IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument 440 finishSession( IAccountAuthenticatorResponse response, String accountType, Bundle sessionBundle) argument 467 isCredentialsUpdateSuggested( IAccountAuthenticatorResponse response, Account account, String statusToken) argument 485 handleException(IAccountAuthenticatorResponse response, String method, String data, Exception e) argument 540 editProperties(AccountAuthenticatorResponse response, String accountType) argument 563 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument 583 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument 625 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 655 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 675 hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) argument 694 getAccountRemovalAllowed(AccountAuthenticatorResponse response, Account account) argument 712 getAccountCredentialsForCloning(final AccountAuthenticatorResponse response, final Account account) argument 737 addAccountFromCredentials(final AccountAuthenticatorResponse response, Account account, Bundle accountCredentials) argument 788 startAddAccountSession( final AccountAuthenticatorResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle options) argument 846 startUpdateCredentialsSession( final AccountAuthenticatorResponse response, final Account account, final String authTokenType, final Bundle options) argument 901 finishSession( final AccountAuthenticatorResponse response, final String accountType, final Bundle sessionBundle) argument 987 isCredentialsUpdateSuggested( final AccountAuthenticatorResponse response, Account account, String statusToken) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | RestrictionsManager.java | 60 * a response is received from the administrator of the device or user. 61 * The response is relayed back to the application via a protected broadcast, 128 * Broadcast intent delivered when a response is received for a permission request. The 131 * the user of the response or wait until the next time the user launches the app. 147 * RestrictionsManager, when a response is available, by calling 160 * response, {@link Activity#onActivityResult} will return a resultCode of 200 * Contains a response from the administrator for specific request. 204 * <li>{@link #RESPONSE_KEY_RESULT}: The response result.</li> 226 * a response. This value is returned in the {@link #EXTRA_RESPONSE_BUNDLE}. 298 * the Restrictions Provider can return a cached response tha 504 notifyPermissionResponse(String packageName, PersistableBundle response) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/net/http/ |
H A D | AbstractProxyTest.java | 65 .setBody("this response comes via HTTPS")); 75 HttpResponse response = httpClient.execute( 77 assertEquals("this response comes via HTTPS", contentToString(response)); 115 .setBody("this response comes via a proxy"); 124 HttpResponse response = httpProxyClient.execute(request); 125 assertEquals("this response comes via a proxy", contentToString(response)); 157 .setBody("this response comes via a secure proxy")); 169 HttpResponse response 278 contentToString(HttpResponse response) argument [all...] |
/frameworks/base/keystore/java/android/security/ |
H A D | KeyChain.java | 119 public static final String EXTRA_RESPONSE = "response"; 247 * @param response Callback to invoke when the request completes; 261 @NonNull KeyChainAliasCallback response, 270 choosePrivateKeyAlias(activity, response, keyTypes, issuers, uri, alias); 297 * @param response Callback to invoke when the request completes; 309 @NonNull KeyChainAliasCallback response, 331 if (response == null) { 332 throw new NullPointerException("response == null"); 336 intent.putExtra(EXTRA_RESPONSE, new AliasResponse(response)); 260 choosePrivateKeyAlias(@onNull Activity activity, @NonNull KeyChainAliasCallback response, @KeyProperties.KeyAlgorithmEnum String[] keyTypes, Principal[] issuers, @Nullable String host, int port, @Nullable String alias) argument 308 choosePrivateKeyAlias(@onNull Activity activity, @NonNull KeyChainAliasCallback response, @KeyProperties.KeyAlgorithmEnum String[] keyTypes, Principal[] issuers, @Nullable Uri uri, @Nullable String alias) argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | NativeDaemonConnector.java | 367 Slog.wtf(TAG, "Interrupted while waiting for unsolicited response handling", e); 373 * response. 376 * native daemon, or if the response matches 386 * response. Any arguments must be separated from base command so they can 390 * native daemon, or if the response matches 404 "Expected exactly one response, but received " + events.length); 412 * final terminal response. 415 * native daemon, or if the response matches 426 * final terminal response. Any arguments must be separated from base 430 * native daemon, or if the response matche 639 add(int cmdNum, NativeDaemonEvent response) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 212 public void documentHasImages(Message response) { argument
|