Lines Matching refs:balance
136 static std::string GetTrafficCardNotificationText(const std::string &cardName, int balance)
140 g_resourceMap[cardName].c_str(), static_cast<float>(balance) / NFC_UNIT_CHANGE_CONSTANT);
178 std::shared_ptr<Notification::NotificationNormalContent> nfcContent, const std::string &name, int balance)
217 std::shared_ptr<Notification::NotificationNormalContent> nfcContent, const std::string &name, int balance)
231 nfcContent->SetText(GetTrafficCardNotificationText(name, balance));
259 return SetTitleAndTextForOtherNotificationId(notificationId, nfcContent, name, balance);
385 void NfcNotification::PublishNfcNotification(int notificationId, const std::string &name, int balance)
408 if (!SetTitleAndText(notificationId, nfcContent, name, balance)) {
455 void PublishNfcNotification(int notificationId, const std::string &name, int balance)
458 OHOS::NFC::TAG::NfcNotification::GetInstance().PublishNfcNotification(notificationId, name, balance);