Searched refs:subscriberClient (Results 1 – 2 of 2) sorted by relevance
225 public void addSubscriber(IVmsSubscriberClient subscriberClient) { in addSubscriber() argument226 if (subscriberClient == null) { in addSubscriber()233 IBinder subscriberBinder = subscriberClient.asBinder(); in addSubscriber()246 subscriberClient, callingUid, getCallingPackage(callingUid), subscriberUserId); in addSubscriber()262 public void removeSubscriber(IVmsSubscriberClient subscriberClient) { in removeSubscriber() argument264 SubscriberConnection subscriber = mSubscribers.get(subscriberClient.asBinder()); in removeSubscriber()285 public int getSubscriberUid(IVmsSubscriberClient subscriberClient) { in getSubscriberUid() argument287 SubscriberConnection subscriber = mSubscribers.get(subscriberClient.asBinder()); in getSubscriberUid()295 public String getPackageName(IVmsSubscriberClient subscriberClient) { in getPackageName() argument297 SubscriberConnection subscriber = mSubscribers.get(subscriberClient.asBinder()); in getPackageName()[all …]
968 IVmsSubscriberClient subscriberClient = createSubscriberClient(); in testOnUserSwitch_RemoveSubscriber_RetainHalClient() local969 mClientManager.onHalConnected(publisherClient, subscriberClient); in testOnUserSwitch_RemoveSubscriber_RetainHalClient()975 verify(mBrokerService, never()).removeDeadSubscriber(subscriberClient); in testOnUserSwitch_RemoveSubscriber_RetainHalClient()976 assertEquals(HAL_CLIENT_NAME, mClientManager.getPackageName(subscriberClient)); in testOnUserSwitch_RemoveSubscriber_RetainHalClient()982 IVmsSubscriberClient subscriberClient = createSubscriberClient(); in testHalClientConnected() local983 mClientManager.onHalConnected(publisherClient, subscriberClient); in testHalClientConnected()986 assertTrue(mClientManager.getAllSubscribers().contains(subscriberClient)); in testHalClientConnected()987 assertEquals(HAL_CLIENT_NAME, mClientManager.getPackageName(subscriberClient)); in testHalClientConnected()993 IVmsSubscriberClient subscriberClient = createSubscriberClient(); in testHalClientConnected_AfterAddSubscriber() local994 mClientManager.addSubscriber(subscriberClient); in testHalClientConnected_AfterAddSubscriber()[all …]