Searched refs:mClusterHalService (Results 1 – 6 of 6) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | ClusterHalServiceTest.java | 87 private ClusterHalService mClusterHalService; field in ClusterHalServiceTest 145 mClusterHalService = new ClusterHalService(mMockContext, mVehicleHal); in setUp() 146 mClusterHalService.setCallback(mHalEventListener); in setUp() 151 mClusterHalService.release(); in tearDown() 152 mClusterHalService = null; in tearDown() 157 mClusterHalService.takeProperties(getCoreProperties()); in testIsServiceEnabled_fullMode_coreProperties() 159 assertThat(mClusterHalService.isServiceEnabled()).isTrue(); in testIsServiceEnabled_fullMode_coreProperties() 164 mClusterHalService.takeProperties(Arrays.asList( in testIsServiceEnabled_fullMode_partialProperties() 167 assertThat(mClusterHalService.isServiceEnabled()).isFalse(); in testIsServiceEnabled_fullMode_partialProperties() 172 mClusterHalService.takeProperties(Arrays.asList()); in testIsServiceEnabled_fullMode_noProperties() [all …]
|
D | VehicleHalTest.java | 119 @Mock private ClusterHalService mClusterHalService; field in VehicleHalTest 176 when(mClusterHalService.getAllSupportedProperties()).thenReturn(new int[0]); in initHalServices() 270 mDiagnosticHalService, mClusterHalService, mTimeHalService, 429 when(mClusterHalService.getAllSupportedProperties()).thenReturn(new int[0]); 460 when(mClusterHalService.getAllSupportedProperties()).thenReturn(new int[0]); 504 when(mClusterHalService.getAllSupportedProperties()).thenReturn(new int[0]); 583 assertThat(mVehicleHal.getClusterHal()).isEqualTo(mClusterHalService); 1566 mDiagnosticHalService, mClusterHalService, mTimeHalService, 1581 mDiagnosticHalService, mClusterHalService, mTimeHalService, 1600 mDiagnosticHalService, mClusterHalService, mTimeHalService, [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/ |
D | ClusterHomeServiceUnitTest.java | 89 private ClusterHalService mClusterHalService; field in ClusterHomeServiceUnitTest 147 when(mClusterHalService.isServiceEnabled()).thenReturn(true); in setUp() 148 when(mClusterHalService.isLightMode()).thenReturn(false); in setUp() 149 when(mClusterHalService.isNavigationStateSupported()).thenReturn(true); in setUp() 150 when(mClusterHalService.isHeartbeatSupported()).thenReturn(true); in setUp() 158 mClusterHomeService = new ClusterHomeService(mContext, mClusterHalService, in setUp() 199 when(mClusterHalService.isLightMode()).thenReturn(true); in init_lightMode_setsDisplayOn() 299 verify(mClusterHalService).sendNavigationState(navStateCaptor.capture()); in onNavigationStateChangedSendsNavigationState() 317 verify(mClusterHalService).sendNavigationState(navStateCaptor.capture()); in notifyNavContextOwnerChangedSendsNavigationState() 329 verify(mClusterHalService).reportState(/* onOff= */ anyInt(), /* bounds= */ any(Rect.class), in reportStateInvokesHal() [all …]
|
/packages/services/Car/service/src/com/android/car/cluster/ |
D | ClusterHomeService.java | 77 private final ClusterHalService mClusterHalService; field in ClusterHomeService 106 mClusterHalService = clusterHalService; in ClusterHomeService() 112 mClusterHealthMonitor = new ClusterHealthMonitor(mContext, mClusterHalService); in ClusterHomeService() 124 if (!mClusterHalService.isServiceEnabled()) { in init() 132 if (mClusterHalService.isLightMode()) { in init() 137 mClusterHalService.setCallback(this); in init() 193 mClusterHalService.setCallback(null); in release() 207 writer.printf("isLightMode: %b\n", mClusterHalService.isLightMode()); in dump() 291 if (!mClusterHalService.isNavigationStateSupported()) { in sendNavigationState() 295 mClusterHalService.sendNavigationState(protoBytes); in sendNavigationState() [all …]
|
D | ClusterHealthMonitor.java | 43 private final ClusterHalService mClusterHalService; field in ClusterHealthMonitor 58 mClusterHalService = clusterHalService; in ClusterHealthMonitor() 96 mClusterHalService.sendHeartbeat(epochTimeNs, visible ? 1 : 0, appMetadata); in sendHeartbeatInternal()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 112 private final ClusterHalService mClusterHalService; field in VehicleHal 279 mClusterHalService = clusterHalService != null in VehicleHal() 290 mClusterHalService, in VehicleHal() 576 return mClusterHalService; in getClusterHal()
|