/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 | 431 int publisherId = parsePublisherIdFromMessage(message); in handleDataEvent() local 434 "Handling a data event for Layer: " + vmsLayer + " Publisher: " + publisherId); in handleDataEvent() 440 getVmsClient().publishPacket(publisherId, vmsLayer, payload); in handleDataEvent() 470 int publisherId = parsePublisherIdFromMessage(message); in handleSubscribeToPublisherEvent() local 473 + " Publisher: " + publisherId); in handleSubscribeToPublisherEvent() 475 mSubscriptionHelper.subscribe(vmsLayer, publisherId); in handleSubscribeToPublisherEvent() 505 int publisherId = parsePublisherIdFromMessage(message); in handleUnsubscribeFromPublisherEvent() local 508 + " Publisher: " + publisherId); in handleUnsubscribeFromPublisherEvent() 510 mSubscriptionHelper.unsubscribe(vmsLayer, publisherId); in handleUnsubscribeFromPublisherEvent() 539 int publisherId = getVmsClient().registerProvider(payload); in handlePublisherIdRequest() local [all …]
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsSubscriberManager.java | 157 public byte[] getPublisherInfo(int publisherId) { in getPublisherInfo() argument 158 byte[] publisherInfo = getVmsClient().getProviderDescription(publisherId); in getPublisherInfo() 191 public void subscribe(@NonNull VmsLayer layer, int publisherId) { in subscribe() argument 192 mSubscriptionHelper.subscribe(layer, publisherId); in subscribe() 221 public void unsubscribe(@NonNull VmsLayer layer, int publisherId) { in unsubscribe() argument 222 mSubscriptionHelper.unsubscribe(layer, publisherId); in unsubscribe()
|
D | VmsOperationRecorder.java | 83 public void subscribe(VmsLayer layer, int publisherId) { in subscribe() argument 84 recordOp("subscribe", "publisherId", publisherId, layer); in subscribe() 91 public void unsubscribe(VmsLayer layer, int publisherId) { in unsubscribe() argument 92 recordOp("unsubscribe", "publisherId", publisherId, layer); in unsubscribe() 120 public void getPublisherId(int publisherId) { in getPublisherId() argument 121 recordOp("getPublisherId", "publisherId", publisherId); in getPublisherId()
|
D | VmsLayersOffering.java | 82 int publisherId) { in VmsLayersOffering() argument 86 this.mPublisherId = publisherId; in VmsLayersOffering() 163 int publisherId = in.readInt(); in VmsLayersOffering() local 168 this.mPublisherId = publisherId; in VmsLayersOffering()
|
D | VmsPublisherClientService.java | 140 public final void publish(@NonNull VmsLayer layer, int publisherId, byte[] payload) { in publish() argument 141 getVmsClient().publishPacket(publisherId, layer, payload); in publish()
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 2043 method TIRAMISU_0 void subscribe(VmsLayer layer, int publisherId); 2044 method TIRAMISU_0 void unsubscribe(VmsLayer layer, int publisherId); 2048 method TIRAMISU_0 void getPublisherId(int publisherId); 2142 method TIRAMISU_0 void publish(VmsLayer layer, int publisherId, byte[] payload); 2150 method TIRAMISU_0 byte[] getPublisherInfo(int publisherId); 2153 method TIRAMISU_0 void subscribe(VmsLayer layer, int publisherId); 2156 method TIRAMISU_0 void unsubscribe(VmsLayer layer, int publisherId);
|