Home
last modified time | relevance | path

Searched refs:vibration (Results 1 – 6 of 6) sorted by relevance

/base/sensors/miscdevice/
DREADME.md14 …, are used to send signals externally. You can call APIs to control the vibration of vibrators and…
32 │ └── miscdevice_service # Misc device service, which is used to control the vibration of vib…
73 The APIs provided for the vibrator are used to trigger and stop vibration. The following table desc…
86vibration based on the duration specified by <strong id="b137434619532"><a name="b137434619532"></…
91vibration based on the duration specified by <strong id="b0770125017531"><a name="b0770125017531">…
96vibration based on the vibration effect specified by <strong id="b1757143012530"><a name="b1757143…
101vibration based on the vibration effect specified by <strong id="b680313655410"><a name="b68031365…
106vibration based on the mode specified by <strong id="b1019916113564"><a name="b1019916113564"></a>…
111vibration based on the mode specified by <strong id="b128871517589"><a name="b128871517589"></a><a…
120 2. Trigger vibration with a specific duration.
[all …]
DREADME_zh.md136 console.error("Failed to trigger vibration. Error code: " + error.code);
139 console.info("Succeeded in triggering vibration.");
144 console.error("Failed to stop vibration. Error code: " + error.code);
147 console.info("Succeeded in stopping vibration.");
152 console.error("Failed to trigger vibration. Error code: " + error.code);
155 console.info("Succeeded in triggering vibration.");
160 console.error("Failed to stop vibration. Error code: " + error.code);
163 console.info("Succeeded in stopping vibration.");
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_slot.h86 void SetEnableVibration(bool vibration);
225 void SetVibrationStyle(const std::vector<int64_t> &vibration);
/base/sensors/miscdevice_lite/
DREADME.md8 …, are used to send signals externally. You can call APIs to control the vibration of vibrators and…
/base/powermgr/power_manager/services/native/src/
Dpower_mode_module.cpp279 int32_t vibration = DelayedSingleton<PowerModePolicy>::GetInstance() in SetVibration() local
281 POWER_HILOGD(FEATURE_POWER_MODE, "GetPowerModeValuePolicy vibrate=%{public}d", vibration); in SetVibration()
282 SettingHelper::SetSettingVibration(static_cast<SettingHelper::SwitchStatus>(vibration)); in SetVibration()
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_slot.cpp47 void NotificationSlot::SetEnableVibration(bool vibration) in SetEnableVibration() argument
49 isVibrationEnabled_ = vibration; in SetEnableVibration()