Home
last modified time | relevance | path

Searched refs:getSubscriberUid (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
DVmsClientManagerTest.java804 assertEquals(mCallingAppUid, mClientManager.getSubscriberUid(mSubscriberClient1)); in testAddSubscriber()
806 assertEquals(-1, mClientManager.getSubscriberUid(mSubscriberClient2)); in testAddSubscriber()
816 assertEquals(mCallingAppUid, mClientManager.getSubscriberUid(mSubscriberClient1)); in testAddSubscriber_SystemUser()
818 assertEquals(-1, mClientManager.getSubscriberUid(mSubscriberClient2)); in testAddSubscriber_SystemUser()
832 assertEquals(-1, mClientManager.getSubscriberUid(mSubscriberClient1)); in testAddSubscriber_NotForegroundUser()
841 assertEquals(mCallingAppUid, mClientManager.getSubscriberUid(mSubscriberClient1)); in testAddSubscriber_MultipleCalls()
843 assertEquals(-1, mClientManager.getSubscriberUid(mSubscriberClient2)); in testAddSubscriber_MultipleCalls()
852 assertEquals(mCallingAppUid, mClientManager.getSubscriberUid(mSubscriberClient1)); in testAddSubscriber_MultipleClients_SamePackage()
854 assertEquals(mCallingAppUid, mClientManager.getSubscriberUid(mSubscriberClient2)); in testAddSubscriber_MultipleClients_SamePackage()
868 assertEquals(clientUid1, mClientManager.getSubscriberUid(mSubscriberClient1)); in testAddSubscriber_MultipleClients_ForegroundAndSystemUsers_SamePackage()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsPublisherServiceTest.java118 when(mClientManager.getSubscriberUid(mSubscriberClient)).thenReturn(SUBSCRIBER_UID); in setUp()
119 when(mClientManager.getSubscriberUid(mSubscriberClient2)).thenReturn(SUBSCRIBER_UID2); in setUp()
/packages/services/Car/service/src/com/android/car/
DVmsPublisherService.java200 int subscriberUid = mClientManager.getSubscriberUid(listener); in publish()
/packages/services/Car/service/src/com/android/car/vms/
DVmsClientManager.java285 public int getSubscriberUid(IVmsSubscriberClient subscriberClient) { in getSubscriberUid() method in VmsClientManager