Home
last modified time | relevance | path

Searched refs:telecomManager (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/telephony/data/repository/
DTelephonyRepositoryImplTest.kt48 @Mock private lateinit var telecomManager: TelecomManager variable in com.android.systemui.telephony.data.repository.TelephonyRepositoryImplTest
58 whenever(telecomManager.isInCall).thenReturn(false) in setUp()
66 telecomManager = telecomManager, in setUp()
99 whenever(telecomManager.isInCall).thenReturn(true) in isInCall()
104 whenever(telecomManager.isInCall).thenReturn(false) in isInCall()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/bouncer/domain/interactor/
DBouncerActionButtonInteractorKosmos.kt33 import com.android.telecom.telecomManager
45 telecomManager = telecomManager, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/domain/interactor/
DBouncerActionButtonInteractorTest.kt42 import com.android.telecom.telecomManager
63 @Mock private lateinit var telecomManager: TelecomManager variable in com.android.systemui.bouncer.domain.interactor.BouncerActionButtonInteractorTest
91 whenever(telecomManager.isInCall).thenReturn(false) in setUp()
97 kosmos.telecomManager = telecomManager in setUp()
112 kosmos.telecomManager = null in noTelecomManager_noButton()
137 verify(telecomManager).showInCallScreen(eq(false)) in duringCall_returnToCallButton()
/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java75 TelecomManager telecomManager = in onServiceConnected() local
77 PhoneAccountHandle phoneAccount = telecomManager.getSimCallManager(); in onServiceConnected()
218 TelecomManager telecomManager = in registerDefaultAppProviders()
224 telecomManager.getSimCallManagerForSubscription(subId); in registerDefaultAppProviders()
261 TelecomManager telecomManager = in updateSimCallManagerPermissions() local
263 PhoneAccountHandle phoneAccount = telecomManager.getSimCallManager(userId); in updateSimCallManagerPermissions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/telephony/data/repository/
DTelephonyRepository.kt73 private val telecomManager: TelecomManager?, constant in com.android.systemui.telephony.data.repository.TelephonyRepositoryImpl
87 if (telecomManager == null) {
90 callState.map { withContext(backgroundDispatcher) { telecomManager.isInCall } } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/
DBouncerInteractorModule.kt35 telecomManager: TelecomManager? in emergencyDialerIntentFactory()
39 return telecomManager?.createLaunchEmergencyDialerIntent(/* number = */ null) in emergencyDialerIntentFactory()
DBouncerActionButtonInteractor.kt67 private val telecomManager: TelecomManager?, constant in com.android.systemui.bouncer.domain.interactor.BouncerActionButtonInteractor
75 if (telecomManager == null || !telephonyInteractor.hasTelephonyRadio) {
168 telecomManager?.showInCallScreen(/* showDialpad = */ false) in returnToCall()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DEmergencyButtonControllerTest.kt58 @Mock lateinit var telecomManager: TelecomManager variable in com.android.keyguard.EmergencyButtonControllerTest
81 telecomManager, in setup()
94 Mockito.`when`(telecomManager.isInCall).thenReturn(true) in testUpdateEmergencyButton()
/frameworks/base/core/java/com/android/internal/accessibility/util/
DAccessibilityUtils.java228 final TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in interceptHeadsetHookForActiveCall() local
230 telecomManager != null ? telecomManager.getCallState() in interceptHeadsetHookForActiveCall()
233 telecomManager.acceptRingingCall(); in interceptHeadsetHookForActiveCall()
236 telecomManager.endCall(); in interceptHeadsetHookForActiveCall()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButtonController.java98 @Nullable TelecomManager telecomManager, in EmergencyButtonController() argument
109 mTelecomManager = telecomManager; in EmergencyButtonController()
231 @Nullable TelecomManager telecomManager, in Factory() argument
243 mTelecomManager = telecomManager; in Factory()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DMissedIncomingCallSmsFilterTest.java84 TelecomManager telecomManager = (TelecomManager) mContext.getSystemService( in testMissedIncomingCallwithCallerId() local
88 verify(telecomManager).addNewIncomingCall(any(), captor.capture()); in testMissedIncomingCallwithCallerId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/telephony/ui/activity/
DSwitchToManagedProfileForCallActivity.kt36 private val telecomManager: TelecomManager?, constant in com.android.systemui.telephony.ui.activity.SwitchToManagedProfileForCallActivity
65 telecomManager?.getDefaultDialerPackage(UserHandle.of(managedProfileUserId)) in onCreate()
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/
DCallMetadataSyncInCallService.java243 final TelecomManager telecomManager = getSystemService(TelecomManager.class); in doSilence() local
244 if (telecomManager != null) { in doSilence()
245 telecomManager.silenceRinger(); in doSilence()
DCrossDeviceSyncController.java272 final TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in onBootCompleted() local
273 if (telecomManager != null && telecomManager.getCallCapablePhoneAccounts().size() != 0) { in onBootCompleted()
275 telecomManager.getDefaultOutgoingPhoneAccount(PhoneAccount.SCHEME_TEL); in onBootCompleted()
277 final PhoneAccount defaultOutgoingTelAccount = telecomManager.getPhoneAccount( in onBootCompleted()
DCallMetadataSyncConnectionService.java287 CallMetadataSyncConnection(TelecomManager telecomManager, AudioManager audioManager, in CallMetadataSyncConnection() argument
290 mTelecomManager = telecomManager; in CallMetadataSyncConnection()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/telecom/
DTelecomManagerKosmos.kt24 var Kosmos.telecomManager by Fixture<TelecomManager?> { mock() } in <lambda>() variable
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/
DSceneFrameworkIntegrationTest.kt81 import com.android.telecom.telecomManager in <lambda>()
173 private lateinit var telecomManager: TelecomManager in <lambda>() variable in com.android.systemui.scene.SceneFrameworkIntegrationTest
181 telecomManager = checkNotNull(kosmos.telecomManager) in <lambda>()
182 whenever(telecomManager.isInCall).thenReturn(false) in <lambda>()
446 verify(telecomManager).showInCallScreen(any()) in <lambda>()
526 whenever(telecomManager.isInCall).thenReturn(true) in <lambda>()
/frameworks/base/telephony/java/android/telephony/
DVisualVoicemailService.java291 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in getSubId() local
293 .getSubIdForPhoneAccount(telecomManager.getPhoneAccount(phoneAccountHandle)); in getSubId()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java1011 TelecomManager telecomManager = getTelecommService(); in backKeyPress() local
1013 if (telecomManager != null) { in backKeyPress()
1014 if (telecomManager.isRinging()) { in backKeyPress()
1017 telecomManager.silenceRinger(); in backKeyPress()
1023 && telecomManager.isInCall()) { in backKeyPress()
1026 return telecomManager.endCall(); in backKeyPress()
1046 TelecomManager telecomManager = getTelecommService(); in interceptPowerKeyDown() local
1048 if (telecomManager != null) { in interceptPowerKeyDown()
1049 if (telecomManager.isRinging()) { in interceptPowerKeyDown()
1052 telecomManager.silenceRinger(); in interceptPowerKeyDown()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicyTest.kt115 @Mock private lateinit var telecomManager: TelecomManager variable in com.android.systemui.statusbar.phone.PhoneStatusBarPolicyTest
304 telecomManager, in createStatusBarPolicy()
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java369 TelecomManager telecomManager = in getAppIcon() local
372 telecomManager.getDefaultDialerPackage(UserHandle.of(targetUserId)); in getAppIcon()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java2647 final TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in setCallForwardingOption() local
2648 telecomManager.placeCall( in setCallForwardingOption()
2908 final TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in setCallWaiting() local
2909 telecomManager.placeCall( in setCallWaiting()
5058 final TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in subscriptionIdToPhoneAccountHandle() local
5061 telecomManager.getCallCapablePhoneAccounts(true).listIterator(); in subscriptionIdToPhoneAccountHandle()
5065 final PhoneAccount phoneAccount = telecomManager.getPhoneAccount(phoneAccountHandle); in subscriptionIdToPhoneAccountHandle()
5167 TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in loadTtyMode() local
5168 if (telecomManager != null) { in loadTtyMode()
5169 ttyMode = telecomManager.getCurrentTtyMode(); in loadTtyMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java188 @Nullable TelecomManager telecomManager, @DisplayId int displayId, in PhoneStatusBarPolicy() argument
222 mTelecomManager = telecomManager; in PhoneStatusBarPolicy()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java781 TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in updateDefaultDialer() local
782 String defaultDialer = telecomManager != null in updateDefaultDialer()
783 ? telecomManager.getDefaultDialerPackage( in updateDefaultDialer()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java3222 TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in setDefaultVoiceSubId() local
3223 if (telecomManager != null) { in setDefaultVoiceSubId()
3224 telecomManager.setUserSelectedOutgoingPhoneAccount(newHandle); in setDefaultVoiceSubId()

12