Home
last modified time | relevance | path

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

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeTest.java28 import static android.telephony.TelephonyManager.CALL_STATE_IDLE;
147 null, CALL_STATE_IDLE, new ArrayList<>())); in getSuggestedAudioContext_withNullActivePlayback_fails()
154 new ArrayList<>(), CALL_STATE_IDLE, null)); in getSuggestedAudioContext_withNullHallAttributes_fails()
161 CALL_STATE_IDLE, new ArrayList<>()); in getSuggestedAudioContext_withNoActivePlaybackAndIdleTelephony_returnsDefault()
173 .getSuggestedAudioContextAndSaveIfFound(activePlaybackAttributes, CALL_STATE_IDLE, in getSuggestedAudioContext_withOneConfiguration_returnsAssociatedContext()
211 .getSuggestedAudioContextAndSaveIfFound(activePlaybackAttributes, CALL_STATE_IDLE, in getSuggestedAudioContext_withActivePlayback_returnsHighestPriorityContext()
267 CALL_STATE_IDLE, new ArrayList<>()); in getSuggestedAudioContext_withUnprioritizedAttribute_returnsDefault()
280 CALL_STATE_IDLE, activeHalAudioAttributes); in getSuggestedAudioContext_withHalActiveAttribute_returnsHalActive()
294 CALL_STATE_IDLE, activeHalAudioAttributes); in getSuggestedAudioContext_withHalUnprioritizedAttribute_returnsDefault()
308 CALL_STATE_IDLE, activeHalAudioAttributes); in getSuggestedAudioContext_withConfigAndHalActiveAttribute_returnsConfigActive()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSarManagerTest.java19 import static android.telephony.TelephonyManager.CALL_STATE_IDLE;
240 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook()
266 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledTxPowerScenario_wifiOff_offHook_onHook()
304 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledSar_wifiOn_offHook_wifiOff_onHook()
328 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledSar_wifiOff_offHook_onHook_wifiOn()
366 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledSar_offHook_wifiOnOff_onHook()
395 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledSar_error_wifiOn_offOnHook()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneStateBroadcaster.java39 private int mCurrentState = TelephonyManager.CALL_STATE_IDLE;
95 int callState = TelephonyManager.CALL_STATE_IDLE; in updateStates()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DVideoCallingPreferenceControllerTest.java100 mController.mCallState = TelephonyManager.CALL_STATE_IDLE; in setUp()
141 mController.mCallState = TelephonyManager.CALL_STATE_IDLE; in updateState_4gLteOnWithoutCall_checked()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/telephony/
DBluetoothInCallServiceTest.java88 private static final int CALL_STATE_IDLE = 6; field in BluetoothInCallServiceTest
385 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(1), eq(CALL_STATE_IDLE), in testConferenceInProgressCDMA()
393 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(0), eq(CALL_STATE_IDLE), in testConferenceInProgressCDMA()
798 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(0), eq(CALL_STATE_IDLE), in testCDMAConferenceQueryState()
934 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(1), eq(CALL_STATE_IDLE), eq(""), in testProcessChldHoldActiveSwapConference()
980 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(1), eq(CALL_STATE_IDLE), in testOnCallAddedCdmaActiveHold()
992 verify(mMockBluetoothHeadset).phoneStateChanged(eq(0), eq(0), eq(CALL_STATE_IDLE), in testOnCallRemoved()
1041 verify(mMockBluetoothHeadset).phoneStateChanged(eq(0), eq(0), eq(CALL_STATE_IDLE), in testOnCallStateChangedRingingToAudioProcessing()
1065 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(0), eq(CALL_STATE_IDLE), in testOnCallStateChangedAudioProcessingToActive()
1126 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(0), eq(CALL_STATE_IDLE), in testOnCallStateChanged()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/
DBluetoothInCallService.java81 private static final int CALL_STATE_IDLE = 6; field in BluetoothInCallService
100 private int mBluetoothCallState = CALL_STATE_IDLE;
736 if (state == CALL_STATE_IDLE) { in sendClccForCall()
1095 int bluetoothCallState = CALL_STATE_IDLE; in getBluetoothCallStateForUpdate()
1112 return CALL_STATE_IDLE; in getBtCallState()
1136 return CALL_STATE_IDLE; in getBtCallState()
1143 return CALL_STATE_IDLE; in getBtCallState()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetHalConstants.java66 static final int CALL_STATE_IDLE = 6; field in HeadsetHalConstants
DHeadsetService.java1640 phoneStateChanged(1, 0, HeadsetHalConstants.CALL_STATE_IDLE, "", 0, "", true); in startScoUsingVirtualVoiceCall()
1656 phoneStateChanged(0, 0, HeadsetHalConstants.CALL_STATE_IDLE, "", 0, "", true); in stopScoUsingVirtualVoiceCall()
1864 if ((numActive + numHeld) > 0 || callState != HeadsetHalConstants.CALL_STATE_IDLE) { in phoneStateChanged()
1884 || callState == HeadsetHalConstants.CALL_STATE_IDLE) { in phoneStateChanged()
1908 if (callState == HeadsetHalConstants.CALL_STATE_IDLE in phoneStateChanged()
1914 if (callState == HeadsetHalConstants.CALL_STATE_IDLE) { in phoneStateChanged()
DHeadsetPhoneState.java62 private int mCallState = HeadsetHalConstants.CALL_STATE_IDLE;
DHeadsetSystemInterface.java355 > 0) || ((mHeadsetPhoneState.getCallState() != HeadsetHalConstants.CALL_STATE_IDLE) in isInCall()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSarManager.java19 import static android.telephony.TelephonyManager.CALL_STATE_IDLE;
407 case CALL_STATE_IDLE: in onCellStateChangeEvent()
/packages/modules/Bluetooth/system/blueberry/utils/
Dbt_constants.py9 CALL_STATE_IDLE = 0 variable
/packages/apps/Car/Cluster/DirectRenderingCluster/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/apps/Settings/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceController.java68 private int mCallState = TelephonyManager.CALL_STATE_IDLE;
107 return mCallState == TelephonyManager.CALL_STATE_IDLE; in isCallStateIdle()
906 mCallState = TelephonyManager.CALL_STATE_IDLE; in unregister()
DNrAdvancedCallingPreferenceController.java170 return (mCallState != null) && (mCallState == TelephonyManager.CALL_STATE_IDLE); in isCallStateIdle()
DVideoCallingPreferenceController.java104 && mCallState == TelephonyManager.CALL_STATE_IDLE); in updateState()
DWifiCallingPreferenceController.java126 preference.setEnabled(mCallState == TelephonyManager.CALL_STATE_IDLE); in updateState()
DEnhanced4gBasePreferenceController.java210 return (mCallState != null) && (mCallState == TelephonyManager.CALL_STATE_IDLE); in isCallStateIdle()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java283 if (state != TelephonyManager.CALL_STATE_IDLE in onCreate()
721 if (mTelephonyManager.getCallState() != TelephonyManager.CALL_STATE_IDLE in setAlertVolume()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmService.kt217 if (state != TelephonyManager.CALL_STATE_IDLE && state != mPhoneCallState) { in onCallStateChanged()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DBluetoothHeadsetBinderTest.java229 int callState = HeadsetHalConstants.CALL_STATE_IDLE; in phoneStateChanged()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DWifiCallingPreferenceControllerTest.java91 mController.mCallState = TelephonyManager.CALL_STATE_IDLE; in setUp()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertAudioTest.java150 doReturn(TelephonyManager.CALL_STATE_IDLE).when( in testStartServiceNotInCallOverrideDnd()

12