/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CallManager.java | 103 // state registrants 232 * Get current coarse-grained voice call state. 234 * then the phone state is RINGING not OFFHOOK 251 * @return the service state of CallManager, which represents the 252 * highest priority state of all the service states of phones 376 // change the audio mode and request/abandon audio focus according to phone state, 393 // There is no active Fg calls, the OFFHOOK state 653 * state--that is, one call holding and one call active. 724 throw new CallStateException("cannot dial in current state"); 817 * phone state 1690 getFirstCallOfState(ArrayList<Call> calls, Call.State state) argument [all...] |
H A D | DefaultPhoneNotifier.java | 107 PhoneConstants.DataState state) { 108 doNotifyDataConnection(sender, reason, apnType, state); 112 PhoneConstants.DataState state) { 121 if (state == PhoneConstants.DataState.CONNECTED) { 130 convertDataState(state), 186 public static int convertCallState(PhoneConstants.State state) { argument 187 switch (state) { 201 public static PhoneConstants.State convertCallState(int state) { argument 202 switch (state) { 216 public static int convertDataState(PhoneConstants.DataState state) { argument 106 notifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument 111 doNotifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument 233 convertDataState(int state) argument 250 convertDataActivityState(Phone.DataActivityState state) argument 269 convertDataActivityState(int state) argument [all...] |
H A D | DriverCall.java | 36 // If you add a state, make sure to look for the switch() 42 public State state; // May be null if unavail field in class:DriverCall 60 // index,isMT,state,mode,isMpty(,number,TOA)? 66 ret.state = stateFromCLCC(p.nextInt()); 107 + state + "," 119 stateFromCLCC(int state) throws ATParseEx { argument 120 switch(state) { 128 throw new ATParseEx("illegal call state " + state);
|
H A D | IccCardApplicationStatus.java | 129 AppState AppStateFromRILInt(int state) { argument 132 switch(state) { 141 "Unrecognized RIL_AppState: " +state); 182 PinState PinStateFromRILInt(int state) { argument 184 switch(state) { 204 throw new RuntimeException("Unrecognized RIL_PinState: " + state);
|
H A D | IccCardProxy.java | 177 + " Force broadcast of current state=" + mExternalState); 240 CardState state = CardState.CARDSTATE_ABSENT; 244 state = newCard.getCardState(); 397 private String getIccStateIntentString(State state) { argument 398 switch (state) { 411 * Locked state have a reason (PIN, PUK, NETWORK, PERM_DISABLED) 414 private String getIccStateReason(State state) { argument 415 switch (state) {
|
H A D | IccCardStatus.java | 68 public void setCardState(int state) { argument 69 switch(state) { 80 throw new RuntimeException("Unrecognized RIL_CardState: " + state); 84 public void setUniversalPinState(int state) { argument 85 switch(state) { 105 throw new RuntimeException("Unrecognized RIL_PinState: " + state);
|
H A D | OperatorInfo.java | 37 private State state = State.UNKNOWN; field in class:OperatorInfo 57 return state; 63 State state) { 69 this.state = state; 82 * See state strings defined in ril.h RIL_REQUEST_QUERY_AVAILABLE_NETWORKS 95 "RIL impl error: Invalid network state '" + s + "'"); 104 + "/" + state; 127 dest.writeSerializable(state); 141 (State) in.readSerializable()); /*state*/ 60 OperatorInfo(String operatorAlphaLong, String operatorAlphaShort, String operatorNumeric, State state) argument [all...] |
H A D | PhoneBase.java | 189 * state change notification. DefaultPhoneNotifier is 218 * of state change events 305 Log.d(LOG_TAG, "Event EVENT_CALL_RING Received state=" + getState()); 308 PhoneConstants.State state = getState(); 310 && ((state == PhoneConstants.State.RINGING) || 311 (state == PhoneConstants.State.IDLE))) { 651 * Get state 832 PhoneConstants.DataState state) { 833 mNotifier.notifyDataConnection(this, reason, apnType, state); 831 notifyDataConnection(String reason, String apnType, PhoneConstants.DataState state) argument
|
H A D | PhoneNotifier.java | 42 PhoneConstants.DataState state); 41 notifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument
|
H A D | RIL.java | 2047 // In case screen state was lost (due to process crash), 2048 // this ensures that the RIL knows the correct screen state. 2051 // screen state. Just send true for now. 2056 RadioState state; 2060 case 0: state = RadioState.RADIO_OFF; break; 2061 case 1: state = RadioState.RADIO_UNAVAILABLE; break; 2062 case 10: state = RadioState.RADIO_ON; break; 2068 return state; 2524 /* has bonus radio state int */ 3083 dc.state [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CDMALTEPhone.java | 136 if (mCT.state != PhoneConstants.State.IDLE &&
|
H A D | CDMAPhone.java | 284 return mCT.state; 629 if ( mCT.state != PhoneConstants.State.IDLE 658 if (mCT.state == PhoneConstants.State.OFFHOOK) { 687 if ((mCT.state == PhoneConstants.State.OFFHOOK)&&(check)) { 806 * Notify any interested party of a Phone state change {@link PhoneConstants.State} 813 * Notify registrants of a change in the call state. This notifies changes in {@link Call.State} 814 * Use this when changes in the precise call state are needed, else use notifyPhoneStateChanged.
|
H A D | CdmaCall.java | 36 /*package*/ State state = State.IDLE; field in class:CdmaCall 50 default: throw new RuntimeException ("illegal call state:" + dcState); 73 return state; 96 return state.toString(); 105 state = stateFromDCState (dc.state); 109 attachFake(Connection conn, State state) { argument 112 this.state = state; 120 if (state ! [all...] |
H A D | CdmaCallTracker.java | 85 PhoneConstants.State state = PhoneConstants.State.IDLE; field in class:CdmaCallTracker 141 if (state != PhoneConstants.State.IDLE) { 187 // note that this triggers call state changed notif 191 throw new CallStateException("cannot dial in current state"); 205 // didn't know the state (i.e. Generic was true) we now know 286 // ringing Call state change to idle is in CdmaCall.detach 312 throw new CallStateException("cannot be in the incoming state"); 326 // Should we be checking state? 448 PhoneConstants.State oldState = state; 451 state [all...] |
H A D | CdmaConnection.java | 140 parent = parentFromDCState (dc.state); 172 //for the three way call case, not change parent state 173 if (parent.state == CdmaCall.State.ACTIVE) { 481 // Returns true if state has changed, false if nothing changed 489 newParent = parentFromDCState(dc.state); 527 /** Some state-transition events */ 731 PostDialState state = postDialState; 734 ar.userObj = state; 750 || parent.state == CdmaCall.State.DIALING 751 || parent.state 755 parentFromDCState(DriverCall.State state) argument [all...] |
H A D | CdmaMmiCode.java | 65 State state = State.PENDING; field in class:CdmaMmiCode 148 return state; 160 if (state == State.COMPLETE || state == State.FAILED) { 164 state = State.CANCELLED; 219 state = State.FAILED; 226 state = State.FAILED; 263 state = State.FAILED; 283 state = State.COMPLETE; 287 state [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GSMPhone.java | 101 // Key used to read/write current ciphering state 256 return mCT.state; 297 // provide the same state. Calling isApnTypeActive() can be removed. 308 if ( mCT.state != PhoneConstants.State.IDLE 354 * Notify any interested party of a Phone state change {@link PhoneConstants.State} 361 * Notify registrants of a change in the call state. This notifies changes in {@link Call.State} 362 * Use this when changes in the precise call state are needed, else use notifyPhoneStateChanged. 756 if (mCT.state == PhoneConstants.State.OFFHOOK) {
|
H A D | GsmCall.java | 49 default: throw new RuntimeException ("illegal call state:" + dcState); 92 return state.toString(); 101 state = stateFromDCState (dc.state); 105 attachFake(Connection conn, State state) { argument 108 this.state = state; 116 if (state != State.DISCONNECTED) { 131 state = State.DISCONNECTED; 142 state [all...] |
H A D | GsmCallTracker.java | 88 PhoneConstants.State state = PhoneConstants.State.IDLE; field in class:GsmCallTracker 175 // note that this triggers call state changed notif 179 throw new CallStateException("cannot dial in current state"); 192 // Fake local state so that 201 throw new CallStateException("cannot dial in current state"); 279 throw new CallStateException("cannot be in the incoming state"); 388 PhoneConstants.State oldState = state; 391 state = PhoneConstants.State.RINGING; 394 state = PhoneConstants.State.OFFHOOK; 396 state [all...] |
H A D | GsmConnection.java | 138 parent = parentFromDCState (dc.state); 437 // Returns true if state has changed, false if nothing changed 445 newParent = parentFromDCState(dc.state); 481 /** Some state-transition events */ 666 PostDialState state = postDialState; 669 ar.userObj = state; 686 || parent.state == GsmCall.State.DIALING 687 || parent.state == GsmCall.State.ALERTING; 691 parentFromDCState (DriverCall.State state) { argument 692 switch (state) { [all...] |
H A D | GsmMmiCode.java | 129 State state = State.PENDING; field in class:GsmMmiCode 239 ret.state = State.PENDING; 241 ret.state = State.COMPLETE; 253 ret.state = State.PENDING; 417 return state; 429 if (state == State.COMPLETE || state == State.FAILED) { 433 state = State.CANCELLED; 816 state = State.FAILED; 823 state [all...] |
H A D | GsmServiceStateTracker.java | 113 * Mark when service state is in emergency call only mode 186 Log.i("GsmServiceStateTracker", "Auto time state changed"); 194 Log.i("GsmServiceStateTracker", "Auto time zone state changed"); 474 } // Otherwise, we're in the desired state 534 // Power off state, such as airplane mode 696 loge("Exception while polling service state. Probably malformed RIL response." + ex); 733 * A complete "service state" from our perspective is 830 // Add an event log when connection state changes 867 // this new state has been applied - forget it until we get a new new state [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipCallBase.java | 44 return state.toString() + ":" + super.toString();
|
H A D | SipConnectionBase.java | 70 protected void setState(Call.State state) { argument 71 switch (state) {
|
H A D | SipPhone.java | 169 throw new CallStateException("cannot dial in current state"); 176 throw new CallStateException("cannot dial in current state"); 206 throw new CallStateException("wrong state to merge calls: fg=" 298 // state with AudioManager instead of keeping a state here so the 299 // method with a state argument is redundant. Also rename the method 369 state = that.state; 412 if (state.isAlive()) { 467 if (state 776 setState(Call.State state) argument [all...] |