Home
last modified time | relevance | path

Searched refs:newRequest (Results 1 - 10 of 10) sorted by relevance

/base/account/os_account/services/accountmgr/src/appaccount/
H A Dapp_account_check_labels_callback.cpp54 AuthenticatorSessionRequest newRequest = request_; in CheckLabels() local
55 account.GetOwner(newRequest.owner); in CheckLabels()
56 account.GetName(newRequest.name); in CheckLabels()
57 newRequest.callback = this; in CheckLabels()
59 if (sessionManager.CheckAccountLabels(newRequest) == ERR_OK) { in CheckLabels()
H A Dapp_account_authenticator_session.cpp262 int32_t AppAccountAuthenticatorSession::OnRequestRedirected(AAFwk::Want &newRequest) const in OnRequestRedirected()
265 AppExecFwk::ElementName element = newRequest.GetElement(); in OnRequestRedirected()
279 newRequest.SetParam(Constants::KEY_ACTION, action_); in OnRequestRedirected()
280 newRequest.SetParam(Constants::KEY_NAME, request_.name); in OnRequestRedirected()
281 newRequest.SetParam(Constants::KEY_SESSION_ID, sessionId_); in OnRequestRedirected()
282 newRequest.SetParam(Constants::KEY_CALLER_BUNDLE_NAME, request_.callerBundleName); in OnRequestRedirected()
283 newRequest.SetParam(Constants::KEY_CALLER_PID, request_.callerPid); in OnRequestRedirected()
284 newRequest.SetParam(Constants::KEY_CALLER_UID, request_.callerUid); in OnRequestRedirected()
286 newRequest.SetParam(Constants::KEY_AUTH_TYPE, request_.authType); in OnRequestRedirected()
288 request_.callback->OnRequestRedirected(newRequest); in OnRequestRedirected()
[all...]
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_utils_test.cpp160 sptr<NotificationRequest> newRequest; in HWTEST_F() local
161 ErrCode ret = advancedNotificationService_->FillRequestByKeys(oldRequest, keys, newRequest); in HWTEST_F()
196 sptr<NotificationRequest> newRequest; in HWTEST_F() local
199 ASSERT_EQ(ans.GetActiveNotificationByFilter(bundleOption, notificationId, label, keys, newRequest), in HWTEST_F()
213 sptr<NotificationRequest> newRequest; in HWTEST_F() local
217 bundle, notificationId, label, keys, newRequest), in HWTEST_F()
256 sptr<NotificationRequest> newRequest; in HWTEST_F() local
258 notificationId, label, keys, newRequest), (int)ERR_ANS_PERMISSION_DENIED); in HWTEST_F()
262 notificationId, label, keys, newRequest), (int)ERR_OK); in HWTEST_F()
266 notificationId, label, keys, newRequest), (in in HWTEST_F()
[all...]
H A Dadvanced_notification_live_view_service_test.cpp205 sptr<NotificationRequest> newRequest = new (std::nothrow) NotificationRequest(); in HWTEST_F() local
206 newRequest->SetSlotType(slotType); in HWTEST_F()
207 newRequest->SetNotificationId(1); in HWTEST_F()
210 newRequest->SetContent(newContent); in HWTEST_F()
222 advancedNotificationService_->FillLockScreenPicture(newRequest, oldRequest); in HWTEST_F()
223 EXPECT_NE(newRequest->GetContent()->GetNotificationContent()->GetLockScreenPicture(), nullptr); in HWTEST_F()
/base/location/services/location_locator/locator/source/
H A Drequest_manager.cpp144 bool RequestManager::RestorRequest(std::shared_ptr<Request> newRequest) in RestorRequest() argument
154 if (newRequest == nullptr) { in RestorRequest()
155 LBSLOGE(REQUEST_MANAGER, "newRequest is empty"); in RestorRequest()
158 newRequest->SetRequesting(true); in RestorRequest()
159 sptr<IRemoteObject> newCallback = newRequest->GetLocatorCallBack()->AsObject(); in RestorRequest()
161 LBSLOGI(REQUEST_MANAGER, "add request:%{public}s", newRequest->ToString().c_str()); in RestorRequest()
167 requestList.push_back(newRequest); in RestorRequest()
173 sptr<RequestConfig> newConfig = newRequest->GetRequestConfig(); in RestorRequest()
190 requestWithSameCallback.push_back(newRequest); in RestorRequest()
/base/account/os_account/services/accountmgr/include/appaccount/
H A Dapp_account_authenticator_session.h80 int32_t OnRequestRedirected(AAFwk::Want &newRequest) const;
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_live_view_service.cpp450 void AdvancedNotificationService::FillLockScreenPicture(const sptr<NotificationRequest> &newRequest, in FillLockScreenPicture() argument
454 newRequest->GetContent() == nullptr) { in FillLockScreenPicture()
458 newRequest->GetContent()->GetNotificationContent() == nullptr) { in FillLockScreenPicture()
461 if (newRequest->GetSlotType() != NotificationConstant::SlotType::LIVE_VIEW) { in FillLockScreenPicture()
466 auto newContent = newRequest->GetContent()->GetNotificationContent(); in FillLockScreenPicture()
H A Dadvanced_notification_utils.cpp228 const std::vector<std::string> extraInfoKeys, sptr<NotificationRequest> &newRequest) in FillRequestByKeys()
234 newRequest = sptr<NotificationRequest>::MakeSptr(*(oldRequest)); in FillRequestByKeys()
255 newRequest->SetContent(requestContent); in FillRequestByKeys()
227 FillRequestByKeys(const sptr<NotificationRequest> &oldRequest, const std::vector<std::string> extraInfoKeys, sptr<NotificationRequest> &newRequest) FillRequestByKeys() argument
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h1376 const std::vector<std::string> extraInfoKeys, sptr<NotificationRequest> &newRequest);
1392 void FillLockScreenPicture(const sptr<NotificationRequest> &newRequest,
/base/global/i18n/frameworks/intl/test/unittest/
H A Dintl_test_extent.cpp1027 std::unique_ptr<LocaleInfo> newRequest = std::make_unique<LocaleInfo>("en-Latn"); in HWTEST_F() local
1030 int8_t result = LocaleMatcher::IsMoreSuitable(currentEn.get(), otherEn.get(), newRequest.get()); in HWTEST_F()

Completed in 18 milliseconds