Home
last modified time | relevance | path

Searched refs:CALL_STATE_IDLE (Results 1 – 25 of 41) sorted by relevance

12

/packages/services/Telecomm/src/com/android/server/telecom/
DBluetoothPhoneServiceImpl.java68 private static final int CALL_STATE_IDLE = 6; field in BluetoothPhoneServiceImpl
87 private int mBluetoothCallState = CALL_STATE_IDLE;
595 if (state == CALL_STATE_IDLE) { in sendClccForCall()
852 int bluetoothCallState = CALL_STATE_IDLE; in getBluetoothCallStateForUpdate()
870 return CALL_STATE_IDLE; in getBtCallState()
895 return CALL_STATE_IDLE; in getBtCallState()
902 return CALL_STATE_IDLE; in getBtCallState()
DPhoneStateBroadcaster.java31 private int mCurrentState = TelephonyManager.CALL_STATE_IDLE;
83 int callState = TelephonyManager.CALL_STATE_IDLE; in updateStates()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothPhoneServiceTest.java85 private static final int CALL_STATE_IDLE = 6; field in BluetoothPhoneServiceTest
332 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(1), eq(CALL_STATE_IDLE), in testConferenceInProgressCDMA()
336 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(0), eq(CALL_STATE_IDLE), in testConferenceInProgressCDMA()
656 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(0), eq(CALL_STATE_IDLE), in testCDMAConferenceQueryState()
796 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(1), eq(CALL_STATE_IDLE), eq(""), in testProcessChldHoldActiveSwapConference()
844 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(1), eq(CALL_STATE_IDLE), in testOnCallAddedCdmaActiveHold()
856 verify(mMockBluetoothHeadset).phoneStateChanged(eq(0), eq(0), eq(CALL_STATE_IDLE), in testOnCallRemoved()
906 verify(mMockBluetoothHeadset).phoneStateChanged(eq(0), eq(0), eq(CALL_STATE_IDLE), in testOnCallStateChangedRingingToAudioProcessing()
932 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(0), eq(CALL_STATE_IDLE), in testOnCallStateChangedAudioProcessingToActive()
978 verify(mMockBluetoothHeadset).phoneStateChanged(eq(0), eq(0), eq(CALL_STATE_IDLE), in testOnCallStateChangedDisconnected()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DWifiCallingSettingsForSub.java117 mSwitchBar.setEnabled((state == TelephonyManager.CALL_STATE_IDLE)
137 && (state == TelephonyManager.CALL_STATE_IDLE));
143 && (state == TelephonyManager.CALL_STATE_IDLE));
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java1328 phoneStateChanged(1, 0, HeadsetHalConstants.CALL_STATE_IDLE, "", 0, "", true); in startScoUsingVirtualVoiceCall()
1344 phoneStateChanged(0, 0, HeadsetHalConstants.CALL_STATE_IDLE, "", 0, "", true); in stopScoUsingVirtualVoiceCall()
1548 if ((numActive + numHeld) > 0 || callState != HeadsetHalConstants.CALL_STATE_IDLE) { in phoneStateChanged()
1568 || callState == HeadsetHalConstants.CALL_STATE_IDLE) { in phoneStateChanged()
1592 if (callState == HeadsetHalConstants.CALL_STATE_IDLE in phoneStateChanged()
DHeadsetHalConstants.java66 static final int CALL_STATE_IDLE = 6; field in HeadsetHalConstants
DHeadsetPhoneState.java60 private int mCallState = HeadsetHalConstants.CALL_STATE_IDLE;
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java270 if (state != TelephonyManager.CALL_STATE_IDLE in onCreate()
641 if (mTelephonyManager.getCallState() != TelephonyManager.CALL_STATE_IDLE in setAlertVolume()
DCellBroadcastAlertService.java339 if (mTelephonyManager.getCallState() != TelephonyManager.CALL_STATE_IDLE in showNewAlert()
777 case TelephonyManager.CALL_STATE_IDLE:
/packages/apps/Car/Cluster/src/android/car/cluster/
DPhoneFragment.java68 if (state == TelephonyManager.CALL_STATE_IDLE) { in onCreateView()
DPhoneFragmentViewModel.java100 if (state == TelephonyManager.CALL_STATE_IDLE) { in onCallStateChanged()
DSelfRefreshDescriptionLiveData.java124 case TelephonyManager.CALL_STATE_IDLE: in callStateToUiString()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java649 == TelephonyManager.CALL_STATE_IDLE; in canForegroundUserSwitchUsers()
737 == TelephonyManager.CALL_STATE_IDLE; in canCurrentProcessSwitchUsers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DVideoCallingPreferenceControllerTest.java124 doReturn(TelephonyManager.CALL_STATE_IDLE).when(mTelephonyManager).getCallState(SUB_ID); in updateState_4gLteOnWithoutCall_checked()
DWifiCallingPreferenceControllerTest.java92 mController.mCallState = TelephonyManager.CALL_STATE_IDLE; in setUp()
/packages/apps/Settings/src/com/android/settings/media/
DMediaOutputIndicatorSlice.java122 return telephonyManager.getCallState() == TelephonyManager.CALL_STATE_IDLE in isVisible()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DEnhanced4gLtePreferenceController.java155 && mTelephonyManager.getCallState(mSubId) == TelephonyManager.CALL_STATE_IDLE in is4gLtePrefEnabled()
DWifiCallingPreferenceController.java151 mTelephonyManager.getCallState(mSubId) == TelephonyManager.CALL_STATE_IDLE); in updateState()
DVideoCallingPreferenceController.java101 mTelephonyManager.getCallState(mSubId) == TelephonyManager.CALL_STATE_IDLE); in updateState()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DEnhanced4gLtePreferenceController.java155 && mTelephonyManager.getCallState(mSubId) == TelephonyManager.CALL_STATE_IDLE in is4gLtePrefEnabled()
DVideoCallingPreferenceController.java99 mTelephonyManager.getCallState(mSubId) == TelephonyManager.CALL_STATE_IDLE); in updateState()
DWifiCallingPreferenceController.java122 preference.setEnabled(mCallState == TelephonyManager.CALL_STATE_IDLE); in updateState()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmService.java261 if (state != TelephonyManager.CALL_STATE_IDLE && state != mPhoneCallState) { in onCallStateChanged()
DAlarmService.kt217 if (state != TelephonyManager.CALL_STATE_IDLE && state != mPhoneCallState) { in onCallStateChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DMediaOutputIndicatorSliceTest.java166 mShadowTelephonyManager.setCallState(TelephonyManager.CALL_STATE_IDLE); in getSlice_callStateIdle_available()

12