/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeTest.java | 28 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/ |
D | SarManagerTest.java | 19 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/ |
D | PhoneStateBroadcaster.java | 39 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/ |
D | VideoCallingPreferenceControllerTest.java | 100 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/ |
D | BluetoothInCallServiceTest.java | 88 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/ |
D | BluetoothInCallService.java | 81 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/ |
D | HeadsetHalConstants.java | 66 static final int CALL_STATE_IDLE = 6; field in HeadsetHalConstants
|
D | HeadsetService.java | 1640 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()
|
D | HeadsetPhoneState.java | 62 private int mCallState = HeadsetHalConstants.CALL_STATE_IDLE;
|
D | HeadsetSystemInterface.java | 355 > 0) || ((mHeadsetPhoneState.getCallState() != HeadsetHalConstants.CALL_STATE_IDLE) in isInCall()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SarManager.java | 19 import static android.telephony.TelephonyManager.CALL_STATE_IDLE; 407 case CALL_STATE_IDLE: in onCellStateChangeEvent()
|
/packages/modules/Bluetooth/system/blueberry/utils/ |
D | bt_constants.py | 9 CALL_STATE_IDLE = 0 variable
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | PhoneFragment.java | 68 if (state == TelephonyManager.CALL_STATE_IDLE) { in onCreateView()
|
D | PhoneFragmentViewModel.java | 100 if (state == TelephonyManager.CALL_STATE_IDLE) { in onCallStateChanged()
|
D | SelfRefreshDescriptionLiveData.java | 124 case TelephonyManager.CALL_STATE_IDLE: in callStateToUiString()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | EnabledNetworkModePreferenceController.java | 68 private int mCallState = TelephonyManager.CALL_STATE_IDLE; 107 return mCallState == TelephonyManager.CALL_STATE_IDLE; in isCallStateIdle() 906 mCallState = TelephonyManager.CALL_STATE_IDLE; in unregister()
|
D | NrAdvancedCallingPreferenceController.java | 170 return (mCallState != null) && (mCallState == TelephonyManager.CALL_STATE_IDLE); in isCallStateIdle()
|
D | VideoCallingPreferenceController.java | 104 && mCallState == TelephonyManager.CALL_STATE_IDLE); in updateState()
|
D | WifiCallingPreferenceController.java | 126 preference.setEnabled(mCallState == TelephonyManager.CALL_STATE_IDLE); in updateState()
|
D | Enhanced4gBasePreferenceController.java | 210 return (mCallState != null) && (mCallState == TelephonyManager.CALL_STATE_IDLE); in isCallStateIdle()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 283 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/ |
D | AlarmService.kt | 217 if (state != TelephonyManager.CALL_STATE_IDLE && state != mPhoneCallState) { in onCallStateChanged()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
D | BluetoothHeadsetBinderTest.java | 229 int callState = HeadsetHalConstants.CALL_STATE_IDLE; in phoneStateChanged()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | WifiCallingPreferenceControllerTest.java | 91 mController.mCallState = TelephonyManager.CALL_STATE_IDLE; in setUp()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertAudioTest.java | 150 doReturn(TelephonyManager.CALL_STATE_IDLE).when( in testStartServiceNotInCallOverrideDnd()
|