Home
last modified time | relevance | path

Searched refs:VibrateEvent (Results 1 – 8 of 8) sorted by relevance

/base/sensors/miscdevice/services/miscdevice_service/custom_vibrate_decode/include/
Ddefault_vibrator_decoder.h31 std::set<VibrateEvent> DecodeEffect(const RawFileDescriptor &rawFd) override;
35 int32_t ParseChannel(const JsonParser &parser, std::set<VibrateEvent> &vibrateSet);
37 …int32_t ParsePattern(const JsonParser &parser, cJSON *pattern, std::set<VibrateEvent> &vibrateSet);
38 int32_t ParseEvent(const JsonParser &parser, cJSON *event, std::set<VibrateEvent> &vibrateSet);
39 bool CheckParameters(const VibrateEvent &vibrateEvent);
Dcustom_vibration_matcher.h32 …int32_t TransformEffect(const std::set<VibrateEvent> &vibrateSet, std::vector<CompositeEffect> &co…
35 …void ProcessContinuousEvent(const VibrateEvent &event, int32_t &preStartTime, int32_t &preDuration,
37 … void ProcessTransientEvent(const VibrateEvent &event, int32_t &preStartTime, int32_t &preDuration,
Dvibrator_decoder.h30 virtual std::set<VibrateEvent> DecodeEffect(const RawFileDescriptor &rawFd) = 0;
/base/sensors/miscdevice/services/miscdevice_service/include/
Dvibrator_infos.h54 struct VibrateEvent { struct
55 bool operator<(const VibrateEvent& rhs) const
Dmiscdevice_service.h84 …int32_t DecodeCustomEffect(const RawFileDescriptor &rawFd, std::set<VibrateEvent> &vibrateSequence…
/base/sensors/miscdevice/services/miscdevice_service/custom_vibrate_decode/src/
Ddefault_vibrator_decoder.cpp39 std::set<VibrateEvent> DefaultVibratorDecoder::DecodeEffect(const RawFileDescriptor &rawFd) in DecodeEffect()
47 std::set<VibrateEvent> vibrateSet; in DecodeEffect()
77 int32_t DefaultVibratorDecoder::ParseChannel(const JsonParser &parser, std::set<VibrateEvent> &vibr… in ParseChannel()
115 std::set<VibrateEvent> &vibrateSet) in ParsePattern()
138 std::set<VibrateEvent> &vibrateSet) in ParseEvent()
140 VibrateEvent vibrateEvent; in ParseEvent()
183 bool DefaultVibratorDecoder::CheckParameters(const VibrateEvent &vibrateEvent) in CheckParameters()
Dcustom_vibration_matcher.cpp48 int32_t CustomVibrationMatcher::TransformEffect(const std::set<VibrateEvent> &vibrateSet, in TransformEffect()
77 void CustomVibrationMatcher::ProcessContinuousEvent(const VibrateEvent &event, int32_t &preStartTim… in ProcessContinuousEvent()
107 void CustomVibrationMatcher::ProcessTransientEvent(const VibrateEvent &event, int32_t &preStartTime, in ProcessTransientEvent()
/base/sensors/miscdevice/services/miscdevice_service/src/
Dmiscdevice_service.cpp343 std::set<VibrateEvent> vibrateSet = decoder->DecodeEffect(rawFd); in StartCustomVibration()