Searched refs:getSubscriberUid (Results 1 – 4 of 4) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/ |
D | VmsClientManagerTest.java | 804 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/ |
D | VmsPublisherServiceTest.java | 118 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/ |
D | VmsPublisherService.java | 200 int subscriberUid = mClientManager.getSubscriberUid(listener); in publish()
|
/packages/services/Car/service/src/com/android/car/vms/ |
D | VmsClientManager.java | 285 public int getSubscriberUid(IVmsSubscriberClient subscriberClient) { in getSubscriberUid() method in VmsClientManager
|