Lines Matching defs:nfcContent
178 std::shared_ptr<Notification::NotificationNormalContent> nfcContent, const std::string &name, int balance)
184 nfcContent->SetTitle(g_resourceMap[KEY_TAG_DEFAULT_NTF_TITLE]);
185 nfcContent->SetText(g_resourceMap[KEY_TAG_DEFAULT_NTF_TEXT]);
191 nfcContent->SetTitle(g_resourceMap[KEY_TAG_DEFAULT_NTF_TITLE]);
192 nfcContent->SetText(g_resourceMap[NFC_OPEN_LINK_TEXT_HEAD] + name);
198 nfcContent->SetTitle(g_resourceMap[KEY_HCE_AID_CONFLICTED_TITLE]);
199 nfcContent->SetText(g_resourceMap[KEY_HCE_AID_CONFLICTED_TEXT]);
205 nfcContent->SetTitle(g_resourceMap[KEY_NO_HAP_TITLE]);
206 nfcContent->SetText(g_resourceMap[KEY_NO_HAP_TEXT]);
217 std::shared_ptr<Notification::NotificationNormalContent> nfcContent, const std::string &name, int balance)
219 if (nfcContent == nullptr) {
230 nfcContent->SetTitle(g_resourceMap[KEY_TRANSPORT_CARD_NTF_TITLE]);
231 nfcContent->SetText(GetTrafficCardNotificationText(name, balance));
238 nfcContent->SetTitle(g_resourceMap[KEY_NFC_WIFI_NTF_TITLE]);
239 nfcContent->SetText(GetWifiNotificationText(name));
250 nfcContent->SetTitle(g_resourceMap[KEY_NFC_BT_NTF_TITLE]);
251 nfcContent->SetText(GetBtNotificationText(name));
259 return SetTitleAndTextForOtherNotificationId(notificationId, nfcContent, name, balance);
391 std::shared_ptr<Notification::NotificationNormalContent> nfcContent =
393 if (nfcContent == nullptr) {
408 if (!SetTitleAndText(notificationId, nfcContent, name, balance)) {
414 std::make_shared<Notification::NotificationContent>(nfcContent);