/packages/services/Car/tests/carservice_test/src/com/android/car/vms/ |
D | VmsClientTest.java | 32 import android.car.vms.VmsAssociatedLayer; 120 new VmsAssociatedLayer(LAYER1, emptySet()), in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions() 121 new VmsAssociatedLayer(LAYER2, asSet(12345)) in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions() 127 new VmsAssociatedLayer(LAYER1, in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions() 132 asSet(new VmsAssociatedLayer(LAYER2, asSet(12345))) in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions() 215 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions() 231 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions_MultipleClients() 234 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions_MultipleClients() 250 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions_OverwriteSubscription() 253 new VmsAssociatedLayer(LAYER2, emptySet()) in testSetSubscriptions_OverwriteSubscription() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/ |
D | VmsBrokerServiceTest.java | 38 import android.car.vms.VmsAssociatedLayer; 242 new VmsAssociatedLayer(LAYER1, emptySet()), in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions() 243 new VmsAssociatedLayer(LAYER2, asSet(12345)) in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions() 250 new VmsAssociatedLayer(LAYER1, in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions() 255 asSet(new VmsAssociatedLayer(LAYER2, asSet(12345))) in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions() 348 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions() 363 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions_MultipleClients() 366 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions_MultipleClients() 381 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions_OverwriteSubscription() 384 new VmsAssociatedLayer(LAYER2, emptySet()) in testSetSubscriptions_OverwriteSubscription() [all …]
|
D | VmsLayerAvailabilityTest.java | 21 import android.car.vms.VmsAssociatedLayer; 90 Set<VmsAssociatedLayer> expectedAvailableAssociatedLayers = new HashSet<>(); in testSingleLayerNoDeps() 91 expectedAvailableAssociatedLayers.add(new VmsAssociatedLayer(LAYER_X, PUBLISHERS_2)); in testSingleLayerNoDeps() 105 Set<VmsAssociatedLayer> expectedAvailableAssociatedLayers = new HashSet<>(); in testChainOfDependenciesSatisfied() 106 expectedAvailableAssociatedLayers.add(new VmsAssociatedLayer(LAYER_X, PUBLISHERS_1)); in testChainOfDependenciesSatisfied() 107 expectedAvailableAssociatedLayers.add(new VmsAssociatedLayer(LAYER_Y, PUBLISHERS_1)); in testChainOfDependenciesSatisfied() 108 expectedAvailableAssociatedLayers.add(new VmsAssociatedLayer(LAYER_Z, PUBLISHERS_1)); in testChainOfDependenciesSatisfied() 124 Set<VmsAssociatedLayer> expectedAvailableAssociatedLayers = new HashSet<>(); in testChainOfDependenciesSatisfiedTwoOfferings() 125 expectedAvailableAssociatedLayers.add(new VmsAssociatedLayer(LAYER_X, PUBLISHERS_1)); in testChainOfDependenciesSatisfiedTwoOfferings() 126 expectedAvailableAssociatedLayers.add(new VmsAssociatedLayer(LAYER_Y, PUBLISHERS_1)); in testChainOfDependenciesSatisfiedTwoOfferings() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/vms/ |
D | VmsSubscriptionHelperTest.java | 49 private Set<VmsAssociatedLayer> mSubscriptionUpdate; 58 assertSubscriptions(new VmsAssociatedLayer(LAYER1, emptySet())); in testSubscribe_SingleLayer() 67 assertSubscriptions(new VmsAssociatedLayer(LAYER1, emptySet())); in testSubscribe_SingleLayer_IgnoreDuplicates() 81 assertSubscriptions(new VmsAssociatedLayer(LAYER1, emptySet())); in testSubscribe_SingleLayer_RetryAfterException() 99 assertSubscriptions(new VmsAssociatedLayer(LAYER1, emptySet())); in testUnsubscribe_SingleLayer_IgnoreUnknown() 125 new VmsAssociatedLayer(LAYER1, emptySet()), in testSubscribe_MultipleLayers() 126 new VmsAssociatedLayer(LAYER2, emptySet()), in testSubscribe_MultipleLayers() 127 new VmsAssociatedLayer(LAYER3, emptySet())); in testSubscribe_MultipleLayers() 139 new VmsAssociatedLayer(LAYER1, emptySet()), in testUnsubscribe_MultipleLayers() 140 new VmsAssociatedLayer(LAYER3, emptySet())); in testUnsubscribe_MultipleLayers() [all …]
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsAssociatedLayer.java | 41 public final class VmsAssociatedLayer implements Parcelable { class 84 public VmsAssociatedLayer( in VmsAssociatedLayer() method in VmsAssociatedLayer 131 VmsAssociatedLayer that = (VmsAssociatedLayer) o; in equals() 164 /* package-private */ VmsAssociatedLayer(@NonNull Parcel in) { in VmsAssociatedLayer() method in VmsAssociatedLayer 181 public static final @NonNull Parcelable.Creator<VmsAssociatedLayer> CREATOR 182 = new Parcelable.Creator<VmsAssociatedLayer>() { 184 public VmsAssociatedLayer[] newArray(int size) { 185 return new VmsAssociatedLayer[size]; 189 public VmsAssociatedLayer createFromParcel(@NonNull Parcel in) { 190 return new VmsAssociatedLayer(in);
|
D | VmsSubscriptionHelper.java | 37 private final Consumer<Set<VmsAssociatedLayer>> mUpdateHandler; 55 public VmsSubscriptionHelper(@NonNull Consumer<Set<VmsAssociatedLayer>> updateHandler) { in VmsSubscriptionHelper() 123 public Set<VmsAssociatedLayer> getSubscriptions() { in getSubscriptions() 130 private Set<VmsAssociatedLayer> getSubscriptionsLocked() { in getSubscriptionsLocked() 131 Set<VmsAssociatedLayer> vmsAssociatedLayerSet = new ArraySet<>(); in getSubscriptionsLocked() 134 vmsAssociatedLayerSet.add(new VmsAssociatedLayer(layer, Collections.emptySet())); in getSubscriptionsLocked() 156 private static VmsAssociatedLayer toAssociatedLayer(VmsLayer layer, in toAssociatedLayer() 162 return new VmsAssociatedLayer(layer, providerIds); in toAssociatedLayer()
|
D | VmsAvailableLayers.java | 57 private @NonNull Set<VmsAssociatedLayer> mAssociatedLayers; 68 private Set<VmsAssociatedLayer> unparcelAssociatedLayers(Parcel in) { in unparcelAssociatedLayers() 69 return (Set<VmsAssociatedLayer>) ParcelHelper.readArraySet(in, in unparcelAssociatedLayers() 70 VmsAssociatedLayer.class.getClassLoader()); in unparcelAssociatedLayers() 83 public VmsAvailableLayers(@NonNull Set<VmsAssociatedLayer> associatedLayers, in VmsAvailableLayers() 108 @NonNull Set<VmsAssociatedLayer> associatedLayers) { in VmsAvailableLayers() 127 public @NonNull Set<VmsAssociatedLayer> getAssociatedLayers() { in getAssociatedLayers() 189 Set<VmsAssociatedLayer> associatedLayers = unparcelAssociatedLayers(in); in VmsAvailableLayers()
|
D | VmsSubscriptionState.java | 62 private @NonNull Set<VmsAssociatedLayer> mAssociatedLayers; 83 private Set<VmsAssociatedLayer> unparcelAssociatedLayers(Parcel in) { in unparcelAssociatedLayers() 84 return (Set<VmsAssociatedLayer>) ParcelHelper.readArraySet(in, in unparcelAssociatedLayers() 85 VmsAssociatedLayer.class.getClassLoader()); in unparcelAssociatedLayers() 101 @NonNull Set<VmsAssociatedLayer> associatedLayers) { in VmsSubscriptionState() 130 public @NonNull Set<VmsAssociatedLayer> getAssociatedLayers() { in getAssociatedLayers() 197 Set<VmsAssociatedLayer> associatedLayers = unparcelAssociatedLayers(in); in VmsSubscriptionState()
|
D | IVmsBrokerService.aidl | 20 import android.car.vms.VmsAssociatedLayer; 51 in List<VmsAssociatedLayer> layers) = 3; in setSubscriptions()
|
D | VmsAssociatedLayer.aidl | 19 parcelable VmsAssociatedLayer;
|
D | VmsSubscriberManager.java | 238 private void setSubscriptions(Set<VmsAssociatedLayer> subscriptions) { in setSubscriptions()
|
D | VmsClient.java | 126 public void setSubscriptions(@NonNull Set<VmsAssociatedLayer> layers) { in setSubscriptions()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsPublisherSubscriberTest.java | 25 import android.car.vms.VmsAssociatedLayer; 116 new VmsAssociatedLayer(SUBSCRIPTION_LAYER, Collections.singleton(publisherId))); in testLayerAvailability() 129 new VmsAssociatedLayer(SUBSCRIPTION_LAYER_OTHER, in testLayerAvailability_Overwrite() 143 new VmsAssociatedLayer(SUBSCRIPTION_LAYER, in testLayerAvailability_MultiplePublishers_SameLayer() 158 new VmsAssociatedLayer(SUBSCRIPTION_LAYER, Collections.singleton(publisherId)), in testLayerAvailability_MultiplePublishers_MultipleLayers() 159 new VmsAssociatedLayer(SUBSCRIPTION_LAYER_OTHER, in testLayerAvailability_MultiplePublishers_MultipleLayers() 175 new VmsAssociatedLayer(SUBSCRIPTION_LAYER, Collections.singleton(publisherId))); in testLayerAvailability_MultiplePublishers_Remove() 192 new VmsAssociatedLayer(SUBSCRIPTION_LAYER, Collections.singleton(publisherId)), in testLayerAvailability_MultiplePublishers_Overwrite() 193 new VmsAssociatedLayer(SUBSCRIPTION_LAYER_OTHER, in testLayerAvailability_MultiplePublishers_Overwrite() 391 new VmsAssociatedLayer(SUBSCRIPTION_LAYER, Collections.singleton(publisherId))); in testSubscribeToPublisher() [all …]
|
D | VmsSubscriberManagerTest.java | 23 import android.car.vms.VmsAssociatedLayer; 54 private static final VmsAssociatedLayer SUBSCRIPTION_ASSOCIATED_LAYER = 55 new VmsAssociatedLayer(SUBSCRIPTION_LAYER, PUBLISHERS_LIST); 64 private static final VmsAssociatedLayer SUBSCRIPTION_DEPENDANT_ASSOCIATED_LAYER_1 = 65 new VmsAssociatedLayer(SUBSCRIPTION_DEPENDANT_LAYER_1, PUBLISHERS_LIST); 74 private static final VmsAssociatedLayer SUBSCRIPTION_DEPENDANT_ASSOCIATED_LAYER_2 = 75 new VmsAssociatedLayer(SUBSCRIPTION_DEPENDANT_LAYER_2, PUBLISHERS_LIST); 357 Set<VmsAssociatedLayer> associatedLayers = in testComplexAvailableLayers()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VmsHalServiceTest.java | 33 import android.car.vms.VmsAssociatedLayer; 305 verify(mVmsClient).setSubscriptions(asSet(new VmsAssociatedLayer(LAYER, asSet()))); in testHandleSubscribeEvent() 328 new VmsAssociatedLayer(LAYER, asSet(PUBLISHER_ID)))); in testHandleSubscribeToPublisherEvent() 590 new VmsAssociatedLayer(LAYER, Collections.singleton(PUBLISHER_ID))), 123)); in testHandleAvailabilityRequestEvent_OneLayer() 614 new VmsAssociatedLayer(LAYER, in testHandleAvailabilityRequestEvent_MultipleLayers() 616 new VmsAssociatedLayer(new VmsLayer(3, 2, 1), in testHandleAvailabilityRequestEvent_MultipleLayers() 618 new VmsAssociatedLayer(new VmsLayer(6, 5, 4), in testHandleAvailabilityRequestEvent_MultipleLayers() 720 new VmsAssociatedLayer(LAYER, Collections.singleton(PUBLISHER_ID))), 123)); in testOnLayersAvailabilityChanged_OneLayer() 740 new VmsAssociatedLayer(LAYER, in testOnLayersAvailabilityChanged_MultipleLayers() 742 new VmsAssociatedLayer(new VmsLayer(3, 2, 1), in testOnLayersAvailabilityChanged_MultipleLayers() [all …]
|
/packages/services/Car/service/src/com/android/car/vms/ |
D | VmsLayerAvailability.java | 20 import android.car.vms.VmsAssociatedLayer; 54 private Set<VmsAssociatedLayer> mAvailableAssociatedLayers = Collections.emptySet(); 113 ArraySet<VmsAssociatedLayer> associatedLayerSet = new ArraySet<>(); in calculateLayers() 116 VmsAssociatedLayer associatedLayer = new VmsAssociatedLayer(availableLayer, in calculateLayers()
|
D | VmsClientInfo.java | 22 import android.car.vms.VmsAssociatedLayer; 152 void setSubscriptions(List<VmsAssociatedLayer> layers) { in setSubscriptions() 156 VmsAssociatedLayer associatedLayer = layers.get(index); in setSubscriptions()
|
D | VmsBrokerService.java | 27 import android.car.vms.VmsAssociatedLayer; 185 public void setSubscriptions(IBinder clientToken, List<VmsAssociatedLayer> layers) { in setSubscriptions() 363 ArraySet<VmsAssociatedLayer> associatedLayers = in updateSubscriptionState() 366 associatedLayers.add(new VmsAssociatedLayer( in updateSubscriptionState()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VmsHalService.java | 26 import android.car.vms.VmsAssociatedLayer; 513 private void setSubscriptions(Set<VmsAssociatedLayer> subscriptions) { in setSubscriptions() 744 Set<VmsAssociatedLayer> associatedLayers = subscriptionState.getAssociatedLayers(); in createSubscriptionStateMessage() 757 for (VmsAssociatedLayer layer : associatedLayers) { in createSubscriptionStateMessage() 788 for (VmsAssociatedLayer layer : availableLayers.getAssociatedLayers()) { in createAvailableLayersMessage() 866 private static void appendAssociatedLayer(List<Integer> message, VmsAssociatedLayer layer) { in appendAssociatedLayer()
|
/packages/services/Car/car-lib/api/ |
D | system-lint-baseline.txt | 650 MissingNullability: android.car.vms.VmsAssociatedLayer#CREATOR: 651 Missing nullability on field `CREATOR` in class `class android.car.vms.VmsAssociatedLayer` 652 MissingNullability: android.car.vms.VmsAssociatedLayer#writeToParcel(android.os.Parcel, int) parame… 4670 UnflaggedApi: android.car.vms.VmsAssociatedLayer: 4671 New API must be flagged with @FlaggedApi: class android.car.vms.VmsAssociatedLayer 4672 UnflaggedApi: android.car.vms.VmsAssociatedLayer#CREATOR: 4673 New API must be flagged with @FlaggedApi: field android.car.vms.VmsAssociatedLayer.CREATOR 4674 UnflaggedApi: android.car.vms.VmsAssociatedLayer#VmsAssociatedLayer(android.car.vms.VmsLayer, java.… 4675 …New API must be flagged with @FlaggedApi: constructor android.car.vms.VmsAssociatedLayer(android.c… 4676 UnflaggedApi: android.car.vms.VmsAssociatedLayer#describeContents(): [all …]
|
D | system-current.txt | 2699 public final class VmsAssociatedLayer implements android.os.Parcelable { 2700 …ctor public VmsAssociatedLayer(@NonNull android.car.vms.VmsLayer, @NonNull java.util.Set<java.lang… 2706 …Null public static final android.os.Parcelable.Creator<android.car.vms.VmsAssociatedLayer> CREATOR; 2710 …recated public VmsAvailableLayers(@NonNull java.util.Set<android.car.vms.VmsAssociatedLayer>, int); 2711 ctor public VmsAvailableLayers(int, @NonNull java.util.Set<android.car.vms.VmsAssociatedLayer>); 2713 method @NonNull public java.util.Set<android.car.vms.VmsAssociatedLayer> getAssociatedLayers(); 2729 …BSCRIBER) public void setSubscriptions(@NonNull java.util.Set<android.car.vms.VmsAssociatedLayer>); 2825 …va.util.Set<android.car.vms.VmsLayer>, @NonNull java.util.Set<android.car.vms.VmsAssociatedLayer>); 2827 method @NonNull public java.util.Set<android.car.vms.VmsAssociatedLayer> getAssociatedLayers();
|
D | test-current.txt | 2805 public final class VmsAssociatedLayer implements android.os.Parcelable { 2806 …ctor public VmsAssociatedLayer(@NonNull android.car.vms.VmsLayer, @NonNull java.util.Set<java.lang… 2812 …Null public static final android.os.Parcelable.Creator<android.car.vms.VmsAssociatedLayer> CREATOR; 2816 …recated public VmsAvailableLayers(@NonNull java.util.Set<android.car.vms.VmsAssociatedLayer>, int); 2817 ctor public VmsAvailableLayers(int, @NonNull java.util.Set<android.car.vms.VmsAssociatedLayer>); 2819 method @NonNull public java.util.Set<android.car.vms.VmsAssociatedLayer> getAssociatedLayers(); 2835 …BSCRIBER) public void setSubscriptions(@NonNull java.util.Set<android.car.vms.VmsAssociatedLayer>); 2931 …va.util.Set<android.car.vms.VmsLayer>, @NonNull java.util.Set<android.car.vms.VmsAssociatedLayer>); 2933 method @NonNull public java.util.Set<android.car.vms.VmsAssociatedLayer> getAssociatedLayers();
|
/packages/services/Car/car-lib-module/api/ |
D | system-current.txt | 2699 public final class VmsAssociatedLayer implements android.os.Parcelable { 2700 …ctor public VmsAssociatedLayer(@NonNull android.car.vms.VmsLayer, @NonNull java.util.Set<java.lang… 2706 …Null public static final android.os.Parcelable.Creator<android.car.vms.VmsAssociatedLayer> CREATOR; 2710 …recated public VmsAvailableLayers(@NonNull java.util.Set<android.car.vms.VmsAssociatedLayer>, int); 2711 ctor public VmsAvailableLayers(int, @NonNull java.util.Set<android.car.vms.VmsAssociatedLayer>); 2713 method @NonNull public java.util.Set<android.car.vms.VmsAssociatedLayer> getAssociatedLayers(); 2729 …BSCRIBER) public void setSubscriptions(@NonNull java.util.Set<android.car.vms.VmsAssociatedLayer>); 2825 …va.util.Set<android.car.vms.VmsLayer>, @NonNull java.util.Set<android.car.vms.VmsAssociatedLayer>); 2827 method @NonNull public java.util.Set<android.car.vms.VmsAssociatedLayer> getAssociatedLayers();
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 2064 method TIRAMISU_0 Set<VmsAssociatedLayer> getAssociatedLayers(); 2075 method TIRAMISU_0 Set<VmsAssociatedLayer> getSubscriptions(); 2078 method TIRAMISU_0 void setSubscriptions(Set<VmsAssociatedLayer> layers); 2110 method TIRAMISU_0 Set<VmsAssociatedLayer> getAssociatedLayers(); 2125 class @hide @SystemApi VmsAssociatedLayer package android.car.vms 2126 field TIRAMISU_0 Parcelable.Creator<VmsAssociatedLayer> CREATOR;
|
/packages/services/Car/tests/carservice_unit_test/res/raw/ |
D | car_hidden_apis_release_33.3.txt | 842 …ionHelper VmsSubscriptionHelper VmsSubscriptionHelper(Consumer<Set<VmsAssociatedLayer>> updateHand… 847 android.car.vms VmsSubscriptionHelper Set<VmsAssociatedLayer> getSubscriptions()
|