Home
last modified time | relevance | path

Searched refs:SUBSCRIPTION_LAYER (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsPublisherSubscriberTest.java53 private static final VmsLayer SUBSCRIPTION_LAYER = new VmsLayer(1, 1, 1); field in VmsPublisherSubscriberTest
113 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability()
116 new VmsAssociatedLayer(SUBSCRIPTION_LAYER, Collections.singleton(publisherId))); in testLayerAvailability()
123 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability_Overwrite()
138 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability_MultiplePublishers_SameLayer()
140 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId2)); in testLayerAvailability_MultiplePublishers_SameLayer()
143 new VmsAssociatedLayer(SUBSCRIPTION_LAYER, in testLayerAvailability_MultiplePublishers_SameLayer()
152 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability_MultiplePublishers_MultipleLayers()
158 new VmsAssociatedLayer(SUBSCRIPTION_LAYER, Collections.singleton(publisherId)), in testLayerAvailability_MultiplePublishers_MultipleLayers()
168 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability_MultiplePublishers_Remove()
[all …]
DVmsSubscriberManagerTest.java51 private static final VmsLayer SUBSCRIPTION_LAYER = new VmsLayer(SUBSCRIPTION_LAYER_ID, field in VmsSubscriberManagerTest
55 new VmsAssociatedLayer(SUBSCRIPTION_LAYER, PUBLISHERS_LIST);
85 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER); in testSubscribe()
98 assertEquals(SUBSCRIPTION_LAYER, message.first); in testSubscribe()
105 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testSubscribeToPublisher()
123 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testSubscribeFromPublisher()
136 assertEquals(SUBSCRIPTION_LAYER, message.first); in testSubscribeFromPublisher()
143 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER); in testUnsubscribe()
144 getSubscriberManager().unsubscribe(SUBSCRIPTION_LAYER); in testUnsubscribe()
162 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testSubscribeFromWrongPublisher()
[all …]