Home
last modified time | relevance | path

Searched refs:mSubscriberService (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsSubscriberServiceTest.java72 private VmsSubscriberService mSubscriberService; field in VmsSubscriberServiceTest
76 mSubscriberService = new VmsSubscriberService(mContext, mBrokerService, mClientManager, in setUp()
78 verify(mBrokerService).addSubscriberListener(eq(mSubscriberService)); in setUp()
79 verify(mHal).setVmsSubscriberService(eq(mSubscriberService)); in setUp()
89 mSubscriberService.addVmsSubscriberToNotifications(mSubscriberClient); in testAddVmsSubscriberToNotifications()
95 mSubscriberService.removeVmsSubscriberToNotifications(mSubscriberClient); in testRemoveVmsSubscriberToNotifications()
101 mSubscriberService.addVmsSubscriber(mSubscriberClient, LAYER); in testAddVmsSubscriber()
108 mSubscriberService.removeVmsSubscriber(mSubscriberClient, LAYER); in testRemoveVmsSubscriber()
115 mSubscriberService.addVmsSubscriberToPublisher(mSubscriberClient, LAYER, PUBLISHER_ID); in testAddVmsSubscriberToPublisher()
124 mSubscriberService.removeVmsSubscriberToPublisher(mSubscriberClient, LAYER, PUBLISHER_ID); in testRemoveVmsSubscriberToPublisher()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java97 private IVmsSubscriberService mSubscriberService; field in VmsHalServiceTest
114 mHalService.setVmsSubscriberService(mSubscriberService); in initHalService()
120 when(mSubscriberService.getAvailableLayers()).thenReturn( in initHalService()
127 Mockito.inOrder(mClientManager, mSubscriberService, mVehicleHal); in initHalService()
160 initOrder.verify(mSubscriberService).getAvailableLayers(); in initHalService()
169 reset(mClientManager, mSubscriberService, mVehicleHal); in initHalService()
181 when(mSubscriberService.getAvailableLayers()).thenReturn( in testCoreId_IntegerOverflow()
245 verify(mSubscriberService).addVmsSubscriber(mSubscriberClient, LAYER); in testHandleSubscribeEvent()
267 verify(mSubscriberService).addVmsSubscriberToPublisher(mSubscriberClient, LAYER, in testHandleSubscribeToPublisherEvent()
288 verify(mSubscriberService).removeVmsSubscriber(mSubscriberClient, LAYER); in testHandleUnsubscribeEvent()
[all …]
/packages/services/Car/service/src/com/android/car/hal/
DVmsHalService.java94 private IVmsSubscriberService mSubscriberService; field in VmsHalService
246 mSubscriberService = service; in setVmsSubscriberService()
289 if (mSubscriberService != null) { in release()
291 mSubscriberService.removeVmsSubscriberToNotifications(mSubscriberClient); in release()
308 + (mSubscriberService != null ? "registered" : "unregistered")); in dump()
437 if (mSubscriberService != null) { in handleStartSessionEvent()
441 mSubscriberService.getAvailableLayers()); in handleStartSessionEvent()
484 mSubscriberService.addVmsSubscriber(mSubscriberClient, vmsLayer); in handleSubscribeEvent()
506 mSubscriberService.addVmsSubscriberToPublisher(mSubscriberClient, vmsLayer, publisherId); in handleSubscribeToPublisherEvent()
521 mSubscriberService.removeVmsSubscriber(mSubscriberClient, vmsLayer); in handleUnsubscribeEvent()
[all …]