/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | DefaultPhoneAccountTest.java | 74 PhoneAccountHandle handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testDefaultIsSet() 77 PhoneAccountHandle defaultOutgoing = mTelecomManager.getDefaultOutgoingPhoneAccount( in testDefaultIsSet() 97 mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testSetUserSelectedOutgoingPhoneAccount() 102 mTelecomManager.setUserSelectedOutgoingPhoneAccount( in testSetUserSelectedOutgoingPhoneAccount() 105 PhoneAccountHandle handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testSetUserSelectedOutgoingPhoneAccount() 108 PhoneAccountHandle defaultOutgoing = mTelecomManager.getDefaultOutgoingPhoneAccount( in testSetUserSelectedOutgoingPhoneAccount() 141 mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testGetDefaultOutgoingNoUserSelected() 154 PhoneAccountHandle handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testGetDefaultOutgoingNoUserSelected() 158 PhoneAccountHandle defaultOutgoing = mTelecomManager.getDefaultOutgoingPhoneAccount( in testGetDefaultOutgoingNoUserSelected() 187 mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testGetDefaultOutgoingPhoneAccountOneOrMany() [all …]
|
D | PhoneAccountOperationsTest.java | 138 private TelecomManager mTelecomManager; field in PhoneAccountOperationsTest 151 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in setUp() 162 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 163 PhoneAccount retrievedPhoneAccount = mTelecomManager.getPhoneAccount( in tearDown() 184 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelecomManager, tm -> { in testRegisterPhoneAccount_simultaneousCallingRestrictions() 205 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelecomManager, tm -> { in testRegisterPhoneAccount_simultaneousCallingRestrictions() 225 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelecomManager, tm -> { in testRegisterPhoneAccount_simultaneousCallingRestrictions() 244 mTelecomManager.registerPhoneAccount(TEST_SIM_PHONE_ACCOUNT); in testRegisterPhoneAccount_correctlyThrowsSecurityException() 257 mTelecomManager.registerPhoneAccount(TEST_NO_SIM_PHONE_ACCOUNT); in testRegisterPhoneAccount_NotEnabledAutomatically() 258 PhoneAccount retrievedPhoneAccount = mTelecomManager.getPhoneAccount( in testRegisterPhoneAccount_NotEnabledAutomatically() [all …]
|
D | SimCallManagerTest.java | 57 private TelecomManager mTelecomManager; field in SimCallManagerTest 76 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in setUp() 96 assertEquals(mSystemDialer, mTelecomManager.getDefaultDialerPackage()); in testGetSimCallManager() 97 assertNotSame(TEST_PHONE_ACCOUNT_HANDLE, mTelecomManager.getSimCallManager()); in testGetSimCallManager() 113 PhoneAccountHandle simCallManager = mTelecomManager.getSimCallManager(); in testGetSimCallManager() 115 assertEquals(TestUtils.PACKAGE, mTelecomManager.getDefaultDialerPackage()); in testGetSimCallManager() 116 assertNotSame(TEST_PHONE_ACCOUNT_HANDLE, mTelecomManager.getSimCallManager()); in testGetSimCallManager() 124 mTelecomManager.registerPhoneAccount(TEST_SIM_CALL_MANAGER_ACCOUNT); in testGetSimCallManager() 128 mTelecomManager.getSimCallManager()); in testGetSimCallManager() 132 assertNotSame(TEST_PHONE_ACCOUNT_HANDLE, mTelecomManager.getSimCallManager()); in testGetSimCallManager() [all …]
|
D | PhoneAccountRegistrarTest.java | 130 accounts.stream().forEach(a -> mTelecomManager.registerPhoneAccount(a)); in testRegisterMaxPhoneAccountsWithoutException() 137 d -> mTelecomManager.unregisterPhoneAccount(d.getAccountHandle())); in testRegisterMaxPhoneAccountsWithoutException() 165 mTelecomManager.registerPhoneAccount(acct); in testExceptionThrownDueToInvalidSimultaneousCallRestriction_tooManyAccounts() 177 mTelecomManager.unregisterPhoneAccount(acctHandle); in testExceptionThrownDueToInvalidSimultaneousCallRestriction_tooManyAccounts() 203 mTelecomManager.registerPhoneAccount(acct); in testExceptionThrownDueToInvalidSimultaneousCallRestriction_invalidId() 215 mTelecomManager.unregisterPhoneAccount(acctHandle); in testExceptionThrownDueToInvalidSimultaneousCallRestriction_invalidId() 238 accounts.stream().forEach(a -> mTelecomManager.registerPhoneAccount(a)); in testExceptionThrownDueUserExceededMaxPhoneAccountRegistrations() 249 accounts.stream().forEach(d -> mTelecomManager.unregisterPhoneAccount( in testExceptionThrownDueUserExceededMaxPhoneAccountRegistrations() 271 mTelecomManager.registerPhoneAccount(pa); in testDisablingAccountsAfterRegStillThrowsException() 287 accounts.stream().forEach(d -> mTelecomManager.unregisterPhoneAccount( in testDisablingAccountsAfterRegStillThrowsException() [all …]
|
D | DefaultDialerOperationsTest.java | 50 private TelecomManager mTelecomManager; field in DefaultDialerOperationsTest 72 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in setUp() 74 final List<PhoneAccountHandle> accounts = mTelecomManager.getCallCapablePhoneAccounts(); in setUp() 94 assertEquals(mSystemDialer, mTelecomManager.getDefaultDialerPackage()); in testGetDefaultDialerPackage() 96 assertEquals(TestUtils.PACKAGE, mTelecomManager.getDefaultDialerPackage()); in testGetDefaultDialerPackage() 97 assertEquals(mTelecomManager.getDefaultDialerPackage(), in testGetDefaultDialerPackage() 98 ShellIdentityUtils.invokeMethodWithShellPermissions(mTelecomManager, in testGetDefaultDialerPackage() 110 assertEquals(info.activityInfo.packageName, mTelecomManager.getDefaultDialerPackage()); in testActionDialHandling() 183 mTelecomManager.silenceRinger(); in testSilenceRingerPermissions() 191 mTelecomManager.silenceRinger(); in testSilenceRingerPermissions() [all …]
|
D | NullBindingTest.java | 51 mTelecomManager.registerPhoneAccount(TEST_NULL_BINDING_ACCOUNT); in setUp() 58 mTelecomManager.unregisterPhoneAccount(TEST_NULL_BINDING_HANDLE); in tearDown() 75 mTelecomManager.placeCall(TEST_ADDRESS_1, extras); in testNullBinding() 82 assertFalse(mTelecomManager.isInCall()); in testNullBinding()
|
D | SelfManagedConnectionServiceTest.java | 105 mTelecomManager.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_1); in setUp() 106 mTelecomManager.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_2); in setUp() 107 mTelecomManager.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_3); in setUp() 108 mTelecomManager.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_4); in setUp() 119 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_1); in tearDown() 120 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_2); in tearDown() 121 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_3); in tearDown() 122 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_4); in tearDown() 216 mTelecomManager.getSelfManagedPhoneAccounts(); in testTelecomManagerGetSelfManagedPhoneAccounts() 269 mTelecomManager.registerPhoneAccount(newPhoneAccount); in testSelfManagedConnectionServiceRegistrationUnmodifiable() [all …]
|
D | AdhocConferenceTest.java | 51 mTelecomManager.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT); in setUp() 60 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 72 mTelecomManager.startConference(PARTICIPANTS, extra); in testStartConference() 92 mTelecomManager.startConference(participants, extra); in testStartConferenceFailed() 102 mTelecomManager.addNewIncomingConference(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extra); in testAddNewIncomingConference_onAnswer() 125 mTelecomManager.addNewIncomingConference(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extra); in testAddNewIncomingConference_onReject() 152 mTelecomManager.addNewIncomingConference(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extra); in testAddNewIncomingConferenceFailed() 162 mTelecomManager.addNewIncomingConference(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extra); in testConferenceCallAddConferenceParticipants()
|
D | OutgoingCallTest.java | 230 mTelecomManager.placeCall(Uri.fromParts("tel", TEST_EMERGENCY_NUMBER, null), extras); in testPhoneStateListenerInvokedOnOutgoingEmergencyCall() 309 mTelecomManager.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT); in testExtraPhoneAccountHandleAvailable() 323 mTelecomManager.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_2); in testExtraPhoneAccountHandleAvailable() 338 PhoneAccountHandle cachedHandle = mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in testAccountSelectionAvailable() 340 mTelecomManager.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT); in testAccountSelectionAvailable() 342 mTelecomManager.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_2); in testAccountSelectionAvailable() 364 mTelecomManager.setUserSelectedOutgoingPhoneAccount(null); in testAccountSelectionAvailable() 369 mTelecomManager.placeCall(testNumber, null); in testAccountSelectionAvailable() 373 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testAccountSelectionAvailable() 374 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE_2); in testAccountSelectionAvailable() [all …]
|
D | CallScreeningServiceTest.java | 57 private TelecomManager mTelecomManager; field in CallScreeningServiceTest 68 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in setUp() 82 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 199 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras); in addNewIncomingCall() 234 mTelecomManager.registerPhoneAccount(TEST_PHONE_ACCOUNT); 256 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle);
|
D | HandoverTest.java | 48 mTelecomManager.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDOVER_SRC); in setUp() 54 mTelecomManager.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDOVER_DEST); in setUp() 73 mTelecomManager.unregisterPhoneAccount( in tearDown() 75 mTelecomManager.unregisterPhoneAccount( in tearDown() 190 mTelecomManager.acceptHandover(call.getDetails().getHandle(), in testIncomingHandoverRequestValid()
|
D | TelecomManagerTest.java | 53 queue.put(mTelecomManager.getCurrentTtyMode())); in testGetCurrentTtyMode() 78 assertTrue(mTelecomManager.hasManageOngoingCallsPermission()); in testHasManageOngoingCallsPermission() 83 assertFalse(mTelecomManager.hasManageOngoingCallsPermission()); in testHasManageOngoingCallsPermission() 142 queue.put(mTelecomManager.isInEmergencyCall())); in testIsInEmergencyCall_noOngoingEmergencyCall() 175 queue.put(mTelecomManager.isInEmergencyCall())); in testIsInEmergencyCall_ongoingEmergencyCall()
|
D | NonUiInCallServiceTest.java | 30 mTelecomManager.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_2); in setUp() 37 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 38 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_2); in tearDown() 139 TestUtils.placeOutgoingCall(getInstrumentation(), mTelecomManager, in testMidCallComponentEnablementWithNoneAvailableAtStart() local
|
/cts/tests/tests/telecom2/src/android/telecom/cts/ |
D | DefaultDialerOperationsNoPermissionsTest.java | 29 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()
|
D | TelecomManagerNoPermissionsTest.java | 47 private TelecomManager mTelecomManager; field in TelecomManagerNoPermissionsTest 54 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in setUp() 67 mTelecomManager.endCall(); in testCannotEndCall() 108 mTelecomManager.getPhoneAccount(TestUtils.TEST_DEFAULT_PHONE_ACCOUNT_HANDLE_1); in testGetPhoneAccountCompatPermissions() 131 mTelecomManager.getCallCapablePhoneAccountsAcrossProfiles(); in testGetCallCapablePhoneAccountsAcrossProfilesPermission() 142 handles = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelecomManager, in testGetCallCapablePhoneAccountsAcrossProfilesPermission() 155 handles = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelecomManager, in testGetCallCapablePhoneAccountsAcrossProfilesPermission() 168 handles = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelecomManager, in testGetCallCapablePhoneAccountsAcrossProfilesPermission() 181 handles = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelecomManager, in testGetCallCapablePhoneAccountsAcrossProfilesPermission()
|
/cts/tests/tests/telecom/src/android/telecom/cts/selfmanagedcstestapp/ |
D | CtsSelfManagedConnectionServiceControl.java | 40 private TelecomManager mTelecomManager; field in CtsSelfManagedConnectionServiceControl 46 mTelecomManager = mContext.getSystemService(TelecomManager.class); 66 if (mTelecomManager != null) { 67 mTelecomManager.registerPhoneAccount(phoneAccount); 73 if (mTelecomManager != null) { 74 mTelecomManager.unregisterPhoneAccount(phoneAccountHandle); 101 mTelecomManager, handle, uri); 106 return mConnServiceCallController.placeOutgoingCall(mTelecomManager, handle, uri); 111 return mConnServiceCallController.placeIncomingCall(mTelecomManager,
|
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
D | CallBlockingTest.java | 61 mTelecomManager.registerPhoneAccount(phoneAccount); in testRegisterPhoneAccount() 67 mTelecomManager.unregisterPhoneAccount(handle); in testUnregisterPhoneAccount() 77 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(getPhoneAccountHandle()); in testIncomingCallFromBlockedNumberIsRejected() 84 mTelecomManager.addNewIncomingCall(phoneAccount.getAccountHandle(), bundle); in testIncomingCallFromBlockedNumberIsRejected() 106 mTelecomManager.unregisterPhoneAccount(getPhoneAccountHandle()); in unregisterPhoneAccount() 107 assertNull(mTelecomManager.getPhoneAccount(getPhoneAccountHandle())); in unregisterPhoneAccount() 153 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle); in assertPhoneAccountRegistered()
|
D | BaseNumberBlockingClientTest.java | 30 protected TelecomManager mTelecomManager; field in BaseNumberBlockingClientTest 39 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in setUp()
|
/cts/tests/tests/telecom3/src/android/telecom/cts/ |
D | SelfManagedAwareInCallServiceTest.java | 44 private TelecomManager mTelecomManager; field in SelfManagedAwareInCallServiceTest 78 mTelecomManager = (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE); in setUp() 85 mTelecomManager.registerPhoneAccount(TEST_SELF_MANAGED_PHONE_ACCOUNT); in setUp() 101 mTelecomManager.unregisterPhoneAccount(TEST_SELF_MANAGED_HANDLE); in tearDown() 128 TestUtils.placeOutgoingCall(getInstrumentation(), mTelecomManager, TEST_SELF_MANAGED_HANDLE, in testInCallServiceOutgoing() local 152 TestUtils.addIncomingCall(getInstrumentation(), mTelecomManager, TEST_SELF_MANAGED_HANDLE, in testInCallServiceIncoming() local 175 TestUtils.placeOutgoingCall(getInstrumentation(), mTelecomManager, TEST_SELF_MANAGED_HANDLE, in testSelfManagedSignalling() local
|
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/ |
D | CallNotificationTestPlayerListener.java | 39 private TelecomManager mTelecomManager; field in CallNotificationTestPlayerListener 93 mTelecomManager = (TelecomManager) mActivity.getApplicationContext().getSystemService( in onEventsPlaybackStateChanged() 95 mTelecomManager.registerPhoneAccount(getSamplePhoneAccount()); in onEventsPlaybackStateChanged() 104 mTelecomManager.addNewIncomingCall(mPhoneAccountHandle, null); in onEventsMediaItemTransition()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | PhoneAccountTest.java | 63 private TelecomManager mTelecomManager; field in PhoneAccountTest 81 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in setUp() 142 mTelecomManager.placeCall(phoneUri, extras); in placeCallUsingTelecomManager() 205 mTelecomManager.addNewIncomingCall(phoneAccountHandle, bundle); in internalTestIncomingCall() 241 assertNull(mTelecomManager.getPhoneAccount(PHONE_ACCOUNT_HANDLE)); in testPhoneAccountNotRegistered() 287 mTelecomManager.registerPhoneAccount(phoneAccount); in registerPhoneAccount() 290 assertNotNull(mTelecomManager.getPhoneAccount(PHONE_ACCOUNT_HANDLE)); in registerPhoneAccount() 295 mTelecomManager.unregisterPhoneAccount(PHONE_ACCOUNT_HANDLE); in unregisterPhoneAccount() 296 assertNull(mTelecomManager.getPhoneAccount(PHONE_ACCOUNT_HANDLE)); in unregisterPhoneAccount()
|
/cts/tests/tests/telecom-apps/ConnectionServiceVoipAppMain/src/android/telecom/cts/apps/connectionservicevoipappmain/ |
D | VoipConnectionServiceControlMain.java | 84 private TelecomManager mTelecomManager = null; field in VoipConnectionServiceControlMain 121 mTelecomManager.placeCall(callAttributes.getAddress(), 124 mTelecomManager.addNewIncomingCall(callAttributes.getPhoneAccountHandle(), 323 mTelecomManager.registerPhoneAccount(mPhoneAccount); 336 mTelecomManager.registerPhoneAccount(account); 342 mTelecomManager.unregisterPhoneAccount(handle); 348 return mTelecomManager.getOwnSelfManagedPhoneAccounts(); 354 return mTelecomManager.getRegisteredPhoneAccounts(); 412 mTelecomManager.registerPhoneAccount(mPhoneAccount); in onBind() 429 for (PhoneAccountHandle handle : mTelecomManager.getOwnSelfManagedPhoneAccounts()) { in unregisterAllPhoneAccounts() [all …]
|
/cts/tests/tests/telecom-apps/TransactionalVoipAppMain/src/android/telecom/cts/apps/transactionalvoipappmain/ |
D | TransactionalVoipAppControlMain.java | 78 private TelecomManager mTelecomManager = null; field in TransactionalVoipAppControlMain 119 mTelecomManager.addCall(callAttributes, Runnable::run, new OutcomeReceiver<>() { 347 mTelecomManager.registerPhoneAccount(mPhoneAccount); 360 mTelecomManager.registerPhoneAccount(account); 366 mTelecomManager.unregisterPhoneAccount(handle); 372 return mTelecomManager.getOwnSelfManagedPhoneAccounts(); 378 return mTelecomManager.getRegisteredPhoneAccounts(); 436 mTelecomManager.registerPhoneAccount(mPhoneAccount); in onBind() 457 for (PhoneAccountHandle handle : mTelecomManager.getOwnSelfManagedPhoneAccounts()) { in unregisterAllPhoneAccounts() 458 mTelecomManager.unregisterPhoneAccount(handle); in unregisterAllPhoneAccounts() [all …]
|
/cts/tests/tests/telecom-apps/ManagedConnectionService/src/android/telecom/cts/apps/managedapp/ |
D | ManagedAppControl.java | 75 private TelecomManager mTelecomManager = null; field in ManagedAppControl 106 mTelecomManager.placeCall(callAttributes.getAddress(), 109 mTelecomManager.addNewIncomingCall(callAttributes.getPhoneAccountHandle(), 318 mTelecomManager.registerPhoneAccount(account); 324 mTelecomManager.unregisterPhoneAccount(handle); 330 return mTelecomManager.getOwnSelfManagedPhoneAccounts(); 336 return mTelecomManager.getRegisteredPhoneAccounts(); 410 if (mTelecomManager == null) { in maybeInitTelecomManager() 411 mTelecomManager = getSystemService(TelecomManager.class); in maybeInitTelecomManager()
|
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/ |
D | BaseAppVerifierImpl.java | 78 public TelecomManager mTelecomManager; field in BaseAppVerifierImpl 91 mTelecomManager = mContext.getSystemService(TelecomManager.class); in BaseAppVerifierImpl() 124 if (mTelecomManager.isInCall()) { in maybeCleanupTelecom() 374 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelecomManager, in registerManagedPhoneAccount() 382 mPreviousDefaultPhoneAccount = mTelecomManager.getUserSelectedOutgoingPhoneAccount(); in setUserDefaultPhoneAccountOverride() 383 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelecomManager, in setUserDefaultPhoneAccountOverride() 386 mTelecomManager.getUserSelectedOutgoingPhoneAccount()); in setUserDefaultPhoneAccountOverride() 390 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelecomManager, in clearUserDefaultPhoneAccountOverride() 426 return mTelecomManager.getPhoneAccount(handle) != null; in isPhoneAccountRegistered()
|