Searched refs:vibrationEnabled (Results 1 – 4 of 4) sorted by relevance
37 void NotificationFlags::SetVibrationEnabled(NotificationConstant::FlagStatus vibrationEnabled) in SetVibrationEnabled() argument39 vibrationEnabled_ = vibrationEnabled; in SetVibrationEnabled()81 auto vibrationEnabled = jsonObject.at("vibrationEnabled").get<uint8_t>(); in FromJson() local82 pFlags->vibrationEnabled_ = static_cast<NotificationConstant::FlagStatus>(vibrationEnabled); in FromJson()
57 NotificationConstant::FlagStatus vibrationEnabled =NotificationConstant::FlagStatus(1); variable59 rrc->SetVibrationEnabled(vibrationEnabled);60 EXPECT_EQ(rrc->IsVibrationEnabled(), vibrationEnabled);
55 void SetVibrationEnabled(NotificationConstant::FlagStatus vibrationEnabled);
4154 bool vibrationEnabled = false; in GetNotificationSlotByVibration() local4164 napi_get_value_bool(env, nobj, &vibrationEnabled); in GetNotificationSlotByVibration()4165 slot.SetEnableVibration(vibrationEnabled); in GetNotificationSlotByVibration()4168 if (!vibrationEnabled) { in GetNotificationSlotByVibration()4759 int32_t vibrationEnabled = static_cast<int32_t>(flags->IsVibrationEnabled()); in SetNotificationFlags() local4760 napi_create_int32(env, vibrationEnabled, &value); in SetNotificationFlags()