Lines Matching refs:PhoneCallState
48 * Allowable values for the PhoneCallState.
54 public enum PhoneCallState {
61 // For storing current and previous PhoneCallState's
62 private PhoneCallState mPreviousCallState;
63 private PhoneCallState mCurrentCallState;
73 * Initialize PhoneCallState related members - constructor
76 mCurrentCallState = PhoneCallState.IDLE;
77 mPreviousCallState = PhoneCallState.IDLE;
85 public PhoneCallState getCurrentCallState() {
90 * Set current and previous PhoneCallState's
92 public void setCurrentCallState(PhoneCallState newState) {
105 if ((mCurrentCallState == PhoneCallState.SINGLE_ACTIVE)
106 && (mPreviousCallState == PhoneCallState.IDLE)) {
140 * Return previous PhoneCallState's
142 public PhoneCallState getPreviousCallState() {
147 * Reset all PhoneCallState
150 mCurrentCallState = PhoneCallState.IDLE;
151 mPreviousCallState = PhoneCallState.IDLE;