Home
last modified time | relevance | path

Searched refs:asSet (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/vms/
DVmsClientTest.java117 client.setProviderOfferings(providerId, asSet( in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions()
119 client.setSubscriptions(asSet( in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions()
121 new VmsAssociatedLayer(LAYER2, asSet(12345)) in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions()
126 VmsAvailableLayers expectedLayers = new VmsAvailableLayers(1, asSet( in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions()
128 asSet(providerId))) in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions()
131 asSet(LAYER1), in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions()
132 asSet(new VmsAssociatedLayer(LAYER2, asSet(12345))) in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions()
176 client.setProviderOfferings(providerId, asSet( in testUnregisterProvider()
214 client.setSubscriptions(asSet( in testSetSubscriptions()
220 asSet(LAYER1), in testSetSubscriptions()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
DVmsBrokerServiceTest.java243 new VmsAssociatedLayer(LAYER2, asSet(12345)) in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions()
249 VmsAvailableLayers expectedLayers = new VmsAvailableLayers(1, asSet( in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions()
251 asSet(providerId))) in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions()
254 asSet(LAYER1), in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions()
255 asSet(new VmsAssociatedLayer(LAYER2, asSet(12345))) in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions()
352 asSet(LAYER1), in testSetSubscriptions()
370 asSet(LAYER1), in testSetSubscriptions_MultipleClients()
388 asSet(LAYER2), in testSetSubscriptions_OverwriteSubscription()
409 asSet(LAYER1, LAYER3), in testSetSubscriptions_OverwriteSubscription_MultipleClients()
444 asSet(LAYER1), in testSetSubscriptions_RemoveSubscription_MultipleClients()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/android/car/vms/
DVmsSubscriptionHelperTest.java148 assertSubscriptions(new VmsAssociatedLayer(LAYER1, asSet(PROVIDER_ID1))); in testSubscribe_SingleLayerAndProvider()
157 assertSubscriptions(new VmsAssociatedLayer(LAYER1, asSet(PROVIDER_ID1))); in testSubscribe_SingleLayerAndProvider_IgnoreDuplicates()
171 assertSubscriptions(new VmsAssociatedLayer(LAYER1, asSet(PROVIDER_ID1))); in testSubscribe_SingleLayerAndProvider_RetryAfterException()
189 assertSubscriptions(new VmsAssociatedLayer(LAYER1, asSet(PROVIDER_ID1))); in testUnsubscribe_SingleLayerAndProvider_IgnoreUnknown()
215 new VmsAssociatedLayer(LAYER1, asSet(PROVIDER_ID1, PROVIDER_ID2, PROVIDER_ID3))); in testSubscribe_SingleLayerAndMultipleProviders()
226 assertSubscriptions(new VmsAssociatedLayer(LAYER1, asSet(PROVIDER_ID1, PROVIDER_ID3))); in testUnsubscribe_SingleLayerAndMultipleProviders()
237 new VmsAssociatedLayer(LAYER1, asSet(PROVIDER_ID1)), in testSubscribe_MultipleLayersAndProvider()
238 new VmsAssociatedLayer(LAYER2, asSet(PROVIDER_ID1)), in testSubscribe_MultipleLayersAndProvider()
239 new VmsAssociatedLayer(LAYER3, asSet(PROVIDER_ID1))); in testSubscribe_MultipleLayersAndProvider()
251 new VmsAssociatedLayer(LAYER1, asSet(PROVIDER_ID1)), in testUnsubscribe_MultipleLayersAndProvider()
[all …]
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/dhcp/
DDhcpServingParamsParcelExtTest.java75 assertEquals(TEST_ADDRESS_SET_PARCELED, asSet(mParcel.defaultRouters)); in testSetDefaultRouters()
81 assertEquals(TEST_ADDRESS_SET_PARCELED, asSet(mParcel.dnsServers)); in testSetDnsServers()
87 assertEquals(TEST_ADDRESS_SET_PARCELED, asSet(mParcel.excludedAddrs)); in testSetExcludedAddrs()
120 private static Set<Integer> asSet(int[] ints) { in asSet() method in DhcpServingParamsParcelExtTest
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java305 verify(mVmsClient).setSubscriptions(asSet(new VmsAssociatedLayer(LAYER, asSet()))); in testHandleSubscribeEvent()
327 verify(mVmsClient).setSubscriptions(asSet( in testHandleSubscribeToPublisherEvent()
328 new VmsAssociatedLayer(LAYER, asSet(PUBLISHER_ID)))); in testHandleSubscribeToPublisherEvent()
350 verify(mVmsClient).setSubscriptions(asSet()); in testHandleUnsubscribeEvent()
374 verify(mVmsClient).setSubscriptions(asSet()); in testHandleUnsubscribeFromPublisherEvent()
469 verify(mVmsClient).setProviderOfferings(PUBLISHER_ID, asSet()); in testHandleOfferingEvent_ZeroOfferings()
486 asSet(new VmsLayerDependency(LAYER))); in testHandleOfferingEvent_LayerOnly()
503 asSet( in testHandleOfferingEvent_LayerAndDependency()
531 asSet( in testHandleOfferingEvent_MultipleLayersAndDependencies()
1161 private static <T> Set<T> asSet(T... values) { in asSet() method in VmsHalServiceTest
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPerformanceTest.java341 private static Set<Uri> asSet(Collection<Uri> uris) { in asSet() method in PerformanceTest
382 selfChange, asSet(uris).toString(), flags)); in onChange()
385 if (asSet(uris).size() == 1 && (flags & this.flags) == this.flags) { in onChange()
390 final int receivedCount = asSet(uris).size(); in onChange()
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java492 private Set<Integer> asSet(final int[] uids) { in asSet() method in BpfNetMaps
521 final Set<Integer> uidSet = asSet(uids); in replaceUidChain()
/packages/apps/TV/libs/m2/
Ddagger-2.23.jarMETA-INF/ META-INF/MANIFEST.MF dagger/ dagger/Binds.class Binds ...
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt575 Landroid/icu/impl/locale/XLocaleMatcher;->asSet(Landroid/icu/util/LocalePriorityList;)Ljava/util/Se…