Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
DVmsClientManagerTest.java146 private IVmsSubscriberClient mSubscriberClient2; field in VmsClientManagerTest
213 when(mSubscriberClient2.asBinder()).thenReturn(mSubscriberBinder2); in setUp()
805 assertEquals(UNKNOWN_PACKAGE, mClientManager.getPackageName(mSubscriberClient2)); in testAddSubscriber()
806 assertEquals(-1, mClientManager.getSubscriberUid(mSubscriberClient2)); in testAddSubscriber()
817 assertEquals(UNKNOWN_PACKAGE, mClientManager.getPackageName(mSubscriberClient2)); in testAddSubscriber_SystemUser()
818 assertEquals(-1, mClientManager.getSubscriberUid(mSubscriberClient2)); in testAddSubscriber_SystemUser()
842 assertEquals(UNKNOWN_PACKAGE, mClientManager.getPackageName(mSubscriberClient2)); in testAddSubscriber_MultipleCalls()
843 assertEquals(-1, mClientManager.getSubscriberUid(mSubscriberClient2)); in testAddSubscriber_MultipleCalls()
849 mClientManager.addSubscriber(mSubscriberClient2); in testAddSubscriber_MultipleClients_SamePackage()
853 assertEquals(TEST_PACKAGE, mClientManager.getPackageName(mSubscriberClient2)); in testAddSubscriber_MultipleClients_SamePackage()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsPublisherServiceTest.java106 private IVmsSubscriberClient mSubscriberClient2; field in VmsPublisherServiceTest
119 when(mClientManager.getSubscriberUid(mSubscriberClient2)).thenReturn(SUBSCRIBER_UID2); in setUp()
129 .thenReturn(new HashSet<>(Arrays.asList(mSubscriberClient, mSubscriberClient2))); in setUp()
209 verify(mSubscriberClient2).onVmsMessageReceived(LAYER, PAYLOAD); in testPublish()
246 verify(mSubscriberClient2).onVmsMessageReceived(LAYER, PAYLOAD); in testPublish_ClientError()
DVmsSubscriberServiceTest.java70 private IVmsSubscriberClient mSubscriberClient2; field in VmsSubscriberServiceTest
158 .thenReturn(Arrays.asList(mSubscriberClient, mSubscriberClient2)); in testOnLayersAvailabilityChange()
162 verify(mSubscriberClient2).onLayersAvailabilityChanged(AVAILABLE_LAYERS); in testOnLayersAvailabilityChange()