Home
last modified time | relevance | path

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

/cts/tests/tests/telecom/src/android/telecom/cts/
DPhoneAccountOperationsTest.java77 private TelecomManager mTelecomManager; field in PhoneAccountOperationsTest
86 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in setUp()
94 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in tearDown()
95 PhoneAccount retrievedPhoneAccount = mTelecomManager.getPhoneAccount( in tearDown()
106 mTelecomManager.registerPhoneAccount(TEST_SIM_PHONE_ACCOUNT); in testRegisterPhoneAccount_correctlyThrowsSecurityException()
119 mTelecomManager.registerPhoneAccount(TEST_NO_SIM_PHONE_ACCOUNT); in testRegisterPhoneAccount_NotEnabledAutomatically()
120 PhoneAccount retrievedPhoneAccount = mTelecomManager.getPhoneAccount( in testRegisterPhoneAccount_NotEnabledAutomatically()
148 mTelecomManager.registerPhoneAccount(phoneAccount); in testRegisterPhoneAccount_DisallowEnable()
149 PhoneAccount retrievedPhoneAccount = mTelecomManager.getPhoneAccount( in testRegisterPhoneAccount_DisallowEnable()
160 mTelecomManager.registerPhoneAccount(TEST_NO_SIM_PHONE_ACCOUNT); in testRegisterPhoneAccount_ListEnabledAccounts()
[all …]
DDefaultDialerOperationsTest.java37 private TelecomManager mTelecomManager; field in DefaultDialerOperationsTest
57 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in setUp()
58 final List<PhoneAccountHandle> accounts = mTelecomManager.getCallCapablePhoneAccounts(); in setUp()
78 assertEquals(mSystemDialer, mTelecomManager.getDefaultDialerPackage()); in testGetDefaultDialerPackage()
80 assertEquals(TestUtils.PACKAGE, mTelecomManager.getDefaultDialerPackage()); in testGetDefaultDialerPackage()
122 mTelecomManager.silenceRinger(); in testSilenceRingerPermissions()
130 mTelecomManager.silenceRinger(); in testSilenceRingerPermissions()
139 mTelecomManager.cancelMissedCallsNotification(); in testCancelMissedCallsNotificationPermissions()
147 mTelecomManager.cancelMissedCallsNotification(); in testCancelMissedCallsNotificationPermissions()
156 mTelecomManager.handleMmi("0"); in testHandlePinMmPermissions()
[all …]
DSimCallManagerTest.java56 private TelecomManager mTelecomManager; field in SimCallManagerTest
75 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in setUp()
95 assertEquals(mSystemDialer, mTelecomManager.getDefaultDialerPackage()); in testGetSimCallManager()
96 assertNotSame(TEST_PHONE_ACCOUNT_HANDLE, mTelecomManager.getSimCallManager()); in testGetSimCallManager()
112 PhoneAccountHandle simCallManager = mTelecomManager.getSimCallManager(); in testGetSimCallManager()
114 assertEquals(TestUtils.PACKAGE, mTelecomManager.getDefaultDialerPackage()); in testGetSimCallManager()
115 assertNotSame(TEST_PHONE_ACCOUNT_HANDLE, mTelecomManager.getSimCallManager()); in testGetSimCallManager()
123 mTelecomManager.registerPhoneAccount(TEST_SIM_CALL_MANAGER_ACCOUNT); in testGetSimCallManager()
127 mTelecomManager.getSimCallManager()); in testGetSimCallManager()
131 assertNotSame(TEST_PHONE_ACCOUNT_HANDLE, mTelecomManager.getSimCallManager()); in testGetSimCallManager()
DBaseTelecomTestWithMockServices.java78 TelecomManager mTelecomManager; field in BaseTelecomTestWithMockServices
95 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in setUp()
129 mTelecomManager.registerPhoneAccount(TEST_PHONE_ACCOUNT); in setupConnectionService()
142 mTelecomManager.unregisterPhoneAccount(accountHandle); in tearDownConnectionService()
246 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras); in addAndVerifyNewIncomingCall()
471 mTelecomManager.placeCall(createTestNumber(), extras); in placeNewCallWithPhoneAccount()
764 return mTelecomManager.getPhoneAccount(handle) != null; in assertPhoneAccountRegistered()
782 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle); in assertPhoneAccountEnabled()
DBaseRemoteTelecomTest.java97 mTelecomManager.unregisterPhoneAccount(remoteAccountHandle); in tearDownRemoteConnectionService()
/cts/tests/tests/telecom2/src/android/telecom/cts/
DDefaultDialerOperationsNoPermissionsTest.java29 private TelecomManager mTelecomManager; field in DefaultDialerOperationsNoPermissionsTest
48 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in setUp()
68 mTelecomManager.showInCallScreen(false); in testShowInCallScreenPermissions()
80 mTelecomManager.getCallCapablePhoneAccounts(); in testGetCallCapableAccountsPermissions()
92 mTelecomManager.getDefaultOutgoingPhoneAccount("tel"); in testGetDefaultOutgoingPhoneAccount()
104 mTelecomManager.getLine1Number(null); in testGetLine1Number()
116 mTelecomManager.getVoiceMailNumber(null); in testGetVoicemailNumber()
128 mTelecomManager.isVoiceMailNumber(null, null); in testIsVoicemailNumber()
140 mTelecomManager.isInCall(); in testIsInCall()