Home
last modified time | relevance | path

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

123

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeTest.java28 import static android.telephony.TelephonyManager.CALL_STATE_IDLE;
152 null, CALL_STATE_IDLE, new ArrayList<>(), TEST_INACTIVE_ATTRIBUTES)); in getSuggestedAudioContext_withNullActivePlayback_fails()
159 new ArrayList<>(), CALL_STATE_IDLE, /* activeHalAttributes= */ null, in getSuggestedAudioContext_withNullHallAttributes_fails()
167 CALL_STATE_IDLE, new ArrayList<>(), TEST_INACTIVE_ATTRIBUTES); in getSuggestedAudioContext_withNoActivePlaybackAndIdleTelephony_returnsDefault()
179 .getSuggestedAudioContextAndSaveIfFound(activePlaybackAttributes, CALL_STATE_IDLE, in getSuggestedAudioContext_withOneConfiguration_returnsAssociatedContext()
216 .getSuggestedAudioContextAndSaveIfFound(activePlaybackAttributes, CALL_STATE_IDLE, in getSuggestedAudioContext_withActivePlayback_returnsHighestPriorityContext()
270 CALL_STATE_IDLE, new ArrayList<>(), TEST_INACTIVE_ATTRIBUTES); in getSuggestedAudioContext_withUnprioritizedAttribute_returnsDefault()
283 CALL_STATE_IDLE, activeHalAudioAttributes, TEST_INACTIVE_ATTRIBUTES); in getSuggestedAudioContext_withHalActiveAttribute_returnsHalActive()
297 CALL_STATE_IDLE, activeHalAudioAttributes, TEST_INACTIVE_ATTRIBUTES); in getSuggestedAudioContext_withHalUnprioritizedAttribute_returnsDefault()
311 CALL_STATE_IDLE, activeHalAudioAttributes, TEST_INACTIVE_ATTRIBUTES); 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;
246 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook()
272 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledTxPowerScenario_wifiOff_offHook_onHook()
310 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledSar_wifiOn_offHook_wifiOff_onHook()
334 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledSar_wifiOff_offHook_onHook_wifiOn()
372 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledSar_offHook_wifiOnOff_onHook()
401 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledSar_error_wifiOn_offOnHook()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/
DCallStateRepositoryTest.kt48 callStateListener?.onCallStateChanged(TelephonyManager.CALL_STATE_IDLE) in <lambda>()
73 assertThat(state).isEqualTo(TelephonyManager.CALL_STATE_IDLE) in <lambda>()
86 .containsExactly(TelephonyManager.CALL_STATE_IDLE, TelephonyManager.CALL_STATE_RINGING) in <lambda>()
DWifiCallingPreferenceControllerTest.kt62 on { callStateFlow(SUB_ID) } doReturn flowOf(TelephonyManager.CALL_STATE_IDLE) in <lambda>()
118 on { callStateFlow(SUB_ID) } doReturn flowOf(TelephonyManager.CALL_STATE_IDLE) in isEnabled_callIdle_enabled()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneStateBroadcaster.java42 private int mCurrentState = TelephonyManager.CALL_STATE_IDLE;
98 int callState = TelephonyManager.CALL_STATE_IDLE; in updateStates()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DVideoCallingPreferenceControllerTest.java101 mController.mCallState = TelephonyManager.CALL_STATE_IDLE; in setUp()
142 mController.mCallState = TelephonyManager.CALL_STATE_IDLE; in updateState_4gLteOnWithoutCall_checked()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DVideoCallingPreferenceController.java108 && mCallState == TelephonyManager.CALL_STATE_IDLE); in updateState()
204 mCallState = TelephonyManager.CALL_STATE_IDLE; in register()
DEnhanced4gBasePreferenceController.java210 return (mCallState != null) && (mCallState == TelephonyManager.CALL_STATE_IDLE); in isCallStateIdle()
243 mCallState = TelephonyManager.CALL_STATE_IDLE; in register()
DCallStateRepository.kt58 states.any { it != TelephonyManager.CALL_STATE_IDLE } in <lambda>()
DDeleteSimProfilePreferenceController.kt60 preference.isEnabled = (it == TelephonyManager.CALL_STATE_IDLE) in onViewCreated()
DEnabledNetworkModePreferenceController.java76 private int mCallState = TelephonyManager.CALL_STATE_IDLE;
117 return mCallState == TelephonyManager.CALL_STATE_IDLE; in isCallStateIdle()
939 mCallState = TelephonyManager.CALL_STATE_IDLE; in register()
949 mCallState = TelephonyManager.CALL_STATE_IDLE; in unregister()
DWifiCallingPreferenceController.kt94 preference.isEnabled = (it == TelephonyManager.CALL_STATE_IDLE) in onViewCreated()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetHalConstants.java62 static final int CALL_STATE_IDLE = 6; field in HeadsetHalConstants
DHeadsetService.java1687 phoneStateChanged(1, 0, HeadsetHalConstants.CALL_STATE_IDLE, "", 0, "", true); in startScoUsingVirtualVoiceCall()
1703 phoneStateChanged(0, 0, HeadsetHalConstants.CALL_STATE_IDLE, "", 0, "", true); in stopScoUsingVirtualVoiceCall()
1964 if ((numActive + numHeld) > 0 || callState != HeadsetHalConstants.CALL_STATE_IDLE) { in phoneStateChanged()
1987 || callState == HeadsetHalConstants.CALL_STATE_IDLE) { in phoneStateChanged()
2038 if (callState == HeadsetHalConstants.CALL_STATE_IDLE in phoneStateChanged()
2049 if (callState == HeadsetHalConstants.CALL_STATE_IDLE) { in phoneStateChanged()
/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
398 eq(1), eq(1), eq(CALL_STATE_IDLE), eq(""), eq(128), nullable(String.class)); in testConferenceInProgressCDMA()
406 eq(1), eq(0), eq(CALL_STATE_IDLE), eq(""), eq(128), nullable(String.class)); in testConferenceInProgressCDMA()
1124 eq(1), eq(0), eq(CALL_STATE_IDLE), eq(""), eq(128), nullable(String.class)); in testCDMAConferenceQueryState()
1255 eq(1), eq(1), eq(CALL_STATE_IDLE), eq(""), eq(128), nullable(String.class)); in testProcessChldHoldActiveSwapConference()
1313 eq(1), eq(1), eq(CALL_STATE_IDLE), eq(""), eq(128), nullable(String.class)); in testOnCallAddedCdmaActiveHold()
1327 eq(0), eq(0), eq(CALL_STATE_IDLE), eq(""), eq(128), nullable(String.class)); in testOnCallRemoved()
1342 eq(0), eq(0), eq(CALL_STATE_IDLE), eq(""), eq(128), nullable(String.class)); in testOnDetailsChangeExternalRemovesCall()
1361 eq(1), eq(0), eq(CALL_STATE_IDLE), eq(""), eq(128), nullable(String.class)); in testOnDetailsChangeExternalAddsCall()
1431 eq(0), eq(0), eq(CALL_STATE_IDLE), eq(""), eq(128), nullable(String.class)); in testOnCallStateChangedRingingToAudioProcessing()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSarManager.java19 import static android.telephony.TelephonyManager.CALL_STATE_IDLE;
389 case CALL_STATE_IDLE: in onCellStateChangeEvent()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/
DBluetoothInCallService.java87 private static final int CALL_STATE_IDLE = 6; field in BluetoothInCallService
106 private int mBluetoothCallState = CALL_STATE_IDLE;
919 if (state == CALL_STATE_IDLE) { in sendClccForCall()
1319 int bluetoothCallState = CALL_STATE_IDLE; in getBluetoothCallStateForUpdate()
1336 return CALL_STATE_IDLE; in getBtCallState()
1360 return CALL_STATE_IDLE; in getBtCallState()
1367 return CALL_STATE_IDLE; in getBtCallState()
/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/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertAudioTest.java236 doReturn(TelephonyManager.CALL_STATE_IDLE).when( in testStartServiceNotInCallOverrideDnd()
466 doReturn(TelephonyManager.CALL_STATE_IDLE).when( in testStartServiceMuteWithOverrideDnd()
542 doReturn(TelephonyManager.CALL_STATE_IDLE).when(mMockedTelephonyManager).getCallState();
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanDataServiceTest.java23 import static android.telephony.TelephonyManager.CALL_STATE_IDLE;
1171 CALL_STATE_IDLE) in testSupportInitialAttachSuccessOnIms()
1227 CALL_STATE_IDLE) in testSupportInitialAttachSuccessOnEmergency()
2132 mockCallState(CALL_STATE_IDLE); in testAllowedNetworkTypeChangeFromLteToNrInIdle_enableN1Mode()
2171 mockCallState(CALL_STATE_IDLE); in testAllowedNetworkTypeChangeFromNrToLteInIdle_disableN1Mode()
2235 CALL_STATE_IDLE) in testMultipleAllowedNetworkTypeChangeInCall_preferenceChanged_updateAfterCallEnds()
2287 CALL_STATE_IDLE) in testMultipleAllowedNetworkTypeChangeInCall_preferenceNotChanged_noUpdate()
2301 mockCallState(CALL_STATE_IDLE); in testOnAllowedNetworkTypeChange_flagDisabled_noTunnelClose()
2322 mockCallState(CALL_STATE_IDLE); in testOnAllowedNetworkTypeChange_n1ModeNotSupported_noTunnelClose()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DBluetoothHeadsetBinderTest.java186 int callState = HeadsetHalConstants.CALL_STATE_IDLE; in phoneStateChanged()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmService.kt217 if (state != TelephonyManager.CALL_STATE_IDLE && state != mPhoneCallState) { in onCallStateChanged()

123