Home
last modified time | relevance | path

Searched refs:phoneState (Results 1 – 5 of 5) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneStateBroadcaster.java112 private void sendPhoneStateChangedBroadcast(Call call, int phoneState) { in sendPhoneStateChangedBroadcast() argument
113 if (phoneState == mCurrentState) { in sendPhoneStateChangedBroadcast()
117 mCurrentState = phoneState; in sendPhoneStateChangedBroadcast()
127 mRegistry.notifyCallStateChangedForAllSubscriptions(phoneState, callHandle); in sendPhoneStateChangedBroadcast()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DPairedBluetoothDevices.java265 BluetoothProfileToggleState phoneState = getBluetoothProfileToggleState(device, in createPhoneButton() local
267 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()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java2110 final HeadsetPhoneState phoneState = mSystemInterface.getHeadsetPhoneState(); in processAtCind() local
2112 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 …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java1590 HeadsetPhoneState phoneState = mock(HeadsetPhoneState.class); in testProcessAtCops() local
1591 when(phoneState.getServiceState()).thenReturn(serviceState); in testProcessAtCops()
1592 when(mSystemInterface.getHeadsetPhoneState()).thenReturn(phoneState); in testProcessAtCops()
/packages/services/Telephony/src/com/android/phone/
DPhoneGlobals.java364 PhoneConstants.State phoneState;