Home
last modified time | relevance | path

Searched refs:GetHapticStartUpTime (Results 1 - 10 of 10) sorted by relevance

/drivers/peripheral/vibrator/interfaces/include/
H A Dvibrator_if.h196 int32_t (*GetHapticStartUpTime)(int32_t mode, int32_t *startUpTime); member
/drivers/peripheral/vibrator/test/fuzztest/vibratorgethapticstartuptime_fuzzer/
H A Dvibratorgethapticstartuptime_fuzzer.cpp35 int32_t ret = !g_vibratorInterface->GetHapticStartUpTime(*(int32_t *)data, startUpTime); in VibratorGetHapticStartUpTimeTest()
/drivers/peripheral/vibrator/hdi_impl/
H A Dvibrator_interface_impl.h41 int32_t GetHapticStartUpTime(int32_t mode, int32_t& startUpTime) override;
H A Dvibrator_interface_impl.cpp231 int32_t VibratorInterfaceImpl::GetHapticStartUpTime(int32_t mode, int32_t& startUpTime) in GetHapticStartUpTime() function in OHOS::HDI::Vibrator::V1_1::VibratorInterfaceImpl
233 HDF_LOGI("%{public}s: Enter the GetHapticStartUpTime function\n", __func__); in GetHapticStartUpTime()
235 if (vibratorInterface == nullptr || vibratorInterface->GetHapticStartUpTime == nullptr) { in GetHapticStartUpTime()
239 int32_t ret = vibratorInterface->GetHapticStartUpTime(mode, &startUpTime); in GetHapticStartUpTime()
/drivers/peripheral/vibrator/hal/src/
H A Dvibrator_controller.c323 static int32_t GetHapticStartUpTime(int32_t mode, int32_t *startUpTime) in GetHapticStartUpTime() function
352 vibratorDevInstance.GetHapticStartUpTime = GetHapticStartUpTime; in NewVibratorInterfaceInstance()
/drivers/peripheral/vibrator/hdi_service/
H A Dvibrator_if_service.h43 int32_t GetHapticStartUpTime(int32_t mode, int32_t& startUpTime) override;
H A Dvibrator_if_service.cpp377 int32_t VibratorIfService::GetHapticStartUpTime(int32_t mode, int32_t& startUpTime) in GetHapticStartUpTime() function in OHOS::HDI::Vibrator::V1_3::VibratorIfService
379 HDF_LOGD("%{public}s: Enter the GetHapticStartUpTime function", __func__); in GetHapticStartUpTime()
385 StartTrace(HITRACE_TAG_HDF, "GetHapticStartUpTime"); in GetHapticStartUpTime()
386 int32_t ret = vibratorVdiImpl_->GetHapticStartUpTime(mode, startUpTime); in GetHapticStartUpTime()
388 HDF_LOGE("%{public}s GetHapticStartUpTime failed, error code is %{public}d", __func__, ret); in GetHapticStartUpTime()
/drivers/peripheral/vibrator/interfaces/v1_1/
H A Divibrator_interface_vdi.h47 virtual int32_t GetHapticStartUpTime(int32_t mode, int32_t& startUpTime) = 0;
/drivers/peripheral/vibrator/test/unittest/hdi/
H A Dhdi_unittest_vibrator.cpp479 * @tc.name: GetHapticStartUpTime
484 HWTEST_F(HdiUnitTestVibrator, GetHapticStartUpTime, TestSize.Level1) in HWTEST_F()
491 int32_t startRet = g_vibratorInterface->GetHapticStartUpTime(mode, startUpTime); in HWTEST_F()
H A Dhdf_vibrator_hdi_test.cpp547 * @tc.name: GetHapticStartUpTime
552 HWTEST_F(HdfVibratorHdiTest, GetHapticStartUpTime, TestSize.Level1) in HWTEST_F()
558 int32_t startRet = g_vibratorInterface->GetHapticStartUpTime(mode, startUpTime); in HWTEST_F()

Completed in 7 milliseconds