/packages/services/Car/car-support-lib/src/android/support/car/media/ |
H A D | CarAudioRecord.java | 50 /** See {@link AudioRecord#getState() }. */ 51 public abstract int getState() throws CarNotConnectedException; method in class:CarAudioRecord
|
H A D | CarAudioRecordEmbedded.java | 72 public int getState() throws CarNotConnectedException { method in class:CarAudioRecordEmbedded 73 return mAudioRecord.getState();
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
H A D | ScheduleRow.java | 132 && mSchedule.getState() == ScheduledRecording.STATE_RECORDING_NOT_STARTED; 140 && mSchedule.getState() == ScheduledRecording.STATE_RECORDING_IN_PROGRESS; 148 && mSchedule.getState() == ScheduledRecording.STATE_RECORDING_CANCELED; 153 && (mSchedule.getState() == ScheduledRecording.STATE_RECORDING_FAILED 154 || mSchedule.getState() == ScheduledRecording.STATE_RECORDING_CLIPPED 155 || mSchedule.getState() == ScheduledRecording.STATE_RECORDING_FINISHED);
|
/packages/services/Telephony/src/com/android/services/telephony/ |
H A D | GsmConnection.java | 79 if (getState() == STATE_ACTIVE || getState() == STATE_HOLDING) {
|
H A D | EmergencyCallStateListener.java | 156 if (isOkToCall(state.getState())) { 174 return (mPhone.getState() == PhoneConstants.State.OFFHOOK) || 182 int serviceState = mPhone.getServiceState().getState(); 184 mPhone.getState(), serviceState, mNumRetriesSoFar);
|
H A D | ImsConferenceController.java | 200 Log.d(this, "recalc - %s %s supportsConf? %s", connection.getState(), connection, 220 switch (connection.getState()) { 235 Log.d(this, "recalc - %s %s", conference.getState(), conference); 245 switch (conference.getState()) { 375 conference.setState(conferenceHostConnection.getState());
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | BasicCallTests.java | 82 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 83 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 87 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 89 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 100 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 102 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 117 assertEquals(Call.STATE_RINGING, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 118 assertEquals(Call.STATE_RINGING, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 143 assertEquals(Call.STATE_RINGING, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 144 assertEquals(Call.STATE_RINGING, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); [all...] |
H A D | CallAudioManagerTest.java | 96 when(call.getState()).thenReturn(CallState.ACTIVE); 119 when(call2.getState()).thenReturn(CallState.RINGING); 157 when(call.getState()).thenReturn(CallState.ACTIVE); 205 when(call.getState()).thenReturn(CallState.ACTIVE); 218 when(call.getState()).thenReturn(CallState.CONNECTING); 239 when(call.getState()).thenReturn(CallState.DIALING); 248 when(call.getState()).thenReturn(CallState.ACTIVE); 265 when(call.getState()).thenReturn(CallState.RINGING); 292 when(call.getState()).thenReturn(CallState.DISCONNECTED);
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
H A D | SipConnection.java | 140 if (getPhone() != null && getState() == STATE_ACTIVE 141 && getPhone().getRingingCall().getState() != Call.State.WAITING) { 145 mOriginalConnection.getState() == Call.State.ACTIVE) { 160 if (getPhone() != null && getState() == STATE_HOLDING && 161 getPhone().getForegroundCall().getState() != Call.State.DIALING) { 165 mOriginalConnection.getState() == Call.State.HOLDING) { 235 return call != null && call.getState().isRinging() && 244 Call.State newState = mOriginalConnection.getState(); 281 if (getState() == STATE_ACTIVE || getState() [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
H A D | HfpClientConference.java | 96 if (connection.getState() == Connection.STATE_HOLDING && 97 getState() == Connection.STATE_ACTIVE) { 99 } else if (connection.getState() == Connection.STATE_ACTIVE && 100 getState() == Connection.STATE_HOLDING) {
|
H A D | HfpClientDeviceBlock.java | 195 if (call.getState() == BluetoothHeadsetClientCall.CALL_STATE_DIALING || 196 call.getState() == BluetoothHeadsetClientCall.CALL_STATE_ALERTING || 197 call.getState() == BluetoothHeadsetClientCall.CALL_STATE_ACTIVE || 198 call.getState() == BluetoothHeadsetClientCall.CALL_STATE_WAITING) { 203 } else if (call.getState() == BluetoothHeadsetClientCall.CALL_STATE_INCOMING) { 208 } else if (call.getState() == BluetoothHeadsetClientCall.CALL_STATE_TERMINATED) { 243 Log.d(TAG, "prevConn " + prevConn.isClosing() + " new call " + newCall.getState()); 246 newCall.getState() != BluetoothHeadsetClientCall.CALL_STATE_TERMINATED) { 275 if (connection.getState() != Connection.STATE_DISCONNECTED) {
|
H A D | HfpClientConnection.java | 96 (getState() == STATE_ACTIVE || getState() == STATE_HOLDING ? CAPABILITY_HOLD : 0)); 118 getState() != Connection.STATE_DISCONNECTED; 136 int state = mCurrentCall.getState(); 282 return "HfpClientConnection{" + getAddress() + "," + stateToString(getState()) + "," +
|
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/ |
H A D | Session.java | 54 int getState(); method in interface:Session
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
H A D | MockTelephonyConnection.java | 52 when(mMockRadioConnection.getState()).thenReturn(Call.State.ACTIVE); 55 when(mMockCall.getState()).thenReturn(Call.State.ACTIVE);
|
H A D | EmergencyCallStateListenerTest.java | 102 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); 130 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); 160 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); 192 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); 222 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE);
|
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/ |
H A D | AnswerProximitySensor.java | 48 if (call.getState() != State.INCOMING) { 110 return display.getState() == Display.STATE_ON; 121 if (call.getState() != State.INCOMING) {
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
H A D | UiCall.java | 42 public int getState() { method in class:UiCall
|
/packages/apps/Dialer/java/com/android/incallui/ |
H A D | VideoPauseController.java | 82 && (call.getState() == DialerCall.State.CALL_WAITING 83 || call.getState() == DialerCall.State.INCOMING); 249 mPrevCallState = call.getState(); 330 return call != null && call.isVideoCall() && call.getState() == DialerCall.State.ACTIVE;
|
/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 | 52 Preconditions.checkState(call.getState() == CallState.DIALING);
|
H A D | CallAudioManager.java | 143 CallState.toString(call.getState())); 145 if (mCallStateToCalls.get(call.getState()) != null) { 146 mCallStateToCalls.get(call.getState()).add(call); 151 onCallEnteringState(call, call.getState()); 160 CallState.toString(call.getState())); 169 onCallLeavingState(call, call.getState()); 225 if (mCallStateToCalls.get(call.getState()) != null) { 226 mCallStateToCalls.get(call.getState()).remove(call); 314 if (mCallStateToCalls.get(call.getState()) != null) { 315 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/TV/tests/common/src/com/android/tv/testing/dvr/ |
H A D | RecordingTestUtils.java | 72 Assert.assertEquals("state", expected.getState(), actual.getState());
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | PhoneUtils.java | 165 (frC.fgCall.getState() == Call.State.DISCONNECTING) && 225 if (ringingCall.getState() == Call.State.WAITING) { 231 if (DBG) log("answerCall: call state = " + ringingCall.getState()); 252 final boolean isRealIncomingCall = isRealIncomingCall(ringingCall.getState()); 344 Call.State state = ringing.getState(); 409 if (call.getState() == Call.State.ACTIVE && cm.hasActiveBgCall()) { 596 // After calling CallManager#dial(), getState() will return different state. 597 final boolean initiallyIdle = app.mCM.getState() == PhoneConstants.State.IDLE; 694 if (fgCall.getState() == Call.State.ACTIVE) { 863 MmiCode.State state = mmiCode.getState(); [all...] |
/packages/services/Telephony/src/com/android/phone/otasp/ |
H A D | OtaspActivationService.java | 141 if (mPhone.getServiceState().getState() != ServiceState.STATE_IN_SERVICE) { 182 logd("onOtaspCallStateChanged: " + mPhone.getState()); 183 if (mPhone.getState().equals(PhoneConstants.State.IDLE)) {
|