/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeTest.java | 28 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/ |
D | SarManagerTest.java | 19 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/ |
D | CallStateRepositoryTest.kt | 48 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>()
|
D | WifiCallingPreferenceControllerTest.kt | 62 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/ |
D | PhoneStateBroadcaster.java | 42 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/ |
D | VideoCallingPreferenceControllerTest.java | 101 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/ |
D | VideoCallingPreferenceController.java | 108 && mCallState == TelephonyManager.CALL_STATE_IDLE); in updateState() 204 mCallState = TelephonyManager.CALL_STATE_IDLE; in register()
|
D | Enhanced4gBasePreferenceController.java | 210 return (mCallState != null) && (mCallState == TelephonyManager.CALL_STATE_IDLE); in isCallStateIdle() 243 mCallState = TelephonyManager.CALL_STATE_IDLE; in register()
|
D | CallStateRepository.kt | 58 states.any { it != TelephonyManager.CALL_STATE_IDLE } in <lambda>()
|
D | DeleteSimProfilePreferenceController.kt | 60 preference.isEnabled = (it == TelephonyManager.CALL_STATE_IDLE) in onViewCreated()
|
D | EnabledNetworkModePreferenceController.java | 76 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()
|
D | WifiCallingPreferenceController.kt | 94 preference.isEnabled = (it == TelephonyManager.CALL_STATE_IDLE) in onViewCreated()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/ |
D | HeadsetHalConstants.java | 62 static final int CALL_STATE_IDLE = 6; field in HeadsetHalConstants
|
D | HeadsetService.java | 1687 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/ |
D | BluetoothInCallServiceTest.java | 88 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/ |
D | SarManager.java | 19 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/ |
D | BluetoothInCallService.java | 87 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/ |
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/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertAudioTest.java | 236 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/ |
D | IwlanDataServiceTest.java | 23 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/ |
D | BluetoothHeadsetBinderTest.java | 186 int callState = HeadsetHalConstants.CALL_STATE_IDLE; in phoneStateChanged()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmService.kt | 217 if (state != TelephonyManager.CALL_STATE_IDLE && state != mPhoneCallState) { in onCallStateChanged()
|