/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
H A D | DownloadManagerBaseTest.java | 487 Cursor response = mDownloadManager.query(q); 488 if (response.getCount() < 1) { 490 response.close(); 493 while(response.moveToNext()) { 494 int index = response.getColumnIndex(DownloadManager.COLUMN_ID); 495 if (id == response.getLong(index)) { 499 int index = response.getColumnIndex(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR); 502 response.close(); 505 long size = response.getLong(index); 506 response [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
H A D | TelephonyUtil.java | 257 Log.e(TAG, "bad response - " + tmResponse); 265 Log.e(TAG, "malfomed response - " + tmResponse); 271 Log.e(TAG, "malfomed response - " + tmResponse); 276 Log.e(TAG, "malfomed response - " + tmResponse); 308 * The response to a SIM Auth request if successful 311 public SimAuthResponseData(String type, String response) { argument 313 this.response = response; 317 public String response; field in class:TelephonyUtil.SimAuthResponseData 375 Log.e(TAG, "bad response [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
H A D | WebViewUpdateServiceTest.java | 137 WebViewProviderResponse response = mWebViewUpdateServiceImpl.waitForAndGetProvider(); 138 assertEquals(WebViewFactory.LIBLOAD_SUCCESS, response.status); 139 assertEquals(expectedProviderName, response.packageInfo.packageName); 221 WebViewProviderResponse response = mWebViewUpdateServiceImpl.waitForAndGetProvider(); 222 assertEquals(WebViewFactory.LIBLOAD_SUCCESS, response.status); 223 assertEquals(expectedPackage, response.packageInfo.packageName); 327 WebViewProviderResponse response = mWebViewUpdateServiceImpl.waitForAndGetProvider(); 328 assertEquals(WebViewFactory.LIBLOAD_FAILED_WAITING_FOR_RELRO, response.status); 342 WebViewProviderResponse response = mWebViewUpdateServiceImpl.waitForAndGetProvider(); 343 assertEquals(WebViewFactory.LIBLOAD_FAILED_LISTING_WEBVIEW_PACKAGES, response [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 335 ALOGW("Missing 'source' field in Transport response. Using " 354 ALOGI("Missing 'server_port' field in Transport response."); 501 CHECK(msg->findObject("response", &obj)); 502 sp<ARTSPResponse> response = local 505 if (response->mStatusCode == 301 || response->mStatusCode == 302) { 506 ssize_t i = response->mHeaders.indexOfKey("location"); 509 mOriginalSessionURL = response->mHeaders.valueAt(i); 534 if (response->mStatusCode != 200) { 536 } else if (response 674 sp<ARTSPResponse> response = local 804 sp<ARTSPResponse> response = local 1143 sp<ARTSPResponse> response = local 1289 sp<ARTSPResponse> response = local 1432 parsePlayResponse(const sp<ARTSPResponse> &response) argument [all...] |
/frameworks/base/libs/common_time/ |
H A D | common_time_server.cpp | 77 // timeout used when waiting for a response to a WhoIsMaster request 93 // 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/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/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | UiccCardApplication.java | 245 loge("Bogus facility lock response"); 262 Message response = (Message)ar.userObj; 263 response.arg1 = attemptsRemaining; 264 AsyncResult.forMessage(response).exception = ar.exception; 265 response.sendToTarget(); 324 loge("Bogus facility lock response"); 342 Message response = (Message)ar.userObj; 343 AsyncResult.forMessage(response).exception = ar.exception; 344 response.arg1 = attemptsRemaining; 345 response [all...] |
H A D | UiccCarrierPrivilegeRules.java | 447 IccIoResult response = (IccIoResult) ar.result; 448 if (response.sw1 == 0x90 && response.sw2 == 0x00 449 && response.payload != null && response.payload.length > 0) { 451 mRules += IccUtils.bytesToHexString(response.payload) 467 String errorMsg = "Invalid response: payload=" + response.payload 468 + " sw1=" + response.sw1 + " sw2=" + response [all...] |
/frameworks/base/services/net/java/android/net/ip/ |
H A D | IpReachabilityMonitor.java | 118 * - If no response is received to any of the probe packets, the kernel 191 final NetlinkMessage response = NetlinkMessage.parse(bytes); 192 if (response != null && response instanceof NetlinkErrorMessage && 193 (((NetlinkErrorMessage) response).getNlMsgError() != null)) { 194 errno = ((NetlinkErrorMessage) response).getNlMsgError().error; 199 Log.e(TAG, "Error " + msgSnippet + ", errmsg=" + response.toString()); 203 if (response == null) { 207 errmsg = response.toString();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccSmsInterfaceManager.java | 207 Message response = mHandler.obtainMessage(EVENT_UPDATE_DONE); 215 mPhone.mCi.deleteSmsOnSim(index, response); 217 mPhone.mCi.deleteSmsOnRuim(index, response); 223 response.recycle(); 229 index, record, null, response); 261 Message response = mHandler.obtainMessage(EVENT_UPDATE_DONE); 266 IccUtils.bytesToHexString(pdu), response); 269 response); 306 Message response = mHandler.obtainMessage(EVENT_LOAD_DONE); 307 fh.loadEFLinearFixedAll(IccConstants.EF_SMS, response); [all...] |
H A D | Phone.java | 1128 * @param response The message to dispatch when the network selection 1133 public void setNetworkSelectionModeAutomatic(Message response) { argument 1139 msg.obj = response; 1145 Message response = (Message)ar.userObj; 1159 // wrap the response message in our own message along with 1163 nsm.message = response; 1196 * Manually selects a network. <code>response</code> is 1197 * dispatched when this is complete. <code>response.obj</code> will be 1198 * an AsyncResult, and <code>response.obj.exception</code> will be non-null 1204 Message response) { 1203 selectNetworkManually(OperatorInfo network, boolean persistSelection, Message response) argument 1310 restoreSavedNetworkSelection(Message response) argument 1813 queryCdmaRoamingPreference(Message response) argument 1850 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument 1859 setCdmaSubscription(int cdmaSubscriptionType, Message response) argument 1869 setPreferredNetworkType(int networkType, Message response) argument 1904 getPreferredNetworkType(Message response) argument 1989 setBandMode(int bandMode, Message response) argument 2001 queryAvailableBandMode(Message response) argument 2020 invokeOemRilRequestRaw(byte[] data, Message response) argument 2040 invokeOemRilRequestStrings(String[] strings, Message response) argument 2051 nvReadItem(int itemID, Message response) argument 2063 nvWriteItem(int itemID, String itemValue, Message response) argument 2074 nvWriteCdmaPrl(byte[] preferredRoamingList, Message response) argument 2086 nvResetConfig(int resetType, Message response) argument 3195 setRadioCapability(RadioCapability rc, Message response) argument 3323 getModemActivityInfo(Message response) argument 3339 setAllowedCarriers(List<CarrierIdentifier> carriers, Message response) argument 3346 getAllowedCarriers(Message response) argument [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | Session.h | 46 const android::Vector<uint8_t>& response);
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ALooper.h | 95 // waits for a response for the reply token. If status is OK, the response 97 status_t awaitResponse(const sp<AReplyToken> &replyToken, sp<AMessage> *response);
|
/frameworks/av/media/libstagefright/foundation/include/foundation/ |
H A D | ALooper.h | 95 // waits for a response for the reply token. If status is OK, the response 97 status_t awaitResponse(const sp<AReplyToken> &replyToken, sp<AMessage> *response);
|
/frameworks/av/media/libstagefright/include/foundation/ |
H A D | ALooper.h | 95 // waits for a response for the reply token. If status is OK, the response 97 status_t awaitResponse(const sp<AReplyToken> &replyToken, sp<AMessage> *response);
|
/frameworks/base/core/java/android/accounts/ |
H A D | GrantCredentialsPermissionActivity.java | 39 public static final String EXTRAS_RESPONSE = "response"; 187 AccountAuthenticatorResponse response = intent.getParcelableExtra(EXTRAS_RESPONSE); 188 if (response != null) { 191 response.onResult(mResultBundle); 193 response.onError(AccountManager.ERROR_CODE_CANCELED, "canceled");
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneBase.java | 426 public void getAvailableNetworks(Message response) { argument 430 public void setNetworkSelectionModeAutomatic(Message response) { argument 435 Message response) { 439 public void getDataCallList(Message response) { argument 504 public void activateCellBroadcastSms(int activate, Message response) { argument 509 public void getCellBroadcastSmsConfig(Message response) { argument 514 public void setCellBroadcastSmsConfig(int[] configValuesArray, Message response){ argument 434 selectNetworkManually(OperatorInfo network, boolean persistSelection, Message response) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipPhoneBase.java | 393 public void getAvailableNetworks(Message response) { argument 397 public void setNetworkSelectionModeAutomatic(Message response) { argument 402 Message response) { 410 public void getDataCallList(Message response) { argument 474 public void activateCellBroadcastSms(int activate, Message response) { argument 479 public void getCellBroadcastSmsConfig(Message response) { argument 484 public void setCellBroadcastSmsConfig(int[] configValuesArray, Message response){ argument 401 selectNetworkManually(OperatorInfo network, boolean persistSelection, Message response) argument
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyChain.java | 123 public static final String EXTRA_RESPONSE = "response"; 296 * @param response Callback to invoke when the request completes; 310 @NonNull KeyChainAliasCallback response, 319 choosePrivateKeyAlias(activity, response, keyTypes, issuers, uri, alias); 346 * @param response Callback to invoke when the request completes; 358 @NonNull KeyChainAliasCallback response, 380 if (response == null) { 381 throw new NullPointerException("response == null"); 385 intent.putExtra(EXTRA_RESPONSE, new AliasResponse(response)); 309 choosePrivateKeyAlias(@onNull Activity activity, @NonNull KeyChainAliasCallback response, @KeyProperties.KeyAlgorithmEnum String[] keyTypes, Principal[] issuers, @Nullable String host, int port, @Nullable String alias) argument 357 choosePrivateKeyAlias(@onNull Activity activity, @NonNull KeyChainAliasCallback response, @KeyProperties.KeyAlgorithmEnum String[] keyTypes, Principal[] issuers, @Nullable Uri uri, @Nullable String alias) argument
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.cpp | 123 sp<AMessage> response; local 124 status_t err = msg->postAndAwaitResponse(&response); 125 if (err == OK && response != NULL) { 126 CHECK(response->findInt32("err", &err)); 259 sp<AMessage> response = new AMessage; local 260 response->setInt32("err", err); 261 response->postReply(replyID); 595 sp<AMessage> response; local 596 status_t status = msg->postAndAwaitResponse(&response); 597 if (status == OK && response ! 618 sp<AMessage> response = new AMessage; local [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | LockSettingsService.java | 1162 VerifyCredentialResponse response; 1165 response = new VerifyCredentialResponse(gateKeeperResponse.getTimeout()); 1170 Slog.e(TAG, "verifyChallenge response had no associated payload"); 1171 response = VerifyCredentialResponse.ERROR; 1173 response = new VerifyCredentialResponse(token); 1176 response = VerifyCredentialResponse.ERROR; 1178 return response; 1251 GateKeeperResponse response = getGateKeeperService().enroll(userId, enrolledHandle, 1254 if (response == null) { 1258 byte[] hash = response [all...] |
/frameworks/av/include/ndk/ |
H A D | NdkMediaDrm.h | 158 * A key request/response exchange occurs between the app and a license server 164 * After the app has received the key request response from the server, 165 * it should deliver to the response to the DRM engine plugin using the method 209 * A key response is received from the license server by the app, then it is 211 * response is for an offline key request, a keySetId is returned that can be 213 * When the response is for a streaming or release request, a null keySetId is 217 * response. Scope should be set to the sessionId when the response is for either 219 * the response is for a release request. 221 * response point [all...] |
/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/tests/coretests/src/android/net/http/ |
H A D | DefaultHttpClientTest.java | 67 * response was sent. http://b/2612240 93 private String contentToString(HttpResponse response) throws IOException { argument 96 Reader reader = new InputStreamReader(response.getEntity().getContent());
|
/frameworks/base/obex/javax/obex/ |
H A D | ServerSession.java | 189 * the response code to use and send the reply. The 199 int response = -1; 202 response = validateResponseCode(mListener 205 response = validateResponseCode(mListener.onPut(op)); 207 if (response != ResponseCodes.OBEX_HTTP_OK && !op.isAborted) { 208 op.sendReply(response); 214 op.sendReply(response); 220 *OK response in "sendReply") 235 * the response code to use and send the reply. The 245 int response [all...] |