Home
last modified time | relevance | path

Searched refs:mTelecomManager (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientDeviceBlock.java62 private final TelecomManager mTelecomManager; field in HfpClientDeviceBlock
77 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in HfpClientDeviceBlock()
80 mTelecomManager.registerPhoneAccount(mPhoneAccount); in HfpClientDeviceBlock()
81 mTelecomManager.enablePhoneAccount(mPhoneAccount.getAccountHandle(), true); in HfpClientDeviceBlock()
82 mTelecomManager.setUserSelectedOutgoingPhoneAccount(mPhoneAccount.getAccountHandle()); in HfpClientDeviceBlock()
162 mTelecomManager.unregisterPhoneAccount(mPhoneAccount.getAccountHandle()); in cleanup()
201 mTelecomManager.addNewUnknownCall(mPhoneAccount.getAccountHandle(), b); in handleCall()
206 mTelecomManager.addNewIncomingCall(mPhoneAccount.getAccountHandle(), b); in handleCall()
DHfpClientConnectionService.java62 private TelecomManager mTelecomManager; field in HfpClientConnectionService
130 mTelecomManager = (TelecomManager) getSystemService(Context.TELECOM_SERVICE); in onCreate()
270 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); in getDevice()
328 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); in findBlockForHandle()
/packages/services/Telephony/src/com/android/phone/settings/
DPhoneAccountSettingsFragment.java67 private TelecomManager mTelecomManager; field in PhoneAccountSettingsFragment
83 mTelecomManager = TelecomManager.from(getActivity()); in onCreate()
225 mTelecomManager.setUserSelectedOutgoingPhoneAccount(account); in onAccountSelected()
268 mTelecomManager, in updateDefaultOutgoingAccountsModel()
270 mTelecomManager.getUserSelectedOutgoingPhoneAccount(), in updateDefaultOutgoingAccountsModel()
290 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); in initAccountList()
399 mTelecomManager.getCallCapablePhoneAccounts(includeDisabledAccounts); in getCallingAccounts()
408 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); in getCallingAccounts()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DEnableAccountPreferenceFragment.java62 mTelecomManager.enablePhoneAccount(mAccount.getAccountHandle(), isChecked()); in onClick()
66 private TelecomManager mTelecomManager; field in EnableAccountPreferenceFragment
71 mTelecomManager = TelecomManager.from(getActivity()); in onCreate()
88 mTelecomManager.getCallCapablePhoneAccounts(true /* includeDisabledAccounts */); in onResume()
92 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); in onResume()
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java297 mTelecomManager.registerPhoneAccount(account); in registerPstnPhoneAccount()
529 private final TelecomManager mTelecomManager; field in TelecomAccountRegistry
543 mTelecomManager = TelecomManager.from(context); in TelecomAccountRegistry()
733 ? mTelecomManager.getAllPhoneAccountHandles() in cleanupPhoneAccounts()
734 : mTelecomManager.getCallCapablePhoneAccounts(true /* includeDisabled */); in cleanupPhoneAccounts()
740 mTelecomManager.unregisterPhoneAccount(handle); in cleanupPhoneAccounts()
790 mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in setupAccounts()
805 mTelecomManager.setUserSelectedOutgoingPhoneAccount(upgradedPhoneAccount); in setupAccounts()
/packages/apps/Car/Stream/src/com/android/car/stream/telecom/
DCurrentCallStreamProducer.java52 private TelecomManager mTelecomManager; field in CurrentCallStreamProducer
64 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in start()
65 mDialerPackage = mTelecomManager.getDefaultDialerPackage(); in start()
81 synchronized (mTelecomManager) { in acceptCall()
89 synchronized (mTelecomManager) { in disconnectCall()
/packages/services/Car/service/src/com/android/car/
DCarInputService.java64 private final TelecomManager mTelecomManager; field in CarInputService
132 mTelecomManager = context.getSystemService(TelecomManager.class); in CarInputService()
302 if (mTelecomManager != null && mTelecomManager.isRinging()) { in handleCallKey()
304 mTelecomManager.acceptRingingCall(); in handleCallKey()
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultPhonePicker.java84 private final TelecomManager mTelecomManager; field in DefaultPhonePicker.DefaultKeyUpdater
87 mTelecomManager = telecomManager; in DefaultKeyUpdater()
91 return mTelecomManager.getSystemDialerPackage(); in getSystemDialerPackage()
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
DInCallServiceImpl.java40 private TelecomManager mTelecomManager; field in InCallServiceImpl
45 mTelecomManager = getApplicationContext().getSystemService(TelecomManager.class); in onCreate()
102 .getLaunchIntentForPackage(mTelecomManager.getDefaultDialerPackage());
DUiCallManager.java79 private TelecomManager mTelecomManager; field in UiCallManager
92 mTelecomManager = (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE); in UiCallManager()
171 mTelecomManager.placeCall(uri, null); in placeCall()
/packages/apps/Contacts/src/com/android/contacts/widget/
DSelectPhoneAccountDialogFragment.java65 private TelecomManager mTelecomManager; field in SelectPhoneAccountDialogFragment
160 mTelecomManager = in onCreateDialog()
247 PhoneAccount account = mTelecomManager.getPhoneAccount(accountHandle); in getView()
/packages/services/Telephony/src/com/android/phone/
DCallFeaturesSetting.java109 private TelecomManager mTelecomManager; field in CallFeaturesSetting
188 mTelecomManager = TelecomManager.from(this); in onCreate()
309 final PhoneAccountHandle simCallManager = mTelecomManager.getSimCallManager(); in onResume()
DNotificationMgr.java103 private TelecomManager mTelecomManager; field in NotificationMgr
125 mTelecomManager = TelecomManager.from(mContext); in NotificationMgr()
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DMyMockContext.java50 TelecomManager mTelecomManager; field in MyMockContext
87 return mTelecomManager; in getSystemService()
DBlockedNumberProviderTest.java416 when(mMockContext.mTelecomManager.getDefaultDialerPackage()) in testDefaultDialerCanAccessApis()
424 verify(mMockContext.mTelecomManager, times(2)).getDefaultDialerPackage(); in testDefaultDialerCanAccessApis()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java179 return mTelecomManager; in getSystemService()
434 private TelecomManager mTelecomManager = null;
527 mTelecomManager = telecomManager;
DTelecomServiceImplTest.java136 @Mock private TelecomManager mTelecomManager; field in TelecomServiceImplTest
183 mComponentContextFixture.setTelecomManager(mTelecomManager); in setUp()
184 when(mTelecomManager.getDefaultDialerPackage()).thenReturn(DEFAULT_DIALER_PACKAGE); in setUp()
185 when(mTelecomManager.getSystemDialerPackage()).thenReturn(DEFAULT_DIALER_PACKAGE); in setUp()
DMissedCallNotifierImplTest.java146 private TelecomManager mTelecomManager; field in MissedCallNotifierImplTest
173 mComponentContextFixture.setTelecomManager(mTelecomManager); in setUp()
DPhoneAccountRegistrarTest.java67 @Mock private TelecomManager mTelecomManager; field in PhoneAccountRegistrarTest
75 mComponentContextFixture.setTelecomManager(mTelecomManager); in setUp()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java157 private TelecomManager mTelecomManager; field in HeadsetClientStateMachine
679 mTelecomManager = (TelecomManager) context.getSystemService(context.TELECOM_SERVICE); in HeadsetClientStateMachine()