/packages/services/Telephony/src/com/android/phone/ |
D | PhoneUtils.java | 158 (frC.fgCall.getState() == Call.State.DISCONNECTING) && in handleMessage() 218 if (ringingCall.getState() == Call.State.WAITING) { in answerCall() 224 if (DBG) log("answerCall: call state = " + ringingCall.getState()); in answerCall() 245 final boolean isRealIncomingCall = isRealIncomingCall(ringingCall.getState()); in answerCall() 357 Call.State state = ringing.getState(); in hangupRingingCall() 422 if (call.getState() == Call.State.ACTIVE && cm.hasActiveBgCall()) { in hangup() 610 final boolean initiallyIdle = app.mCM.getState() == PhoneConstants.State.IDLE; in placeCall() 721 if (fgCall.getState() == Call.State.ACTIVE) { in sendEmptyFlash() 890 MmiCode.State state = mmiCode.getState(); in displayMMIComplete() 1947 final Call.State fgCallState = fgCall.getState(); in okToHoldCall() [all …]
|
D | CallNotifier.java | 274 log("onNewRingingConnection(): state = " + mCM.getState() + ", conn = { " + c + " }"); in onNewRingingConnection() 301 Call.State state = c.getState(); in onNewRingingConnection() 417 PhoneConstants.State state = mCM.getState(); in onUnknownConnectionAppeared() 435 PhoneConstants.State state = mCM.getState(); in onPhoneStateChanged() 446 if ((fgPhone.getForegroundCall().getState() == Call.State.ACTIVE) in onPhoneStateChanged() 456 mPreviousCdmaCallState = fgPhone.getForegroundCall().getState(); in onPhoneStateChanged() 485 if (VDBG) log("onDisconnect()... CallManager state: " + mCM.getState()); in onDisconnect() 534 && (mCM.getState() == PhoneConstants.State.IDLE) in onDisconnect() 546 if (mCM.getState() == PhoneConstants.State.IDLE) { in onDisconnect() 874 if (mCM.getState() == PhoneConstants.State.IDLE) { in run() [all …]
|
D | EmergencyCallHelper.java | 204 boolean okToCall = (state.getState() == ServiceState.STATE_IN_SERVICE) in onServiceStateChanged() 205 || (state.getState() == ServiceState.STATE_EMERGENCY_ONLY); in onServiceStateChanged() 268 PhoneConstants.State phoneState = mCM.getState(); in onRetryTimeout() 269 int serviceState = mCM.getDefaultPhone().getServiceState().getState(); in onRetryTimeout()
|
D | PhoneGlobals.java | 300 phoneState = mCM.getState(); 671 PhoneConstants.State state = mCM.getState(); in updateWakeState() 699 boolean isDialing = (mCM.getFgPhone().getForegroundCall().getState() == Call.State.DIALING); in updateWakeState() 903 int state = ss.getState(); in handleServiceStateChanged()
|
D | PhoneInterfaceManager.java | 762 PhoneConstants.State state = mCM.getState(subId); in dialForSubscriber() 892 return (getPhone(subId).getState() == PhoneConstants.State.OFFHOOK); in isOffhookForSubscriber() 900 return (getPhone(subId).getState() == PhoneConstants.State.RINGING); in isRingingForSubscriber() 908 return (getPhone(subId).getState() == PhoneConstants.State.IDLE); in isIdleForSubscriber() 1074 return getPhone(subId).getServiceState().getState() != ServiceState.STATE_POWER_OFF; in isRadioOnForSubscriber() 1093 if ((getPhone(subId).getServiceState().getState() != in setRadioForSubscriber() 1174 return DefaultPhoneNotifier.convertCallState(getPhone(subId).getState()); in getCallStateForSubscriber()
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | StatusBarNotifier.java | 59 State getState(); in getState() method 72 public State getState() { return mState; } 207 mNotificationTimer.getState() == NotificationTimer.State.FIRED); in updateInCallNotification() 214 mNotificationTimer.getState() == NotificationTimer.State.CLEAR) { in updateInCallNotification() 226 final boolean isIncoming = (call.getState() == Call.State.INCOMING || in showNotification() 227 call.getState() == Call.State.CALL_WAITING); in showNotification() 266 final int state = call.getState(); in buildAndSendNotification() 450 if (call.getState() == Call.State.ONHOLD) { in getIconToDisplay() 465 if (call.getState() == Call.State.INCOMING || call.getState() == Call.State.CALL_WAITING) { in getContentString() 467 } else if (call.getState() == Call.State.ONHOLD) { in getContentString() [all …]
|
D | CallCardPresenter.java | 115 startContactInfoSearch(call, true, call.getState() == Call.State.INCOMING); in init() 202 mPrimary.getState() == Call.State.INCOMING); in onStateChange() 215 mSecondary.getState() == Call.State.INCOMING); in onStateChange() 222 if (mPrimary != null && mPrimary.getState() == Call.State.ACTIVE) { in onStateChange() 234 callState = mPrimary.getState(); in onStateChange() 294 mPrimary.getState(), in updatePrimaryCallState() 356 if (ui == null || mPrimary == null || mPrimary.getState() != Call.State.ACTIVE) { in updateCallTime() 379 startContactInfoSearch(call, isPrimary, call.getState() == Call.State.INCOMING); in maybeStartSearch() 622 && mPrimary.getState() == Call.State.ACTIVE) { in getCallStateIcon() 638 return Call.State.isDialing(mPrimary.getState()) && mPrimary.getGatewayInfo() != null && in hasOutgoingGatewayCall()
|
D | Call.java | 202 int oldState = getState(); in update() 204 if (oldState != getState() && getState() == Call.State.DISCONNECTED) { in update() 213 setState(translateState(mTelecommCall.getState())); in updateFromTelecommCall() 272 public int getState() { in getState() method in Call 407 State.toString(getState()), in toString()
|
D | CallList.java | 75 if (call.getState() == Call.State.INCOMING) { 345 if (call.getState() == state) { in getCallWithState() 366 final int state = call.getState(); in clearOnDisconnect() 418 if (call.getState() == Call.State.DISCONNECTED) { in updateCallInMap() 446 Preconditions.checkState(call.getState() == Call.State.DISCONNECTED); in getDelayForDisconnect() 485 final int state = call.getState(); in isCallDead()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnection.java | 66 connection.getStateBeforeHandover() == mOriginalConnection.getState()) { 355 if (ringingCall.getState() != Call.State.WAITING) { in performHold() 424 if (getState() == STATE_ACTIVE || getState() == STATE_HOLDING) { in buildConnectionCapabilities() 591 if (!ringingCall.getState().isRinging()) { in isValidRingingCall() 610 Call.State newState = mOriginalConnection.getState(); in updateState() 663 if (getState() == STATE_ACTIVE) { in setActiveInternal() 678 if (other.getState() == STATE_ACTIVE) { in setActiveInternal() 823 if (getState() == Connection.STATE_HOLDING) { in resetStateForConference() 824 if (mOriginalConnection.getState() == Call.State.ACTIVE) { in resetStateForConference() 831 if (getState() == Connection.STATE_ACTIVE) { in setHoldingForConference() [all …]
|
D | ImsConferenceController.java | 155 Log.d(this, "recalc - %s %s", connection.getState(), connection); in recalculateConferenceable() 158 switch (connection.getState()) { in recalculateConferenceable() 173 Log.d(this, "recalc - %s %s", conference.getState(), conference); in recalculateConferenceable() 176 switch (conference.getState()) { in recalculateConferenceable() 271 conference.setState(connection.getState()); in startConference()
|
D | TelephonyConnectionService.java | 150 int state = phone.getServiceState().getState(); in onCreateOutgoingConnection() 204 if (connection.getState() == Connection.STATE_DISCONNECTED) { in onCreateOutgoingConnection() 241 if (!call.getState().isRinging()) { in onCreateIncomingConnection() 250 call.getState() == Call.State.WAITING ? in onCreateIncomingConnection() 429 if (ServiceState.STATE_IN_SERVICE == phone.getServiceState().getState()) { in getFirstPhoneForEmergencyCall() 433 } else if (ServiceState.STATE_POWER_OFF != phone.getServiceState().getState()) { in getFirstPhoneForEmergencyCall()
|
D | EmergencyCallHelper.java | 162 if (isOkToCall(state.getState(), mPhone.getState())) { in onServiceStateChanged() 196 PhoneConstants.State phoneState = mPhone.getState(); in onRetryTimeout() 197 int serviceState = mPhone.getServiceState().getState(); in onRetryTimeout()
|
D | TelephonyConferenceController.java | 114 Log.d(this, "recalc - %s %s", connection.getState(), connection); in recalculateConferenceable() 117 switch (connection.getState()) { in recalculateConferenceable() 172 Call.State state = radioConnection.getState(); in recalculateConference() 229 switch (conferencedConnection.getState()) { in recalculateConference()
|
D | CdmaConnection.java | 85 mIsCallWaiting = connection != null && connection.getState() == Call.State.WAITING; in CdmaConnection() 115 switch (connection.getState()) { in onReject() 156 originalConnection.getState() == Call.State.WAITING; in onStateChanged()
|
D | PstnIncomingCallNotifier.java | 176 if (call != null && call.getState().isRinging()) { in handleNewRingingConnection() 186 if (call.getState() == Call.State.WAITING) { in handleCdmaCallWaiting() 206 if (call != null && call.getState().isAlive()) { in handleNewUnknownConnection()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallsManager.java | 638 mForegroundCall.getState() == CallState.DIALING)) { in answerCall() 888 if (mForegroundCall != null && mForegroundCall.getState() == CallState.ON_HOLD) { in markCallAsRemoved() 904 if (call.getState() != CallState.DISCONNECTED) { in handleConnectionServiceDeath() 997 if (call.getParentCall() == null && call.getState() == CallState.ON_HOLD) { in getNumHeldCalls() 1018 if (mForegroundCall != null && mForegroundCall.getState() == currentState) { in getFirstCallWithState() 1032 if (currentState == call.getState()) { in getFirstCallWithState() 1062 setCallState(call, Call.getStateFromConnectionState(parcelableConference.getState())); in createConferenceCall() 1161 int oldState = call.getState(); in setCallState() 1215 if (call.isAlive() || call.getState() == CallState.RINGING) { in updateForegroundCall() 1296 if (call.getParentCall() == null && call.getState() == state) { in getNumCallsWithState() [all …]
|
D | CreateConnectionTimeout.java | 111 } else if (serviceState.getState() == ServiceState.STATE_IN_SERVICE) { in onServiceStateChanged() 129 int state = call.getState(); in isCallBeingPlaced() 138 if (serviceState.getState() == ServiceState.STATE_POWER_OFF) { in getTimeoutLengthMillis()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipConnection.java | 135 if (getPhone() != null && getState() == STATE_ACTIVE) { in onHold() 147 if (getPhone() != null && getState() == STATE_HOLDING) { in onUnhold() 202 return call != null && call.getState().isRinging() && in isValidRingingCall() 211 Call.State newState = mOriginalConnection.getState(); in updateState() 248 if (getState() == STATE_ACTIVE || getState() == STATE_HOLDING) { in buildCallCapabilities()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachine.java | 235 if (c.getState() == s) { in removeCalls() 248 if (c.getState() == old_state) { in changeCallsState() 258 if (c.getState() == s) { in getCall() 270 if (c.getState() == state) { in callsInState() 282 if (c.getState() == BluetoothHeadsetClientCall.CALL_STATE_ACTIVE) { in updateCallsMultiParty() 299 if (state == c.getState()) { in setCallState() 641 if (cc.getState() == in updateCallHeldIndicator() 645 } else if (cc.getState() == in updateCallHeldIndicator() 667 if (cc.getState() == BluetoothHeadsetClientCall.CALL_STATE_ACTIVE) { in updateCallHeldIndicator() 669 … } else if (cc.getState() == BluetoothHeadsetClientCall.CALL_STATE_HELD) { in updateCallHeldIndicator() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | StatePanelTrack.java | 116 mAdapter.insert(new State(mCurrentSelectedView.getState()), pos); in addDuplicate() 146 if (view.getState() == state) { in findChildWithState() 161 if (!mAdapter.contains(child.getState())) { in fillContent() 260 FilterRepresentation representation = mCurrentView.getState().getFilterRepresentation(); in onTouchEvent() 272 … FilterRepresentation representation = mCurrentView.getState().getFilterRepresentation(); in onTouchEvent()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | LocalBluetoothAdapter.java | 109 int getState() { in getState() method in LocalBluetoothAdapter 110 return mAdapter.getState(); in getState() 190 int currentState = mAdapter.getState(); in syncBluetoothState() 192 setBluetoothStateInt(mAdapter.getState()); in syncBluetoothState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapService.java | 417 public int getState() { in getState() method in BluetoothMapService 507 if (getState() == BluetoothMap.STATE_CONNECTED && getRemoteDevice().equals(device)) { in getConnectionState() 604 if(DEBUG)Log.d(TAG,"updateMasInstancesHandler() state = " + getState()); in updateMasInstancesHandler() 607 if(getState() == BluetoothMap.STATE_DISCONNECTED) { in updateMasInstancesHandler() 1018 public int getState() { in getState() method in BluetoothMapService.BluetoothMapBinder 1022 return getService().getState(); in getState() 1037 …return service.getState() == BluetoothMap.STATE_CONNECTED && service.getRemoteDevice().equals(devi… in isConnected()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterProperties.java | 214 int getState() { in getState() method in AdapterProperties 577 Log.d(TAG, "State = " + getState() ); in onBluetoothReady() 582 if (getState() == BluetoothAdapter.STATE_TURNING_ON && in onBluetoothReady() 607 if (getState() == BluetoothAdapter.STATE_TURNING_OFF) { in onBluetoothDisable()
|
D | AdapterService.java | 644 public int getState() { in getState() method in AdapterService.AdapterServiceBinder 648 return service.getState(); in getState() 1158 return mAdapterProperties.getState() == BluetoothAdapter.STATE_ON; in isEnabled() 1161 int getState() { in getState() method in AdapterService 1169 return mAdapterProperties.getState(); in getState() 1324 if (getState() != BluetoothAdapter.STATE_ON){ in autoConnect() 1378 if (getState()!= BluetoothAdapter.STATE_ON){ in processConnectOtherProfiles() 1629 if (getState() == BluetoothAdapter.STATE_OFF) return; in sendConnectionStateChange()
|