HomeSort by relevance Sort by last modified time
    Searched refs:mTelecomManager (Results 1 - 23 of 23) sorted by null

  /cts/tests/tests/telecom/src/android/telecom/cts/
DefaultPhoneAccountTest.java 54 PhoneAccountHandle handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount();
57 PhoneAccountHandle defaultOutgoing = mTelecomManager.getDefaultOutgoingPhoneAccount(
77 mTelecomManager.getUserSelectedOutgoingPhoneAccount();
82 mTelecomManager.setUserSelectedOutgoingPhoneAccount(
85 PhoneAccountHandle handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount();
88 PhoneAccountHandle defaultOutgoing = mTelecomManager.getDefaultOutgoingPhoneAccount(
121 mTelecomManager.getUserSelectedOutgoingPhoneAccount();
134 PhoneAccountHandle handle = mTelecomManager.getUserSelectedOutgoingPhoneAccount();
138 PhoneAccountHandle defaultOutgoing = mTelecomManager.getDefaultOutgoingPhoneAccount(
167 mTelecomManager.getUserSelectedOutgoingPhoneAccount()
    [all...]
SimCallManagerTest.java 56 private TelecomManager mTelecomManager;
75 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
95 assertEquals(mSystemDialer, mTelecomManager.getDefaultDialerPackage());
96 assertNotSame(TEST_PHONE_ACCOUNT_HANDLE, mTelecomManager.getSimCallManager());
112 PhoneAccountHandle simCallManager = mTelecomManager.getSimCallManager();
114 assertEquals(TestUtils.PACKAGE, mTelecomManager.getDefaultDialerPackage());
115 assertNotSame(TEST_PHONE_ACCOUNT_HANDLE, mTelecomManager.getSimCallManager());
123 mTelecomManager.registerPhoneAccount(TEST_SIM_CALL_MANAGER_ACCOUNT);
127 mTelecomManager.getSimCallManager());
131 assertNotSame(TEST_PHONE_ACCOUNT_HANDLE, mTelecomManager.getSimCallManager())
    [all...]
PhoneAccountOperationsTest.java 105 private TelecomManager mTelecomManager;
114 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
124 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE);
125 PhoneAccount retrievedPhoneAccount = mTelecomManager.getPhoneAccount(
136 mTelecomManager.registerPhoneAccount(TEST_SIM_PHONE_ACCOUNT);
149 mTelecomManager.registerPhoneAccount(TEST_NO_SIM_PHONE_ACCOUNT);
150 PhoneAccount retrievedPhoneAccount = mTelecomManager.getPhoneAccount(
181 mTelecomManager.registerPhoneAccount(phoneAccount);
182 PhoneAccount retrievedPhoneAccount = mTelecomManager.getPhoneAccount(
193 mTelecomManager.registerPhoneAccount(TEST_NO_SIM_PHONE_ACCOUNT)
    [all...]
DefaultDialerOperationsTest.java 37 private TelecomManager mTelecomManager;
57 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
58 final List<PhoneAccountHandle> accounts = mTelecomManager.getCallCapablePhoneAccounts();
78 assertEquals(mSystemDialer, mTelecomManager.getDefaultDialerPackage());
80 assertEquals(TestUtils.PACKAGE, mTelecomManager.getDefaultDialerPackage());
122 mTelecomManager.silenceRinger();
130 mTelecomManager.silenceRinger();
139 mTelecomManager.cancelMissedCallsNotification();
147 mTelecomManager.cancelMissedCallsNotification();
156 mTelecomManager.handleMmi("0")
    [all...]
SelfManagedConnectionServiceTest.java 67 mTelecomManager.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_1);
68 mTelecomManager.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_2);
69 mTelecomManager.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_3);
81 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_1);
82 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_2);
83 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_3);
97 mTelecomManager.getSelfManagedPhoneAccounts();
128 PhoneAccount registeredAccount = mTelecomManager.getPhoneAccount(handle);
211 mTelecomManager.registerPhoneAccount(toRegister);
235 TestUtils.addIncomingCall(getInstrumentation(), mTelecomManager, handle, address)
    [all...]
PhoneAccountSuggestionServiceTest.java 47 mTelecomManager.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT);
48 mTelecomManager.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_2);
49 mCachedDefaultHandle = mTelecomManager.getUserSelectedOutgoingPhoneAccount();
51 () -> mTelecomManager.setUserSelectedOutgoingPhoneAccount(null));
66 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE);
67 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE_2);
69 mTelecomManager.setUserSelectedOutgoingPhoneAccount(mCachedDefaultHandle));
92 mTelecomManager.placeCall(number, new Bundle());
136 mTelecomManager.placeCall(number, new Bundle());
171 mTelecomManager.placeCall(number, new Bundle())
    [all...]
CallScreeningServiceTest.java 57 private TelecomManager mTelecomManager;
66 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
79 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE);
115 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras);
141 mTelecomManager.registerPhoneAccount(TEST_PHONE_ACCOUNT);
157 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle);
TelecomManagerTest.java 35 queue.put(mTelecomManager.getCurrentTtyMode()));
56 queue.put(mTelecomManager.isInEmergencyCall()));
HandoverTest.java 43 mTelecomManager.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDOVER_SRC);
49 mTelecomManager.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDOVER_DEST);
60 mTelecomManager.unregisterPhoneAccount(
62 mTelecomManager.unregisterPhoneAccount(
175 mTelecomManager.acceptHandover(call.getDetails().getHandle(),
IncomingCallTest.java 82 mTelecomManager.addNewIncomingCall(TEST_INVALID_HANDLE, extras);
103 assertFalse(mTelecomManager.getPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE)
ThirdPartyInCallServiceTest.java 53 private TelecomManager mTelecomManager;
65 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
152 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras);
ExtendedInCallServiceTest.java 248 mTelecomManager.acceptRingingCall();
270 mTelecomManager.endCall();
292 mTelecomManager.acceptRingingCall();
297 mTelecomManager.endCall();
329 mTelecomManager.acceptRingingCall();
365 mTelecomManager.acceptRingingCall();
390 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras);
BaseTelecomTestWithMockServices.java 77 TelecomManager mTelecomManager;
134 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
198 mTelecomManager.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT);
207 mPreviousDefaultOutgoingAccount = mTelecomManager.getUserSelectedOutgoingPhoneAccount();
222 mTelecomManager.unregisterPhoneAccount(accountHandle);
394 mTelecomManager.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras);
716 mTelecomManager.placeCall(number, extras);
745 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle);
    [all...]
ConnectionServiceTest.java 47 mTelecomManager.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_1);
226 TestUtils.addIncomingCall(getInstrumentation(), mTelecomManager, pah, address);
BaseRemoteTelecomTest.java 97 mTelecomManager.unregisterPhoneAccount(remoteAccountHandle);
ThirdPartyCallScreeningServiceTest.java 200 mTelecomManager.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras);
  /cts/tests/tests/telecom2/src/android/telecom/cts/
TelecomManagerNoPermissionsTest.java 30 private TelecomManager mTelecomManager;
39 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
52 mTelecomManager.endCall();
DefaultDialerOperationsNoPermissionsTest.java 29 private TelecomManager mTelecomManager;
48 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
68 mTelecomManager.showInCallScreen(false);
80 mTelecomManager.getCallCapablePhoneAccounts();
92 mTelecomManager.getDefaultOutgoingPhoneAccount("tel");
104 mTelecomManager.getLine1Number(null);
116 mTelecomManager.getVoiceMailNumber(null);
128 mTelecomManager.isVoiceMailNumber(null, null);
140 mTelecomManager.isInCall();