Home
last modified time | relevance | path

Searched refs:getPublisherInfo (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsPublishersInfoTest.java41 assertArrayEquals(MOCK_INFO_1, mVmsPublishersInfo.getPublisherInfo(id)); in testSingleInfo()
46 assertEquals(0, mVmsPublishersInfo.getPublisherInfo(12345).length); in testSingleInfo_NoSuchId()
55 assertArrayEquals(MOCK_INFO_1, mVmsPublishersInfo.getPublisherInfo(id1)); in testTwoInfos()
56 assertArrayEquals(MOCK_INFO_2, mVmsPublishersInfo.getPublisherInfo(id2)); in testTwoInfos()
DVmsSubscriberServiceTest.java143 when(mBrokerService.getPublisherInfo(PUBLISHER_ID)).thenReturn(PUBLISHER_INFO); in testGetPublisherInfo()
144 assertThat(mSubscriberService.getPublisherInfo(PUBLISHER_ID)).isSameAs(PUBLISHER_INFO); in testGetPublisherInfo()
145 verify(mBrokerService).getPublisherInfo(PUBLISHER_ID); in testGetPublisherInfo()
/packages/services/Car/service/src/com/android/car/
DVmsSubscriberService.java127 public byte[] getPublisherInfo(int publisherId) { in getPublisherInfo() method in VmsSubscriberService
129 return mBrokerService.getPublisherInfo(publisherId); in getPublisherInfo()
DVmsPublishersInfo.java89 public byte[] getPublisherInfo(int publisherId) { in getPublisherInfo() method in VmsPublishersInfo
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsPublisherSubscriberTest.java72 assertEquals(0, mSubscriber.getPublisherInfo(UNKNOWN_PUBLISHER).length); in testPublisherInfo_Unregistered()
78 assertArrayEquals(PUBLISHER_INFO, mSubscriber.getPublisherInfo(publisherId)); in testPublisherInfo_Registered()
93 assertArrayEquals(PUBLISHER_INFO, mSubscriber.getPublisherInfo(publisherId)); in testPublisherId_MultiplePublishers()
94 assertArrayEquals(PUBLISHER_INFO_OTHER, mSubscriber.getPublisherInfo(publisherId2)); in testPublisherId_MultiplePublishers()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsSubscriberManager.java174 public byte[] getPublisherInfo(int publisherId) { in getPublisherInfo() method in VmsSubscriberManager
176 return mVmsSubscriberService.getPublisherInfo(publisherId); in getPublisherInfo()
DIVmsSubscriberService.aidl96 byte[] getPublisherInfo(in int publisherId) = 9; in getPublisherInfo() method
/packages/services/Car/service/src/com/android/car/vms/
DVmsBrokerService.java299 public byte[] getPublisherInfo(int publisherId) { in getPublisherInfo() method in VmsBrokerService
302 return mPublishersInfo.getPublisherInfo(publisherId); in getPublisherInfo()
/packages/services/Car/service/src/com/android/car/hal/
DVmsHalService.java591 appendBytes(vehicleProp.value.bytes, mSubscriberService.getPublisherInfo(publisherId)); in handlePublisherInfoRequest()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java365 when(mSubscriberService.getPublisherInfo(PUBLISHER_ID)).thenReturn(PAYLOAD); in testHandlePublisherInformationRequestEvent()
/packages/services/Car/car-lib/api/
Dsystem-current.txt1117 method @NonNull public byte[] getPublisherInfo(int);