Home
last modified time | relevance | path

Searched refs:getCallState (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetSystemInterface.java372 > 0) || ((mHeadsetPhoneState.getCallState() != HeadsetHalConstants.CALL_STATE_IDLE) in isInCall()
373 && (mHeadsetPhoneState.getCallState() != HeadsetHalConstants.CALL_STATE_INCOMING))); in isInCall()
383 return mHeadsetPhoneState.getCallState() == HeadsetHalConstants.CALL_STATE_INCOMING; in isRinging()
DHeadsetPhoneState.java186 int getCallState() { in getCallState() method in HeadsetPhoneState
DHeadsetStateMachine.java1703 phoneState.getCallState(), phoneState.getCindSignal(), phoneState.getCindRoam(), in processAtCind()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertAudioTest.java149 mMockedTelephonyManager).getCallState(); in testStartServiceNotInCallOverrideDnd()
166 verify(mMockedTelephonyManager, atLeastOnce()).getCallState(); in testStartServiceNotInCallOverrideDnd()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneStateBroadcaster.java93 int getCallState() { in getCallState() method in PhoneStateBroadcaster
DTelecomServiceImpl.java857 public int getCallState() {
861 return mCallsManager.getCallState();
DCallsManager.java3355 int getCallState() {
3356 return mPhoneStateBroadcaster.getCallState();
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java386 mInitialCallState = mTelephonyManager.getCallState(); in onStartCommand()
641 if (mTelephonyManager.getCallState() != TelephonyManager.CALL_STATE_IDLE in setAlertVolume()
DCellBroadcastAlertService.java339 if (mTelephonyManager.getCallState() != TelephonyManager.CALL_STATE_IDLE in showNewAlert()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java648 boolean inIdleCallState = TelephonyManager.getDefault().getCallState() in canForegroundUserSwitchUsers()
736 boolean inIdleCallState = TelephonyManager.getDefault().getCallState() 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()
DEnhanced4gLtePreferenceControllerTest.java165 doReturn(TelephonyManager.CALL_STATE_IDLE).when(mTelephonyManager).getCallState(SUB_ID); in updateState_configEnabled_prefEnabled()
/packages/apps/Settings/src/com/android/settings/media/
DMediaOutputIndicatorSlice.java122 return telephonyManager.getCallState() == TelephonyManager.CALL_STATE_IDLE in isVisible()
DMediaOutputSlice.java207 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()
/packages/apps/Dialer/java/com/android/dialer/util/
DDialerUtils.java140 telephonyManager.getCallState() == TelephonyManager.CALL_STATE_OFFHOOK; in shouldWarnForOutgoingWps()
/packages/services/Telephony/src/com/android/phone/settings/
DAccessibilitySettingsFragment.java78 || (telephonyManager.getCallState() == TelephonyManager.CALL_STATE_IDLE));
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncRingtonePlayer.java166 return tm.getCallState() != TelephonyManager.CALL_STATE_IDLE;
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSub.java120 WifiCallingSettingsForSub.this.mSubId).getCallState()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapServer.java630 if (tManager.getCallState() == TelephonyManager.CALL_STATE_IDLE) { in isCallOngoing()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java1004 int callState = mTelephonyManager.getCallState(); in getSuggestedAudioUsage()

12