Searched refs:mMockHal (Results 1 – 2 of 2) sorted by relevance
121 private MockOasHal mMockHal; field in OccupantAwarenessServiceTest130 mMockHal = new MockOasHal(); in setUp()131 mOasService = new com.android.car.OccupantAwarenessService(context, mMockHal); in setUp()145 mMockHal.fireStatusEvent(IOccupantAwareness.CAP_NONE, OccupantAwarenessStatus.READY); in testWithNoRegisteredListeners()159 mMockHal.fireStatusEvent( in testRegisterEventListener_returnsSystemStatusReady()174 mMockHal.fireStatusEvent( in testRegisterEventListener_returnsSystemStatusFailure()189 mMockHal.fireStatusEvent( in testRegisterEventListener_returnsSystemStatusNotReady()206 mMockHal.fireStatusEvent( in testRegisterEventListener_returnsSystemStatusNotSupported()226 mMockHal.fireStatusEvent(IOccupantAwareness.CAP_NONE, OccupantAwarenessStatus.READY); in test_unregisteredListeners()227 mMockHal.fireStatusEvent( in test_unregisteredListeners()[all …]
52 private VehicleHal mMockHal; field in CarFeatureControllerUnitTest75 when(mMockHal.getIfSupportedOrFailForEarlyStage( in testIsFeatureEnabled_enabled()79 new CarFeatureController(mContext, mTestDir.getDirectory(), mMockHal); in testIsFeatureEnabled_enabled()91 when(mMockHal.getIfSupportedOrFailForEarlyStage( in testIsFeatureEnabled_disabled()95 new CarFeatureController(mContext, mTestDir.getDirectory(), mMockHal); in testIsFeatureEnabled_disabled()