Home
last modified time | relevance | path

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

123

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java201 mCallLogManager.onCallStateChanged(fakeCall, CallState.DIALING, CallState.DISCONNECTED); in testDontLogCancelledCall()
226 CallState.DISCONNECTED); in testDontLogChoosingAccountCall()
276 mCallLogManager.onCallStateChanged(fakeCall1, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogUnloggableNumbers()
277 mCallLogManager.onCallStateChanged(fakeCall2, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogUnloggableNumbers()
306 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogCallsFromEmergencyAccount()
329 CallState.DISCONNECTED); in testLogCallDirectionOutgoing()
354 CallState.DISCONNECTED); in testLogCallDirectionIncoming()
380 CallState.DISCONNECTED); in testLogCallDirectionMissed()
409 CallState.DISCONNECTED); in testLogCallDirectionRejected()
435 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/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/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/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()
474 changeState(SAP_STATE.DISCONNECTED); in run()
475 } else if (mState != SAP_STATE.DISCONNECTED) { in run()
565 } else if (mState != SAP_STATE.DISCONNECTED in onConnectRequest()
844 changeState(SAP_STATE.DISCONNECTED); in handleRfcommReply()
873 if (mState == SAP_STATE.DISCONNECTED || mState == SAP_STATE.CONNECTING in handleRfcommReply()
916 if (mState != SAP_STATE.DISCONNECTED && mState != SAP_STATE.DISCONNECTING) { in handleRilInd()
/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.java1055 if (newState == CallState.DISCONNECTED && shouldContinueProcessingAfterDisconnect()) { in setState()
1084 } else if (mState == CallState.DISCONNECTED) { in setState()
1108 case CallState.DISCONNECTED: in setState()
1137 int statsdDisconnectCause = (newState == CallState.DISCONNECTED) ? in setState()
1743 if (mState == CallState.DISCONNECTED && in getAgeMillis()
2256 } else if (mState != CallState.ABORTED && mState != CallState.DISCONNECTED) { in disconnect()
2564 case CallState.DISCONNECTED: in isAlive()
3437 if (isActive() || getState() == CallState.DISCONNECTED) { in setVideoState()
3527 return CallState.DISCONNECTED; in getStateFromConnectionState()
3535 return CallState.DISCONNECTED; in getStateFromConnectionState()
[all …]
DCallsManager.java245 CallState.ON_HOLD, CallState.DISCONNECTED, CallState.ABORTED,
743 if (incomingCall.getState() != CallState.DISCONNECTED && in onCallFilteringComplete()
836 setCallState(call, CallState.DISCONNECTED, "failed incoming call"); in onFailedIncomingCall()
850 setCallState(call, CallState.DISCONNECTED, "failed unknown call"); in onFailedUnknownCall()
2993 setCallState(call, CallState.DISCONNECTED, "disconnected set explicitly");
3073 if (call.getState() != CallState.DISCONNECTED) {
3562 (newState == CallState.DISCONNECTED)) {
3616 } else if (newState == CallState.DISCONNECTED) {
3625 && newState == CallState.DISCONNECTED) {
4659 if (call.getState() == CallState.DISCONNECTED && (isPotentialMMICode(call.getHandle())
/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/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()
DDialerCall.java445 return DialerCallState.DISCONNECTED; in translateState()
574 if (oldState != getState() && getState() == DialerCallState.DISCONNECTED) { in update()
886 if (newState == DialerCallState.DISCONNECTED) { in updateCallTiming()
889 if (this.state == DialerCallState.DISCONNECTED) { in updateCallTiming()
966 if (state == DialerCallState.DISCONNECTED || state == DialerCallState.IDLE) { in getDisconnectCause()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/stats/
DCarStatsServiceTest.java102 .logConnectionState(ConnectionState.DISCONNECTED); in testLogConnectionState_Disconnected()
134 .logConnectionState(ConnectionState.DISCONNECTED); in testLogConnectionState_MultipleClients_MultipleStates()
/packages/services/Car/service/src/com/android/car/vms/
DVmsBrokerService.java140 VmsClientLogger.ConnectionState.DISCONNECTED); in registerClient()
144 .logConnectionState(VmsClientLogger.ConnectionState.DISCONNECTED); in registerClient()
/packages/apps/Dialer/java/com/android/incallui/
DActiveCallsCallListListener.java52 if (call.getState() != DialerCallState.DISCONNECTED && call.getAccountHandle() != null) { in onCallListChange()
/packages/services/Car/service/src/com/android/car/stats/
DVmsClientLogger.java46 public static final int DISCONNECTED = field in VmsClientLogger.ConnectionState
DCarStatsService.java59 entry.getConnectionStateCount(ConnectionState.DISCONNECTED),
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DBottomRow.java92 } else if (state.state() == DialerCallState.DISCONNECTED) { in getInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiDialogActivity.java105 accessPoint.getNetworkInfo().getState() != NetworkInfo.State.DISCONNECTED) { in onForget()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiDialogActivity.java113 accessPoint.getNetworkInfo().getState() != NetworkInfo.State.DISCONNECTED) { in onForget()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsNetworkManager.java230 (state == NetworkInfo.State.DISCONNECTED && !isMobileDataEnabled())) { in onMmsConnectivityChange()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiUtil.java243 && accessPoint.getNetworkInfo().getState() != NetworkInfo.State.DISCONNECTED) { in forget()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnection.java267 case DISCONNECTED: in updateState()

123