Home
last modified time | relevance | path

Searched refs:_subscriptions (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionsRepository.kt78 private val _subscriptions = MutableStateFlow<List<SubscriptionModel>>(listOf()) in <lambda>() constant
80 _subscriptions in <lambda>()
82 .stateIn(scope, SharingStarted.WhileSubscribed(), _subscriptions.value) in <lambda>()
105 _subscriptions.value = subscriptionInfoCache.values.toList() in <lambda>()
225 _subscriptions.value = listOf() in <lambda>()
285 if (_subscriptions.value.isEmpty()) { in <lambda>()
295 if (_subscriptions.value.size > 1) { in <lambda>()
306 _subscriptions.value[0].subscriptionId in <lambda>()
327 val currentSubscriptions = _subscriptions.value in <lambda>()
329 _subscriptions.value = currentSubscriptions.filter { it.subscriptionId != subId } in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionsRepository.kt58 private val _subscriptions = MutableStateFlow<List<SubscriptionModel>>(listOf()) constant
59 override val subscriptions = _subscriptions
105 _subscriptions.value = subs in getIsAnySimSecure()