Home
last modified time | relevance | path

Searched refs:notificationId (Results 1 - 23 of 23) sorted by relevance

/foundation/communication/nfc/services/src/external_deps/
H A Dnfc_notification_publisher.cpp45 static void NfcNotificationCallback(int notificationId) in NfcNotificationCallback() argument
47 NfcNotificationPublisher::GetInstance().OnNotificationButtonClicked(notificationId); in NfcNotificationCallback()
50 void NfcNotificationPublisher::PublishNfcNotification(int notificationId, const std::string &name, int balance) in PublishNfcNotification() argument
56 if (notificationId == NFC_NO_HAP_SUPPORTED_NOTIFICATION_ID) { in PublishNfcNotification()
59 nfcNtfInf_.publishNotification(notificationId, name, balance); in PublishNfcNotification()
109 void NfcNotificationPublisher::OnNotificationButtonClicked(int notificationId) in OnNotificationButtonClicked() argument
121 tagDispatcher.lock()->OnNotificationButtonClicked(notificationId); in OnNotificationButtonClicked()
H A Dnfc_notification_publisher.h37 typedef void (NfcNtfCallback)(int notificationId);
40 void (*publishNotification)(int notificationId, const std::string &name, int balance);
52 void PublishNfcNotification(int notificationId, const std::string &name, int balance);
54 void OnNotificationButtonClicked(int notificationId);
H A Dexternal_deps_proxy.h102 void PublishNfcNotification(int notificationId, const std::string &name, int balance);
H A Dexternal_deps_proxy.cpp258 void ExternalDepsProxy::PublishNfcNotification(int notificationId, const std::string &name, int balance) in PublishNfcNotification() argument
260 TAG::NfcNotificationPublisher::GetInstance().PublishNfcNotification(notificationId, name, balance); in PublishNfcNotification()
/foundation/communication/nfc/services/src/notification/
H A Dnfc_notification.cpp55 int notificationId = request->GetId(); in OnCanceled() local
56 InfoLog("Oncanceled, creatorUid = %{public}d, notificationId = %{public}d, deleteReason = %{public}d", in OnCanceled()
57 creatorUid, notificationId, deleteReason); in OnCanceled()
61 g_ntfCallback(notificationId % OHOS::NFC::TAG::NTF_COUNT_CONSTANT); in OnCanceled()
177 static bool SetTitleAndTextForOtherNotificationId(int notificationId, in SetTitleAndTextForOtherNotificationId() argument
180 switch (notificationId) { in SetTitleAndTextForOtherNotificationId()
216 static bool SetTitleAndText(int notificationId, in SetTitleAndText() argument
225 switch (notificationId) { in SetTitleAndText()
259 return SetTitleAndTextForOtherNotificationId(notificationId, nfcContent, name, balance); in SetTitleAndText()
264 static std::string GetButtonName(int notificationId) in GetButtonName() argument
385 PublishNfcNotification(int notificationId, const std::string &name, int balance) PublishNfcNotification() argument
455 PublishNfcNotification(int notificationId, const std::string &name, int balance) PublishNfcNotification() argument
[all...]
H A Dnfc_notification.h31 typedef void (*NfcNtfCallback)(int notificationId);
33 void PublishNfcNotification(int notificationId, const std::string &name, int balance);
97 void PublishNfcNotification(int notificationId, const std::string &name, int balance);
/foundation/multimedia/audio_framework/services/audio_policy/safe_volume_notification/include/
H A Daudio_safe_volume_notification_impl.h37 void PublishSafeVolumeNotification(int32_t notificationId) override;
38 void CancelSafeVolumeNotification(int32_t notificationId) override;
41 bool SetTitleAndText(int32_t notificationId, std::shared_ptr<Notification::NotificationNormalContent> content);
42 std::string GetButtonName(uint32_t notificationId);
H A Daudio_safe_volume_notification.h44 virtual void PublishSafeVolumeNotification(int32_t notificationId) = 0;
45 virtual void CancelSafeVolumeNotification(int32_t notificationId) = 0;
/foundation/multimedia/audio_framework/services/audio_policy/safe_volume_notification/src/
H A Daudio_safe_volume_notification_impl.cpp73 bool AudioSafeVolumeNotificationImpl::SetTitleAndText(int32_t notificationId, in SetTitleAndText() argument
86 switch (notificationId) { in SetTitleAndText()
96 AUDIO_ERR_LOG("error notificationId"); in SetTitleAndText()
102 std::string AudioSafeVolumeNotificationImpl::GetButtonName(uint32_t notificationId) in GetButtonName() argument
111 switch (notificationId) { in GetButtonName()
133 static void SetActionButton(int32_t notificationId, const std::string& buttonName, in SetActionButton() argument
137 if (notificationId == RESTORE_VOLUME_NOTIFICATION_ID) { in SetActionButton()
230 void AudioSafeVolumeNotificationImpl::PublishSafeVolumeNotification(int32_t notificationId) in PublishSafeVolumeNotification() argument
241 if (!SetTitleAndText(notificationId, normalContent)) { in PublishSafeVolumeNotification()
265 request.SetNotificationId(notificationId); in PublishSafeVolumeNotification()
284 CancelSafeVolumeNotification(int32_t notificationId) CancelSafeVolumeNotification() argument
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_notification_util.cpp40 void WifiNotificationUtil::PublishWifiNotification(WifiNotificationId notificationId, std::string& ssid, in PublishWifiNotification() argument
43 WIFI_LOGI("Publishing wifi notification, id [%{public}d]", static_cast<int>(notificationId)); in PublishWifiNotification()
47 want.SetParam("notificationId", static_cast<int>(notificationId)); in PublishWifiNotification()
55 void WifiNotificationUtil::CancelWifiNotification(WifiNotificationId notificationId) in CancelWifiNotification() argument
57 WIFI_LOGI("Cancel notification, id [%{public}d]", static_cast<int>(notificationId)); in CancelWifiNotification()
64 want.SetParam("notificationId", static_cast<int>(notificationId)); in CancelWifiNotification()
H A Dwifi_notification_util.h58 void PublishWifiNotification(WifiNotificationId notificationId, std::string& ssid, WifiNotificationStatus status);
60 void CancelWifiNotification(WifiNotificationId notificationId);
/foundation/communication/nfc/services/src/tag/
H A Dtag_dispatcher.cpp262 void TagDispatcher::OnNotificationButtonClicked(int notificationId) in OnNotificationButtonClicked() argument
264 InfoLog("notificationId[%{public}d]", notificationId); in OnNotificationButtonClicked()
265 switch (notificationId) { in OnNotificationButtonClicked()
314 NfcNotificationId notificationId = NFC_TAG_DEFAULT_NOTIFICATION_ID; in PublishTagNotification() local
326 notificationId = NFC_TRANSPORT_CARD_NOTIFICATION_ID; in PublishTagNotification()
330 ExternalDepsProxy::GetInstance().PublishNfcNotification(notificationId, cardName, balance); in PublishTagNotification()
/foundation/resourceschedule/background_task_mgr/frameworks/src/
H A Dbackground_task_mgr_proxy.cpp190 int32_t notificationId = -1; in StartBackgroundRunning() local
191 if (!reply.ReadInt32(notificationId)) { in StartBackgroundRunning()
192 BGTASK_LOGE("StartBackgroundRunning fail: read notificationId failed."); in StartBackgroundRunning()
195 BGTASK_LOGI("read notificationId %{public}d", notificationId); in StartBackgroundRunning()
196 taskParam->notificationId_ = notificationId; in StartBackgroundRunning()
228 int32_t notificationId = -1; in UpdateBackgroundRunning() local
229 if (!reply.ReadInt32(notificationId)) { in UpdateBackgroundRunning()
230 BGTASK_LOGE("UpdateBackgroundRunning fail: read notificationId failed."); in UpdateBackgroundRunning()
233 BGTASK_LOGI("read notificationId in UpdateBackgroundRunning()
[all...]
/foundation/communication/nfc/services/include/
H A Dtag_dispatcher.h44 void OnNotificationButtonClicked(int notificationId);
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Dbg_continuous_task_napi_module.cpp66 int32_t notificationId {-1}; // out
255 asyncCallbackInfo->notificationId = taskParam.notificationId_; in StartBackgroundRunningExecuteCB()
292 napi_value notificationId = nullptr; in PromiseCompletedCB() local
296 napi_create_int32(env, asyncCallbackInfo->notificationId, &notificationId); in PromiseCompletedCB()
299 napi_set_named_property(env, result, "notificationId", notificationId); in PromiseCompletedCB()
/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/
H A Dmock_notification_helper.cpp56 ErrCode NotificationHelper::CancelContinuousTaskNotification(const std::string &label, int32_t notificationId) in CancelContinuousTaskNotification() argument
/foundation/communication/nfc/services/src/card_emulation/
H A Dce_service.cpp447 TAG::NfcNotificationId notificationId = TAG::NFC_HCE_AID_CONFLICTED_ID; in HandleOtherAidConflicted() local
448 ExternalDepsProxy::GetInstance().PublishNfcNotification(notificationId, "", 0); in HandleOtherAidConflicted()
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/
H A Dbg_continuous_task_mgr.cpp233 int32_t notificationId = iter->second->GetNotificationId(); in CheckPersistenceData() local
234 if (notificationId > maxId) { in CheckPersistenceData()
235 maxId = notificationId; in CheckPersistenceData()
/foundation/multimedia/player_framework/services/services/screen_capture/server/
H A Dscreen_capture_server.h74 void OnResponse(int32_t notificationId,
H A Dscreen_capture_server.cpp110 void NotificationSubscriber::OnResponse(int32_t notificationId, in OnResponse() argument
113 MEDIA_LOGI("NotificationSubscriber OnResponse notificationId : %{public}d, ButtonName : %{public}s ", in OnResponse()
114 notificationId, (buttonOption->GetButtonName()).c_str()); in OnResponse()
120 server = GetScreenCaptureServerByIdWithLock(notificationId); in OnResponse()
123 MEDIA_LOGW("OnResponse ScreenCaptureServer not exist, notificationId : %{public}d, ButtonName : %{public}s ", in OnResponse()
124 notificationId, (buttonOption->GetButtonName()).c_str()); in OnResponse()
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/
H A Daudio_policy_service.h1033 void PublishSafeVolumeNotification(int32_t notificationId);
1034 void CancelSafeVolumeNotification(int32_t notificationId);
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/
H A Daudio_policy_service.cpp6737 void AudioPolicyService::PublishSafeVolumeNotification(int32_t notificationId) in PublishSafeVolumeNotification() argument
6757 audioSafeVolumeNotificationImpl->PublishSafeVolumeNotification(notificationId); in PublishSafeVolumeNotification()
6762 void AudioPolicyService::CancelSafeVolumeNotification(int32_t notificationId) in CancelSafeVolumeNotification() argument
6782 audioSafeVolumeNotificationImpl->CancelSafeVolumeNotification(notificationId); in CancelSafeVolumeNotification()
/foundation/multimedia/av_session/services/session/server/
H A Davsession_service.cpp106 void OnResponse(int32_t notificationId, sptr<Notification::NotificationButtonOption> buttonOption) {} in OnResponse() argument

Completed in 40 milliseconds