/packages/services/Telephony/src/com/android/services/telephony/ |
H A D | GsmConnection.java | 63 if (getState() == STATE_ACTIVE || getState() == STATE_HOLDING) {
|
H A D | EmergencyCallHelper.java | 162 if (isOkToCall(state.getState(), mPhone.getState())) { 196 PhoneConstants.State phoneState = mPhone.getState(); 197 int serviceState = mPhone.getServiceState().getState();
|
H A D | ImsConferenceController.java | 156 Log.d(this, "recalc - %s %s supportsConf? %s", connection.getState(), connection, 175 switch (connection.getState()) { 190 Log.d(this, "recalc - %s %s", conference.getState(), conference); 200 switch (conference.getState()) { 326 conference.setState(conferenceHostConnection.getState());
|
H A D | CdmaConnection.java | 85 mIsCallWaiting = connection != null && connection.getState() == Call.State.WAITING; 115 switch (connection.getState()) { 156 originalConnection.getState() == Call.State.WAITING;
|
H A D | PstnIncomingCallNotifier.java | 176 if (call != null && call.getState().isRinging()) { 186 if (call.getState() == Call.State.WAITING) { 208 Call.State state = connection.getState(); 215 if (call != null && call.getState().isAlive()) {
|
H A D | TelephonyConferenceController.java | 125 Log.d(this, "recalc - %s %s supportsConf? %s", connection.getState(), connection, 129 switch (connection.getState()) { 184 Call.State state = radioConnection.getState(); 265 switch (conferencedConnection.getState()) {
|
H A D | TelephonyConnection.java | 92 connection.getState() == mOriginalConnection.getStateBeforeHandover())) { 473 if (ringingCall.getState() != Call.State.WAITING) { 545 if (getState() == STATE_ACTIVE || getState() == STATE_HOLDING) { 755 if (!ringingCall.getState().isRinging()) { 843 Call.State newState = mOriginalConnection.getState(); 925 if (getState() == STATE_ACTIVE) { 940 if (other.getState() == STATE_ACTIVE) { 1045 if (getState() == Connection.STATE_HOLDING) { 1046 if (mOriginalConnection.getState() [all...] |
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
H A D | BluetoothTestUtils.java | 21 * Behavior of getState() and isEnabled() are validated along the way. 24 if (adapter.getState() == BluetoothAdapter.STATE_ON) { 28 assertEquals(BluetoothAdapter.STATE_OFF, adapter.getState()); 32 int state = adapter.getState(); 43 assertEquals(BluetoothAdapter.STATE_TURNING_ON, adapter.getState());
|
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | CallUtils.java | 50 final int state = call.getState(); 55 return CallUtils.isVideoCall(call) && call.getState() == Call.State.ACTIVE; 62 final int state = call.getState(); 73 return isVideoCall(call) && call.getState() == Call.State.ACTIVE;
|
H A D | VideoPauseController.java | 58 mState = call.getState(); 62 public int getState() { method in class:VideoPauseController.CallContext 400 return isVideoCall(callContext) && callContext.getState() == Call.State.ACTIVE; 430 return call != null && (call.getState() == Call.State.CALL_WAITING 431 || call.getState() == Call.State.INCOMING); 441 return call != null && Call.State.isDialing(call.getState()); 451 return call != null && call.getState() == Call.State.ONHOLD;
|
H A D | CallList.java | 85 Log.d(this, "onCallAdded: callState=" + call.getState()); 86 if (call.getState() == Call.State.INCOMING || 87 call.getState() == Call.State.CALL_WAITING) { 393 if (call.getState() == state) { 414 final int state = call.getState(); 479 if (call.getState() == Call.State.DISCONNECTED) { 508 Preconditions.checkState(call.getState() == Call.State.DISCONNECTED); 548 final int state = call.getState();
|
H A D | StatusBarNotifier.java | 165 final boolean isIncoming = (call.getState() == Call.State.INCOMING || 166 call.getState() == Call.State.CALL_WAITING); 211 final int state = call.getState(); 417 if (call.getState() == Call.State.ONHOLD) { 430 boolean isIncomingOrWaiting = call.getState() == Call.State.INCOMING || 431 call.getState() == Call.State.CALL_WAITING; 454 } else if (call.getState() == Call.State.ONHOLD) { 456 } else if (Call.State.isDialing(call.getState())) { 591 boolean isCallWaiting = (call.getState() == Call.State.CALL_WAITING || 592 (call.getState() [all...] |
H A D | CallCardPresenter.java | 134 startContactInfoSearch(call, true, call.getState() == Call.State.INCOMING); 240 mPrimary.getState() == Call.State.INCOMING); 257 mSecondary.getState() == Call.State.INCOMING); 276 callState = mPrimary.getState(); 330 maybeShowProgressSpinner(mPrimary.getState(), sessionModificationState); 381 mPrimary.getState(), 514 startContactInfoSearch(call, isPrimary, call.getState() == Call.State.INCOMING); 807 return Call.State.isDialing(mPrimary.getState()) && mPrimary.getGatewayInfo() != null && 874 return mPrimary != null && mPrimary.getState() == Call.State.ACTIVE; 942 boolean isIncomingOrWaiting = mPrimary.getState() [all...] |
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
H A D | SipConnection.java | 135 if (getPhone() != null && getState() == STATE_ACTIVE 136 && getPhone().getRingingCall().getState() != Call.State.WAITING) { 140 mOriginalConnection.getState() == Call.State.ACTIVE) { 155 if (getPhone() != null && getState() == STATE_HOLDING && 156 getPhone().getForegroundCall().getState() != Call.State.DIALING) { 160 mOriginalConnection.getState() == Call.State.HOLDING) { 218 return call != null && call.getState().isRinging() && 227 Call.State newState = mOriginalConnection.getState(); 264 if (getState() == STATE_ACTIVE || getState() [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | CandidateViewButton.java | 54 mUpState = d.getState();
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | RingbackPlayer.java | 89 Preconditions.checkState(call.getState() == CallState.DIALING); 134 && call.getState() == CallState.DIALING
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | TelecomSystemTest.java | 500 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 501 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 504 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 505 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 517 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 518 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 522 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 524 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 535 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 537 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); [all...] |
/packages/services/Telephony/src/com/android/phone/ |
H A D | PhoneUtils.java | 161 (frC.fgCall.getState() == Call.State.DISCONNECTING) && 221 if (ringingCall.getState() == Call.State.WAITING) { 227 if (DBG) log("answerCall: call state = " + ringingCall.getState()); 248 final boolean isRealIncomingCall = isRealIncomingCall(ringingCall.getState()); 360 Call.State state = ringing.getState(); 425 if (call.getState() == Call.State.ACTIVE && cm.hasActiveBgCall()) { 612 // After calling CallManager#dial(), getState() will return different state. 613 final boolean initiallyIdle = app.mCM.getState() == PhoneConstants.State.IDLE; 724 if (fgCall.getState() == Call.State.ACTIVE) { 893 MmiCode.State state = mmiCode.getState(); [all...] |
H A D | MMIDialogActivity.java | 66 if (mCM.getState() == PhoneConstants.State.OFFHOOK) { 110 if (mmiCode.getState() != MmiCode.State.PENDING) {
|
H A D | EmergencyCallHelper.java | 204 boolean okToCall = (state.getState() == ServiceState.STATE_IN_SERVICE) 205 || (state.getState() == ServiceState.STATE_EMERGENCY_ONLY); 268 PhoneConstants.State phoneState = mCM.getState(); 269 int serviceState = mCM.getDefaultPhone().getServiceState().getState();
|
/packages/apps/Settings/src/com/android/settings/drawable/ |
H A D | DrawableWrapper.java | 94 public int[] getState() { method in class:DrawableWrapper 95 return mDrawable.getState();
|
/packages/apps/InCallUI/tests/src/com/android/incallui/ |
H A D | MockCallListWrapper.java | 74 when(call.getState()).thenReturn(Integer.valueOf(state));
|
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/ |
H A D | MicrophoneInputStream.java | 53 if (ar.getState() != AudioRecord.STATE_INITIALIZED) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
H A D | StatePanelTrack.java | 116 mAdapter.insert(new State(mCurrentSelectedView.getState()), pos); 146 if (view.getState() == state) { 161 if (!mAdapter.contains(child.getState())) { 260 FilterRepresentation representation = mCurrentView.getState().getFilterRepresentation(); 272 FilterRepresentation representation = mCurrentView.getState().getFilterRepresentation();
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
H A D | ActionTest.java | 59 assertEquals(to, mMonitor.getState()); 82 mMonitor.getState()); 113 mMonitor.getState()); 178 mMonitor.getState()); 233 mMonitor.getState());
|