/packages/services/Car/tests/carservice_test/src/com/android/car/vms/ |
D | VmsClientTest.java | 29 import static java.util.Collections.emptySet; 72 new VmsAvailableLayers(0, emptySet()); 74 new VmsSubscriptionState(0, emptySet(), emptySet()); 120 new VmsAssociatedLayer(LAYER1, emptySet()), in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions() 183 VmsAvailableLayers expectedLayers = new VmsAvailableLayers(2, emptySet()); in testUnregisterProvider() 215 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions() 221 emptySet()); in testSetSubscriptions() 231 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions_MultipleClients() 234 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions_MultipleClients() 240 emptySet()); in testSetSubscriptions_MultipleClients() [all …]
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | MessageTransportWrapperTest.java | 132 tracker.openTransport(mISipDelegate, Collections.emptySet(), Collections.emptySet()); in testRegistrationStateChanged() 153 callIdConsumer.accept(Collections.emptySet()); in testCloseGracefully() 170 tracker.openTransport(mISipDelegate, Collections.emptySet(), Collections.emptySet()); in testCloseGracefullyForceCloseCallIds() 195 tracker.openTransport(mISipDelegate, Collections.emptySet(), Collections.emptySet()); in testClose() 210 tracker.openTransport(mISipDelegate, Collections.emptySet(), Collections.emptySet()); in testDelegateConnectionSendOutgoingMessage() 235 tracker.openTransport(mISipDelegate, Collections.emptySet(), Collections.emptySet()); in testDelegateConnectionNotifyMessageReceived() 245 tracker.openTransport(mISipDelegate, Collections.emptySet(), Collections.emptySet()); in testDelegateConnectionNotifyMessageReceiveError() 257 tracker.openTransport(mISipDelegate, Collections.emptySet(), Collections.emptySet()); in testDelegateConnectionCloseSession() 267 tracker.openTransport(mISipDelegate, Collections.emptySet(), Collections.emptySet()); in testDelegateOnMessageReceived() 291 tracker.openTransport(mISipDelegate, Collections.emptySet(), Collections.emptySet()); in testDelegateOnMessageSent() [all …]
|
D | SipDelegateControllerTest.java | 97 Collections.emptySet()); in testCreateDelegate() 101 Collections.emptySet() /*denied tags*/); in testCreateDelegate() 107 consumer.accept(mMockSipDelegate, Collections.emptySet()); in testCreateDelegate() 110 Collections.emptySet()); in testCreateDelegate() 112 Collections.emptySet()); in testCreateDelegate() 151 Collections.emptySet()); in testCreateDelegateTransportDied() 156 Collections.emptySet() /*denied tags*/); in testCreateDelegateTransportDied() 166 Collections.emptySet()); in testDestroyDelegate() 195 Collections.emptySet()); in testDestroyDelegateForce() 223 Collections.emptySet()); in testChangeSupportedFeatures() [all …]
|
D | SipTransportControllerTest.java | 259 new DelegateRequest(Collections.emptySet()), TEST_PACKAGE_NAME, in createImsServiceAvailableSubIdIncorrect() 276 new DelegateRequest(Collections.emptySet()), TEST_PACKAGE_NAME, in createImsServiceDoesntSupportTransport() 294 new DelegateRequest(Collections.emptySet()), TEST_PACKAGE_NAME, in createImsServiceNotAvailable() 311 createDelegateAndVerify(controller, c, r.getFeatureTags(), Collections.emptySet()); in basicCreate() 323 createDelegateAndVerify(controller, c, r.getFeatureTags(), Collections.emptySet()); in basicCreateDestroy() 340 createDelegateAndVerify(controller, c, r.getFeatureTags(), Collections.emptySet()); in createDestroyAppDied() 370 createDelegateAndVerify(controller, c, Collections.emptySet(), getDeniedTags); in testCreateButNotInRole() 385 createDelegateAndVerify(controller, c1, firstDelegate, Collections.emptySet()); in createTwoAndDenyOverlappingTags() 417 Collections.emptySet()); in createTwoAndTriggerRoleChange() 427 createDelegateAndVerify(controller, c2, Collections.emptySet(), secondDeniedTags, 1); in createTwoAndTriggerRoleChange() [all …]
|
D | TransportSipMessageValidatorTest.java | 101 tracker.onTransportOpened(Collections.emptySet(), Collections.emptySet()); in testTransportOpening() 102 verify(mOutgoingStateValidator).open(Collections.emptySet(), Collections.emptySet()); in testTransportOpening() 200 doReturn(Collections.emptySet()).when(mSipSessionTracker).getTrackedDialogs(); in testTransportClosingGracefullyNoPendingSessions() 348 doReturn(Collections.emptySet()).when(mSipSessionTracker) in setRegStateChangedNoPendingCallIds() 357 verify(mOutgoingStateValidator, times(2)).restrictFeatureTags(Collections.emptySet()); in setRegStateChangedNoPendingCallIds() 432 doReturn(Collections.emptySet()).when(mSipSessionTracker) in setRegStateChangedPendingCallIdsResolved() 487 assertEquals(Collections.emptySet(), pendingCallIds); in setRegStateRegThenClose() 519 tracker.onTransportOpened(Collections.emptySet(), Collections.emptySet()); in openTransport()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/ |
D | VmsBrokerServiceTest.java | 35 import static java.util.Collections.emptySet; 94 new VmsAvailableLayers(0, emptySet()); 96 new VmsSubscriptionState(0, emptySet(), emptySet()); 242 new VmsAssociatedLayer(LAYER1, emptySet()), in testRegister_ReceivesCurrentLayerAvailabilityAndSubscriptions() 348 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions() 353 emptySet()); in testSetSubscriptions() 363 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions_MultipleClients() 366 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions_MultipleClients() 371 emptySet()); in testSetSubscriptions_MultipleClients() 381 new VmsAssociatedLayer(LAYER1, emptySet()) in testSetSubscriptions_OverwriteSubscription() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsPublisherSubscriberTest.java | 105 assertEquals(Collections.emptySet(), availableLayers.getAssociatedLayers()); in testLayerAvailability_Default() 113 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability() 123 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability_Overwrite() 125 new VmsLayerDependency(SUBSCRIPTION_LAYER_OTHER, Collections.emptySet())), in testLayerAvailability_Overwrite() 138 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability_MultiplePublishers_SameLayer() 140 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId2)); in testLayerAvailability_MultiplePublishers_SameLayer() 152 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability_MultiplePublishers_MultipleLayers() 154 new VmsLayerDependency(SUBSCRIPTION_LAYER_OTHER, Collections.emptySet())), in testLayerAvailability_MultiplePublishers_MultipleLayers() 168 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId)); in testLayerAvailability_MultiplePublishers_Remove() 170 new VmsLayerDependency(SUBSCRIPTION_LAYER, Collections.emptySet())), publisherId2)); in testLayerAvailability_MultiplePublishers_Remove() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SavedNetworkNominatorTest.java | 147 scanDetails, null, false, true, true, Collections.emptySet(), mOnConnectableListener in ignoreNetworksIfUseExternalScores() 174 scanDetails, mPasspointCandidates, false, true, true, Collections.emptySet(), in ignoreNetworkIfSimIsAbsentForEapSimNetwork() 203 scanDetails, mPasspointCandidates, false, true, true, Collections.emptySet(), in ignoreEphemeralNetworks() 230 scanDetails, null, false, true, true, Collections.emptySet(), in ignoreNetworksIfAutojoinNotAllowed() 238 scanDetails, mPasspointCandidates, false, true, true, Collections.emptySet(), in ignoreNetworksIfAutojoinNotAllowed() 268 scanDetails, mPasspointCandidates, false, true, true, Collections.emptySet(), in returnNoCandidateIfNoNetworksAllowAutojoin() 290 scanDetails, passpointCandidates, false, true, true, Collections.emptySet(), in returnCandidatesIfPasspointNetworksAvailableWithAutojoinEnabled() 316 scanDetails, mPasspointCandidates, false, true, true, Collections.emptySet(), in testIgnoreNetworksIfMeteredAndFromNonDataSim() 351 scanDetails, mPasspointCandidates, false, true, true, Collections.emptySet(), in testIgnoreNetworksFromAppIfNoImsiProtection() 361 scanDetails, mPasspointCandidates, false, true, true, Collections.emptySet(), in testIgnoreNetworksFromAppIfNoImsiProtection() [all …]
|
D | WifiNetworkSelectorTest.java | 558 false, true, true, Collections.emptySet(), false); in emptyScanResults() 592 false, true, true, Collections.emptySet(), false); in verifyMinimumRssiThreshold() 629 false, true, true, Collections.emptySet(), false); in verifyMinimumTimeGapWhenConnected() 641 false, true, true, Collections.emptySet(), false); in verifyMinimumTimeGapWhenConnected() 683 false, true, true, Collections.emptySet(), false); in verifyNoMinimumTimeGapWhenDisconnected() 695 false, true, true, Collections.emptySet(), false); in verifyNoMinimumTimeGapWhenDisconnected() 735 false, true, true, Collections.emptySet(), false); in lowRssi5GNetworkIsNotSufficient() 753 false, true, true, Collections.emptySet(), false); in lowRssi5GNetworkIsNotSufficient() 795 false, true, true, Collections.emptySet(), false); in noInternetAccessNetworkIsNotSufficient() 821 false, true, true, Collections.emptySet(), false); in noInternetAccessNetworkIsNotSufficient() [all …]
|
D | NetworkSuggestionNominatorTest.java | 144 Collections.emptySet(), in testSelectNetworkSuggestionForNoMatch() 188 Collections.emptySet(), in testSelectNetworkSuggestionForOneMatch() 231 Collections.emptySet(), in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion() 277 Collections.emptySet(), in testSelectNetworkSuggestionForMultipleMatch() 323 Collections.emptySet(), in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins() 373 Collections.emptySet(), in testSelectNetworkSuggestionForMultipleMatchHighPriorityFromEachPriorityGroupWins() 420 Collections.emptySet(), in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestions() 476 Collections.emptySet(), in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestionsHighPriorityWins() 521 Collections.emptySet(), in testSelectNetworkSuggestionForOneMatchButInToWifiConfigManager() 580 Collections.emptySet(), in testSelectNetworkSuggestionForOneMatchForExistingNetwork() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/vms/ |
D | VmsSubscriptionHelperTest.java | 23 import static java.util.Collections.emptySet; 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()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/validator/ |
D | OutgoingTransportStateValidatorTest.java | 71 validator.open(Collections.singleton("+tag"), Collections.emptySet()); in testVerifyMessageInOpenCloseState() 72 validator.restrictFeatureTags(Collections.emptySet()); in testVerifyMessageInOpenCloseState() 138 validator.open(Collections.emptySet(), Collections.singleton("+tag")); in testDeniedFeatureTag() 139 validator.restrictFeatureTags(Collections.emptySet()); in testDeniedFeatureTag() 156 validator.open(Collections.singleton("+tag"), Collections.emptySet()); in testRestrictedFeatureTag() 176 validator.open(Collections.emptySet(), Collections.emptySet()); in testNoSupportedFeatureTag() 177 validator.restrictFeatureTags(Collections.emptySet()); in testNoSupportedFeatureTag()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VmsHalServiceTest.java | 117 new VmsAvailableLayers(Collections.emptySet(), 0)); in initHalService() 171 new VmsAvailableLayers(Collections.emptySet(), 0)); in testCoreId_IntegerOverflow() 536 new VmsLayerDependency(new VmsLayer(3, 2, 1), Collections.emptySet()), in testHandleOfferingEvent_MultipleLayersAndDependencies() 570 new VmsAvailableLayers(Collections.emptySet(), 123)); in testHandleAvailabilityRequestEvent_ZeroLayers() 617 Collections.emptySet()), in testHandleAvailabilityRequestEvent_MultipleLayers() 656 new VmsAvailableLayers(Collections.emptySet(), 5)); in testHandleStartSessionEvent() 704 new VmsAvailableLayers(Collections.emptySet(), 123)); in testOnLayersAvailabilityChanged_ZeroLayers() 743 Collections.emptySet()), in testOnLayersAvailabilityChanged_MultipleLayers() 806 new VmsSubscriptionState(123, Collections.emptySet(), Collections.emptySet())); in testHandleSubscriptionsRequestEvent_ZeroLayers() 828 Collections.emptySet())); in testHandleSubscriptionsRequestEvent_OneLayer_ZeroAssociatedLayers() [all …]
|
/packages/apps/TV/src/com/android/tv/util/ |
D | MultiLongSparseArray.java | 92 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()
|
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/ |
D | RestrictedStoragePermissionTest.java | 126 installApp(APK_USES_STORAGE_DEFAULT_29, Collections.emptySet()); in testTargetingSdk29DefaultWhitelistedHasIsolatedAccess() 156 installApp(APK_USES_STORAGE_OPT_OUT_29, Collections.emptySet()); in testTargetingSdk29OptOutNotWhitelistedHasIsolatedAccess() 282 installApp(APK_USES_STORAGE_DEFAULT_28, Collections.emptySet()); in testCannotControlStorageWhitelistPostInstall2() 292 installApp(APK_USES_STORAGE_DEFAULT_22, Collections.emptySet()); in cannotGrantStorageTargetingSdk22NotWhitelisted() 308 installApp(APK_USES_STORAGE_OPT_IN_22, Collections.emptySet()); in cannotGrantStorageTargetingSdk22OptInNotWhitelisted() 346 installApp(APK_USES_STORAGE_DEFAULT_28, Collections.emptySet()); in cannotGrantStorageTargetingSdk28NotWhitelisted() 357 installApp(APK_USES_STORAGE_OPT_IN_28, Collections.emptySet()); in cannotGrantStorageTargetingSdk28OptInNotWhitelisted() 390 installApp(APK_USES_STORAGE_DEFAULT_29, Collections.emptySet()); in canGrantStorageTargetingSdk29NotWhitelisted() 401 installApp(APK_USES_STORAGE_OPT_OUT_29, Collections.emptySet()); in canGrantStorageTargetingSdk29OptOutNotWhitelisted()
|
D | RestrictedPermissionsTest.java | 173 installRestrictedPermissionUserApp(Collections.emptySet(), in testNoneRestrictedPermissionWhitelistedAtInstall29() 226 installApp(APK_USES_SMS_CALL_LOG_22, Collections.emptySet(), in testNoneRestrictedPermissionWhitelistedAtInstall22() 244 installApp(APK_USES_LOCATION_29, Collections.emptySet(), in testLocationBackgroundPermissionNotWhitelistedAtInstall29() 260 installApp(APK_USES_LOCATION_22, Collections.emptySet(), in testLocationBackgroundPermissionNotWhitelistedAtInstall22() 295 installApp(APK_USES_STORAGE_DEFAULT_29, Collections.emptySet(), grantedPermissions); in testCanGrantSoftRestrictedNotWhitelistedPermissions() 325 installRestrictedPermissionUserApp(Collections.emptySet(), null); in testWhitelistAccessControl() 378 params.setWhitelistedRestrictedPermissions(Collections.emptySet()); in onSideLoadWhitelistNoPermissions()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarRecentAppsController.kt | 71 return emptySet() in <lambda>() 73 return allRunningDesktopAppInfos?.mapNotNull { it.targetPackage }?.toSet() ?: emptySet() in <lambda>() 79 return emptySet() in <lambda>() 82 ?: emptySet() in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/ |
D | RequestPermissionViewModel.kt | 90 private val _grantedFitnessPermissions = MutableLiveData<Set<FitnessPermission>>(emptySet()) in <lambda>() 95 private val _grantedMedicalPermissions = MutableLiveData<Set<MedicalPermission>>(emptySet()) in <lambda>() 103 MutableLiveData<Set<AdditionalPermission>>(emptySet()) in <lambda>() 241 _grantedFitnessPermissions.setValue(emptySet()) in <lambda>() 250 _grantedMedicalPermissions.setValue(emptySet()) in <lambda>() 259 _grantedAdditionalPermissions.value = emptySet() in <lambda>()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | SharedPreferenceUtil.java | 206 .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/WallpaperPicker2/src/com/android/wallpaper/picker/undo/data/repository/ |
D | UndoRepository.kt | 29 private val dirtyOwnerIds = MutableStateFlow(emptySet<Int>()) 69 dirtyOwnerIds.value = emptySet() in clearAllDirty()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/events/ |
D | EventsTest.kt | 207 whenever(mockSimpleUiFeature.eventsProduced) { emptySet<RegisteredEventClass>() } in <lambda>() 208 whenever(mockSimpleUiFeature.eventsConsumed) { emptySet<RegisteredEventClass>() } in <lambda>() 235 whenever(mockSimpleUiFeature.eventsProduced) { emptySet<RegisteredEventClass>() } in testEventDoesNotThrowUnregisteredEventOnProd() 236 whenever(mockSimpleUiFeature.eventsConsumed) { emptySet<RegisteredEventClass>() } in testEventDoesNotThrowUnregisteredEventOnProd()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/test/alwaysdisabledfeature/ |
D | AlwaysDisabledFeature.kt | 52 override val eventsConsumed = emptySet<RegisteredEventClass>() in isEnabled() 55 override val eventsProduced = emptySet<RegisteredEventClass>() in isEnabled()
|
/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
D | TransportSipMessageValidator.java | 208 cleanupAndNotifyRegistrationAppliedConsumer(Collections.emptySet()); in onRegistrationStateChanged() 322 cancelClosingTimeoutAndSendComplete(Collections.emptySet()); in closeSessionsGracefully() 356 return Collections.emptySet(); in closeSessions() 464 cleanupAndNotifyRegistrationAppliedConsumer(Collections.emptySet()); in cancelPendingRegCleanupTask() 490 cleanupAndNotifyRegistrationAppliedConsumer(Collections.emptySet()); in updatePendingRegCleanupTask()
|
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/ |
D | EpgInputs.java | 53 return Collections.emptySet(); in queryEpgInputs() 63 return Collections.emptySet(); in queryEpgInputs()
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | SafetyCenterFlags.kt | 74 defaultValue = emptySet(), in <lambda>() 85 defaultValue = emptySet(), in <lambda>() 163 defaultValue = emptySet(), in <lambda>() 225 defaultValue = emptySet(), in <lambda>()
|