Home
last modified time | relevance | path

Searched refs:singleton (Results 1 – 25 of 32) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsRoutingTest.java202 new VmsSubscriptionState(1, Collections.singleton(LAYER_1), Collections.emptySet()), in testAddLayerSubscriber()
215 new VmsSubscriptionState(1, Collections.singleton(LAYER_1), Collections.emptySet()), in testAddLayerSubscriber_MultipleTimes()
228 new VmsSubscriptionState(1, Collections.singleton(LAYER_1), Collections.emptySet()), in testAddLayerSubscriber_MultipleTimes_Rewrapped()
255 new VmsSubscriptionState(2, Collections.singleton(LAYER_1), Collections.emptySet()), in testAddLayerSubscriber_MultipleSubscribers()
330 new VmsSubscriptionState(1, Collections.singleton(LAYER_1), Collections.emptySet()), in testRemoveLayerSubscriber_UnknownSubscriber()
344 new VmsSubscriptionState(3, Collections.singleton(LAYER_1), Collections.emptySet()), in testRemoveLayerSubscriber_MultipleLayers()
358 new VmsSubscriptionState(3, Collections.singleton(LAYER_1), Collections.emptySet()), in testRemoveLayerSubscriber_MultipleSubscribers()
372 new VmsSubscriptionState(3, Collections.singleton(LAYER_1), Collections.emptySet()), in testRemoveLayerSubscriber_MultipleSubscribers_MultipleLayers()
386 Collections.singleton(new VmsAssociatedLayer( in testAddPublisherSubscriber()
387 LAYER_1, Collections.singleton(PUBLISHER_ID_1)))), in testAddPublisherSubscriber()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsPublisherSubscriberTest.java107 mPublisher.setLayersOffering(new VmsLayersOffering(Collections.singleton( in testLayerAvailability()
111 new VmsAssociatedLayer(SUBSCRIPTION_LAYER, Collections.singleton(publisherId))); in testLayerAvailability()
117 mPublisher.setLayersOffering(new VmsLayersOffering(Collections.singleton( in testLayerAvailability_Overwrite()
119 mPublisher.setLayersOffering(new VmsLayersOffering(Collections.singleton( in testLayerAvailability_Overwrite()
125 Collections.singleton(publisherId))); in testLayerAvailability_Overwrite()
132 mPublisher.setLayersOffering(new VmsLayersOffering(Collections.singleton( in testLayerAvailability_MultiplePublishers_SameLayer()
134 mPublisher.setLayersOffering(new VmsLayersOffering(Collections.singleton( in testLayerAvailability_MultiplePublishers_SameLayer()
146 mPublisher.setLayersOffering(new VmsLayersOffering(Collections.singleton( in testLayerAvailability_MultiplePublishers_MultipleLayers()
148 mPublisher.setLayersOffering(new VmsLayersOffering(Collections.singleton( in testLayerAvailability_MultiplePublishers_MultipleLayers()
153 new VmsAssociatedLayer(SUBSCRIPTION_LAYER, Collections.singleton(publisherId)), in testLayerAvailability_MultiplePublishers_MultipleLayers()
[all …]
DVmsSubscriberManagerTest.java44 private static final Set<Integer> PUBLISHERS_LIST = Collections.singleton(PUBLISHER_ID);
238 Collections.singleton(SUBSCRIPTION_ASSOCIATED_LAYER), in testSimpleAvailableLayers()
269 Collections.singleton(SUBSCRIPTION_ASSOCIATED_LAYER), in testSimpleAvailableLayersAfterSubscription()
408 Collections.singleton(SUBSCRIPTION_ASSOCIATED_LAYER), in testDoubleOfferingAvailableLayers()
429 Collections.singleton(SUBSCRIPTION_ASSOCIATED_LAYER), in testDoubleOfferingAvailableLayers()
474 Collections.singleton(SUBSCRIPTION_ASSOCIATED_LAYER), in testGetAvailableLayers()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java98 mHalService.takeSupportedProperties(Collections.singleton(propConfig)); in setUp()
156 mHalService.takeSupportedProperties(Collections.singleton(propConfig)); in testCoreId_IntegerOverflow()
177 assertEquals(Collections.singleton(vmsPropConfig), in testTakeSupportedProperties()
402 new VmsLayersOffering(Collections.singleton( in testHandleOfferingEvent_LayerOnly()
421 new VmsLayersOffering(Collections.singleton( in testHandleOfferingEvent_LayerAndDependency()
422 new VmsLayerDependency(LAYER, Collections.singleton( in testHandleOfferingEvent_LayerAndDependency()
456 new VmsLayerDependency(new VmsLayer(6, 5, 4), Collections.singleton( in testHandleOfferingEvent_MultipleLayersAndDependencies()
509 new VmsAvailableLayers(Collections.singleton( in testHandleAvailabilityRequestEvent_OneLayer()
510 new VmsAssociatedLayer(LAYER, Collections.singleton(PUBLISHER_ID))), 123)); in testHandleAvailabilityRequestEvent_OneLayer()
539 Collections.singleton(99999)))), in testHandleAvailabilityRequestEvent_MultipleLayers()
[all …]
/packages/services/Car/tests/CarLibTests/src/android/car/
DCarProjectionManagerTest.java134 Collections.singleton(CarProjectionManager.KEY_EVENT_CALL_SHORT_PRESS_KEY_UP), in keyEventListener_registerMultipleEventListeners()
183 mProjectionManager.addKeyEventHandler(Collections.singleton(-1), eventHandler); in keyEventHandler_eventsOutOfRange_throw()
189 Collections.singleton(CarProjectionManager.NUM_KEY_EVENTS), eventHandler); in keyEventHandler_eventsOutOfRange_throw()
201 Collections.singleton(CarProjectionManager.KEY_EVENT_CALL_SHORT_PRESS_KEY_UP), in keyEventHandler_whenRegisteredAgain_replacesEventList()
209 Collections.singleton(CarProjectionManager.KEY_EVENT_CALL_LONG_PRESS_KEY_DOWN), in keyEventHandler_whenRegisteredAgain_replacesEventList()
223 Collections.singleton(CarProjectionManager.KEY_EVENT_CALL_SHORT_PRESS_KEY_UP), in keyEventHandler_removed_noLongerFires()
241 Collections.singleton( in keyEventHandler_withAlternateExecutor_usesExecutor()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryCollection.java50 mDictionaries.removeAll(Collections.singleton(null)); in DictionaryCollection()
58 mDictionaries.removeAll(Collections.singleton(null)); in DictionaryCollection()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
DBuilder.java49 private static Builder singleton = new Builder(); field in Builder
52 return singleton; in getInstance()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DCarStorageMonitoringTest.java668 Collections.singleton("123")); in testLifetimeWriteInfo()
670 Collections.singleton("250")); in testLifetimeWriteInfo()
672 Collections.singleton("2147483660")); in testLifetimeWriteInfo()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DDelayedDiscovery.java105 return Collections.singleton(mChild); in getChildren()
DDiscovery.java196 return Collections.singleton(this); in getChildren()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DCrossProfileCalendarDisabledPreferenceControllerTest.java87 Collections.singleton(TEST_PACKAGE_NAME)); in getAvailabilityStatus_somePackagesAllowed_shouldBeDisabledForUser()
DCrossProfileCalendarPreferenceControllerTest.java105 Collections.singleton(TEST_PACKAGE_NAME)); in getAvailabilityStatus_somePackagesAllowed_shouldBeAvailable()
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DTunerSetupUtils.java82 numbers.removeAll(Collections.singleton("")); in parseChannelNumber()
/packages/apps/TV/common/src/com/android/tv/common/
DTvContentRatingCache.java104 return Collections.singleton(ratingStrings[0]); in toSortedSet()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DSimpleUploaderAsyncTask.java112 .createScoped(Collections.singleton(ACCESS_SCOPE)); in upload()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogicTest.java158 assertEquals(Collections.singleton(APPS.get(4)), logic.getSystemAppsToRemove(TEST_USER_ID)); in testGetSystemAppsToRemove_OtaDelete()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationCheckedSet.java199 removeAll(Collections.singleton(id)); in remove()
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DLineupSelectionFragment.java253 numbers.removeAll(Collections.singleton("")); in parseChannelNumber()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DAdjustUserSensitiveFragment.java329 newOverrides = Collections.singleton(key); in setUidUserSensitive()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java522 profileIds = Collections.singleton(UserHandle.myUserId()); in getVpnApps()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DVpnSettings.java522 profileIds = Collections.singleton(UserHandle.myUserId()); in getVpnApps()
/packages/services/Car/service/src/com/android/car/hal/
DVmsHalService.java241 return Collections.singleton(p); in takeSupportedProperties()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteStateMachineTest.java235 Collection<BluetoothDevice> availableDevices = Collections.singleton(bluetoothDevice1); in testUserBluetoothSwitchOffAndOnAgain()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz

12