Home
last modified time | relevance | path

Searched refs:ping (Results 1 – 21 of 21) sorted by relevance

/frameworks/native/services/vibratorservice/test/
DVibratorManagerHalControllerTest.cpp41 MOCK_METHOD(vibrator::HalResult<void>, ping, (), (override));
78 EXPECT_CALL(*mMockHal.get(), ping()) in setHalExpectations()
123 ASSERT_TRUE(mController->ping().isOk()); in TEST_F()
152 ASSERT_TRUE(mController->ping().isUnsupported()); in TEST_F()
171 ASSERT_TRUE(mController->ping().isFailed()); in TEST_F()
185 EXPECT_CALL(*mMockHal.get(), ping()) in TEST_F()
189 EXPECT_CALL(*mMockHal.get(), ping()) in TEST_F()
195 ASSERT_TRUE(mController->ping().isOk()); in TEST_F()
202 EXPECT_CALL(*mMockHal.get(), ping()) in TEST_F()
208 threads.push_back(std::thread([&]() { ASSERT_TRUE(mController->ping().isOk()); })); in TEST_F()
DVibratorHalControllerTest.cpp45 static const auto PING_FN = [](vibrator::HalWrapper* hal) { return hal->ping(); }; in __anon0a7ef88a0402()
55 MOCK_METHOD(vibrator::HalResult<void>, ping, (), (override));
162 EXPECT_CALL(*mMockHal.get(), ping()) in TEST_F()
166 EXPECT_CALL(*mMockHal.get(), ping()) in TEST_F()
181 EXPECT_CALL(*mMockHal.get(), ping()) in TEST_F()
222 EXPECT_CALL(*mMockHal.get(), ping()) in TEST_F()
226 EXPECT_CALL(*mMockHal.get(), ping()) in TEST_F()
DVibratorHalWrapperHidlV1_0Test.cpp50 MOCK_METHOD(hardware::Return<void>, ping, (), (override));
79 EXPECT_CALL(*mMockHal.get(), ping()) in TEST_F()
86 ASSERT_TRUE(mWrapper->ping().isOk()); in TEST_F()
87 ASSERT_TRUE(mWrapper->ping().isFailed()); in TEST_F()
DVibratorManagerHalWrapperLegacyTest.cpp67 ASSERT_TRUE(mWrapper->ping().isUnsupported()); in TEST_F()
DVibratorManagerHalWrapperAidlTest.cpp147 ASSERT_TRUE(mWrapper->ping().isOk()); in TEST_F()
148 ASSERT_TRUE(mWrapper->ping().isFailed()); in TEST_F()
DVibratorHalWrapperAidlTest.cpp139 ASSERT_TRUE(mWrapper->ping().isOk()); in TEST_F()
140 ASSERT_TRUE(mWrapper->ping().isFailed()); in TEST_F()
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp98 void ping(const Parcel& request, Parcel *reply);
108 ping(request, reply); in invoke()
115 void Player::ping(const Parcel& request, Parcel *reply) in ping() function in __anon5f9b7f910111::Player
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorManagerHalWrapper.h67 virtual HalResult<void> ping() = 0;
91 HalResult<void> ping() override final;
114 HalResult<void> ping() override final;
DVibratorManagerHalController.h56 HalResult<void> ping() override final;
DVibratorHalWrapper.h272 virtual HalResult<void> ping() = 0;
342 HalResult<void> ping() override final;
404 HalResult<void> ping() override final;
/frameworks/native/services/vibratorservice/
DVibratorManagerHalWrapper.cpp32 HalResult<void> LegacyManagerHalWrapper::ping() { in ping() function in android::vibrator::LegacyManagerHalWrapper
33 auto pingFn = [](HalWrapper* hal) { return hal->ping(); }; in ping()
95 HalResult<void> AidlManagerHalWrapper::ping() { in ping() function in android::vibrator::AidlManagerHalWrapper
DVibratorManagerHalController.cpp90 HalResult<void> ManagerHalController::ping() { in ping() function in android::vibrator::ManagerHalController
91 hal_fn<void> pingFn = [](std::shared_ptr<ManagerHalWrapper> hal) { return hal->ping(); }; in ping()
DVibratorHalWrapper.cpp271 HalResult<void> AidlHalWrapper::ping() { in ping() function in android::vibrator::AidlHalWrapper
480 HalResult<void> HidlHalWrapper<I>::ping() { in ping() function in android::vibrator::HidlHalWrapper
481 auto result = getHal()->ping(); in ping()
/frameworks/base/core/java/android/service/voice/
DIHotwordDetectionService.aidl64 void ping(in IRemoteCallback callback); in ping() method
DHotwordDetectionService.java201 public void ping(IRemoteCallback callback) throws RemoteException {
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp107 BENCHMARK_WRAPPER(VibratorBench, ping, {
110 auto ret = halCall<void>(mController, [](auto hal) { return hal->ping(); }); in __anon866670c60202()
/frameworks/hardware/interfaces/bufferhub/1.0/vts/functional/
DVtsHalBufferHubV1_0TargetTest.cpp164 ASSERT_TRUE(mBufferHub->ping().isOk()); in TEST_F()
/frameworks/native/services/inputflinger/
DInputClassifier.cpp304 if (mService->ping().isOk()) { in getServiceStatus()
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp212 auto pingFn = [](vibrator::HalWrapper* hal) { return hal->ping(); }; in vibratorIsAvailable()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordDetectionConnection.java893 connection.run(service -> service.ping(new IRemoteCallback.Stub() { in updateServiceIdentity()
/frameworks/native/cmds/lshal/
Dtest.cpp120 MOCK_METHOD0(ping, R<void>());