Home
last modified time | relevance | path

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

/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/vms/
H A DVmsClientTest.java133 asSet(new VmsAssociatedLayer(LAYER2, asSet(12345))) in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions()
433 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider()
471 asSet(new VmsAssociatedLayer(LAYER2, asSet(54321)))); in testSetSubscriptions_LayerAndProvider_OverwriteSubscription()
541 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider_OverwriteSubscription_MultipleClients_SameLayerAndProvider()
578 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider_RemoveSubscription_MultipleClients()
599 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider_RemoveSubscription_MultipleClients_SameLayer()
620 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider_RemoveSubscription_MultipleClients_SameLayerAndProvider()
641 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider_RemoveSubscription_OnUnregister_MultipleClients()
661 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider_RemoveSubscription_OnUnregister_MultipleClients_SameLayer()
681 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider_RemoveSubscription_OnUnregister_MultipleClients_SameLayerAndProvider()
[all …]
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/
H A DVmsBrokerServiceTest.java255 asSet(new VmsAssociatedLayer(LAYER2, asSet(12345))) in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions()
597 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider()
633 asSet(new VmsAssociatedLayer(LAYER2, asSet(54321)))); in testSetSubscriptions_LayerAndProvider_OverwriteSubscription()
703 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider_OverwriteSubscription_MultipleClients_SameLayerAndProvider()
739 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider_RemoveSubscription_MultipleClients()
760 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider_RemoveSubscription_MultipleClients_SameLayer()
781 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider_RemoveSubscription_MultipleClients_SameLayerAndProvider()
802 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider_RemoveSubscription_OnUnregister_MultipleClients()
822 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider_RemoveSubscription_OnUnregister_MultipleClients_SameLayer()
842 asSet(new VmsAssociatedLayer(LAYER1, asSet(12345)))); in testSetSubscriptions_LayerAndProvider_RemoveSubscription_OnUnregister_MultipleClients_SameLayerAndProvider()
[all …]
/aosp12/packages/services/Car/tests/carservice_unit_test/src/android/car/vms/
H A DVmsSubscriptionHelperTest.java148 assertSubscriptions(new VmsAssociatedLayer(LAYER1, asSet(PROVIDER_ID1))); in testSubscribe_SingleLayerAndProvider()
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()
252 new VmsAssociatedLayer(LAYER3, asSet(PROVIDER_ID1))); in testUnsubscribe_MultipleLayersAndProvider()
266 new VmsAssociatedLayer(LAYER2, asSet(PROVIDER_ID2)), in testSubscribe_MultipleLayersAndMultipleProviders()
267 new VmsAssociatedLayer(LAYER3, asSet(PROVIDER_ID3)) in testSubscribe_MultipleLayersAndMultipleProviders()
284 new VmsAssociatedLayer(LAYER2, asSet(PROVIDER_ID2))); in testUnsubscribe_MultipleLayersAndMultipleProviders()
300 Set<VmsAssociatedLayer> subscriptions = asSet(associatedLayers); in assertSubscriptions()
[all …]
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/dhcp/
H A 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
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
H A DUriGrantsManagerServiceTest.java99 assertEquals(asSet(expectedGrant), needed.uris); in testNeeded_normal_sameUser()
117 assertEquals(asSet(expectedGrant), needed.uris); in testNeeded_normal_differentUser()
148 assertEquals(asSet(expectedGrant), needed.uris); in testNeeded_public_differentUser()
176 assertEquals(asSet(new GrantUri(USER_PRIMARY, URI_FORCE, 0)), needed.uris); in testNeeded_force()
263 assertEquals(asSet(new GrantUri(USER_PRIMARY, uri, 0)), needed.uris); in testNeeded_complex_middle()
270 assertEquals(asSet(new GrantUri(USER_PRIMARY, uri, FLAG_PREFIX)), needed.uris); in testNeeded_complex_middle()
277 assertEquals(asSet(new GrantUri(USER_PRIMARY, uri, 0)), needed.uris); in testNeeded_complex_middle()
403 private static <T> Set<T> asSet(T... values) { in asSet() method in UriGrantsManagerServiceTest
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
H A DVmsHalServiceTest.java236 verify(mVmsClient).setSubscriptions(asSet(new VmsAssociatedLayer(LAYER, asSet()))); in testHandleSubscribeEvent()
258 verify(mVmsClient).setSubscriptions(asSet( in testHandleSubscribeToPublisherEvent()
259 new VmsAssociatedLayer(LAYER, asSet(PUBLISHER_ID)))); in testHandleSubscribeToPublisherEvent()
281 verify(mVmsClient).setSubscriptions(asSet()); in testHandleUnsubscribeEvent()
305 verify(mVmsClient).setSubscriptions(asSet()); in testHandleUnsubscribeFromPublisherEvent()
400 verify(mVmsClient).setProviderOfferings(PUBLISHER_ID, asSet()); in testHandleOfferingEvent_ZeroOfferings()
417 asSet(new VmsLayerDependency(LAYER))); in testHandleOfferingEvent_LayerOnly()
434 asSet( in testHandleOfferingEvent_LayerAndDependency()
462 asSet( in testHandleOfferingEvent_MultipleLayersAndDependencies()
1082 private static <T> Set<T> asSet(T... values) { in asSet() method in VmsHalServiceTest
/aosp12/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
H A DPerformanceTest.java342 private static Set<Uri> asSet(Collection<Uri> uris) { in asSet() method in PerformanceTest
383 selfChange, asSet(uris).toString(), flags)); in onChange()
386 if (asSet(uris).size() == 1 && flags == this.flags) { in onChange()
391 final int receivedCount = asSet(uris).size(); in onChange()
/aosp12/packages/apps/TV/libs/m2/
H A Ddagger-2.23.jarMETA-INF/ META-INF/MANIFEST.MF dagger/ dagger/Binds.class Binds ...
H A Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
H A Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
H A Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/aosp12/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/aosp12/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/aosp12/packages/apps/TV/libs/
H A Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/aosp12/packages/modules/RuntimeI18n/apex/hiddenapi/
H A Dhiddenapi-max-target-o-low-priority.txt575 Landroid/icu/impl/locale/XLocaleMatcher;->asSet(Landroid/icu/util/LocalePriorityList;)Ljava/util/Se…