Home
last modified time | relevance | path

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

123

/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.java436 when(call.getState()).thenReturn(CallState.DISCONNECTED);
441 CallState.DISCONNECTED);
584 when(call.getState()).thenReturn(CallState.DISCONNECTED);
589 CallState.DISCONNECTED);
668 when(call.getState()).thenReturn(CallState.DISCONNECTED);
672 mCallAudioManager.onCallStateChanged(call, CallState.ACTIVE, CallState.DISCONNECTED);
/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.java39 private int mState = DISCONNECTED;
45 private static final int DISCONNECTED = 0; field in SnepClient
134 if (mState != DISCONNECTED) { in connect()
161 mState = DISCONNECTED; in connect()
172 mState = DISCONNECTED; in connect()
192 mState = DISCONNECTED; in close()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkInfo.java76 CONNECTING, CONNECTED, SUSPENDED, DISCONNECTING, DISCONNECTED, UNKNOWN enumConstant
105 DISCONNECTED, enumConstant
125 stateMap.put(DetailedState.IDLE, State.DISCONNECTED); in stateMap.put() argument
126 stateMap.put(DetailedState.SCANNING, State.DISCONNECTED); in stateMap.put() argument
135 stateMap.put(DetailedState.DISCONNECTED, State.DISCONNECTED); in stateMap.put() argument
136 stateMap.put(DetailedState.FAILED, State.DISCONNECTED); in stateMap.put() argument
137 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.java35 private static final int DISCONNECTED = 0; field in HandoverClient
47 if (mState != DISCONNECTED) { in connect()
58 mState = DISCONNECTED; in connect()
75 mState = DISCONNECTED; in connect()
95 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()
DWifiInfo.java92 stateMap.put(SupplicantState.DISCONNECTED, DetailedState.DISCONNECTED); in stateMap.put() argument
93 stateMap.put(SupplicantState.INTERFACE_DISABLED, DetailedState.DISCONNECTED); in stateMap.put() argument
102 stateMap.put(SupplicantState.DORMANT, DetailedState.DISCONNECTED); in stateMap.put() argument
/packages/apps/Nfc/src/com/android/nfc/sneptest/
DDtaSnepClient.java49 private int mState = DISCONNECTED;
58 private static final int DISCONNECTED = 0; field in DtaSnepClient
273 if (mState != DISCONNECTED) { in connect()
300 mState = DISCONNECTED; in connect()
310 mState = DISCONNECTED; in connect()
330 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.java1159 if (newState == CallState.DISCONNECTED && shouldContinueProcessingAfterDisconnect()) { in setState()
1188 } else if (mState == CallState.DISCONNECTED) { in setState()
1212 case CallState.DISCONNECTED: in setState()
1247 int statsdDisconnectCause = (newState == CallState.DISCONNECTED) ? in setState()
1871 if (mState == CallState.DISCONNECTED && in getAgeMillis()
2401 } else if (mState != CallState.ABORTED && mState != CallState.DISCONNECTED) { in disconnect()
2709 case CallState.DISCONNECTED: in isAlive()
3624 if (isActive() || getState() == CallState.DISCONNECTED) { in setVideoState()
3714 return CallState.DISCONNECTED; in getStateFromConnectionState()
3722 return CallState.DISCONNECTED; in getStateFromConnectionState()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DLegacyTypeTrackerTest.kt45 import android.net.NetworkInfo.DetailedState.DISCONNECTED
146 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai, DISCONNECTED, TYPE_MOBILE_SUPL) in testSupl()
152 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai, DISCONNECTED, TYPE_MOBILE_SUPL) in testSupl()
153 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai, DISCONNECTED, TYPE_MOBILE) in testSupl()
197 verify(mMockService).sendLegacyNetworkBroadcast(mobileNai1, DISCONNECTED, TYPE_MOBILE) in testBroadcastOnDisconnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapServer.java55 DISCONNECTED, CONNECTING, CONNECTING_CALL_ONGOING, CONNECTED, CONNECTED_BUSY, DISCONNECTING; enumConstant
58 private SAP_STATE mState = SAP_STATE.DISCONNECTED;
160 } else if (mState != SAP_STATE.DISCONNECTED && mState != SAP_STATE.DISCONNECTING) { in onReceive()
476 changeState(SAP_STATE.DISCONNECTED); in run()
477 } else if (mState != SAP_STATE.DISCONNECTED) { in run()
567 } else if (mState != SAP_STATE.DISCONNECTED in onConnectRequest()
848 changeState(SAP_STATE.DISCONNECTED); in handleRfcommReply()
877 if (mState == SAP_STATE.DISCONNECTED || mState == SAP_STATE.CONNECTING in handleRfcommReply()
920 if (mState != SAP_STATE.DISCONNECTED && mState != SAP_STATE.DISCONNECTING) { in handleRilInd()
/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()
DSupplicantStaIfaceCallbackImpl.java79 case ISupplicantStaIfaceCallback.State.DISCONNECTED: in supplicantHidlStateToFrameworkState()
80 return SupplicantState.DISCONNECTED; in supplicantHidlStateToFrameworkState()
175 if (newState != State.DISCONNECTED) { in onStateChanged()
DSupplicantStateTracker.java177 case DISCONNECTED: in transitionOnSupplicantStateChange()
214 case DISCONNECTED: in supplicantStateToBatteryStatsSupplicantState()
/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/apps/Car/Messenger/src/com/android/car/messenger/core/ui/conversationlist/
DUIConversationLog.java30 @NonNull private ConnectionStatus mConnectionStatus = ConnectionStatus.DISCONNECTED;
40 ConnectionStatus.DISCONNECTED, /* isLoading= */ false, /* list= */ null); in getDisconnectedState()
/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()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/models/
DConnectionStatus.java30 DISCONNECTED, enumConstant

123