/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/services/Telephony/src/com/android/services/telephony/ |
H A D | GsmConnection.java | 65 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 | 159 Log.d(this, "recalc - %s %s supportsConf? %s", connection.getState(), connection, 178 switch (connection.getState()) { 193 Log.d(this, "recalc - %s %s", conference.getState(), conference); 203 switch (conference.getState()) { 338 conference.setState(conferenceHostConnection.getState());
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
H A D | VideoUtils.java | 52 final int state = call.getState(); 57 return VideoUtils.isVideoCall(call) && call.getState() == Call.State.ACTIVE; 64 final int state = call.getState(); 79 return isVideoCall(call) && call.getState() == Call.State.ACTIVE;
|
H A D | VideoPauseController.java | 46 mState = call.getState(); 50 public int getState() { method in class:VideoPauseController.CallContext 347 return isVideoCall(callContext) && callContext.getState() == Call.State.ACTIVE; 377 return call != null && (call.getState() == Call.State.CALL_WAITING 378 || call.getState() == Call.State.INCOMING); 388 return call != null && Call.State.isDialing(call.getState()); 398 return call != null && call.getState() == Call.State.ONHOLD;
|
H A D | CallCardPresenter.java | 156 startContactInfoSearch(call, true, call.getState() == Call.State.INCOMING); 269 maybeShowProgressSpinner(previousPrimary.getState(), 276 mPrimary.getState() == Call.State.INCOMING); 284 maybeShowProgressSpinner(previousPrimary.getState(), 296 mSecondary.getState() == Call.State.INCOMING); 315 callState = mPrimary.getState(); 370 maybeShowProgressSpinner(mPrimary.getState(), sessionModificationState); 434 mPrimary.getState(), 570 startContactInfoSearch(call, isPrimary, call.getState() == Call.State.INCOMING); 618 mPrimary.getVideoState(), mPrimary.getState()); [all...] |
H A D | CallList.java | 92 Log.d(this, "onCallAdded: callState=" + call.getState()); 94 if (call.getState() == Call.State.INCOMING || 95 call.getState() == Call.State.CALL_WAITING) { 408 if (call.getState() == state) { 429 final int state = call.getState(); 494 if (call.getState() == Call.State.DISCONNECTED) { 523 Preconditions.checkState(call.getState() == Call.State.DISCONNECTED); 563 final int state = call.getState();
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
H A D | SipConnection.java | 139 if (getPhone() != null && getState() == STATE_ACTIVE 140 && getPhone().getRingingCall().getState() != Call.State.WAITING) { 144 mOriginalConnection.getState() == Call.State.ACTIVE) { 159 if (getPhone() != null && getState() == STATE_HOLDING && 160 getPhone().getForegroundCall().getState() != Call.State.DIALING) { 164 mOriginalConnection.getState() == Call.State.HOLDING) { 222 return call != null && call.getState().isRinging() && 231 Call.State newState = mOriginalConnection.getState(); 268 if (getState() == STATE_ACTIVE || getState() [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
H A D | HfpClientConference.java | 97 if (connection.getState() == Connection.STATE_HOLDING && 98 getState() == Connection.STATE_ACTIVE) { 100 } else if (connection.getState() == Connection.STATE_ACTIVE && 101 getState() == Connection.STATE_HOLDING) {
|
H A D | HfpClientConnection.java | 81 getState() != Connection.STATE_DISCONNECTED; 93 int state = call.getState(); 126 (getState() == STATE_ACTIVE || getState() == STATE_HOLDING ? CAPABILITY_HOLD : 0)); 233 return "HfpClientConnection{" + getAddress() + "," + stateToString(getState()) + "," +
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
H A D | ScheduledRecordingsAdapter.java | 67 if (scheduledRecording.getState() == mState) { 79 if (scheduledRecording.getState() == mState) {
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/ |
H A D | RecordingTestUtils.java | 61 Assert.assertEquals("state", expected.getState(), actual.getState());
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | BasicCallTests.java | 96 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 97 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 101 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 103 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 114 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 116 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 131 assertEquals(Call.STATE_RINGING, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 132 assertEquals(Call.STATE_RINGING, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 157 assertEquals(Call.STATE_RINGING, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 158 assertEquals(Call.STATE_RINGING, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); [all...] |
H A D | CallAudioManagerTest.java | 91 when(call.getState()).thenReturn(CallState.ACTIVE); 139 when(call.getState()).thenReturn(CallState.ACTIVE); 152 when(call.getState()).thenReturn(CallState.CONNECTING); 173 when(call.getState()).thenReturn(CallState.DIALING); 182 when(call.getState()).thenReturn(CallState.ACTIVE); 199 when(call.getState()).thenReturn(CallState.RINGING); 226 when(call.getState()).thenReturn(CallState.DISCONNECTED);
|
/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 | 51 Preconditions.checkState(call.getState() == CallState.DIALING);
|
H A D | CallAudioManager.java | 141 CallState.toString(call.getState())); 143 if (mCallStateToCalls.get(call.getState()) != null) { 144 mCallStateToCalls.get(call.getState()).add(call); 149 onCallEnteringState(call, call.getState()); 158 CallState.toString(call.getState())); 167 onCallLeavingState(call, call.getState()); 215 if (mCallStateToCalls.get(call.getState()) != null) { 216 mCallStateToCalls.get(call.getState()).remove(call); 301 if (mCallStateToCalls.get(call.getState()) != null) { 302 mCallStateToCalls.get(call.getState()) [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | AppStateSmsPremBridge.java | 53 app.extraInfo = getState(pkg); 56 public SmsState getState(String pkg) { method in class:AppStateSmsPremBridge
|
/packages/apps/Settings/src/com/android/settings/qstile/ |
H A D | DevelopmentTiles.java | 64 getQsTile().getState() == Tile.STATE_INACTIVE ? "true" : "false"); 90 getQsTile().getState() == Tile.STATE_INACTIVE ? "visual_bars" : "");
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | PhoneUtils.java | 166 (frC.fgCall.getState() == Call.State.DISCONNECTING) && 226 if (ringingCall.getState() == Call.State.WAITING) { 232 if (DBG) log("answerCall: call state = " + ringingCall.getState()); 253 final boolean isRealIncomingCall = isRealIncomingCall(ringingCall.getState()); 345 Call.State state = ringing.getState(); 410 if (call.getState() == Call.State.ACTIVE && cm.hasActiveBgCall()) { 597 // After calling CallManager#dial(), getState() will return different state. 598 final boolean initiallyIdle = app.mCM.getState() == PhoneConstants.State.IDLE; 695 if (fgCall.getState() == Call.State.ACTIVE) { 864 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) {
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | TimerItem.java | 94 if (timer.getState() != mLastState) { 95 mLastState = timer.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/DeskClock/src/com/android/deskclock/data/ |
H A D | Stopwatch.java | 50 public State getState() { return mState; } method in class:Stopwatch
|