Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/data/demo/
DDemoDeviceBasedSatelliteRepositoryTest.kt42 connectionState = SatelliteConnectionState.Unknown,
64 val latestConnection by collectLastValue(underTest.connectionState) in startProcessing_getsNewUpdates()
71 connectionState = SatelliteConnectionState.On, in startProcessing_getsNewUpdates()
80 connectionState = SatelliteConnectionState.Connected, in startProcessing_getsNewUpdates()
91 val latestConnection by collectLastValue(underTest.connectionState) in stopProcessing_stopsGettingUpdates()
98 connectionState = SatelliteConnectionState.On, in stopProcessing_stopsGettingUpdates()
109 connectionState = SatelliteConnectionState.Connected, in stopProcessing_stopsGettingUpdates()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/demo/
DDemoDeviceBasedSatelliteRepository.kt40 override val connectionState = MutableStateFlow(SatelliteConnectionState.Unknown) in <lambda>() constant in com.android.systemui.statusbar.pipeline.satellite.data.demo.DemoDeviceBasedSatelliteRepository
54 connectionState.value = event.connectionState in <lambda>()
DDemoDeviceBasedSatelliteDataSource.kt58 connectionState = getString("connection").toConnectionState(), in <lambda>()
64 val connectionState: SatelliteConnectionState, in <lambda>() constant in DemoSatelliteEvent
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/ui/viewmodel/
DDeviceBasedSatelliteViewModel.kt114 interactor.connectionState,
128 interactor.connectionState,
129 ) { shouldShow, connectionState -> in connectionState() method
135 str1 = connectionState.name in connectionState()
140 when (connectionState) { in connectionState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DDataConnectionStateTracker.java155 public void notifyDataConnectionStateChanged(PreciseDataConnectionState connectionState) { in notifyDataConnectionStateChanged() argument
156 List<Integer> apnTypes = connectionState.getApnSetting().getApnTypes(); in notifyDataConnectionStateChanged()
159 mLastPreciseDataConnectionState.put(apnType, connectionState); in notifyDataConnectionStateChanged()
163 mPhone.getVoiceCallSessionStats().onPreciseDataConnectionStateChanged(connectionState); in notifyDataConnectionStateChanged()
226 PreciseDataConnectionState connectionState) { in onPreciseDataConnectionStateChanged() argument
227 notifyDataConnectionStateChanged(connectionState); in onPreciseDataConnectionStateChanged()
DVoiceCallSessionStats.java431 PreciseDataConnectionState connectionState) { in onPreciseDataConnectionStateChanged() argument
433 updateVoiceCallSessionBearerState(connectionState); in onPreciseDataConnectionStateChanged()
1060 private void updateVoiceCallSessionBearerState(PreciseDataConnectionState connectionState) { in updateVoiceCallSessionBearerState() argument
1061 ApnSetting apnSetting = connectionState.getApnSetting(); in updateVoiceCallSessionBearerState()
1076 updateHandoverState(proto, connectionState.getState()); in updateVoiceCallSessionBearerState()
1079 updateHandoverState(proto, connectionState.getState()); in updateVoiceCallSessionBearerState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/bluetooth/
DBluetoothRepositoryImplTest.kt64 whenever(bluetoothAdapter.connectionState).thenReturn(BluetoothProfile.STATE_CONNECTING) in <lambda>()
74 whenever(bluetoothAdapter.connectionState).thenReturn(BluetoothProfile.STATE_CONNECTING) in <lambda>()
89 whenever(bluetoothAdapter.connectionState).thenReturn(BluetoothProfile.STATE_CONNECTING) in <lambda>()
106 whenever(bluetoothAdapter.connectionState).thenReturn(BluetoothProfile.STATE_DISCONNECTED) in <lambda>()
119 whenever(bluetoothAdapter.connectionState).thenReturn(BluetoothProfile.STATE_DISCONNECTED) in <lambda>()
139 whenever(bluetoothAdapter.connectionState).thenReturn(BluetoothProfile.STATE_CONNECTING) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/ui/viewmodel/
DDeviceBasedSatelliteViewModelTest.kt328 repo.connectionState.value = SatelliteConnectionState.Connected in carrierText_nullWhenShouldNotShow_notAllOos()
350 repo.connectionState.value = SatelliteConnectionState.Connected in carrierText_nullWhenShouldNotShow_isEmergencyOnly()
380 repo.connectionState.value = SatelliteConnectionState.Connected in carrierText_nullWhenShouldNotShow_apmIsEnabled()
402 repo.connectionState.value = SatelliteConnectionState.Connected in carrierText_satelliteIsOn()
427 repo.connectionState.value = SatelliteConnectionState.Connected in carrierText_hysteresisWhenEnablingText()
461 repo.connectionState.value = SatelliteConnectionState.Connected in carrierText_deviceIsProvisioned()
495 repo.connectionState.value = SatelliteConnectionState.Connected in carrierText_wifiIsActive()
537 repo.connectionState.value = SatelliteConnectionState.Unknown in carrierText_connectionStateUnknown_null()
558 repo.connectionState.value = SatelliteConnectionState.Off in carrierText_connectionStateOff_null()
579 repo.connectionState.value = SatelliteConnectionState.On in carrierText_connectionStateOn_notConnectedString()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/
DDeviceBasedSatelliteInteractorTest.kt128 val latest by collectLastValue(underTest.connectionState) in connectionState_matchesRepositoryValue()
131 repo.connectionState.value = SatelliteConnectionState.Off in connectionState_matchesRepositoryValue()
135 repo.connectionState.value = SatelliteConnectionState.On in connectionState_matchesRepositoryValue()
139 repo.connectionState.value = SatelliteConnectionState.Connected in connectionState_matchesRepositoryValue()
143 repo.connectionState.value = SatelliteConnectionState.Unknown in connectionState_matchesRepositoryValue()
163 val latest by collectLastValue(underTest.connectionState) in connectionState_offWhenFeatureIsDisabled()
168 repo.connectionState.value = SatelliteConnectionState.Off in connectionState_offWhenFeatureIsDisabled()
172 repo.connectionState.value = SatelliteConnectionState.On in connectionState_offWhenFeatureIsDisabled()
176 repo.connectionState.value = SatelliteConnectionState.Connected in connectionState_offWhenFeatureIsDisabled()
180 repo.connectionState.value = SatelliteConnectionState.Unknown in connectionState_offWhenFeatureIsDisabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/data/prod/
DDeviceBasedSatelliteRepositoryImplTest.kt106 val connectionState by collectLastValue(underTest.connectionState) in nullSatelliteManager_usesDefaultValues() constant
110 assertThat(connectionState).isEqualTo(SatelliteConnectionState.Off) in nullSatelliteManager_usesDefaultValues()
119 val latest by collectLastValue(underTest.connectionState) in connectionState_mapsFromSatelliteModemState()
565 val connectionState by collectLastValue(underTest.connectionState) in satelliteNotSupported_listenersAreNotRegistered() constant
628 val connectionState by collectLastValue(underTest.connectionState) in satelliteSupported_supportIsLost_unregistersListeners() constant
661 val connectionState by collectLastValue(underTest.connectionState) in satelliteNotSupported_supportShowsUp_registersListeners() constant
688 val connectionState by collectLastValue(underTest.connectionState) in repoDoesNotCheckForSupportUntilMinUptime() constant
708 val connectionState by collectLastValue(underTest.connectionState) in telephonyCrash_repoReregistersConnectionStateListener() constant
DFakeDeviceBasedSatelliteRepository.kt26 override val connectionState = MutableStateFlow(Off) constant in com.android.systemui.statusbar.pipeline.satellite.data.prod.FakeDeviceBasedSatelliteRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/
DDeviceBasedSatelliteRepositorySwitcher.kt105 override val connectionState: StateFlow<SatelliteConnectionState> = in <lambda>() constant
107 .flatMapLatest { it.connectionState } in <lambda>()
108 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl.connectionState.value) in <lambda>()
DDeviceBasedSatelliteRepository.kt32 val connectionState: StateFlow<SatelliteConnectionState> constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/ui/model/
DSatelliteIconModel.kt30 connectionState: SatelliteConnectionState, in fromConnectionState()
33 when (connectionState) { in fromConnectionState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/
DDeviceBasedSatelliteInteractor.kt61 val connectionState = in <lambda>() constant
63 repo.connectionState in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/bluetooth/
DBluetoothRepository.kt74 localBluetoothManager?.bluetoothAdapter?.connectionState in fetchConnectionStatusInBackground()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/data/
DDeviceBasedSatelliteRepositorySwitcherTest.kt73 connectionState = SatelliteConnectionState.Unknown, in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteSOSMessageRecommender.java631 private boolean shouldTrackCall(int connectionState) { in shouldTrackCall() argument
637 return (connectionState != Connection.STATE_ACTIVE in shouldTrackCall()
638 && connectionState != Connection.STATE_DISCONNECTED); in shouldTrackCall()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java61 public static int getConnectionStateSummary(int connectionState) { in getConnectionStateSummary() argument
62 switch (connectionState) { in getConnectionStateSummary()
/frameworks/base/media/java/android/media/
DMediaRoute2Info.java1305 public Builder setConnectionState(@ConnectionState int connectionState) { in setConnectionState() argument
1306 mConnectionState = connectionState; in setConnectionState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DSatelliteSOSMessageRecommenderTest.java556 @Connection.ConnectionState int connectionState) { in testStopTrackingCallBeforeTimeout()
565 mTestSOSMessageRecommender.onEmergencyCallConnectionStateChanged(CALL_ID, connectionState); in testStopTrackingCallBeforeTimeout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/prod/
DDeviceBasedSatelliteRepositoryImpl.kt421 override val connectionState = constant
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java2061 int connectionState = ImsConferenceState.getConnectionStateForStatus(status); in parseConferenceState() local
2063 if (connectionState != Connection.STATE_DISCONNECTED) { in parseConferenceState()
2065 displayName, endpointUri, connectionState, Call.Details.DIRECTION_UNKNOWN); in parseConferenceState()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceBroker.java1462 AudioDeviceInventory.WiredDeviceConnectionState connectionState, int delay) { in postSetWiredDeviceConnectionState() argument
1463 sendLMsg(MSG_L_SET_WIRED_DEVICE_CONNECTION_STATE, SENDMSG_QUEUE, connectionState, delay); in postSetWiredDeviceConnectionState()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...