Home
last modified time | relevance | path

Searched refs:callState (Results 1 – 4 of 4) sorted by relevance

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DTelephonyStateListeners.java76 public void onPreciseCallStateChanged(PreciseCallState callState) { in onPreciseCallStateChanged() argument
77 int foregroundState = callState.getForegroundCallState(); in onPreciseCallStateChanged()
78 int ringingState = callState.getRingingCallState(); in onPreciseCallStateChanged()
79 int backgroundState = callState.getBackgroundCallState(); in onPreciseCallStateChanged()
84 callState); in onPreciseCallStateChanged()
90 callState); in onPreciseCallStateChanged()
96 callState); in onPreciseCallStateChanged()
101 int newState, String which, PreciseCallState callState) { in processCallState() argument
104 newState, which, callState, subscriptionId)); in processCallState()
DTelephonyEvents.java58 JSONObject callState = new JSONObject(); in toJSON() local
60 callState.put( in toJSON()
63 callState.put( in toJSON()
66 callState.put(TelephonyConstants.CallStateContainer.CALL_STATE, in toJSON()
69 return callState; in toJSON()
DTelephonyUtils.java127 public static String getTelephonyCallStateString(int callState) { in getTelephonyCallStateString() argument
128 switch (callState) { in getTelephonyCallStateString()
136 Log.d("getTelephonyCallStateString error. int: " + callState); in getTelephonyCallStateString()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTelephonyManager.java71 private int callState = CALL_STATE_IDLE; field in ShadowTelephonyManager
132 return callState; in getCallState()
136 public void setCallState(int callState) { in setCallState() argument
137 setCallState(callState, null); in setCallState()
144 public void setCallState(int callState, String incomingPhoneNumber) { in setCallState() argument
145 if (callState != CALL_STATE_RINGING) { in setCallState()
149 this.callState = callState; in setCallState()
153 listener.onCallStateChanged(callState, incomingPhoneNumber); in setCallState()
391 listener.onCallStateChanged(callState, incomingPhoneNumber); in initListener()