/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
H A D | CarVolumeTest.java | 23 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 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()
|
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | PhoneStateBroadcaster.java | 39 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 D | VideoCallingPreferenceControllerTest.java | 99 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 D | BluetoothInCallService.java | 77 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 D | HeadsetHalConstants.java | 66 static final int CALL_STATE_IDLE = 6; field in HeadsetHalConstants
|
H A D | HeadsetService.java | 1371 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 D | HeadsetPhoneState.java | 62 private int mCallState = HeadsetHalConstants.CALL_STATE_IDLE;
|
H A D | HeadsetSystemInterface.java | 350 > 0) || ((mHeadsetPhoneState.getCallState() != HeadsetHalConstants.CALL_STATE_IDLE) in isInCall()
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/telephony/ |
H A D | BluetoothInCallServiceTest.java | 82 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 D | PhoneConstantConversions.java | 35 return TelephonyManager.CALL_STATE_IDLE; in convertCallState()
|
/aosp12/frameworks/base/services/core/java/com/android/server/location/injector/ |
H A D | SystemEmergencyHelper.java | 97 if (state == TelephonyManager.CALL_STATE_IDLE) {
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/ |
H A D | SarManager.java | 19 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 D | PhoneFragment.java | 68 if (state == TelephonyManager.CALL_STATE_IDLE) { in onCreateView()
|
H A D | PhoneFragmentViewModel.java | 100 if (state == TelephonyManager.CALL_STATE_IDLE) { in onCallStateChanged()
|
H A D | SelfRefreshDescriptionLiveData.java | 124 case TelephonyManager.CALL_STATE_IDLE: in callStateToUiString()
|
/aosp12/packages/apps/Settings/src/com/android/settings/network/telephony/ |
H A D | NrAdvancedCallingPreferenceController.java | 170 return (mCallState != null) && (mCallState == TelephonyManager.CALL_STATE_IDLE); in isCallStateIdle()
|
H A D | VideoCallingPreferenceController.java | 104 && mCallState == TelephonyManager.CALL_STATE_IDLE); in updateState()
|
H A D | WifiCallingPreferenceController.java | 126 preference.setEnabled(mCallState == TelephonyManager.CALL_STATE_IDLE); in updateState()
|
H A D | Enhanced4gBasePreferenceController.java | 213 return (mCallState != null) && (mCallState == TelephonyManager.CALL_STATE_IDLE); in isCallStateIdle()
|
H A D | NetworkProviderWifiCallingGroup.java | 229 == TelephonyManager.CALL_STATE_IDLE); in setSubscriptionInfoForPreference()
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
H A D | AlarmService.kt | 217 if (state != TelephonyManager.CALL_STATE_IDLE && state != mPhoneCallState) {
|
/aosp12/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastAlertAudio.java | 279 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 D | WifiCallingPreferenceControllerTest.java | 91 mController.mCallState = TelephonyManager.CALL_STATE_IDLE; in setUp()
|
/aosp12/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
H A D | CellBroadcastAlertAudioTest.java | 149 doReturn(TelephonyManager.CALL_STATE_IDLE).when( in testStartServiceNotInCallOverrideDnd()
|