Home
last modified time | relevance | path

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

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DPhoneAccountUtils.java90 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in registerTestPhoneAccount() local
92 telecomManager.registerPhoneAccount(TEST_PHONE_ACCOUNT); in registerTestPhoneAccount()
101 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in getPhoneAccount() local
103 return telecomManager.getPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in getPhoneAccount()
113 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in getSpecificPhoneAccount() local
114 if (telecomManager == null) return null; in getSpecificPhoneAccount()
115 return telecomManager.getPhoneAccount(pah); in getSpecificPhoneAccount()
123 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in unRegisterTestPhoneAccount() local
125 telecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in unRegisterTestPhoneAccount()
133 TelecomManager telecomManager = (TelecomManager) context.getSystemService( in registerTestSelfManagedPhoneAccount() local
[all …]
DSelfManagedIncomingCallTestActivity.java85 TelecomManager telecomManager =
87 if (telecomManager == null || !telecomManager.isInManagedCall()) {
133 TelecomManager telecomManager = in onCreate()
135 if (telecomManager == null || !telecomManager.isInManagedCall()) { in onCreate()
158 TelecomManager telecomManager = in onCreate()
160 if (telecomManager == null) { in onCreate()
165 telecomManager.addNewIncomingCall( in onCreate()
DIncomingCallTestActivity.java121 TelecomManager telecomManager = in onCreate()
123 if (telecomManager == null) { in onCreate()
129 telecomManager.addNewIncomingCall(PhoneAccountUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in onCreate()
/cts/tests/tests/telecom/src/android/telecom/cts/carmodetestapp/
DCtsCarModeInCallServiceControl.java109 TelecomManager telecomManager = getSystemService(TelecomManager.class);
110 return (telecomManager != null) ? telecomManager.getSelfManagedPhoneAccounts()
116 TelecomManager telecomManager = getSystemService(TelecomManager.class);
117 return (telecomManager != null) ? telecomManager.getOwnSelfManagedPhoneAccounts()
123 TelecomManager telecomManager = getSystemService(TelecomManager.class);
124 if (telecomManager != null) {
125 telecomManager.registerPhoneAccount(phoneAccount);
131 TelecomManager telecomManager = getSystemService(TelecomManager.class);
132 if (telecomManager != null) {
133 telecomManager.unregisterPhoneAccount(phoneAccountHandle);
/cts/tests/tests/security/src/android/security/cts/CVE_2022_20129/
DCVE_2022_20129.java57 TelecomManager telecomManager = null; in testPocCVE_2022_20129() local
62 telecomManager = context.getSystemService(TelecomManager.class); in testPocCVE_2022_20129()
67 phoneAccounts = telecomManager.getAllPhoneAccountHandles().size(); in testPocCVE_2022_20129()
83 telecomManager.registerPhoneAccount(account); in testPocCVE_2022_20129()
88 telecomManager.enablePhoneAccount( in testPocCVE_2022_20129()
102 phoneAccounts = telecomManager.getAllPhoneAccountHandles().size() - phoneAccounts; in testPocCVE_2022_20129()
107 telecomManager.unregisterPhoneAccount(handle); in testPocCVE_2022_20129()
/cts/tests/tests/telecom/src/android/telecom/cts/selfmanagedcstestapp/
DConnectionServiceCallController.java75 public boolean initiateIncomingCall(TelecomManager telecomManager, in initiateIncomingCall() argument
80 telecomManager.addNewIncomingCall(handle, extras); in initiateIncomingCall()
91 public boolean placeOutgoingCall(TelecomManager telecomManager, in placeOutgoingCall() argument
93 if (!telecomManager.isOutgoingCallPermitted(handle)) { in placeOutgoingCall()
102 telecomManager.placeCall(address, extras); in placeOutgoingCall()
114 public boolean placeIncomingCall(TelecomManager telecomManager, in placeIncomingCall() argument
116 if (!telecomManager.isIncomingCallPermitted(handle)) { in placeIncomingCall()
130 telecomManager.addNewIncomingCall(handle, extras); in placeIncomingCall()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTelecomAvailabilityTest.java113 final TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in testTelecomCanManageBlockedNumbers() local
114 final Intent intent = telecomManager.createManageBlockedNumbersIntent(); in testTelecomCanManageBlockedNumbers()
136 final TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in testCreateLaunchEmergencyDialerIntent() local
138 final Intent intentWithoutNumber = telecomManager.createLaunchEmergencyDialerIntent(null); in testCreateLaunchEmergencyDialerIntent()
143 final Intent intentWithNumber = telecomManager.createLaunchEmergencyDialerIntent("12345"); in testCreateLaunchEmergencyDialerIntent()
DTestUtils.java703 TelecomManager telecomManager, PhoneAccountHandle handle, in addIncomingCall() argument
709 telecomManager.addNewIncomingCall(handle, extras); in addIncomingCall()
763 TelecomManager telecomManager, PhoneAccountHandle handle, in placeOutgoingCall() argument
765 placeOutgoingCall(instrumentation, telecomManager, handle, address, in placeOutgoingCall()
778 TelecomManager telecomManager, PhoneAccountHandle handle, in placeOutgoingCall() argument
788 telecomManager.placeCall(address, extras); in placeOutgoingCall()
DPhoneAccountOperationsTest.java320 (telecomManager) -> telecomManager.getCallCapablePhoneAccounts(true)); in testRegisterPhoneAccount_ListEnabledAccounts()
DExtendedInCallServiceTest.java841 final TelecomManager telecomManager = in testSilenceRinger() local
843 telecomManager.silenceRinger(); in testSilenceRinger()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/
DDefaultDialerChanger.java61 final TelecomManager telecomManager = mActivity.getSystemService(TelecomManager.class); in DefaultDialerChanger() local
62 updateSetDefaultDialerState(telecomManager.getDefaultDialerPackage()); in DefaultDialerChanger()
67 if (telecomManager.getDefaultDialerPackage().equals(mActivity.getPackageName())) { in DefaultDialerChanger()
83 if (!telecomManager.getDefaultDialerPackage().equals(mActivity.getPackageName())) { in DefaultDialerChanger()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsCallingTest.java218 TelecomManager telecomManager = (TelecomManager) InstrumentationRegistry in testOutGoingCall() local
225 telecomManager.placeCall(imsUri, extras); in testOutGoingCall()
254 TelecomManager telecomManager = (TelecomManager) InstrumentationRegistry in testOutGoingCallStartFailed() local
261 telecomManager.placeCall(imsUri, extras); in testOutGoingCallStartFailed()
379 TelecomManager telecomManager = (TelecomManager) InstrumentationRegistry in testOutGoingCallForExecutor() local
386 telecomManager.placeCall(imsUri, extras); in testOutGoingCallForExecutor()
415 TelecomManager telecomManager = (TelecomManager) InstrumentationRegistry in testOutGoingCallHoldResume() local
422 telecomManager.placeCall(imsUri, extras); in testOutGoingCallHoldResume()
460 TelecomManager telecomManager = (TelecomManager) InstrumentationRegistry in testOutGoingCallHoldFailure() local
467 telecomManager.placeCall(imsUri, extras); in testOutGoingCallHoldFailure()
[all …]
DImsCallingTestOnMockModem.java525 TelecomManager telecomManager = (TelecomManager) InstrumentationRegistry in placeOutgoingCall() local
532 telecomManager.placeCall(imsUri, extras); in placeOutgoingCall()
DDomainSelectionCrossSimRedialingTestOnMockModem.java328 TelecomManager telecomManager = (TelecomManager) InstrumentationRegistry in placeOutgoingCall() local
335 telecomManager.placeCall(imsUri, extras); in placeOutgoingCall()
DEmergencyCallDomainSelectionTestOnMockModem.java1296 TelecomManager telecomManager = (TelecomManager) InstrumentationRegistry in placeOutgoingCall() local
1303 telecomManager.placeCall(imsUri, extras); in placeOutgoingCall()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40086/src/android/security/cts/CVE_2023_40086/
DDeviceTest.java101 final TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in testPocCVE_2023_40086() local
105 telecomManager.registerPhoneAccount(testPhoneAccount); in testPocCVE_2023_40086()
124 telecomManager.getAllPhoneAccounts(); in testPocCVE_2023_40086()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20116/src/android/security/cts/CVE_2022_20116/
DDeviceTest.java71 TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in getDefaultDialerPackage() local
72 return telecomManager.getSystemDialerPackage(); in getDefaultDialerPackage()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39707/src/android/security/cts/CVE_2021_39707/
DDeviceTest.java98 TelecomManager telecomManager = context.getSystemService(TelecomManager.class); in testAppRestrictionsFragment() local
99 selector = By.pkg(telecomManager.getSystemDialerPackage()); in testAppRestrictionsFragment()
/cts/tests/devicepolicy/telephony/src/android/devicepolicy/cts/telephony/
DWorkProfileTelephonyTest.java378 dialerApp.telecomManager().placeCall(Uri.fromParts("tel", sDestinationNumber, null), in placeCall_fromWorkProfile_allManagedSubscriptions_works()
416 dialerApp.telecomManager().placeCall(Uri.fromParts("tel", sDestinationNumber, null), in placeCall_fromPersonalProfile_allManagedSubscriptions_fails()
451 dialerApp.telecomManager().getCallCapablePhoneAccounts(); in getCallCapablePhoneAccounts_fromWorkProfile_allManagedSubscriptions_notEmpty()
483 dialerApp.telecomManager().getCallCapablePhoneAccounts(); in getCallCapablePhoneAccounts_fromPersonalProfile_allManagedSubscriptions_emptyList()
515 dialerApp.telecomManager().placeCall(Uri.fromParts("tel", sDestinationNumber, null), in allManagedSubscriptions_accessWorkCallLogFromWorkProfile_works()
562 dialerApp.telecomManager().placeCall(Uri.fromParts("tel", sDestinationNumber, null), in allManagedSubscriptions_accessWorkCallLogFromPersonalProfile_fails()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DDomainSelectionServiceTestOnMockModem.java405 TelecomManager telecomManager = in placeOutgoingCall() local
412 telecomManager.placeCall(imsUri, extras); in placeOutgoingCall()
DTelephonyManagerTestOnMockModem.java617 TelecomManager telecomManager = in testVoiceCallState() local
691 telecomManager.placeCall(address, null); in testVoiceCallState()
708 telecomManager.endCall(); in testVoiceCallState()
754 telecomManager.acceptRingingCall(); in testVoiceCallState()
DVisualVoicemailServiceTest.java119 TelecomManager telecomManager = mContext.getSystemService(TelecomManager.class); in setUp() local
120 mPhoneAccountHandle = telecomManager in setUp()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DDefaultDialerApplicationTest.java112 String previousDialerAppInDpc = sDeviceState.dpc().telecomManager() in setDefaultDialerApplication_unchanged()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppInstance.java457 public RemoteTelecomManager telecomManager() { in telecomManager() method in TestAppInstance
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppInstanceTest.java546 testAppInstance.telecomManager().getSystemDialerPackage(); in telecomManager_returnsUsableInstance()

12