/cts/tests/tests/telecom/src/android/telecom/cts/ |
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...] |
CallScreeningServiceTest.java | 58 private TelecomManager mTelecomManager; 67 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); 80 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); 116 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras); 141 mTelecomManager.registerPhoneAccount(TEST_PHONE_ACCOUNT); 157 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle);
|
IncomingCallTest.java | 70 mTelecomManager.addNewIncomingCall(TEST_INVALID_HANDLE, extras); 91 assertFalse(mTelecomManager.getPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE).isEnabled());
|
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 | 89 private TelecomManager mTelecomManager; 98 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); 106 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); 107 PhoneAccount retrievedPhoneAccount = mTelecomManager.getPhoneAccount( 118 mTelecomManager.registerPhoneAccount(TEST_SIM_PHONE_ACCOUNT); 131 mTelecomManager.registerPhoneAccount(TEST_NO_SIM_PHONE_ACCOUNT); 132 PhoneAccount retrievedPhoneAccount = mTelecomManager.getPhoneAccount( 160 mTelecomManager.registerPhoneAccount(phoneAccount); 161 PhoneAccount retrievedPhoneAccount = mTelecomManager.getPhoneAccount( 172 mTelecomManager.registerPhoneAccount(TEST_NO_SIM_PHONE_ACCOUNT) [all...] |
BaseTelecomTestWithMockServices.java | 79 TelecomManager mTelecomManager; 102 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); 136 mTelecomManager.registerPhoneAccount(TEST_PHONE_ACCOUNT); 151 mTelecomManager.unregisterPhoneAccount(accountHandle); 280 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras); 522 mTelecomManager.placeCall(createTestNumber(), extras); [all...] |
ExtendedInCallServiceTest.java | 236 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras);
|
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
BaseNumberBlockingClientTest.java | 29 protected TelecomManager mTelecomManager; 38 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
|
CallBlockingTest.java | 60 mTelecomManager.registerPhoneAccount(phoneAccount); 64 mTelecomManager.unregisterPhoneAccount(getPhoneAccountHandle()); 65 assertNull(mTelecomManager.getPhoneAccount(getPhoneAccountHandle())); 74 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(getPhoneAccountHandle()); 81 mTelecomManager.addNewIncomingCall(phoneAccount.getAccountHandle(), bundle); 103 mTelecomManager.unregisterPhoneAccount(getPhoneAccountHandle()); 104 assertNull(mTelecomManager.getPhoneAccount(getPhoneAccountHandle()));
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
TelecomManagerFacade.java | 60 private final TelecomManager mTelecomManager; 68 mTelecomManager = new TelecomManager(mService); 87 mTelecomManager.acceptRingingCall(); 97 mTelecomManager.acceptRingingCall(state); 103 mTelecomManager.cancelMissedCallsNotification(); 108 mTelecomManager.clearAccounts(); 113 return mTelecomManager.endCall(); 118 return mTelecomManager.getAllPhoneAccounts(); 123 int state = mTelecomManager.getCallState(); 129 int mode = mTelecomManager.getCurrentTtyMode() [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
PhoneAccountTest.java | 59 private TelecomManager mTelecomManager; 77 mTelecomManager = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); 135 mTelecomManager.placeCall(phoneUri, extras); 169 mTelecomManager.addNewIncomingCall(phoneAccountHandle, bundle); 205 assertNull(mTelecomManager.getPhoneAccount(PHONE_ACCOUNT_HANDLE)); 247 mTelecomManager.registerPhoneAccount(phoneAccount); 250 assertNotNull(mTelecomManager.getPhoneAccount(PHONE_ACCOUNT_HANDLE)); 255 mTelecomManager.unregisterPhoneAccount(PHONE_ACCOUNT_HANDLE); 256 assertNull(mTelecomManager.getPhoneAccount(PHONE_ACCOUNT_HANDLE));
|
/cts/tests/tests/telecom2/src/android/telecom/cts/ |
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();
|
/packages/services/Telecomm/src/com/android/server/telecom/settings/ |
EnableAccountPreferenceFragment.java | 62 mTelecomManager.enablePhoneAccount(mAccount.getAccountHandle(), isChecked()); 66 private TelecomManager mTelecomManager; 71 mTelecomManager = TelecomManager.from(getActivity()); 88 mTelecomManager.getCallCapablePhoneAccounts(true /* includeDisabledAccounts */); 92 PhoneAccount account = mTelecomManager.getPhoneAccount(handle);
|
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ |
ExternalCallNotifierTest.java | 65 @Mock private TelecomManager mTelecomManager; 87 .thenReturn(mTelecomManager);
|
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/ |
MyMockContext.java | 50 TelecomManager mTelecomManager; 87 return mTelecomManager;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/ |
SelectPhoneAccountDialogFragment.java | 66 private TelecomManager mTelecomManager; 161 mTelecomManager = 248 PhoneAccount account = mTelecomManager.getPhoneAccount(accountHandle);
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
MissedCallNotifierImplTest.java | 90 private TelecomManager mTelecomManager; 114 mComponentContextFixture.setTelecomManager(mTelecomManager);
|
TelecomServiceImplTest.java | 148 @Mock private TelecomManager mTelecomManager; 196 mComponentContextFixture.setTelecomManager(mTelecomManager); 197 when(mTelecomManager.getDefaultDialerPackage()).thenReturn(DEFAULT_DIALER_PACKAGE); 198 when(mTelecomManager.getSystemDialerPackage()).thenReturn(DEFAULT_DIALER_PACKAGE); [all...] |
PhoneAccountRegistrarTest.java | 61 private TelecomManager mTelecomManager; 67 mComponentContextFixture.setTelecomManager(mTelecomManager);
|
/packages/services/Telephony/src/com/android/phone/ |
CallFeaturesSetting.java | 107 private TelecomManager mTelecomManager; 186 mTelecomManager = TelecomManager.from(this); 308 final PhoneAccountHandle simCallManager = mTelecomManager.getSimCallManager();
|
NotificationMgr.java | 96 private TelecomManager mTelecomManager; 119 mTelecomManager = TelecomManager.from(mContext);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
HfpClientConnectionService.java | 60 private TelecomManager mTelecomManager; 87 mTelecomManager.unregisterPhoneAccount( 94 mTelecomManager.registerPhoneAccount(mDevicePhoneAccount); 95 mTelecomManager.enablePhoneAccount( 97 mTelecomManager.setUserSelectedOutgoingPhoneAccount( 120 mTelecomManager.unregisterPhoneAccount( 141 mTelecomManager = (TelecomManager) getSystemService(Context.TELECOM_SERVICE); 165 mTelecomManager.unregisterPhoneAccount(mDevicePhoneAccount.getAccountHandle()); 409 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); 437 mTelecomManager.registerPhoneAccount(mDevicePhoneAccount) [all...] |
/packages/services/Telephony/src/com/android/phone/settings/ |
PhoneAccountSettingsFragment.java | 67 private TelecomManager mTelecomManager; 83 mTelecomManager = TelecomManager.from(getActivity()); 225 mTelecomManager.setUserSelectedOutgoingPhoneAccount(account); 268 mTelecomManager, 270 mTelecomManager.getUserSelectedOutgoingPhoneAccount(), 290 PhoneAccount account = mTelecomManager.getPhoneAccount(handle); 399 mTelecomManager.getCallCapablePhoneAccounts(includeDisabledAccounts); 408 PhoneAccount account = mTelecomManager.getPhoneAccount(handle);
|
/packages/services/Telephony/src/com/android/services/telephony/ |
TelecomAccountRegistry.java | 268 mTelecomManager.registerPhoneAccount(account); 480 private final TelecomManager mTelecomManager; 494 mTelecomManager = TelecomManager.from(context); 666 ? mTelecomManager.getAllPhoneAccountHandles() 667 : mTelecomManager.getCallCapablePhoneAccounts(true /* includeDisabled */); 673 mTelecomManager.unregisterPhoneAccount(handle); 723 mTelecomManager.getUserSelectedOutgoingPhoneAccount(); 738 mTelecomManager.setUserSelectedOutgoingPhoneAccount(upgradedPhoneAccount);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
HeadsetClientStateMachine.java | 160 private TelecomManager mTelecomManager; [all...] |