Home
last modified time | relevance | path

Searched refs:isInCall (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/
DVideoPauseController.java259 final boolean isInCall = inCallPresenter.getInCallState() == InCallState.INCALL; in onUiShowing()
261 onResume(isInCall); in onUiShowing()
263 onPause(isInCall); in onUiShowing()
274 private void onResume(boolean isInCall) { in onResume() argument
276 if (isInCall) { in onResume()
288 private void onPause(boolean isInCall) { in onPause() argument
290 if (isInCall) { in onPause()
DReturnToCallController.java233 if (!TelecomUtil.isInCall(context) || CallList.getInstance().getIncomingCall() != null) { in onDisconnect()
/packages/apps/Dialer/java/com/android/dialer/telecom/
DTelecomUtil.java228 public static boolean isInCall(Context context) { in isInCall() method in TelecomUtil
229 return instance.isInCall(context); in isInCall()
362 return getTelecomManager(context).isInCall(); in isInManagedCall()
368 public boolean isInCall(Context context) { in isInCall() method in TelecomUtil.TelecomUtilImpl
369 return hasReadPhoneStatePermission(context) && getTelecomManager(context).isInCall(); in isInCall()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationViewAdapter.java423 public void onCallStateChanged(boolean isInCall) { in onCallStateChanged() argument
424 if (isInCall != mIsInCall) { in onCallStateChanged()
425 mIsInCall = isInCall; in onCallStateChanged()
DPreprocessingManager.java58 void onCallStateChanged(boolean isInCall); in onCallStateChanged() argument
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothStateReceiver.java169 public void setIsInCall(boolean isInCall) { in setIsInCall() argument
170 mIsInCall = isInCall; in setIsInCall()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationActionsView.java226 public void onCallStateChanged(boolean isInCall) { in onCallStateChanged() argument
227 mIsInCall = isInCall; in onCallStateChanged()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetSystemInterface.java348 public boolean isInCall() { in isInCall() method in HeadsetSystemInterface
371 return !isInCall() && !isRinging(); in isCallIdle()
DHeadsetPhoneState.java235 boolean isInCall() { in isInCall() method in HeadsetPhoneState
DHeadsetService.java1744 return mSystemInterface.isInCall() || (mSystemInterface.isRinging() in shouldCallAudioBeActive()
1880 Log.w(TAG, "isScoAcceptable: rejected SCO, inCall=" + mSystemInterface.isInCall() in isScoAcceptable()
1937 ProfileService.println(sb, "Telecom.isInCall(): " + mSystemInterface.isInCall()); in dump()
DHeadsetStateMachine.java1758 if (mSystemInterface.isInCall() || operatorName == null || operatorName.equals("")) { in processAtCops()
1959 } else if (mSystemInterface.isInCall()) { in processKeyPressed()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java481 when(mTelecomManager.isInCall()).thenReturn(true); in callKey_shortPress_duringCall_endCallViaCallButtonOn_endsCall()
491 when(mTelecomManager.isInCall()).thenReturn(true); in callKey_shortPress_duringCall_endCallViaCallButtonOff_doesNotEndCall()
580 when(mTelecomManager.isInCall()).thenReturn(true); in callKey_longPress_duringCall_endCallViaCallButtonOn_endsCall()
590 when(mTelecomManager.isInCall()).thenReturn(true); in callKey_longPress_duringCall_endCallViaCallButtonOff_doesNotEndCall()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java186 boolean isInCall = !mAudioProcessingCalls.containsAll(mCalls); in sendCallStatusToBluetoothStateReceiver()
187 mBluetoothStateReceiver.setIsInCall(isInCall); in sendCallStatusToBluetoothStateReceiver()
DTelecomServiceImpl.java833 public boolean isInCall(String callingPackage, String callingFeatureId) {
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipUtil.java75 return !manager.isInCall(); in isPhoneIdle()
/packages/apps/Settings/src/com/android/settings/
DCryptKeeper.java954 if (getTelecomManager().isInCall()) { in updateEmergencyCallButtonState()
969 if (telecomManager.isInCall()) { in takeEmergencyCallAction()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java1152 assertTrue(mTSIBinder.isInCall(DEFAULT_DIALER_PACKAGE, null)); in testIsInCall()
1159 assertFalse(mTSIBinder.isInCall(DEFAULT_DIALER_PACKAGE, null)); in testNotIsInCall()
1168 mTSIBinder.isInCall("blah", null); in testIsInCallFail()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java950 when(mSystemInterface.isInCall()).thenReturn(true); in testKeyPressedEventInCallButAudioOff_setActiveDevice()
962 when(mSystemInterface.isInCall()).thenReturn(true); in testKeyPressedEventInCallAndAudioOn_hangupCall()
/packages/services/Car/service/src/com/android/car/
DCarInputService.java622 if (mTelecomManager != null && mTelecomManager.isInCall()) { in endCall()