Searched refs:response (Results 51 - 75 of 188) sorted by relevance

12345678

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DRuimFileHandler.java42 Message response = obtainMessage(EVENT_READ_ICON_DONE, fileid, 0,
53 mAid, response);
H A DAdnRecordLoader.java78 * 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/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoderBase.cpp51 const sp<AMessage> &msg, sp<AMessage> *response) {
52 status_t err = msg->postAndAwaitResponse(response);
58 if (!(*response)->findInt32("err", &err)) {
95 sp<AMessage> response; local
96 PostAndAwaitResponse(msg, &response);
50 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
H A DNuPlayer.cpp341 sp<AMessage> response; local
342 status_t err = msg->postAndAwaitResponse(&response);
343 if (err == OK && response != NULL) {
344 CHECK(response->findInt32("err", &err));
346 readFromAMessage(response, buffering);
355 sp<AMessage> response; local
356 status_t err = msg->postAndAwaitResponse(&response);
357 if (err == OK && response != NULL) {
358 CHECK(response->findInt32("err", &err));
403 sp<AMessage> response; local
413 sp<AMessage> response; local
427 sp<AMessage> response; local
438 sp<AMessage> response; local
572 sp<AMessage> response = new AMessage; local
595 sp<AMessage> response = new AMessage; local
640 sp<AMessage> response = new AMessage; local
661 sp<AMessage> response = new AMessage; local
713 sp<AMessage> response = new AMessage; local
889 sp<AMessage> response = new AMessage; local
912 sp<AMessage> response = new AMessage; local
938 sp<AMessage> response = new AMessage; local
958 sp<AMessage> response = new AMessage; local
1383 sp<AMessage> response = new AMessage; local
1395 sp<AMessage> response = new AMessage; local
2045 sp<AMessage> response; local
2055 sp<AMessage> response; local
2069 sp<AMessage> response; local
2704 sp<AMessage> response; local
2723 sp<AMessage> response; local
[all...]
H A DGenericSource.cpp686 sp<AMessage> response = new AMessage; local
687 response->setInt32("status", status);
690 response->postReply(replyID);
697 sp<AMessage> response = new AMessage; local
698 response->setInt32("status", status);
701 response->postReply(replyID);
814 sp<AMessage> response; local
816 status_t err = msg->postAndAwaitResponse(&response);
817 if (err == OK && response != NULL) {
818 CHECK(response
829 sp<AMessage> response = new AMessage; local
939 sp<AMessage> response; local
954 sp<AMessage> response = new AMessage; local
1016 sp<AMessage> response; local
1032 sp<AMessage> response = new AMessage; local
1074 sp<AMessage> response; local
1090 sp<AMessage> response = new AMessage; local
1195 sp<AMessage> response; local
1210 sp<AMessage> response = new AMessage; local
1904 sp<AMessage> response; local
1926 sp<AMessage> response; local
[all...]
H A DNuPlayerRenderer.cpp183 sp<AMessage> response; local
184 status_t err = msg->postAndAwaitResponse(&response);
185 if (err == OK && response != NULL) {
186 CHECK(response->findInt32("err", &err));
217 sp<AMessage> response; local
218 status_t err = msg->postAndAwaitResponse(&response);
219 if (err == OK && response != NULL) {
220 CHECK(response->findInt32("err", &err));
222 readFromAMessage(response, rate);
251 sp<AMessage> response; local
269 sp<AMessage> response; local
409 sp<AMessage> response; local
426 sp<AMessage> response; local
472 sp<AMessage> response = new AMessage; local
490 sp<AMessage> response = new AMessage; local
638 sp<AMessage> response = new AMessage; local
650 sp<AMessage> response = new AMessage; local
667 sp<AMessage> response = new AMessage; local
682 sp<AMessage> response = new AMessage; local
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DTestAccountType1Authenticator.java47 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument
61 AccountAuthenticatorResponse response,
92 intent.putExtra(AccountManagerServiceTestFixtures.KEY_CALLBACK, response);
106 AccountAuthenticatorResponse response,
130 intent.putExtra(AccountManagerServiceTestFixtures.KEY_CALLBACK, response);
145 AccountAuthenticatorResponse response,
180 intent.putExtra(AccountManagerServiceTestFixtures.KEY_CALLBACK, response);
200 AccountAuthenticatorResponse response,
223 intent.putExtra(AccountManagerServiceTestFixtures.KEY_CALLBACK, response);
238 AccountAuthenticatorResponse response,
60 addAccount( AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument
105 confirmCredentials( AccountAuthenticatorResponse response, Account account, Bundle options) argument
144 getAuthToken( AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
199 updateCredentials( AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
237 hasFeatures( AccountAuthenticatorResponse response, Account account, String[] features) argument
260 startAddAccountSession( AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument
316 startUpdateCredentialsSession( AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
372 finishSession(AccountAuthenticatorResponse response, String accountType, Bundle sessionBundle) argument
423 isCredentialsUpdateSuggested( final AccountAuthenticatorResponse response, Account account, String statusToken) argument
445 getAccountRemovalAllowed( AccountAuthenticatorResponse response, Account account) argument
[all...]
H A DAccountManagerServiceTest.java398 null, // response
415 mMockAccountManagerResponse, // response
436 mMockAccountManagerResponse, // response
468 mMockAccountManagerResponse, // response
490 mMockAccountManagerResponse, // response
525 mMockAccountManagerResponse, // response
546 Response response = new Response(latch, mMockAccountManagerResponse);
550 response, // response
577 Response response
[all...]
/frameworks/native/libs/vr/libpdx_uds/
H A Dclient_channel_factory.cpp145 ResponseHeader<LocalHandle> response;
146 status = ReceiveData(socket_.Borrow(), &response);
149 int ref = response.ret_code;
150 if (ref < 0 || static_cast<size_t>(ref) > response.file_descriptors.size())
153 LocalHandle event_fd = std::move(response.file_descriptors[ref]);
H A Dclient_channel.cpp22 } else if (static_cast<size_t>(index) < response.file_descriptors.size()) {
23 *handle = std::move(response.file_descriptors[index]);
33 } else if (static_cast<size_t>(index) < response.channels.size()) {
34 auto& channel_info = response.channels[index];
67 ResponseHeader<LocalHandle> response; member in struct:android::pdx::uds::__anon1765::TransactionState
103 auto status = ReceiveData(socket_fd, &transaction_state->response);
107 if (transaction_state->response.recv_len > 0) {
110 if (transaction_state->response.recv_len != max_recv_len) {
115 size_remaining = transaction_state->response.recv_len;
196 const int return_code = state->response
[all...]
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
H A DAutoFillUI.java47 * input field for choosing a dataset to fill or trigger the response
156 * @param response the current fill response
161 public void showFillUi(@NonNull AutofillId focusedId, @NonNull FillResponse response, argument
172 response.getDatasets() == null ? 0 : response.getDatasets().size());
179 mFillUi = new FillUi(mContext, response, focusedId,
182 public void onResponsePicked(FillResponse response) {
186 mCallback.authenticate(response.getRequestId(),
188 response
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java69 * 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 DSipSessionGroup.java122 // 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/base/services/autofill/java/com/android/server/autofill/
H A DSession.java95 * to fill the activity but it requires authentication first, that response need to be held
291 // Remove the FillContext as there will never be a response for the service
307 * Reads a new structure and then request a new fill response from the fill service.
396 public void onFillRequestSuccess(int requestFlags, @Nullable FillResponse response, argument
405 if (response == null) {
417 mService.setLastResponse(serviceUid, id, response);
419 if ((response.getDatasets() == null || response.getDatasets().isEmpty())
420 && response.getAuthentication() == null) {
425 processResponseLocked(response, requestFlag
1131 onFillReady(FillResponse response, AutofillId filledId, @Nullable AutofillValue value) argument
1278 setViewStatesLocked(FillResponse response, int state, boolean clearResponse) argument
1324 setViewStatesLocked(@ullable FillResponse response, @NonNull Dataset dataset, int state, boolean clearResponse) argument
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DDrmPlugin.cpp77 const Vector<uint8_t>& response,
79 if (scope.size() == 0 || response.size() == 0) {
86 status_t res = session->provideKeyResponse(response);
75 provideKeyResponse( const Vector<uint8_t>& scope, const Vector<uint8_t>& response, Vector<uint8_t>& keySetId) argument
/frameworks/av/media/libstagefright/
H A DMediaCodecSource.cpp150 sp<AMessage> response; local
151 status_t err = msg->postAndAwaitResponse(&response);
157 if (!response->findInt32("err", &err)) {
244 sp<AMessage> response = new AMessage; local
245 response->setInt32("err", err);
249 response->postReply(replyID);
257 sp<AMessage> response = new AMessage; local
258 response->setInt32("err", OK);
262 response->postReply(replyID);
346 sp<AMessage> response; local
586 sp<AMessage> response; local
960 sp<AMessage> response = new AMessage; local
1053 sp<AMessage> response = new AMessage; local
1073 sp<AMessage> response = new AMessage; local
1083 sp<AMessage> response = new AMessage; local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.h110 bool notifyResponseListener(const sp<ARTSPResponse> &response);
112 bool parseAuthMethod(const sp<ARTSPResponse> &response);
118 const sp<ARTSPResponse> &response, ssize_t *index) const;
H A DMyTransmitter.h268 void authenticate(const sp<ARTSPResponse> &response) { argument
269 ssize_t i = response->mHeaders.indexOfKey("www-authenticate");
272 AString value = response->mHeaders.valueAt(i);
339 request->append("response=\"");
377 CHECK(msg->findObject("response", &obj));
378 sp<ARTSPResponse> response; local
381 response = static_cast<ARTSPResponse *>(obj.get());
382 CHECK(response != NULL);
384 if (response->mStatusCode == 401) {
391 authenticate(response);
466 sp<ARTSPResponse> response; local
556 sp<ARTSPResponse> response; local
745 sp<ARTSPResponse> response; local
774 sp<ARTSPResponse> response; local
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DPhoneMock.java336 public void setNetworkSelectionModeAutomatic(Message response) { argument
345 Message response) {
358 public void restoreSavedNetworkSelection(Message response) { argument
468 public void queryCdmaRoamingPreference(Message response) { argument
476 public void setCdmaRoamingPreference(int cdmaRoamingType, Message response) { argument
480 public void setCdmaSubscription(int cdmaSubscriptionType, Message response) { argument
484 public void setPreferredNetworkType(int networkType, Message response) { argument
488 public void getPreferredNetworkType(Message response) { argument
520 public void setBandMode(int bandMode, Message response) { argument
524 public void queryAvailableBandMode(Message response) { argument
344 selectNetworkManually(OperatorInfo network, boolean persistSelection, Message response) argument
528 invokeOemRilRequestRaw(byte[] data, Message response) argument
532 invokeOemRilRequestStrings(String[] strings, Message response) argument
536 nvReadItem(int itemID, Message response) argument
540 nvWriteItem(int itemID, String itemValue, Message response) argument
544 nvWriteCdmaPrl(byte[] preferredRoamingList, Message response) argument
548 nvResetConfig(int resetType, Message response) argument
956 setRadioCapability(RadioCapability rc, Message response) argument
1000 getModemActivityInfo(Message response) argument
1004 setAllowedCarriers(List<CarrierIdentifier> carrierList, Message response) argument
1008 getAllowedCarriers(Message response) argument
1239 getAvailableNetworks(Message response) argument
1243 getNeighboringCids(Message response) argument
1259 getDataCallList(Message response) argument
1327 activateCellBroadcastSms(int activate, Message response) argument
1331 getCellBroadcastSmsConfig(Message response) argument
1335 setCellBroadcastSmsConfig(int[] configValuesArray, Message response) argument
[all...]
/frameworks/av/media/mtp/
H A DMtpServer.cpp237 ALOGV("sending response %04X", mResponse.getResponseCode());
249 ALOGV("skipping response\n");
340 MtpResponseCode response; local
360 response = doGetDeviceInfo();
363 response = doOpenSession();
367 response = doCloseSession();
370 response = doGetStorageIDs();
373 response = doGetStorageInfo();
376 response = doGetObjectPropsSupported();
379 response
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
H A DTelephonyUtilTest.java297 SimAuthResponseData response = TelephonyUtil.get3GAuthResponse(
299 assertNull(response);
310 SimAuthResponseData response = TelephonyUtil.get3GAuthResponse(
312 assertNull(response);
324 SimAuthResponseData response = TelephonyUtil.get3GAuthResponse(
326 assertNull(response);
338 SimAuthResponseData response = TelephonyUtil.get3GAuthResponse(
340 assertNotNull(response);
341 assertEquals("UMTS-AUTH", response.type);
342 assertEquals(":31:212223:1112", response
[all...]
/frameworks/base/tools/streaming_proto/
H A Dmain.cpp327 write_file(CodeGeneratorResponse* response, const FileDescriptorProto& file_descriptor, argument
373 CodeGeneratorResponse::File* file_response = response->add_file();
382 write_multiple_files(CodeGeneratorResponse* response, const FileDescriptorProto& file_descriptor) argument
394 write_file(response, file_descriptor,
407 write_file(response, file_descriptor,
414 write_single_file(CodeGeneratorResponse* response, const FileDescriptorProto& file_descriptor) argument
430 write_file(response, file_descriptor,
447 CodeGeneratorResponse response; local
458 write_multiple_files(&response, file_descriptor);
460 write_single_file(&response, file_descripto
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneInternalInterface.java239 * Sends user response to a USSD REQUEST message. An MmiCode instance
240 * representing this response is sent to handlers registered with
243 * @param ussdMessge Message to send in the response.
518 * @return true if req is sent, false otherwise. If req is not sent there will be no response,
635 * On completion, <code>response.obj</code> is set to an AsyncResult with
638 * <li><code>response.obj.result</code> will be a <code>List</code> of
640 * <li><code>response.obj.exception</code> will be set with an exception
644 void getAvailableNetworks(Message response); argument
647 * Query neighboring cell IDs. <code>response</code> is dispatched when
648 * this is complete. <code>response
658 getNeighboringCids(Message response, WorkSource workSource) argument
693 getDataCallList(Message response) argument
786 activateCellBroadcastSms(int activate, Message response) argument
794 getCellBroadcastSmsConfig(Message response) argument
804 setCellBroadcastSmsConfig(int[] configValuesArray, Message response) argument
[all...]
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java1412 copyAccountToUser(null /*no response*/, sa, parentUserId, userId);
1594 public void copyAccountToUser(final IAccountManagerResponse response, final Account account, argument
1604 if (response != null) {
1608 response.onResult(result);
1620 new Session(fromAccounts, response, account.type, false,
1640 completeCloningAccount(response, result, account, toAccounts, userFrom);
1694 private void completeCloningAccount(IAccountManagerResponse response, argument
1700 new Session(targetUser, response, account.type, false,
1844 public void hasFeatures(IAccountManagerResponse response, argument
1850 + ", response "
1875 TestFeaturesSession(UserAccounts accounts, IAccountManagerResponse response, Account account, String[] features) argument
1929 renameAccount( IAccountManagerResponse response, Account accountToRename, String newName) argument
2074 removeAccount(IAccountManagerResponse response, Account account, boolean expectActivityLaunch) argument
2084 removeAccountAsUser(IAccountManagerResponse response, Account account, boolean expectActivityLaunch, int userId) argument
2202 RemoveAccountSession(UserAccounts accounts, IAccountManagerResponse response, Account account, boolean expectActivityLaunch) argument
2679 onResult(IAccountManagerResponse response, Bundle result) argument
2699 getAuthTokenLabel(IAccountManagerResponse response, final String accountType, final String authTokenType) argument
2749 getAuthToken( IAccountManagerResponse response, final Account account, final String authTokenType, final boolean notifyOnAuthFailure, final boolean expectActivityLaunch, final Bundle loginOptions) argument
3027 newGrantCredentialsPermissionIntent(Account account, String packageName, int uid, AccountAuthenticatorResponse response, String authTokenType, boolean startInNewTask) argument
3085 addAccount(final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn) argument
3158 addAccountAsUser(final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn, int userId) argument
3242 startAddAccountSession( final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn) argument
3332 StartAccountSession( UserAccounts accounts, IAccountManagerResponse response, String accountType, boolean expectActivityLaunch, String accountName, boolean authDetailsRequired, boolean updateLastAuthenticationTime, boolean isPasswordForwardingAllowed) argument
3434 finishSessionAsUser(IAccountManagerResponse response, @NonNull Bundle sessionBundle, boolean expectActivityLaunch, Bundle appInfo, int userId) argument
3599 confirmCredentialsAsUser( IAccountManagerResponse response, final Account account, final Bundle options, final boolean expectActivityLaunch, int userId) argument
3646 updateCredentials(IAccountManagerResponse response, final Account account, final String authTokenType, final boolean expectActivityLaunch, final Bundle loginOptions) argument
3686 startUpdateCredentialsSession( IAccountManagerResponse response, final Account account, final String authTokenType, final boolean expectActivityLaunch, final Bundle loginOptions) argument
3750 isCredentialsUpdateSuggested( IAccountManagerResponse response, final Account account, final String statusToken) argument
3835 editProperties(IAccountManagerResponse response, final String accountType, final boolean expectActivityLaunch) argument
4048 GetAccountsByTypeAndFeatureSession( UserAccounts accounts, IAccountManagerResponse response, String type, String[] features, int callingUid, String packageName, boolean includeManagedNotVisible) argument
4447 startChooseAccountActivityWithAccounts( IAccountManagerResponse response, Account[] accounts) argument
4457 handleGetAccountsResult( IAccountManagerResponse response, Account[] accounts, String callingPackage) argument
4478 getAccountByTypeAndFeatures( IAccountManagerResponse response, String accountType, String[] features, String opPackageName) argument
4544 getAccountsByFeatures( IAccountManagerResponse response, String type, String[] features, String opPackageName) argument
4649 Session(UserAccounts accounts, IAccountManagerResponse response, String accountType, boolean expectActivityLaunch, boolean stripAuthTokenFromResult, String accountName, boolean authDetailsRequired) argument
4656 Session(UserAccounts accounts, IAccountManagerResponse response, String accountType, boolean expectActivityLaunch, boolean stripAuthTokenFromResult, String accountName, boolean authDetailsRequired, boolean updateLastAuthenticatedTime) argument
5990 sendResponse(IAccountManagerResponse response, Bundle result) argument
6002 sendErrorResponse(IAccountManagerResponse response, int errorCode, String errorMessage) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewFactory.java160 WebViewProviderResponse response = null;
162 response = getUpdateService().waitForAndGetProvider();
169 if (response.status != LIBLOAD_SUCCESS
170 && response.status != LIBLOAD_FAILED_WAITING_FOR_RELRO) {
171 return response.status;
173 if (!response.packageInfo.packageName.equals(packageName)) {
190 if (loadNativeRet == LIBLOAD_SUCCESS) return response.status;
324 WebViewProviderResponse response = null;
328 response = getUpdateService().waitForAndGetProvider();
332 if (response
[all...]

Completed in 568 milliseconds

12345678