Searched refs:FlagStatus (Results 1 – 8 of 8) sorted by relevance
43 void SetSoundEnabled(NotificationConstant::FlagStatus soundEnabled);49 NotificationConstant::FlagStatus IsSoundEnabled() const;55 void SetVibrationEnabled(NotificationConstant::FlagStatus vibrationEnabled);61 NotificationConstant::FlagStatus IsVibrationEnabled() const;102 NotificationConstant::FlagStatus soundEnabled_ {NotificationConstant::FlagStatus::NONE};103 NotificationConstant::FlagStatus vibrationEnabled_ {NotificationConstant::FlagStatus::NONE};
123 enum class FlagStatus { enum
27 void NotificationFlags::SetSoundEnabled(NotificationConstant::FlagStatus soundEnabled) in SetSoundEnabled()32 NotificationConstant::FlagStatus NotificationFlags::IsSoundEnabled() const in IsSoundEnabled()37 void NotificationFlags::SetVibrationEnabled(NotificationConstant::FlagStatus vibrationEnabled) in SetVibrationEnabled()42 NotificationConstant::FlagStatus NotificationFlags::IsVibrationEnabled() const in IsVibrationEnabled()77 pFlags->soundEnabled_ = static_cast<NotificationConstant::FlagStatus>(soundEnabled); in FromJson()82 pFlags->vibrationEnabled_ = static_cast<NotificationConstant::FlagStatus>(vibrationEnabled); in FromJson()116 soundEnabled_ = static_cast<NotificationConstant::FlagStatus>(parcel.ReadUint8()); in ReadFromParcel()117 vibrationEnabled_ = static_cast<NotificationConstant::FlagStatus>(parcel.ReadUint8()); in ReadFromParcel()
1595 flags->SetSoundEnabled(NotificationConstant::FlagStatus::CLOSE); in UpdateNotificationCommon()1596 flags->SetVibrationEnabled(NotificationConstant::FlagStatus::CLOSE); in UpdateNotificationCommon()
43 NotificationConstant::FlagStatus sound =NotificationConstant::FlagStatus(1);57 NotificationConstant::FlagStatus vibrationEnabled =NotificationConstant::FlagStatus(1);
58 Notification::NotificationConstant::FlagStatus sound = in DoSomethingInterestingWithMyAPI()59 Notification::NotificationConstant::FlagStatus(soundEnabled); in DoSomethingInterestingWithMyAPI()
388 EXPECT_EQ(NotificationConstant::FlagStatus::CLOSE, notiFlags->IsSoundEnabled()); in CheckCaseFifteenResult()389 EXPECT_EQ(NotificationConstant::FlagStatus::OPEN, notiFlags->IsVibrationEnabled()); in CheckCaseFifteenResult()397 EXPECT_EQ(NotificationConstant::FlagStatus::NONE, notiFlags->IsSoundEnabled()); in CheckCaseSixteenResult()398 EXPECT_EQ(NotificationConstant::FlagStatus::NONE, notiFlags->IsVibrationEnabled()); in CheckCaseSixteenResult()1412 notiFlags->SetSoundEnabled(NotificationConstant::FlagStatus::CLOSE);1413 notiFlags->SetVibrationEnabled(NotificationConstant::FlagStatus::OPEN);