Searched refs:mPublisherService (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | VmsPublisherServiceTest.java | 108 private VmsPublisherService mPublisherService; field in VmsPublisherServiceTest 114 mPublisherService = new VmsPublisherService(mContext, mStatsService, mBrokerService, in setUp() 116 verify(mClientManager).setPublisherService(mPublisherService); in setUp() 139 mPublisherService.init(); in testInit() 144 mPublisherService.onClientConnected("SomeClient", mPublisherClient); in testOnClientConnected() 145 mPublisherService.onClientConnected("SomeOtherClient", mPublisherClient2); in testOnClientConnected() 148 assertNotNull(mPublisherClient.mPublisherService); in testOnClientConnected() 149 assertSame(mPublisherClient.mPublisherService, mProxyCaptor.getAllValues().get(0)); in testOnClientConnected() 151 assertNotNull(mPublisherClient2.mPublisherService); in testOnClientConnected() 152 assertSame(mPublisherClient2.mPublisherService, mProxyCaptor.getAllValues().get(1)); in testOnClientConnected() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/ |
D | VmsClientManagerTest.java | 135 private VmsPublisherService mPublisherService; field in VmsClientManagerTest 207 mClientManager.setPublisherService(mPublisherService); in setUp() 223 verifyNoMoreInteractions(mContext, mBrokerService, mHal, mPublisherService, mHandler); in tearDown() 512 reset(mPublisherService); in testOnSystemServiceDisconnected() 515 verify(mPublisherService).onClientDisconnected(eq(SYSTEM_CLIENT_NAME)); in testOnSystemServiceDisconnected() 534 reset(mPublisherService, mSystemClientLog); in testOnSystemServiceDisconnected_ServiceReboundByAndroid() 537 verify(mPublisherService).onClientDisconnected(eq(SYSTEM_CLIENT_NAME)); in testOnSystemServiceDisconnected_ServiceReboundByAndroid() 559 reset(mPublisherService); in testOnSystemServiceBindingDied() 562 verify(mPublisherService).onClientDisconnected(eq(SYSTEM_CLIENT_NAME)); in testOnSystemServiceBindingDied() 579 verifyZeroInteractions(mPublisherService); in testOnSystemServiceBindingDied_ServiceNotConnected() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VmsHalServiceTest.java | 95 private IVmsPublisherService mPublisherService; field in VmsHalServiceTest 158 mPublisherClient.setVmsPublisherService(mToken, mPublisherService); in initHalService() 225 verify(mPublisherService).publish(mToken, LAYER, PUBLISHER_ID, PAYLOAD); in testHandleDataEvent() 334 when(mPublisherService.getPublisherId(PAYLOAD)).thenReturn(PUBLISHER_ID); in testHandlePublisherIdRequestEvent() 406 verify(mPublisherService).setLayersOffering( in testHandleOfferingEvent_ZeroOfferings() 423 verify(mPublisherService).setLayersOffering( in testHandleOfferingEvent_LayerOnly() 442 verify(mPublisherService).setLayersOffering( in testHandleOfferingEvent_LayerAndDependency() 471 verify(mPublisherService).setLayersOffering( in testHandleOfferingEvent_MultipleLayersAndDependencies() 748 when(mPublisherService.getSubscriptions()).thenReturn( in testHandleSubscriptionsRequestEvent_ZeroLayers() 769 when(mPublisherService.getSubscriptions()).thenReturn( in testHandleSubscriptionsRequestEvent_OneLayer_ZeroAssociatedLayers() [all …]
|
/packages/services/Car/service/src/com/android/car/vms/ |
D | VmsClientManager.java | 84 private VmsPublisherService mPublisherService; field in VmsClientManager 177 mPublisherService = publisherService; in setPublisherService() 192 mPublisherService.onClientDisconnected(HAL_CLIENT_NAME); in release() 309 mPublisherService.onClientConnected(HAL_CLIENT_NAME, mHalClient); in onHalConnected() 324 mPublisherService.onClientDisconnected(HAL_CLIENT_NAME); in onHalDisconnected() 526 mPublisherService.onClientDisconnected(mFullName); in notifyOnDisconnect() 536 mPublisherService.onClientConnected(mFullName, mClientService); in onServiceConnected()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VmsHalService.java | 92 private IVmsPublisherService mPublisherService; field in VmsHalService 103 mPublisherService = service; 304 + (mPublisherService != null ? "registered " : "unregistered")); in dump() 469 mPublisherService.publish(mPublisherToken, vmsLayer, publisherId, payload); in handleDataEvent() 564 vehicleProp.value.int32Values.add(mPublisherService.getPublisherId(payload)); in handlePublisherIdRequest() 651 mPublisherService.setLayersOffering(mPublisherToken, offering); in handleOfferingEvent() 675 mPublisherService.getSubscriptions())); in handleSubscriptionsRequestEvent()
|