Home
last modified time | relevance | path

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

123

/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
H A DCarVolumeTest.java23 import static android.telephony.TelephonyManager.CALL_STATE_IDLE;
119 null, CALL_STATE_IDLE, new int[0])); in getSuggestedAudioContext_withNullActivePlayback_fails()
126 new ArrayList<>(), CALL_STATE_IDLE, null)); in getSuggestedAudioContext_withNullHallUsages_fails()
133 CALL_STATE_IDLE, new int[0]); in getSuggestedAudioContext_withNoActivePlaybackAndIdleTelephony_returnsDefault()
232 CALL_STATE_IDLE, activeHalUsages); in getSuggestedAudioContext_withHalActiveUsage_returnsHalActive()
243 CALL_STATE_IDLE, activeHalUsages); in getSuggestedAudioContext_withHalUnprioritizedUsage_returnsDefault()
306 CALL_STATE_IDLE, new int[0]); in getSuggestedAudioContext_withStillActiveContext_returnsPrevActiveContext()
326 CALL_STATE_IDLE, new int[0]); in getSuggestedAudioContext_withStillActiveContext_retPrevActiveContextMultipleTimes()
359 CALL_STATE_IDLE, new int[0]); in getSuggestedAudioContext_afterActiveContextTimeout_returnsDefaultContext()
422 CALL_STATE_IDLE, new int[0]); in getSuggestedAudioContext_afterResetSelectedVolumeContext_returnsDefaultContext()
[all …]
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A 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()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DPhoneStateBroadcaster.java39 private int mCurrentState = TelephonyManager.CALL_STATE_IDLE;
95 int callState = TelephonyManager.CALL_STATE_IDLE; in updateStates()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
H A DVideoCallingPreferenceControllerTest.java99 mController.mCallState = TelephonyManager.CALL_STATE_IDLE; in setUp()
140 mController.mCallState = TelephonyManager.CALL_STATE_IDLE; in updateState_4gLteOnWithoutCall_checked()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/telephony/
H A DBluetoothInCallService.java77 private static final int CALL_STATE_IDLE = 6; field in BluetoothInCallService
96 private int mBluetoothCallState = CALL_STATE_IDLE;
610 if (state == CALL_STATE_IDLE) { in sendClccForCall()
962 int bluetoothCallState = CALL_STATE_IDLE; in getBluetoothCallStateForUpdate()
979 return CALL_STATE_IDLE; in getBtCallState()
1003 return CALL_STATE_IDLE; in getBtCallState()
1010 return CALL_STATE_IDLE; in getBtCallState()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetHalConstants.java66 static final int CALL_STATE_IDLE = 6; field in HeadsetHalConstants
H A DHeadsetService.java1371 phoneStateChanged(1, 0, HeadsetHalConstants.CALL_STATE_IDLE, "", 0, "", true); in startScoUsingVirtualVoiceCall()
1387 phoneStateChanged(0, 0, HeadsetHalConstants.CALL_STATE_IDLE, "", 0, "", true); in stopScoUsingVirtualVoiceCall()
1594 if ((numActive + numHeld) > 0 || callState != HeadsetHalConstants.CALL_STATE_IDLE) { in phoneStateChanged()
1614 || callState == HeadsetHalConstants.CALL_STATE_IDLE) { in phoneStateChanged()
1638 if (callState == HeadsetHalConstants.CALL_STATE_IDLE in phoneStateChanged()
H A DHeadsetPhoneState.java62 private int mCallState = HeadsetHalConstants.CALL_STATE_IDLE;
H A DHeadsetSystemInterface.java350 > 0) || ((mHeadsetPhoneState.getCallState() != HeadsetHalConstants.CALL_STATE_IDLE) in isInCall()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/telephony/
H A DBluetoothInCallServiceTest.java82 private static final int CALL_STATE_IDLE = 6; field in BluetoothInCallServiceTest
362 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(1), eq(CALL_STATE_IDLE), in testConferenceInProgressCDMA()
370 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(0), eq(CALL_STATE_IDLE), in testConferenceInProgressCDMA()
748 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(0), eq(CALL_STATE_IDLE), in testCDMAConferenceQueryState()
884 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(1), eq(CALL_STATE_IDLE), eq(""), in testProcessChldHoldActiveSwapConference()
930 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(1), eq(CALL_STATE_IDLE), in testOnCallAddedCdmaActiveHold()
942 verify(mMockBluetoothHeadset).phoneStateChanged(eq(0), eq(0), eq(CALL_STATE_IDLE), in testOnCallRemoved()
991 verify(mMockBluetoothHeadset).phoneStateChanged(eq(0), eq(0), eq(CALL_STATE_IDLE), in testOnCallStateChangedRingingToAudioProcessing()
1015 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(0), eq(CALL_STATE_IDLE), in testOnCallStateChangedAudioProcessingToActive()
1076 verify(mMockBluetoothHeadset).phoneStateChanged(eq(1), eq(0), eq(CALL_STATE_IDLE), in testOnCallStateChanged()
[all …]
/aosp12/frameworks/base/telephony/java/com/android/internal/telephony/
H A DPhoneConstantConversions.java35 return TelephonyManager.CALL_STATE_IDLE; in convertCallState()
/aosp12/frameworks/base/services/core/java/com/android/server/location/injector/
H A DSystemEmergencyHelper.java97 if (state == TelephonyManager.CALL_STATE_IDLE) {
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DSarManager.java19 import static android.telephony.TelephonyManager.CALL_STATE_IDLE;
407 case CALL_STATE_IDLE: in onCellStateChangeEvent()
/aosp12/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
H A DPhoneFragment.java68 if (state == TelephonyManager.CALL_STATE_IDLE) { in onCreateView()
H A DPhoneFragmentViewModel.java100 if (state == TelephonyManager.CALL_STATE_IDLE) { in onCallStateChanged()
H A DSelfRefreshDescriptionLiveData.java124 case TelephonyManager.CALL_STATE_IDLE: in callStateToUiString()
/aosp12/packages/apps/Settings/src/com/android/settings/network/telephony/
H A DNrAdvancedCallingPreferenceController.java170 return (mCallState != null) && (mCallState == TelephonyManager.CALL_STATE_IDLE); in isCallStateIdle()
H A DVideoCallingPreferenceController.java104 && mCallState == TelephonyManager.CALL_STATE_IDLE); in updateState()
H A DWifiCallingPreferenceController.java126 preference.setEnabled(mCallState == TelephonyManager.CALL_STATE_IDLE); in updateState()
H A DEnhanced4gBasePreferenceController.java213 return (mCallState != null) && (mCallState == TelephonyManager.CALL_STATE_IDLE); in isCallStateIdle()
H A DNetworkProviderWifiCallingGroup.java229 == TelephonyManager.CALL_STATE_IDLE); in setSubscriptionInfoForPreference()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/alarms/
H A DAlarmService.kt217 if (state != TelephonyManager.CALL_STATE_IDLE && state != mPhoneCallState) {
/aosp12/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertAudio.java279 if (state != TelephonyManager.CALL_STATE_IDLE in onCreate()
700 if (mTelephonyManager.getCallState() != TelephonyManager.CALL_STATE_IDLE in setAlertVolume()
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
H A DWifiCallingPreferenceControllerTest.java91 mController.mCallState = TelephonyManager.CALL_STATE_IDLE; in setUp()
/aosp12/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
H A DCellBroadcastAlertAudioTest.java149 doReturn(TelephonyManager.CALL_STATE_IDLE).when( in testStartServiceNotInCallOverrideDnd()

123