Searched refs:phoneState (Results 1 – 5 of 5) sorted by relevance
112 private void sendPhoneStateChangedBroadcast(Call call, int phoneState) { in sendPhoneStateChangedBroadcast() argument113 if (phoneState == mCurrentState) { in sendPhoneStateChangedBroadcast()117 mCurrentState = phoneState; in sendPhoneStateChangedBroadcast()127 mRegistry.notifyCallStateChangedForAllSubscriptions(phoneState, callHandle); in sendPhoneStateChangedBroadcast()
265 BluetoothProfileToggleState phoneState = getBluetoothProfileToggleState(device, in createPhoneButton() local267 int iconRes = phoneState.mIsAvailable ? R.drawable.ic_qc_bluetooth_phone in createPhoneButton()272 phoneState.mIsAvailable, phoneState.mIsEnabled, in createPhoneButton()273 phoneState.mIsClickableWhileDisabled, phoneState.mIsChecked); in createPhoneButton()
2110 final HeadsetPhoneState phoneState = mSystemInterface.getHeadsetPhoneState(); in processAtCind() local2112 int service = phoneState.getCindService(), signal = phoneState.getCindSignal(); in processAtCind()2122 call = phoneState.getNumActiveCall(); in processAtCind()2123 callSetup = phoneState.getNumHeldCall(); in processAtCind()2129 (phoneState.getNumActiveCall() > 0) in processAtCind()2130 || (phoneState.getNumHeldCall() > 0) in processAtCind()2131 || phoneState.getCallState() == HeadsetHalConstants.CALL_STATE_ALERTING in processAtCind()2132 || phoneState.getCallState() == HeadsetHalConstants.CALL_STATE_DIALING in processAtCind()2133 || phoneState.getCallState() == HeadsetHalConstants.CALL_STATE_INCOMING; in processAtCind()2136 && (phoneState.getCindService() in processAtCind()[all …]
1590 HeadsetPhoneState phoneState = mock(HeadsetPhoneState.class); in testProcessAtCops() local1591 when(phoneState.getServiceState()).thenReturn(serviceState); in testProcessAtCops()1592 when(mSystemInterface.getHeadsetPhoneState()).thenReturn(phoneState); in testProcessAtCops()
364 PhoneConstants.State phoneState;