Home
last modified time | relevance | path

Searched refs:callbackOne (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/cpp/powerpolicy/server/tests/
DCarPowerPolicyServerTest.cpp396 std::shared_ptr<ICarPowerPolicyChangeCallback> callbackOne = getPowerPolicyChangeCallback(); in TEST_F() local
397 server->expectLinkToDeathStatus(callbackOne->asBinder().get(), STATUS_OK); in TEST_F()
400 ScopedAStatus status = server->registerPowerPolicyChangeCallback(callbackOne, filter); in TEST_F()
402 status = server->registerPowerPolicyChangeCallback(callbackOne, filter); in TEST_F()
405 status = server->registerPowerPolicyChangeCallback(callbackOne, filter); in TEST_F()
427 std::shared_ptr<ICarPowerPolicyChangeCallback> callbackOne = getPowerPolicyChangeCallback(); in TEST_F() local
428 server->expectLinkToDeathStatus(callbackOne->asBinder().get(), STATUS_OK); in TEST_F()
431 ScopedAStatus status = server->registerPowerPolicyChangeCallback(callbackOne, filter); in TEST_F()
/packages/services/Car/cpp/vhal/client/test/
DHidlVhalClientTest.cpp308 auto callbackOne = std::make_shared<HidlVhalClient::OnBinderDiedCallbackFunc>( in TEST_F() local
312 getClient()->addOnBinderDiedCallback(callbackOne); in TEST_F()
314 getClient()->removeOnBinderDiedCallback(callbackOne); in TEST_F()
DAidlVhalClientTest.cpp788 auto callbackOne = std::make_shared<AidlVhalClient::OnBinderDiedCallbackFunc>( in TEST_F() local
792 getClient()->addOnBinderDiedCallback(callbackOne); in TEST_F()
794 getClient()->removeOnBinderDiedCallback(callbackOne); in TEST_F()
/packages/modules/Profiling/tests/cts/src/android/profiling/cts/
DProfilingServiceTests.java176 ProfilingResultCallback callbackOne = new ProfilingResultCallback(); in testRequestProfiling_MultipleCallbackTriggered() local
180 mProfilingService.registerResultsCallback(true, callbackOne); in testRequestProfiling_MultipleCallbackTriggered()
184 assertEquals(callbackOne, in testRequestProfiling_MultipleCallbackTriggered()
195 assertTrue(callbackOne.mResultSent); in testRequestProfiling_MultipleCallbackTriggered()