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.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/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationViewAdapter.java392 public void onCallStateChanged(boolean isInCall) { in onCallStateChanged() argument
393 if (isInCall != mIsInCall) { in onCallStateChanged()
394 mIsInCall = isInCall; in onCallStateChanged()
DPreprocessingManager.java59 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/SoundRecorder/src/com/android/soundrecorder/
DRecorder.java183 boolean isInCall = ((audioMngr.getMode() == AudioManager.MODE_IN_CALL) || in startRecording()
185 if (isInCall) { in startRecording()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationActionsView.java220 public void onCallStateChanged(boolean isInCall) { in onCallStateChanged() argument
221 mIsInCall = isInCall; in onCallStateChanged()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetSystemInterface.java370 public boolean isInCall() { in isInCall() method in HeadsetSystemInterface
393 return !isInCall() && !isRinging(); in isCallIdle()
DHeadsetPhoneState.java233 boolean isInCall() { in isInCall() method in HeadsetPhoneState
DHeadsetService.java1691 return mSystemInterface.isInCall() || (mSystemInterface.isRinging() in shouldCallAudioBeActive()
1825 Log.w(TAG, "isScoAcceptable: rejected SCO, inCall=" + mSystemInterface.isInCall() in isScoAcceptable()
1882 ProfileService.println(sb, "Telecom.isInCall(): " + mSystemInterface.isInCall()); in dump()
DHeadsetStateMachine.java1714 if (mSystemInterface.isInCall() || operatorName == null || operatorName.equals("")) { in processAtCops()
1913 } else if (mSystemInterface.isInCall()) { in processKeyPressed()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java186 boolean isInCall = !mAudioProcessingCalls.containsAll(mCalls); in sendCallStatusToBluetoothStateReceiver()
187 mBluetoothStateReceiver.setIsInCall(isInCall); in sendCallStatusToBluetoothStateReceiver()
DTelecomServiceImpl.java801 public boolean isInCall(String callingPackage, String callingFeatureId) {
/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.java954 if (getTelecomManager().isInCall()) { in updateEmergencyCallButtonState()
969 if (telecomManager.isInCall()) { in takeEmergencyCallAction()
/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.java919 when(mSystemInterface.isInCall()).thenReturn(true); in testKeyPressedEventInCallButAudioOff_setActiveDevice()
931 when(mSystemInterface.isInCall()).thenReturn(true); in testKeyPressedEventInCallAndAudioOn_hangupCall()