Home
last modified time | relevance | path

Searched refs:VibrationElement (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/inputflinger/
DVibrationElement.cpp28 VibrationElement::VibrationElement(size_t channelNum) { in VibrationElement() function in android::VibrationElement
32 VibrationElement::VibrationElement(const VibrationElement& other) { in VibrationElement() function in android::VibrationElement
41 const std::string VibrationElement::toString() const { in toString()
58 uint16_t VibrationElement::getMagnitude(int32_t vibratorId) const { in getMagnitude()
70 bool VibrationElement::isOn() const { in isOn()
75 void VibrationElement::addChannel(int32_t vibratorId, uint8_t amplitude) { in addChannel()
79 bool VibrationElement::operator==(const VibrationElement& other) const { in operator ==()
91 bool VibrationElement::operator!=(const VibrationElement& other) const { in operator !=()
116 void VibrationSequence::addElement(VibrationElement element) { in addElement()
DAndroid.bp199 "VibrationElement.cpp",
/frameworks/native/services/inputflinger/include/
DVibrationElement.h32 struct VibrationElement { struct
37 explicit VibrationElement(size_t channelNum); argument
39 VibrationElement(const VibrationElement& other);
41 bool operator==(const VibrationElement& other) const;
43 bool operator!=(const VibrationElement& other) const;
59 std::vector<VibrationElement> pattern;
67 void addElement(VibrationElement element);
/frameworks/native/services/inputflinger/reader/mapper/
DVibratorInputMapper.cpp112 const VibrationElement& element = mSequence.pattern[mIndex]; in nextStep()
/frameworks/native/services/inputflinger/tests/
DInterfaceMocks.h163 MOCK_METHOD(void, vibrate, (int32_t deviceId, const VibrationElement& effect), (override));
DFakeEventHub.h205 void vibrate(int32_t, const VibrationElement&) override {} in vibrate() argument
DInputReader_test.cpp3125 VibrationElement pattern(2); in TEST_F()
/frameworks/native/services/inputflinger/tests/fuzzers/
DInputReaderFuzzer.cpp188 VibrationElement element(i); in LLVMFuzzerTestOneInput()
DMapperHelpers.h236 void vibrate(int32_t deviceId, const VibrationElement& effect) override {} in vibrate()
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h371 virtual void vibrate(int32_t deviceId, const VibrationElement& effect) = 0;
587 void vibrate(int32_t deviceId, const VibrationElement& effect) override final;
DInputDevice.h411 inline void vibrate(const VibrationElement& element) { in vibrate()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2206 VibrationElement element(CHANNEL_SIZE); in nativeVibrate()
2256 VibrationElement element(CHANNEL_SIZE); in nativeVibrateCombined()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp1644 void EventHub::vibrate(int32_t deviceId, const VibrationElement& element) { in vibrate()