Home
last modified time | relevance | path

Searched refs:mClusterHomeManager (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/tests/CarLibUnitTest/src/android/car/cluster/
DClusterHomeManagerUnitTest.java100 private ClusterHomeManager mClusterHomeManager; field in ClusterHomeManagerUnitTest
111 mClusterHomeManager = new ClusterHomeManager(mCar, mBinder); in setup()
119 ClusterState clusterState = mClusterHomeManager.getClusterState(); in getClusterState_serviceFailure()
131 mClusterHomeManager.registerClusterStateListener(mCurrentThreadExecutor, in registerClusterStateListener_serviceFailure()
143 mClusterHomeManager.registerClusterNavigationStateListener(mCurrentThreadExecutor, in registerClusterNavigationStateListener_serviceFailure()
153 mClusterHomeManager.registerClusterStateListener(mCurrentThreadExecutor, in registerClusterStateListener_callbackAlreadyRegistered_doNothing()
156 mClusterHomeManager.registerClusterStateListener(mCurrentThreadExecutor, in registerClusterStateListener_callbackAlreadyRegistered_doNothing()
167 mClusterHomeManager.registerClusterNavigationStateListener(mCurrentThreadExecutor, in registerClusterNavigationStateListener_callbackAlreadyRegistered_doNothing()
170 mClusterHomeManager.registerClusterNavigationStateListener(mCurrentThreadExecutor, in registerClusterNavigationStateListener_callbackAlreadyRegistered_doNothing()
187 mClusterHomeManager.registerClusterNavigationStateListener(mCurrentThreadExecutor, in onNavigationStateChanged_callsCallbacks()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/cluster/
DClusterHomeManagerTest.java94 private ClusterHomeManager mClusterHomeManager; field in ClusterHomeManagerTest
167 mClusterHomeManager = (ClusterHomeManager) getCar().getCarManager(Car.CLUSTER_HOME_SERVICE); in setUp()
168 if (!isNoHalPropertyTest() && mClusterHomeManager != null) { in setUp()
169 mClusterHomeManager.registerClusterStateListener( in setUp()
172 mClusterHomeManager.registerClusterNavigationStateListener( in setUp()
189 if (!isNoHalPropertyTest() && mClusterHomeManager != null) { in tearDown()
190 mClusterHomeManager.unregisterClusterStateListener(mClusterStateListener); in tearDown()
191 mClusterHomeManager in tearDown()
238 ClusterState state2 = mClusterHomeManager.getClusterState(); in testClusterState()
271 mClusterHomeManager.reportState(UI_TYPE_1, UI_TYPE_2, UI_AVAILABILITY); in testClusterReportState()
[all …]
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/calmmode/
DNavigationStateViewModel.java42 private ClusterHomeManager mClusterHomeManager; field in NavigationStateViewModel
54 mClusterHomeManager = (ClusterHomeManager) mCar.getCarManager(Car.CLUSTER_HOME_SERVICE); in NavigationStateViewModel()
55 if (mClusterHomeManager == null) { in NavigationStateViewModel()
62 mClusterHomeManager.registerClusterNavigationStateListener( in NavigationStateViewModel()
125 if (mClusterHomeManager != null) { in onCleared()
126 mClusterHomeManager.unregisterClusterNavigationStateListener(this); in onCleared()
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/
DClusterHomeActivityLightMode.java29 private ClusterHomeManager mClusterHomeManager; field in ClusterHomeActivityLightMode
49 mClusterHomeManager = (ClusterHomeManager) car.getCarManager(ClusterHomeManager.class); in onCreate()
56 mClusterHomeManager.startVisibilityMonitoring(this); in onStart()
72 mClusterHomeManager.sendHeartbeat(System.nanoTime(), /* appMetadata= */ null); in sendHeartbeats()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/cluster/
DClusterDisplayController.java57 private ClusterHomeManager mClusterHomeManager; field in ClusterDisplayController
84 mClusterHomeManager = (ClusterHomeManager) car.getCarManager(
86 if (mClusterHomeManager == null) {
90 mClusterHomeManager.registerClusterStateListener(mMainExecutor,
93 mClusterState = mClusterHomeManager.getClusterState();
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/calmmode/
DNavigationStateViewModelTest.java52 private ClusterHomeManager mClusterHomeManager; field in NavigationStateViewModelTest
86 when(mCar.getCarManager(eq(Car.CLUSTER_HOME_SERVICE))).thenReturn(mClusterHomeManager); in setUp()
97 verify(mClusterHomeManager).registerClusterNavigationStateListener(any(), any()); in constructor_viewModelCreateSuccess()
193 verify(mClusterHomeManager).unregisterClusterNavigationStateListener(any()); in onCleared_testCarDisconnects()