Home
last modified time | relevance | path

Searched refs:emptySet (Results 1 – 25 of 53) sorted by relevance

123

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsRoutingTest.java65 new VmsSubscriptionState(0, Collections.emptySet(), Collections.emptySet()), in testDefaultSubscriptionState()
78 new VmsSubscriptionState(0, Collections.emptySet(), Collections.emptySet()), in testAddPassiveSubscriber()
91 new VmsSubscriptionState(0, Collections.emptySet(), Collections.emptySet()), in testAddPassiveSubscriber_MultipleTimes()
104 new VmsSubscriptionState(0, Collections.emptySet(), Collections.emptySet()), in testAddPassiveSubscriber_MultipleTimes_Rewrapped()
117 new VmsSubscriptionState(0, Collections.emptySet(), Collections.emptySet()), in testAddPassiveSubscriber_MultipleSubscribers()
129 new VmsSubscriptionState(0, Collections.emptySet(), Collections.emptySet()), in testRemovePassiveSubscriber()
140 new VmsSubscriptionState(0, Collections.emptySet(), Collections.emptySet()), in testRemovePassiveSubscriber_NoSubscriptions()
153 new VmsSubscriptionState(0, Collections.emptySet(), Collections.emptySet()), in testRemovePassiveSubscriber_MultipleTimes()
165 new VmsSubscriptionState(0, Collections.emptySet(), Collections.emptySet()), in testRemovePassiveSubscriber_Rewrapped()
177 new VmsSubscriptionState(0, Collections.emptySet(), Collections.emptySet()), in testRemovePassiveSubscriber_UnknownSubscriber()
[all …]
DVmsPublisherServiceTest.java68 Collections.emptySet(), Collections.emptySet());
69 private static final VmsLayersOffering OFFERING = new VmsLayersOffering(Collections.emptySet(),
229 .thenReturn(Collections.emptySet()); in testPublish_NoSubscribers()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsPublisherSubscriberTest.java100 assertEquals(Collections.emptySet(), availableLayers.getAssociatedLayers()); in testLayerAvailability_Default()
108 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability()
118 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability_Overwrite()
120 new VmsLayerDependency(SUBSCRIPTION_LAYER_OTHER, Collections.emptySet())), in testLayerAvailability_Overwrite()
133 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability_MultiplePublishers_SameLayer()
135 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId2)); in testLayerAvailability_MultiplePublishers_SameLayer()
147 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability_MultiplePublishers_MultipleLayers()
149 new VmsLayerDependency(SUBSCRIPTION_LAYER_OTHER, Collections.emptySet())), in testLayerAvailability_MultiplePublishers_MultipleLayers()
163 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability_MultiplePublishers_Remove()
165 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId2)); in testLayerAvailability_MultiplePublishers_Remove()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java121 new VmsAvailableLayers(Collections.emptySet(), 0)); in initHalService()
182 new VmsAvailableLayers(Collections.emptySet(), 0)); in testCoreId_IntegerOverflow()
408 new VmsLayersOffering(Collections.emptySet(), PUBLISHER_ID)); in testHandleOfferingEvent_ZeroOfferings()
478 new VmsLayerDependency(new VmsLayer(3, 2, 1), Collections.emptySet()), in testHandleOfferingEvent_MultipleLayersAndDependencies()
513 new VmsAvailableLayers(Collections.emptySet(), 123)); in testHandleAvailabilityRequestEvent_ZeroLayers()
560 Collections.emptySet()), in testHandleAvailabilityRequestEvent_MultipleLayers()
599 new VmsAvailableLayers(Collections.emptySet(), 5)); in testHandleStartSessionEvent()
647 new VmsAvailableLayers(Collections.emptySet(), 123)); in testOnLayersAvailabilityChanged_ZeroLayers()
686 Collections.emptySet()), in testOnLayersAvailabilityChanged_MultipleLayers()
749 new VmsSubscriptionState(123, Collections.emptySet(), Collections.emptySet())); in testHandleSubscriptionsRequestEvent_ZeroLayers()
[all …]
/packages/apps/TV/src/com/android/tv/util/
DMultiLongSparseArray.java92 private void cacheEmptySet(Set<T> emptySet) { in cacheEmptySet() argument
94 mEmptySets[++mEmptyIndex] = emptySet; in cacheEmptySet()
102 Set<T> emptySet = mEmptySets[mEmptyIndex]; in getEmptySet() local
104 return emptySet; in getEmptySet()
DSetupUtils.java79 mSharedPreferences.getStringSet(PREF_KEY_SET_UP_INPUTS, Collections.emptySet())); in SetupUtils()
82 mSharedPreferences.getStringSet(PREF_KEY_KNOWN_INPUTS, Collections.emptySet())); in SetupUtils()
268 sp.getStringSet(PREF_KEY_SET_UP_INPUTS, Collections.<String>emptySet())) { in grantEpgPermissionToSetUpPackages()
/packages/services/Car/service/src/com/android/car/
DVmsRouting.java128 mLayerSubscriptions.getOrDefault(layer, Collections.emptySet()); in removeSubscription()
179 subscribersToPublishers.getOrDefault(publisherId, Collections.emptySet()); in removeSubscription()
253 subscribers.addAll(mLayerSubscriptions.getOrDefault(layer, Collections.emptySet())); in getSubscribersForLayerFromPublisher()
258 .getOrDefault(publisherId, Collections.emptySet())); in getSubscribersForLayerFromPublisher()
DSetMultimap.java43 return Collections.unmodifiableSet(mMap.getOrDefault(key, Collections.emptySet())); in get()
/packages/apps/Contacts/src/com/android/contacts/util/
DSharedPreferenceUtil.java206 .getStringSet(PREFERENCE_KEY_IMPORTED_SIM_CARDS, Collections.<String>emptySet()); in getImportedSims()
211 .getStringSet(PREFERENCE_KEY_DISMISSED_SIM_CARDS, Collections.<String>emptySet()); in getDismissedSims()
216 .getStringSet(PREFERENCE_KEY_RESTORED_DEVICES, Collections.<String>emptySet()); in getRestoredDevices()
221 .getStringSet(PREFERENCE_KEY_DISMISSED_DEVICES, Collections.<String>emptySet()); in getDismissedDevices()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DCp2DeviceLocalAccountLocatorTests.java51 Collections.<String>emptySet()); in testShouldNotCrash()
148 localAccountTypeFactory, Collections.<String>emptySet()); in createLocator()
157 Collections.<String>emptySet()); in createLocator()
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DEpgInputs.java53 return Collections.emptySet(); in queryEpgInputs()
63 return Collections.emptySet(); in queryEpgInputs()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DXmpInterface.java80 this(in, Collections.emptySet(), EmptyArray.LONG); in XmpInterface()
152 return fromContainer(exif, Collections.emptySet()); in fromContainer()
171 return fromContainer(iso, Collections.emptySet()); in fromContainer()
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DEmbmsSampleDownloadService.java129 if (mActiveDownloadRequests.getOrDefault(appKey, Collections.emptySet()).size() > 0) {
166 appKey, Collections.emptySet()).contains(downloadRequest)) {
229 .getOrDefault(fileServiceInfo.getServiceId(), Collections.emptySet()); in requestCleanup()
449 .getOrDefault(serviceId, Collections.emptySet()); in removeTempFileInUse()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DCustomRingtoneDAO.java91 final Set<String> ids = prefs.getStringSet(RINGTONE_IDS, Collections.<String>emptySet()); in getCustomRingtones()
105 return new HashSet<>(prefs.getStringSet(RINGTONE_IDS, Collections.<String>emptySet())); in getRingtoneIds()
DTimerDAO.kt62 val timerIds: Set<String> = prefs.getStringSet(TIMER_IDS, emptySet<String>())!! in getTimers()
176 return prefs.getStringSet(TIMER_IDS, emptySet<String>())!! in getTimerIds()
DTimerDAO.java74 final Set<String> timerIds = prefs.getStringSet(TIMER_IDS, Collections.<String>emptySet()); in getTimers()
187 return prefs.getStringSet(TIMER_IDS, Collections.<String>emptySet()); in getTimerIds()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DUserDeniedManager.java138 return mPreferences.getStringSet(key, Collections.emptySet()).contains(roleName); in isDenied()
144 Set<String> roleNames = mPreferences.getStringSet(key, Collections.emptySet()); in setDenied()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java408 final Set<String> emptySet = Collections.emptySet(); in readCorpusHandlesForPersonalization() local
409 return mPrefs.getStringSet(PREF_CORPUS_HANDLES_FOR_PERSONALIZATION, emptySet); in readCorpusHandlesForPersonalization()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DSearchView.java52 private Set<Toolbar.OnSearchListener> mSearchListeners = Collections.emptySet();
54 Collections.emptySet();
/packages/services/Car/car-lib/src/android/car/vms/
DVmsPublisherClientService.java62 new VmsSubscriptionState(0, Collections.emptySet(),
63 Collections.emptySet());
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DBluetoothBondedListReceiver.java44 Set<BluetoothDevice> pairedDevices = bluetoothAdapter == null ? Collections.emptySet() in onReceive()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/plugins/
DPluginManagerWrapper.java50 return Collections.emptySet(); in getPluginActions()
/packages/apps/Car/Messenger/src/com/android/car/messenger/bluetooth/
DBluetoothHelper.java33 return Collections.emptySet(); in getPairedDevices()
/packages/apps/TV/src/com/android/tv/data/epg/
DStubEpgReader.java66 return Collections.emptySet(); in getChannels()
/packages/apps/EmergencyInfo/src/com/android/emergency/util/
DPreferenceUtils.java60 Collections.<String>emptySet()); in hasAtLeastOneEmergencyContact()

123