Home
last modified time | relevance | path

Searched refs:callback1 (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java313 GenericHalCallback<InitialUserInfoResponse> callback1 = new GenericHalCallback<>( in testGetUserInfo_secondCallFailWhilePending() local
318 callback1); in testGetUserInfo_secondCallFailWhilePending()
322 callback1.assertCalled(); in testGetUserInfo_secondCallFailWhilePending()
323 assertCallbackStatus(callback1, HalCallback.STATUS_HAL_RESPONSE_TIMEOUT); in testGetUserInfo_secondCallFailWhilePending()
324 assertThat(callback1.response).isNull(); in testGetUserInfo_secondCallFailWhilePending()
328 assertThat(callback1.response).isNull(); in testGetUserInfo_secondCallFailWhilePending()
645 GenericHalCallback<SwitchUserResponse> callback1 = new GenericHalCallback<>( in testSwitchUser_secondCallFailWhilePending() local
650 callback1); in testSwitchUser_secondCallFailWhilePending() local
654 callback1.assertCalled(); in testSwitchUser_secondCallFailWhilePending()
655 assertCallbackStatus(callback1, HalCallback.STATUS_HAL_RESPONSE_TIMEOUT); in testSwitchUser_secondCallFailWhilePending()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPropertyManagerTest.java319 TestErrorCallback callback1 = new TestErrorCallback(); in testNotReceiveOnErrorEventAfterUnregister() local
320 mManager.registerCallback(callback1, VehiclePropertyIds.HVAC_TEMPERATURE_SET, in testNotReceiveOnErrorEventAfterUnregister()
322 callback1.assertRegisterCompleted(); in testNotReceiveOnErrorEventAfterUnregister()
329 mManager.unregisterCallback(callback1, VehiclePropertyIds.HVAC_TEMPERATURE_SET); in testNotReceiveOnErrorEventAfterUnregister()
334 callback1.assertOnErrorEventNotCalled(); in testNotReceiveOnErrorEventAfterUnregister()