Home
last modified time | relevance | path

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

/packages/services/Car/cpp/powerpolicy/server/tests/
DCarPowerPolicyServerTest.cpp408 std::shared_ptr<ICarPowerPolicyChangeCallback> callbackTwo = getPowerPolicyChangeCallback(); in TEST_F() local
409 server->expectLinkToDeathStatus(callbackTwo->asBinder().get(), STATUS_OK); in TEST_F()
411 status = server->registerPowerPolicyChangeCallback(callbackTwo, filter); in TEST_F()
/packages/modules/Profiling/tests/cts/src/android/profiling/cts/
DProfilingServiceTests.java177 ProfilingResultCallback callbackTwo = new ProfilingResultCallback(); in testRequestProfiling_MultipleCallbackTriggered() local
181 mProfilingService.registerResultsCallback(true, callbackTwo); in testRequestProfiling_MultipleCallbackTriggered()
186 assertEquals(callbackTwo, in testRequestProfiling_MultipleCallbackTriggered()
196 assertTrue(callbackTwo.mResultSent); in testRequestProfiling_MultipleCallbackTriggered()
/packages/services/Car/cpp/vhal/client/test/
DHidlVhalClientTest.cpp310 auto callbackTwo = std::make_shared<HidlVhalClient::OnBinderDiedCallbackFunc>( in TEST_F() local
313 getClient()->addOnBinderDiedCallback(callbackTwo); in TEST_F()
DAidlVhalClientTest.cpp790 auto callbackTwo = std::make_shared<AidlVhalClient::OnBinderDiedCallbackFunc>( in TEST_F() local
793 getClient()->addOnBinderDiedCallback(callbackTwo); in TEST_F()