Home
last modified time | relevance | path

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

1234

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java208 mCallLogManager.onCallStateChanged(fakeCall, CallState.DIALING, CallState.DISCONNECTED); in testDontLogCancelledCall()
233 CallState.DISCONNECTED); in testDontLogChoosingAccountCall()
283 mCallLogManager.onCallStateChanged(fakeCall1, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogUnloggableNumbers()
284 mCallLogManager.onCallStateChanged(fakeCall2, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogUnloggableNumbers()
313 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogCallsFromEmergencyAccount()
336 CallState.DISCONNECTED); in testLogCallDirectionOutgoing()
361 CallState.DISCONNECTED); in testLogCallDirectionIncoming()
387 CallState.DISCONNECTED); in testLogCallDirectionMissed()
416 CallState.DISCONNECTED); in testLogCallDirectionRejected()
442 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testCreationTimeAndAge()
[all …]
DDisconnectedCallNotifierTest.java83 notifier.onCallStateChanged(call, CallState.DIALING, CallState.DISCONNECTED); in testNotificationShownAfterEmergencyCall()
106 notifier.onCallStateChanged(call, CallState.DIALING, CallState.DISCONNECTED); in testNotificationShownForDisconnectedEmergencyCall()
128 notifier.onCallStateChanged(call, CallState.DIALING, CallState.DISCONNECTED); in testNotificationNotShownAfterCall()
145 notifier.onCallStateChanged(call, CallState.DIALING, CallState.DISCONNECTED); in testNotificationClearedForEmergencyCall()
DCallAudioManagerTest.java344 when(call.getState()).thenReturn(CallState.DISCONNECTED);
345 mCallAudioManager.onCallStateChanged(call, CallState.DIALING, CallState.DISCONNECTED);
491 when(call.getState()).thenReturn(CallState.DISCONNECTED);
496 CallState.DISCONNECTED);
639 when(call.getState()).thenReturn(CallState.DISCONNECTED);
644 CallState.DISCONNECTED);
738 when(call.getState()).thenReturn(CallState.DISCONNECTED);
742 mCallAudioManager.onCallStateChanged(call, CallState.ACTIVE, CallState.DISCONNECTED);
/packages/modules/Bluetooth/system/bta/le_audio/
Dmetrics_collector_test.cc154 group_id1, device1, bluetooth::le_audio::ConnectionState::DISCONNECTED, in TEST_F()
177 group_id1, device1, bluetooth::le_audio::ConnectionState::DISCONNECTED, in TEST_F()
198 group_id1, device1, bluetooth::le_audio::ConnectionState::DISCONNECTED, in TEST_F()
224 group_id2, device3, bluetooth::le_audio::ConnectionState::DISCONNECTED, in TEST_F()
227 group_id2, device2, bluetooth::le_audio::ConnectionState::DISCONNECTED, in TEST_F()
251 group_id2, device3, bluetooth::le_audio::ConnectionState::DISCONNECTED, in TEST_F()
257 group_id2, device3, bluetooth::le_audio::ConnectionState::DISCONNECTED, in TEST_F()
260 group_id2, device2, bluetooth::le_audio::ConnectionState::DISCONNECTED, in TEST_F()
290 group_id2, device3, bluetooth::le_audio::ConnectionState::DISCONNECTED, in TEST_F()
293 group_id2, device2, bluetooth::le_audio::ConnectionState::DISCONNECTED, in TEST_F()
[all …]
Dstorage_helper_test.cc108 LeAudioDevice leAudioDevice(test_address0, DeviceConnectState::DISCONNECTED); in TEST()
192 LeAudioDevice leAudioDevice(test_address0, DeviceConnectState::DISCONNECTED); in TEST()
255 LeAudioDevice leAudioDevice(test_address0, DeviceConnectState::DISCONNECTED); in TEST()
313 LeAudioDevice leAudioDevice(test_address0, DeviceConnectState::DISCONNECTED); in TEST()
Dmetrics_collector.cc99 case ConnectionState::DISCONNECTED: in AddStateChangedEvent()
141 if (state == le_audio::ConnectionState::DISCONNECTED || in AddStateChangedEvent()
224 bluetooth::le_audio::ConnectionState::DISCONNECTED, in Flush()
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
DNdefPushClient.java38 private static final int DISCONNECTED = 0; field in NdefPushClient
44 private int mState = DISCONNECTED;
49 if (mState != DISCONNECTED) { in connect()
61 mState = DISCONNECTED; in connect()
77 mState = DISCONNECTED; in connect()
141 mState = DISCONNECTED; in close()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepClient.java41 private int mState = DISCONNECTED;
47 private static final int DISCONNECTED = 0; field in SnepClient
136 if (mState != DISCONNECTED) { in connect()
163 mState = DISCONNECTED; in connect()
174 mState = DISCONNECTED; in connect()
194 mState = DISCONNECTED; in close()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkInfo.java77 CONNECTING, CONNECTED, SUSPENDED, DISCONNECTING, DISCONNECTED, UNKNOWN enumConstant
106 DISCONNECTED, enumConstant
126 stateMap.put(DetailedState.IDLE, State.DISCONNECTED); in stateMap.put() argument
127 stateMap.put(DetailedState.SCANNING, State.DISCONNECTED); in stateMap.put() argument
136 stateMap.put(DetailedState.DISCONNECTED, State.DISCONNECTED); in stateMap.put() argument
137 stateMap.put(DetailedState.FAILED, State.DISCONNECTED); in stateMap.put() argument
138 stateMap.put(DetailedState.BLOCKED, State.DISCONNECTED); in stateMap.put() argument
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiStateTrackerTest.java64 WifiStateTracker.DISCONNECTED, in testBatteryStatsUpdated()
94 mWifiStateTracker.updateState(WLAN0, WifiStateTracker.DISCONNECTED); in updateOnMultipleIfaces()
102 mWifiStateTracker.updateState(WLAN1, WifiStateTracker.DISCONNECTED); in updateOnMultipleIfaces()
110 mWifiStateTracker.updateState(WLAN0, WifiStateTracker.DISCONNECTED); in updateOnMultipleIfaces()
114 mWifiStateTracker.updateState(WLAN1, WifiStateTracker.DISCONNECTED); in updateOnMultipleIfaces()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverClient.java37 private static final int DISCONNECTED = 0; field in HandoverClient
49 if (mState != DISCONNECTED) { in connect()
60 mState = DISCONNECTED; in connect()
77 mState = DISCONNECTED; in connect()
97 mState = DISCONNECTED; in close()
/packages/modules/Wifi/framework/java/android/net/wifi/
DSupplicantState.java39 DISCONNECTED, enumConstant
184 case DISCONNECTED: in isHandshakeState()
207 case DISCONNECTED: in isConnecting()
223 case DISCONNECTED: in isDriverActive()
/packages/apps/Nfc/src/com/android/nfc/sneptest/
DDtaSnepClient.java44 private int mState = DISCONNECTED;
53 private static final int DISCONNECTED = 0; field in DtaSnepClient
268 if (mState != DISCONNECTED) { in connect()
295 mState = DISCONNECTED; in connect()
305 mState = DISCONNECTED; in connect()
325 mState = DISCONNECTED; in close()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallState.java90 public static final int DISCONNECTED = TelecomProtoEnums.DISCONNECTED; // = 7 field in CallState
151 case DISCONNECTED: in toString()
DCall.java1163 if (newState == CallState.DISCONNECTED && shouldContinueProcessingAfterDisconnect()) { in setState()
1192 } else if (mState == CallState.DISCONNECTED) { in setState()
1216 case CallState.DISCONNECTED: in setState()
1251 int statsdDisconnectCause = (newState == CallState.DISCONNECTED) ? in setState()
1875 if (mState == CallState.DISCONNECTED && in getAgeMillis()
2405 } else if (mState != CallState.ABORTED && mState != CallState.DISCONNECTED) { in disconnect()
2713 case CallState.DISCONNECTED: in isAlive()
3633 if (isActive() || getState() == CallState.DISCONNECTED) { in setVideoState()
3726 return CallState.DISCONNECTED; in getStateFromConnectionState()
3734 return CallState.DISCONNECTED; in getStateFromConnectionState()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiStateTracker.java38 DISCONNECTED,
47 public static final int DISCONNECTED = 2; field in WifiStateTracker
113 case DISCONNECTED: in internalToBatteryStatsWifiState()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DLegacyTypeTrackerTest.kt46 import android.net.NetworkInfo.DetailedState.DISCONNECTED
147 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai, DISCONNECTED, TYPE_MOBILE_SUPL) in testSupl()
153 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai, DISCONNECTED, TYPE_MOBILE_SUPL) in testSupl()
154 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai, DISCONNECTED, TYPE_MOBILE) in testSupl()
198 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai1, DISCONNECTED, TYPE_MOBILE) in testBroadcastOnDisconnect()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/
DSapServer.java58 DISCONNECTED, CONNECTING, CONNECTING_CALL_ONGOING, CONNECTED, CONNECTED_BUSY, DISCONNECTING; enumConstant
62 SAP_STATE mState = SAP_STATE.DISCONNECTED;
174 } else if (mState != SAP_STATE.DISCONNECTED && mState != SAP_STATE.DISCONNECTING) { in onReceive()
491 changeState(SAP_STATE.DISCONNECTED); in run()
492 } else if (mState != SAP_STATE.DISCONNECTED) { in run()
583 } else if (mState != SAP_STATE.DISCONNECTED in onConnectRequest()
868 changeState(SAP_STATE.DISCONNECTED); in handleRfcommReply()
897 if (mState == SAP_STATE.DISCONNECTED || mState == SAP_STATE.CONNECTING in handleRfcommReply()
941 if (mState != SAP_STATE.DISCONNECTED && mState != SAP_STATE.DISCONNECTING) { in handleRilInd()
/packages/apps/Dialer/java/com/android/incallui/call/state/
DDialerCallState.java32 public static final int DISCONNECTED = 10; /* State after a call disconnects */ field in DialerCallState
85 case DISCONNECTED: in toString()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkInfo_StateTest.java27 assertEquals(State.DISCONNECTED, State.valueOf("DISCONNECTED")); in testValueOf()
40 assertEquals(State.DISCONNECTED, expected[4]); in testValues()
DNetworkInfo_DetailedStateTest.java29 assertEquals(DetailedState.DISCONNECTED, DetailedState.valueOf("DISCONNECTED")); in testValueOf()
49 assertEquals(DetailedState.DISCONNECTED, expected[8]); in testValues()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/intdefs/
DFastPairEventIntDefs.java152 ConnectErrorCode.DISCONNECTED,
161 int DISCONNECTED = 3; field
/packages/modules/Bluetooth/system/bta/vc/
Dvc_test.cc567 OnConnectionState(ConnectionState::DISCONNECTED, test_address)); in TEST_F()
611 OnConnectionState(ConnectionState::DISCONNECTED, test_address)); in TEST_F()
622 OnConnectionState(ConnectionState::DISCONNECTED, test_address)); in TEST_F()
633 OnConnectionState(ConnectionState::DISCONNECTED, test_address)); in TEST_F()
645 OnConnectionState(ConnectionState::DISCONNECTED, test_address)) in TEST_F()
658 OnConnectionState(ConnectionState::DISCONNECTED, test_address)) in TEST_F()
687 OnConnectionState(ConnectionState::DISCONNECTED, test_address)); in TEST_F()
701 OnConnectionState(ConnectionState::DISCONNECTED, test_address)); in TEST_F()
1254 OnConnectionState(ConnectionState::DISCONNECTED, test_address_1)); in TEST_F()
/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java427 return getFirstCallWithState(DialerCallState.DISCONNECTED); in getDisconnectedCall()
565 && state != DialerCallState.DISCONNECTED) { in clearOnDisconnect()
567 call.setState(DialerCallState.DISCONNECTED); in clearOnDisconnect()
640 if (call.getState() == DialerCallState.DISCONNECTED) { in updateCallInMap()
670 if (call.getState() != DialerCallState.DISCONNECTED) { in getDelayForDisconnect()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/stats/
DCarStatsServiceTest.java103 .logConnectionState(ConnectionState.DISCONNECTED); in testLogConnectionState_Disconnected()
135 .logConnectionState(ConnectionState.DISCONNECTED); in testLogConnectionState_MultipleClients_MultipleStates()

1234