Home
last modified time | relevance | path

Searched refs:isInCall (Results 1 – 15 of 15) 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.java215 public static boolean isInCall(Context context) { in isInCall() method in TelecomUtil
216 return instance.isInCall(context); in isInCall()
349 return getTelecomManager(context).isInCall(); in isInManagedCall()
355 public boolean isInCall(Context context) { in isInCall() method in TelecomUtil.TelecomUtilImpl
356 return hasReadPhoneStatePermission(context) && getTelecomManager(context).isInCall(); in isInCall()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothStateReceiver.java161 public void setIsInCall(boolean isInCall) { in setIsInCall() argument
162 mIsInCall = isInCall; in setIsInCall()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DRecorder.java183 boolean isInCall = ((audioMngr.getMode() == AudioManager.MODE_IN_CALL) || in startRecording()
185 if (isInCall) { in startRecording()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetSystemInterface.java330 public boolean isInCall() { in isInCall() method in HeadsetSystemInterface
353 return !isInCall() && !isRinging(); in isCallIdle()
DHeadsetService.java1641 return mSystemInterface.isInCall() || (mSystemInterface.isRinging() in shouldCallAudioBeActive()
1775 Log.w(TAG, "isScoAcceptable: rejected SCO, inCall=" + mSystemInterface.isInCall() in isScoAcceptable()
1832 ProfileService.println(sb, "Telecom.isInCall(): " + mSystemInterface.isInCall()); in dump()
DHeadsetPhoneState.java243 boolean isInCall() { in isInCall() method in HeadsetPhoneState
DHeadsetStateMachine.java1876 } else if (mSystemInterface.isInCall()) { in processKeyPressed()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java954 assertTrue(mTSIBinder.isInCall(DEFAULT_DIALER_PACKAGE)); in testIsInCall()
961 assertFalse(mTSIBinder.isInCall(DEFAULT_DIALER_PACKAGE)); in testNotIsInCall()
970 mTSIBinder.isInCall("blah"); in testIsInCallFail()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipUtil.java73 return !manager.isInCall(); in isPhoneIdle()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DCryptKeeper.java957 if (getTelecomManager().isInCall()) { in updateEmergencyCallButtonState()
972 if (telecomManager.isInCall()) { in takeEmergencyCallAction()
/packages/apps/Settings/src/com/android/settings/
DCryptKeeper.java957 if (getTelecomManager().isInCall()) { in updateEmergencyCallButtonState()
972 if (telecomManager.isInCall()) { in takeEmergencyCallAction()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java915 when(mSystemInterface.isInCall()).thenReturn(true); in testKeyPressedEventInCallButAudioOff_setActiveDevice()
927 when(mSystemInterface.isInCall()).thenReturn(true); in testKeyPressedEventInCallAndAudioOn_hangupCall()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java730 public boolean isInCall(String callingPackage) {