Searched refs:publisherId (Results 1 – 6 of 6) sorted by relevance
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsPublisherSubscriberTest.java | 82 int publisherId = mPublisher.getPublisherId(PUBLISHER_INFO); in testPublisherInfo_Registered() local 83 assertArrayEquals(PUBLISHER_INFO, mSubscriber.getPublisherInfo(publisherId)); in testPublisherInfo_Registered() 88 int publisherId = mPublisher.getPublisherId(PUBLISHER_INFO); in testPublisherId_AlreadyRegistered() local 90 assertEquals(publisherId, publisherId2); in testPublisherId_AlreadyRegistered() 95 int publisherId = mPublisher.getPublisherId(PUBLISHER_INFO); in testPublisherId_MultiplePublishers() local 97 assertNotEquals(publisherId, publisherId2); in testPublisherId_MultiplePublishers() 98 assertArrayEquals(PUBLISHER_INFO, mSubscriber.getPublisherInfo(publisherId)); in testPublisherId_MultiplePublishers() 111 int publisherId = mPublisher.getPublisherId(PUBLISHER_INFO); in testLayerAvailability() local 113 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability() 116 new VmsAssociatedLayer(SUBSCRIPTION_LAYER, Collections.singleton(publisherId))); in testLayerAvailability() [all …]
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VmsHalService.java | 410 int publisherId = parsePublisherIdFromMessage(message); in handleDataEvent() local 413 "Handling a data event for Layer: " + vmsLayer + " Publisher: " + publisherId); in handleDataEvent() 415 getVmsClient().publishPacket(publisherId, vmsLayer, payload); in handleDataEvent() 445 int publisherId = parsePublisherIdFromMessage(message); in handleSubscribeToPublisherEvent() local 448 + " Publisher: " + publisherId); in handleSubscribeToPublisherEvent() 450 mSubscriptionHelper.subscribe(vmsLayer, publisherId); in handleSubscribeToPublisherEvent() 480 int publisherId = parsePublisherIdFromMessage(message); in handleUnsubscribeFromPublisherEvent() local 483 + " Publisher: " + publisherId); in handleUnsubscribeFromPublisherEvent() 485 mSubscriptionHelper.unsubscribe(vmsLayer, publisherId); in handleUnsubscribeFromPublisherEvent() 533 int publisherId = message.get(VmsPublisherInformationIntegerValuesIndex.PUBLISHER_ID); in handlePublisherInfoRequest() local [all …]
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsSubscriberManager.java | 155 public byte[] getPublisherInfo(int publisherId) { in getPublisherInfo() argument 156 byte[] publisherInfo = getVmsClient().getProviderDescription(publisherId); in getPublisherInfo() 189 public void subscribe(@NonNull VmsLayer layer, int publisherId) { in subscribe() argument 190 mSubscriptionHelper.subscribe(layer, publisherId); in subscribe() 219 public void unsubscribe(@NonNull VmsLayer layer, int publisherId) { in unsubscribe() argument 220 mSubscriptionHelper.unsubscribe(layer, publisherId); in unsubscribe()
|
D | VmsOperationRecorder.java | 82 public void subscribe(VmsLayer layer, int publisherId) { in subscribe() argument 83 recordOp("subscribe", "publisherId", publisherId, layer); in subscribe() 90 public void unsubscribe(VmsLayer layer, int publisherId) { in unsubscribe() argument 91 recordOp("unsubscribe", "publisherId", publisherId, layer); in unsubscribe() 119 public void getPublisherId(int publisherId) { in getPublisherId() argument 120 recordOp("getPublisherId", "publisherId", publisherId); in getPublisherId()
|
D | VmsLayersOffering.java | 94 int publisherId) { in VmsLayersOffering() argument 98 this.mPublisherId = publisherId; in VmsLayersOffering() 182 int publisherId = in.readInt(); in VmsLayersOffering() local 187 this.mPublisherId = publisherId; in VmsLayersOffering()
|
D | VmsPublisherClientService.java | 138 public final void publish(@NonNull VmsLayer layer, int publisherId, byte[] payload) { in publish() argument 139 getVmsClient().publishPacket(publisherId, layer, payload); in publish()
|