Home
last modified time | relevance | path

Searched refs:mClusterHalService (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DClusterHalServiceTest.java77 private ClusterHalService mClusterHalService; field in ClusterHalServiceTest
107 mClusterHalService = new ClusterHalService(mVehicleHal); in setUp()
108 mClusterHalService.takeProperties(Arrays.asList( in setUp()
115 mClusterHalService.init(); in setUp()
116 mClusterHalService.setCallback(mHalEventListener); in setUp()
121 mClusterHalService.release(); in tearDown()
122 mClusterHalService = null; in tearDown()
127 assertThat(mClusterHalService.isCoreSupported()).isTrue(); in testInit_subscribeProperty()
128 verify(mVehicleHal).subscribeProperty(mClusterHalService, CLUSTER_SWITCH_UI); in testInit_subscribeProperty()
129 verify(mVehicleHal).subscribeProperty(mClusterHalService, CLUSTER_DISPLAY_STATE); in testInit_subscribeProperty()
[all …]
DVehicleHalTest.java93 @Mock private ClusterHalService mClusterHalService; field in VehicleHalTest
116 mDiagnosticHalService, mClusterHalService, mTimeHalService, mHalClient, in setUp()
160 when(mClusterHalService.getAllSupportedProperties()).thenReturn(new int[0]); in init()
273 when(mClusterHalService.getAllSupportedProperties()).thenReturn(new int[0]);
315 when(mClusterHalService.getAllSupportedProperties()).thenReturn(new int[0]);
359 when(mClusterHalService.getAllSupportedProperties()).thenReturn(new int[0]);
403 when(mClusterHalService.getAllSupportedProperties()).thenReturn(new int[0]);
453 assertThat(mVehicleHal.getClusterHal()).isEqualTo(mClusterHalService);
821 when(mClusterHalService.getAllSupportedProperties()).thenReturn(new int[0]);
912 mDiagnosticHalService, mClusterHalService, mTimeHalService,
[all …]
/packages/services/Car/service/src/com/android/car/cluster/
DClusterHomeService.java74 private final ClusterHalService mClusterHalService; field in ClusterHomeService
102 mClusterHalService = clusterHalService; in ClusterHomeService()
119 if (!mClusterHalService.isCoreSupported()) { in init()
125 mClusterHalService.setCallback(this); in init()
179 mClusterHalService.setCallback(null); in release()
258 if (!mClusterHalService.isNavigationStateSupported()) { in sendNavigationState()
262 mClusterHalService.sendNavigationState(protoBytes); in sendNavigationState()
288 mClusterHalService.reportState(mOnOff, mBounds, mInsets, in reportState()
298 mClusterHalService.requestDisplay(uiType); in requestDisplay()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/
DClusterHomeServiceUnitTest.java83 private ClusterHalService mClusterHalService; field in ClusterHomeServiceUnitTest
134 when(mClusterHalService.isCoreSupported()).thenReturn(true); in setUp()
135 when(mClusterHalService.isNavigationStateSupported()).thenReturn(true); in setUp()
143 mClusterHomeService = new ClusterHomeService(mContext, mClusterHalService, in setUp()
275 verify(mClusterHalService).sendNavigationState(navStateCaptor.capture()); in onNavigationStateChangedSendsNavigationState()
293 verify(mClusterHalService).sendNavigationState(navStateCaptor.capture()); in notifyNavContextOwnerChangedSendsNavigationState()
305 verify(mClusterHalService).reportState(/* onOff= */ anyInt(), /* bounds= */ any(Rect.class), in reportStateInvokesHal()
315 verify(mClusterHalService).requestDisplay(eq(UI_TYPE_CLUSTER_MAPS)); in requestDisplayInvokesHal()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java93 private final ClusterHalService mClusterHalService; field in VehicleHal
160 mClusterHalService = clusterHalService != null in VehicleHal()
171 mClusterHalService, in VehicleHal()
314 return mClusterHalService; in getClusterHal()