Searched refs:g_vibratorInterface (Results 1 – 7 of 7) sorted by relevance
42 sptr<IVibratorInterface> g_vibratorInterface = nullptr; variable55 g_vibratorInterface = IVibratorInterface::Get(); in SetUpTestCase()78 ASSERT_NE(nullptr, g_vibratorInterface);90 ASSERT_NE(nullptr, g_vibratorInterface);92 int32_t startRet = g_vibratorInterface->StartOnce(g_duration);97 int32_t endRet = g_vibratorInterface->Stop(HDF_VIBRATOR_MODE_ONCE);110 ASSERT_NE(nullptr, g_vibratorInterface);112 int32_t startRet = g_vibratorInterface->StartOnce(g_noDuration);115 int32_t endRet = g_vibratorInterface->Stop(HDF_VIBRATOR_MODE_ONCE);128 ASSERT_NE(nullptr, g_vibratorInterface);[all …]
40 sptr<IVibratorInterface> g_vibratorInterface = nullptr; variable50 g_vibratorInterface = IVibratorInterface::Get(); in SetUp()65 ASSERT_NE(nullptr, g_vibratorInterface); in BENCHMARK_F()70 startRet = g_vibratorInterface->StartOnce(g_duration); in BENCHMARK_F()73 endRet = g_vibratorInterface->Stop(HDF_VIBRATOR_MODE_ONCE); in BENCHMARK_F()89 ASSERT_NE(nullptr, g_vibratorInterface); in BENCHMARK_F()94 startRet = g_vibratorInterface->Start(g_timeSequence); in BENCHMARK_F()97 endRet = g_vibratorInterface->Stop(HDF_VIBRATOR_MODE_PRESET); in BENCHMARK_F()113 ASSERT_NE(nullptr, g_vibratorInterface); in BENCHMARK_F()118 startRet = g_vibratorInterface->Start(g_builtIn); in BENCHMARK_F()[all …]
34 sptr<IVibratorInterface> g_vibratorInterface = nullptr; variable47 g_vibratorInterface = IVibratorInterface::Get(); in SetUpTestCase()48 if (g_vibratorInterface == nullptr) { in SetUpTestCase()78 int ret = g_vibratorInterface->StartOnce(VIBRATOR_DURATION);79 int endRet = g_vibratorInterface->Stop(HDF_VIBRATOR_MODE_ONCE);102 int ret = g_vibratorInterface->Start(g_timeSequence);103 int endRet = g_vibratorInterface->Stop(HDF_VIBRATOR_MODE_PRESET);126 int ret = g_vibratorInterface->Start(g_builtIn);127 int endRet = g_vibratorInterface->Stop(HDF_VIBRATOR_MODE_PRESET);
26 sptr<IVibratorInterface> g_vibratorInterface = IVibratorInterface::Get(); in VibratorStopFuzzTest() local27 if (!g_vibratorInterface->Start(reinterpret_cast<const std::string &>(data))) { in VibratorStopFuzzTest()31 if (!g_vibratorInterface->Stop(mode)) { in VibratorStopFuzzTest()
56 sptr<IVibratorInterface> g_vibratorInterface = IVibratorInterface::Get(false); in DoSomethingInterestingWithMyAPI() local57 if (g_vibratorInterface == nullptr) { in DoSomethingInterestingWithMyAPI()61 sptr<VibratorInterfaceStub> vibratorInterface = new VibratorInterfaceStub(g_vibratorInterface); in DoSomethingInterestingWithMyAPI()
26 sptr<IVibratorInterface> g_vibratorInterface = IVibratorInterface::Get(); in VibratorStartOnceFuzzTest() local27 if (!g_vibratorInterface->StartOnce(*(uint32_t *)data)) { in VibratorStartOnceFuzzTest()
26 sptr<IVibratorInterface> g_vibratorInterface = IVibratorInterface::Get(); in VibratorStartFuzzTest() local27 if (!g_vibratorInterface->Start(reinterpret_cast<const std::string &>(data))) { in VibratorStartFuzzTest()