Home
last modified time | relevance | path

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

12

/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/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java166 mCallLogManager.onCallStateChanged(fakeCall, CallState.DIALING, CallState.DISCONNECTED); in testDontLogCancelledCall()
190 CallState.DISCONNECTED); in testDontLogChoosingAccountCall()
213 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogCallsFromEmergencyAccount()
235 CallState.DISCONNECTED); in testLogCallDirectionOutgoing()
259 CallState.DISCONNECTED); in testLogCallDirectionIncoming()
284 CallState.DISCONNECTED); in testLogCallDirectionMissed()
310 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testCreationTimeAndAge()
335 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testLogPhoneAccountId()
358 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testLogCorrectPhoneNumber()
384 mCallLogManager.onCallStateChanged(fakeVideoCall, CallState.ACTIVE, CallState.DISCONNECTED); in testLogCallVideoFeatures()
[all …]
DCallAudioManagerTest.java226 when(call.getState()).thenReturn(CallState.DISCONNECTED); in disconnectCall()
230 mCallAudioManager.onCallStateChanged(call, CallState.ACTIVE, CallState.DISCONNECTED); in disconnectCall()
/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/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DBluetoothPbapObexSession.java55 final static int DISCONNECTED = 2; field in BluetoothPbapObexSession
65 private int mState = DISCONNECTED;
90 mState = DISCONNECTED; in start()
163 mState = DISCONNECTED; in connect()
173 if (mState != DISCONNECTED) { in disconnect()
189 mState = DISCONNECTED; in disconnect()
DBluetoothPbapClient.java375 DISCONNECTED, CONNECTING, CONNECTED, DISCONNECTING; enumConstant
381 private ConnectionState mConnectionState = ConnectionState.DISCONNECTED;
482 client.mConnectionState = ConnectionState.DISCONNECTED; in handleMessage()
/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/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapServer.java57 DISCONNECTED, CONNECTING, CONNECTING_CALL_ONGOING, CONNECTED, enumConstant
61 private SAP_STATE mState = SAP_STATE.DISCONNECTED;
155 } else if( mState != SAP_STATE.DISCONNECTED
431 changeState(SAP_STATE.DISCONNECTED); in run()
432 } else if (mState != SAP_STATE.DISCONNECTED) { in run()
510 } else if(mState != SAP_STATE.DISCONNECTED && mState != SAP_STATE.CONNECTING_CALL_ONGOING) { in onConnectRequest()
763 changeState(SAP_STATE.DISCONNECTED); in handleRfcommReply()
788 if(mState == SAP_STATE.DISCONNECTED || in handleRfcommReply()
829 if(mState != SAP_STATE.DISCONNECTED && mState != SAP_STATE.DISCONNECTING){ in handleRilInd()
/packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/
DBluetoothMapManager.java49 private static final int DISCONNECTED = 0; field in BluetoothMapManager
89 private int mConnectionState = DISCONNECTED;
172 if (mConnectionState != DISCONNECTED && mConnectionState != SUSPENDED) { in connect()
656 if (mConnectionState == DISCONNECTED) { in forceCloseConnection()
660 mConnectionState = DISCONNECTED; in forceCloseConnection()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallState.java88 public static final int DISCONNECTED = 7; field in CallState
122 case DISCONNECTED: in toString()
DCall.java607 if (newState == CallState.DISCONNECTED && shouldContinueProcessingAfterDisconnect()) { in setState()
633 } else if (mState == CallState.DISCONNECTED) { in setState()
639 if (mState == CallState.DISCONNECTED && in setState()
658 case CallState.DISCONNECTED: in setState()
928 if (mState == CallState.DISCONNECTED && in getAgeMillis()
1232 } else if (mState != CallState.ABORTED && mState != CallState.DISCONNECTED) { in disconnect()
1350 case CallState.DISCONNECTED: in isAlive()
1894 if (isActive() || getState() == CallState.DISCONNECTED) { in setVideoState()
1973 return CallState.DISCONNECTED; in getStateFromConnectionState()
1981 return CallState.DISCONNECTED; in getStateFromConnectionState()
[all …]
DCallsManager.java360 if (incomingCall.getState() != CallState.DISCONNECTED && in onCallFilteringComplete()
401 setCallState(call, CallState.DISCONNECTED, "failed incoming call"); in onFailedIncomingCall()
415 setCallState(call, CallState.DISCONNECTED, "failed unknown call"); in onFailedUnknownCall()
1353 setCallState(call, CallState.DISCONNECTED, "disconnected set explicitly"); in markCallAsDisconnected()
1380 if (call.getState() != CallState.DISCONNECTED) { in handleConnectionServiceDeath()
2074 if (call.getState() == CallState.DISCONNECTED && (isPotentialMMICode(call.getHandle()) in maybeShowErrorDialogOnDisconnect()
DParcelableCallUtils.java148 case CallState.DISCONNECTED: in getParcelableState()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCall.java64 public static final int DISCONNECTED = 10; /* State after a call disconnects */ field in Call.State
113 case DISCONNECTED: in toString()
430 if (oldState != getState() && getState() == Call.State.DISCONNECTED) { in update()
599 return Call.State.DISCONNECTED; in translateState()
644 } else if (mState == State.DISCONNECTED) { in setState()
703 if (mState == State.DISCONNECTED || mState == State.IDLE) { in getDisconnectCause()
DCallList.java310 return getFirstCallWithState(Call.State.DISCONNECTED); in getDisconnectedCall()
432 state != Call.State.DISCONNECTED) { in clearOnDisconnect()
434 call.setState(Call.State.DISCONNECTED); in clearOnDisconnect()
494 if (call.getState() == Call.State.DISCONNECTED) { in updateCallInMap()
523 Preconditions.checkState(call.getState() == Call.State.DISCONNECTED); in getDelayForDisconnect()
/packages/services/Car/bluetooth/bt-map-service/src/com/google/android/auto/mapservice/
DBluetoothMapService.java92 private static final int DISCONNECTED = 1; field in BluetoothMapService
124 private int mMapConnectionStatus = DISCONNECTED;
183 if (connStatus == DISCONNECTED || connStatus == DISCONNECTING) { in handleMessage()
787 if (mMapConnectionStatus != DISCONNECTED) { in connectInternal()
827 mMapConnectionStatus = DISCONNECTED; in disconnectInternalNoLock()
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
DInCallPresenterTest.java157 mCallList.setHasCall(Call.State.DISCONNECTED, true); in testOnCallListChange_LastCallDisconnectedNoCallsLeftFinishesUi()
165 mCallList.setHasCall(Call.State.DISCONNECTED, false); in testOnCallListChange_LastCallDisconnectedNoCallsLeftFinishesUi()
/packages/apps/Email/provider_src/com/android/email/
DEmailConnectivityManager.java132 } else if (state == State.DISCONNECTED) { in onReceive()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiDialogActivity.java76 accessPoint.getNetworkInfo().getState() != NetworkInfo.State.DISCONNECTED) { in onForget()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DBluetoothTetheringNetworkFactory.java159 mNetworkInfo.setDetailedState(DetailedState.DISCONNECTED, null, null); in onCancelRequest()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectToWifiFragment.java158 case DISCONNECTED: in onCreate()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsNetworkManager.java230 (state == NetworkInfo.State.DISCONNECTED && !isMobileDataEnabled())) { in onMmsConnectivityChange()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java450 if ((foregroundCall.getState() != Call.State.DISCONNECTED) in onCreateUnknownConnection()
456 if ((imsFgCall.getState() != Call.State.DISCONNECTED) && imsFgCall in onCreateUnknownConnection()
DPstnIncomingCallNotifier.java171 if (state == Call.State.DISCONNECTED || state == Call.State.IDLE) { in handleNewUnknownConnection()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnection.java254 case DISCONNECTED: in updateState()

12