Searched refs:HAL_CLIENT_NAME (Results 1 – 2 of 2) sorted by relevance
/packages/services/Car/service/src/com/android/car/vms/ |
D | VmsClientManager.java | 67 private static final String HAL_CLIENT_NAME = "HalClient"; field in VmsClientManager 192 mPublisherService.onClientDisconnected(HAL_CLIENT_NAME); in release() 309 mPublisherService.onClientConnected(HAL_CLIENT_NAME, mHalClient); in onHalConnected() 311 new SubscriberConnection(subscriberClient, Process.myUid(), HAL_CLIENT_NAME, in onHalConnected() 324 mPublisherService.onClientDisconnected(HAL_CLIENT_NAME); in onHalDisconnected() 330 .filter(subscriber -> HAL_CLIENT_NAME.equals(subscriber.mPackageName))); in onHalDisconnected()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/ |
D | VmsClientManagerTest.java | 97 private static final String HAL_CLIENT_NAME = "HalClient"; field in VmsClientManagerTest 976 assertEquals(HAL_CLIENT_NAME, mClientManager.getPackageName(subscriberClient)); in testOnUserSwitch_RemoveSubscriber_RetainHalClient() 984 verify(mPublisherService).onClientConnected(eq(HAL_CLIENT_NAME), same(publisherClient)); in testHalClientConnected() 987 assertEquals(HAL_CLIENT_NAME, mClientManager.getPackageName(subscriberClient)); in testHalClientConnected() 997 verify(mPublisherService).onClientConnected(eq(HAL_CLIENT_NAME), same(publisherClient)); in testHalClientConnected_AfterAddSubscriber() 1000 assertEquals(HAL_CLIENT_NAME, mClientManager.getPackageName(subscriberClient)); in testHalClientConnected_AfterAddSubscriber() 1012 verify(mPublisherService).onClientDisconnected(eq(HAL_CLIENT_NAME)); in testOnHalClientDisconnected() 1022 verify(mPublisherService, never()).onClientDisconnected(eq(HAL_CLIENT_NAME)); in testOnHalClientDisconnected_NotConnected()
|