/packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/ |
UploadTask.java | 21 import android.telecom.PhoneAccountHandle; 43 public static void start(Context context, PhoneAccountHandle phoneAccountHandle) { 46 PhoneAccountHandleConverter.toSubId(phoneAccountHandle)); 59 PhoneAccountHandle phoneAccountHandle = PhoneAccountHandleConverter.fromSubId(getSubId()); 60 if (phoneAccountHandle == null) { 66 phoneAccountHandle, null, 67 VoicemailStatus.edit(getContext(), phoneAccountHandle));
|
/packages/services/Telephony/src/com/android/phone/ |
VoicemailStatus.java | 26 import android.telecom.PhoneAccountHandle; 37 private final PhoneAccountHandle mPhoneAccountHandle; 41 private Editor(Context context, PhoneAccountHandle phoneAccountHandle) { 43 mPhoneAccountHandle = phoneAccountHandle; 51 public PhoneAccountHandle getPhoneAccountHandle() { 112 private DeferredEditor(Context context, PhoneAccountHandle phoneAccountHandle) { 113 super(context, phoneAccountHandle); 126 public static Editor edit(Context context, PhoneAccountHandle phoneAccountHandle) [all...] |
/packages/services/Telephony/src/com/android/phone/vvm/omtp/protocol/ |
Vvm3Protocol.java | 23 import android.telecom.PhoneAccountHandle; 105 public void startProvisioning(ActivationTask task, PhoneAccountHandle phoneAccountHandle, 114 new Vvm3Subscriber(task, phoneAccountHandle, config, status, data).subscribe(); 122 new VisualVoicemailPreferences(config.getContext(), phoneAccountHandle); 125 startProvisionNewUser(task, phoneAccountHandle, config, status, message); 129 .setEnabled(config.getContext(), phoneAccountHandle, false); 188 private void startProvisionNewUser(ActivationTask task, PhoneAccountHandle phoneAccountHandle, 192 .getNetwork(config, phoneAccountHandle, status)) [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
CallIntentProcessor.java | 15 import android.telecom.PhoneAccountHandle; 109 PhoneAccountHandle phoneAccountHandle = intent.getParcelableExtra( 142 .startOutgoingCall(handle, phoneAccountHandle, clientExtras, initiatingUser); 186 PhoneAccountHandle phoneAccountHandle = intent.getParcelableExtra( 189 if (phoneAccountHandle == null) { 194 if (phoneAccountHandle.getComponentName() == null) { 210 phoneAccountHandle.getComponentName()); 211 callsManager.processIncomingCallIntent(phoneAccountHandle, clientExtras) [all...] |
TelecomServiceImpl.java | 44 import android.telecom.PhoneAccountHandle; 115 public PhoneAccountHandle getDefaultOutgoingPhoneAccount(String uriScheme, 142 public PhoneAccountHandle getUserSelectedOutgoingPhoneAccount() { 159 public void setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle accountHandle) { 182 public List<PhoneAccountHandle> getCallCapablePhoneAccounts( 208 public List<PhoneAccountHandle> getPhoneAccountsSupportingScheme(String uriScheme, 234 public List<PhoneAccountHandle> getPhoneAccountsForPackage(String packageName) { 253 public PhoneAccount getPhoneAccount(PhoneAccountHandle accountHandle) { 311 public List<PhoneAccountHandle> getAllPhoneAccountHandles() { 329 public PhoneAccountHandle getSimCallManager() [all...] |
CreateConnectionProcessor.java | 24 import android.telecom.PhoneAccountHandle; 51 public final PhoneAccountHandle connectionManagerPhoneAccount; 54 public final PhoneAccountHandle targetPhoneAccount; 57 PhoneAccountHandle connectionManagerPhoneAccount, 58 PhoneAccountHandle targetPhoneAccount) { 72 * {@code PhoneAccountHandle}s as another instance. 202 PhoneAccountHandle phoneAccount = attempt.connectionManagerPhoneAccount; 255 PhoneAccountHandle connectionManager = 261 PhoneAccountHandle targetPhoneAccountHandle = mAttemptRecords.get(0).targetPhoneAccount; 298 private void adjustAttemptsForEmergency(PhoneAccountHandle preferredPAH) [all...] |
PhoneAccountRegistrar.java | 41 import android.telecom.PhoneAccountHandle; 86 * Handles writing and reading PhoneAccountHandle registration entries. This is a simple verbatim 91 * {@code PhoneAccountHandle}s. 114 public static final PhoneAccountHandle NO_ACCOUNT_SELECTED = 115 new PhoneAccountHandle(new ComponentName("null", "null"), "NO_ACCOUNT_SELECTED"); 174 public int getSubscriptionIdForPhoneAccount(PhoneAccountHandle accountHandle) { 191 * @return The {@link PhoneAccountHandle} to use. 193 public PhoneAccountHandle getOutgoingPhoneAccountForScheme(String uriScheme, 195 final PhoneAccountHandle userSelected = getUserSelectedOutgoingPhoneAccount(userHandle); 206 List<PhoneAccountHandle> outgoing = getCallCapablePhoneAccounts(uriScheme, false [all...] |
/packages/services/Telephony/src/com/android/phone/vvm/omtp/scheduling/ |
RetryPolicy.java | 20 import android.telecom.PhoneAccountHandle; 72 PhoneAccountHandle phoneAccountHandle = PhoneAccountHandleConverter 74 if (phoneAccountHandle == null) { 80 .deferredEdit(task.getContext(), phoneAccountHandle);
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
TelecomSystemTest.java | 56 import android.telecom.PhoneAccountHandle; 193 new PhoneAccountHandle( 204 new PhoneAccountHandle( 215 new PhoneAccountHandle( 226 new PhoneAccountHandle( 239 new PhoneAccountHandle( 471 protected IdPair outgoingCallPhoneAccountSelected(PhoneAccountHandle phoneAccountHandle, 476 phoneAccountHandle, connectionServiceFixture); 491 protected IdPair startOutgoingPhoneCall(String number, PhoneAccountHandle phoneAccountHandle [all...] |
MissedCallNotifierImplTest.java | 30 import android.telecom.PhoneAccountHandle; 357 PhoneAccountHandle phoneAccountHandle) { 362 when(fakeCall.getTargetPhoneAccount()).thenReturn(phoneAccountHandle); 385 PhoneAccountHandle phoneAccountHandle = new PhoneAccountHandle(componentName, "id", 387 PhoneAccount.Builder builder = new PhoneAccount.Builder(phoneAccountHandle, "test"); 390 when(mPhoneAccountRegistrar.getPhoneAccountUnchecked(phoneAccountHandle))
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/ |
ActivationTask.java | 28 import android.telecom.PhoneAccountHandle; 130 PhoneAccountHandle phoneAccountHandle = PhoneAccountHandleConverter.fromSubId(subId); 131 if (phoneAccountHandle == null) { 140 VoicemailStatus.disable(getContext(), phoneAccountHandle); 144 .isVvmSourceRegistered(phoneAccountHandle)) { 146 phoneAccountHandle); 151 helper.handleEvent(VoicemailStatus.edit(getContext(), phoneAccountHandle), 156 VoicemailStatus.edit(getContext(), phoneAccountHandle) 199 updateSource(getContext(), phoneAccountHandle, getSubId(), status, message) [all...] |
VisualVoicemailPreferences.java | 22 import android.telecom.PhoneAccountHandle; 39 private final PhoneAccountHandle mPhoneAccountHandle; 41 public VisualVoicemailPreferences(Context context, PhoneAccountHandle phoneAccountHandle) { 43 mPhoneAccountHandle = phoneAccountHandle;
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
PhoneAccountTest.java | 35 import android.telecom.PhoneAccountHandle; 67 private static final PhoneAccountHandle PHONE_ACCOUNT_HANDLE = new PhoneAccountHandle( 103 final PhoneAccountHandle phoneAccountHandle = registerPhoneAccount().getAccountHandle(); 115 placeCallUsingTelecomManager(phoneAccountHandle); 117 placeCallUsingActionCall(phoneAccountHandle); 131 private void placeCallUsingTelecomManager(PhoneAccountHandle phoneAccountHandle) { 134 extras.putParcelable(TelecomManager.EXTRA_PHONE_ACCOUNT_HANDLE, phoneAccountHandle); [all...] |
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
CallBlockingTest.java | 29 import android.telecom.PhoneAccountHandle; 52 PhoneAccountHandle phoneAccountHandle = getPhoneAccountHandle(); 54 phoneAccountHandle, phoneAccountHandle.getId()) 73 // final PhoneAccountHandle phoneAccountHandle = registerPhoneAccount().getAccountHandle(); 107 private PhoneAccountHandle getPhoneAccountHandle() { 108 return new PhoneAccountHandle( 129 PhoneAccountHandle connectionManagerAccount, ConnectionRequest request) [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
CtsConnectionService.java | 26 import android.telecom.PhoneAccountHandle; 76 public static void setUp(PhoneAccountHandle phoneAccountHandle, 94 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 108 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 150 PhoneAccountHandle phoneAccountHandle, Connection connection) { 152 sTelecomConnectionService.addExistingConnection(phoneAccountHandle, connection); 166 PhoneAccountHandle connectionManagerPhoneAccount, 175 PhoneAccountHandle connectionManagerPhoneAccount [all...] |
CtsRemoteConnectionService.java | 26 import android.telecom.PhoneAccountHandle; 72 public static void setUp(PhoneAccountHandle phoneAccountHandle, 91 public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManagerPhoneAccount, 105 public Connection onCreateIncomingConnection(PhoneAccountHandle connectionManagerPhoneAccount,
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
CallUtil.java | 29 import android.telecom.PhoneAccountHandle; 65 PhoneAccountHandle phoneAccountHandle, String callSubject) { 69 if (phoneAccountHandle != null) { 70 intent.putExtra(TelecomManager.EXTRA_PHONE_ACCOUNT_HANDLE, phoneAccountHandle); 143 List<PhoneAccountHandle> accountHandles = telecommMgr.getCallCapablePhoneAccounts(); 144 for (PhoneAccountHandle accountHandle : accountHandles) { 195 List<PhoneAccountHandle> accountHandles = telecommMgr.getCallCapablePhoneAccounts(); 196 for (PhoneAccountHandle accountHandle : accountHandles) {
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/fetch/ |
VoicemailFetchedCallback.java | 24 import android.telecom.PhoneAccountHandle; 43 private final PhoneAccountHandle mPhoneAccountHandle; 46 PhoneAccountHandle phoneAccountHandle) { 50 mPhoneAccountHandle = phoneAccountHandle;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/telecom/ |
TelecomManagerCompat.java | 24 import android.telecom.PhoneAccountHandle; 71 PhoneAccountHandle accountHandle) { 74 PhoneAccountHandle.class))) { 81 * Returns a list of {@link PhoneAccountHandle}s which can be used to make and receive phone 86 * @return A list of PhoneAccountHandle objects. 88 public static List<PhoneAccountHandle> getCallCapablePhoneAccounts( 128 * @return The {@link PhoneAccountHandle} corresponding to the account to be used. 131 public static PhoneAccountHandle getDefaultOutgoingPhoneAccount( 145 * {@link TelecomManager#getLine1Number(PhoneAccountHandle)} is available 148 * @param phoneAccountHandle the phoneAccountHandle upon which to check the line one numbe [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
CdmaConferenceController.java | 24 import android.telecom.PhoneAccountHandle; 156 PhoneAccountHandle phoneAccountHandle = 158 mConference = new CdmaConference(phoneAccountHandle);
|
ImsConferenceController.java | 28 import android.telecom.PhoneAccountHandle; 321 PhoneAccountHandle phoneAccountHandle = null; 329 phoneAccountHandle = 334 phoneAccountHandle);
|
TelephonyConferenceController.java | 34 import android.telecom.PhoneAccountHandle; 243 PhoneAccountHandle phoneAccountHandle = null; 247 phoneAccountHandle = PhoneUtils.makePstnPhoneAccountHandle( 251 mTelephonyConference = new TelephonyConference(phoneAccountHandle);
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipUtil.java | 29 import android.telecom.PhoneAccountHandle; 78 * Creates a {@link PhoneAccountHandle} from the specified SIP profile name. 80 static PhoneAccountHandle createAccountHandle(Context context, String sipProfileName) { 81 return new PhoneAccountHandle( 86 * Determines the SIP profile name for a specified {@link PhoneAccountHandle}. 88 * @param phoneAccountHandle The {@link PhoneAccountHandle}. 91 static String getSipProfileNameFromPhoneAccount(PhoneAccountHandle phoneAccountHandle) { 92 if (phoneAccountHandle == null) [all...] |
/packages/apps/Settings/src/com/android/settings/sim/ |
SimDialogActivity.java | 27 import android.telecom.PhoneAccountHandle; 97 PhoneAccountHandle phoneAccountHandle = 101 setUserSelectedOutgoingPhoneAccount(phoneAccountHandle); 130 private void setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle phoneAccount) { 135 private PhoneAccountHandle subscriptionIdToPhoneAccountHandle(final int subId) { 138 final Iterator<PhoneAccountHandle> phoneAccounts = 142 final PhoneAccountHandle phoneAccountHandle = phoneAccounts.next(); 143 final PhoneAccount phoneAccount = telecomManager.getPhoneAccount(phoneAccountHandle); [all...] |
/packages/services/Telephony/src/com/android/phone/settings/ |
VoicemailChangePinActivity.java | 32 import android.telecom.PhoneAccountHandle; 77 private PhoneAccountHandle mPhoneAccountHandle; 466 public static void setDefaultOldPIN(Context context, PhoneAccountHandle phoneAccountHandle, 468 new VisualVoicemailPreferences(context, phoneAccountHandle) 473 PhoneAccountHandle phoneAccountHandle) { 474 return getDefaultOldPin(context, phoneAccountHandle) != null; 477 private static String getDefaultOldPin(Context context, PhoneAccountHandle phoneAccountHandle) { [all...] |