/packages/apps/Dialer/java/com/android/contacts/common/compat/ |
H A D | PhoneAccountCompat.java | 31 * @param phoneAccount the PhoneAccount from which to build the icon. 37 @Nullable PhoneAccount phoneAccount, @Nullable Context context) { 38 if (phoneAccount == null || context == null) { 41 return createIconDrawableMarshmallow(phoneAccount, context); 46 PhoneAccount phoneAccount, Context context) { 47 Icon accountIcon = phoneAccount.getIcon(); 36 createIconDrawable( @ullable PhoneAccount phoneAccount, @Nullable Context context) argument 45 createIconDrawableMarshmallow( PhoneAccount phoneAccount, Context context) argument
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
H A D | PhoneAccountCompat.java | 35 * @param phoneAccount the PhoneAccount from which to retrieve the Icon 39 public static Icon getIcon(@Nullable PhoneAccount phoneAccount) { argument 40 if (phoneAccount == null) { 45 return phoneAccount.getIcon(); 55 * @param phoneAccount the PhoneAccount from which to build the icon. 61 public static Drawable createIconDrawable(@Nullable PhoneAccount phoneAccount, argument 63 if (phoneAccount == null || context == null) { 68 return createIconDrawableMarshmallow(phoneAccount, context); 72 return createIconDrawableLollipopMr1(phoneAccount, context); 78 private static Drawable createIconDrawableMarshmallow(PhoneAccount phoneAccount, argument 88 createIconDrawableLollipopMr1(PhoneAccount phoneAccount, Context context) argument [all...] |
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
H A D | SimulatorConnectionService.java | 69 PhoneAccountHandle phoneAccount, ConnectionRequest request) { 78 PhoneAccountHandle phoneAccount, ConnectionRequest request) { 68 onCreateOutgoingConnection( PhoneAccountHandle phoneAccount, ConnectionRequest request) argument 77 onCreateIncomingConnection( PhoneAccountHandle phoneAccount, ConnectionRequest request) argument
|
/packages/apps/Dialer/java/com/android/voicemail/impl/settings/ |
H A D | VisualVoicemailSettingsUtil.java | 34 Context context, PhoneAccountHandle phoneAccount, boolean isEnabled) { 35 VvmLog.i("VisualVoicemailSettingsUtil.setEnable", phoneAccount + " enabled:" + isEnabled); 36 new VisualVoicemailPreferences(context, phoneAccount) 40 OmtpVvmCarrierConfigHelper config = new OmtpVvmCarrierConfigHelper(context, phoneAccount); 44 VvmAccountManager.removeAccount(context, phoneAccount); 50 Context context, PhoneAccountHandle phoneAccount, boolean isEnabled) { 53 new VisualVoicemailPreferences(context, phoneAccount) 59 public static boolean isEnabled(Context context, PhoneAccountHandle phoneAccount) { argument 60 if (phoneAccount == null) { 64 VisualVoicemailPreferences prefs = new VisualVoicemailPreferences(context, phoneAccount); 33 setEnabled( Context context, PhoneAccountHandle phoneAccount, boolean isEnabled) argument 49 setArchiveEnabled( Context context, PhoneAccountHandle phoneAccount, boolean isEnabled) argument 73 isArchiveEnabled(Context context, PhoneAccountHandle phoneAccount) argument 87 isEnabledUserSet(Context context, PhoneAccountHandle phoneAccount) argument [all...] |
/packages/apps/Dialer/java/com/android/dialer/app/settings/ |
H A D | PhoneAccountSelectionFragment.java | 79 Context context, PhoneAccountHandle phoneAccountHandle, PhoneAccount phoneAccount) { 82 setTitle(phoneAccount.getLabel()); 83 setSummary(phoneAccount.getShortDescription()); 84 Icon icon = phoneAccount.getIcon(); 78 AccountPreference( Context context, PhoneAccountHandle phoneAccountHandle, PhoneAccount phoneAccount) argument
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
H A D | VoicemailStatusQueryHelper.java | 56 * @param phoneAccount The phone account for the voicemail source to check. 60 public boolean isVoicemailSourceConfigured(PhoneAccountHandle phoneAccount) { argument 61 return isFieldEqualTo(phoneAccount, CONFIGURATION_STATE, Status.CONFIGURATION_STATE_OK); 70 public boolean isNotificationsChannelActive(PhoneAccountHandle phoneAccount) { argument 72 phoneAccount, NOTIFICATION_CHANNEL_STATE, Status.NOTIFICATION_CHANNEL_STATE_OK); 78 * @param phoneAccount The phone account of the voicemail source to query for. 84 private boolean isFieldEqualTo(PhoneAccountHandle phoneAccount, int columnIndex, int value) { argument 86 if (phoneAccount != null) { 87 String phoneAccountComponentName = phoneAccount.getComponentName().flattenToString(); 88 String phoneAccountId = phoneAccount [all...] |
H A D | VvmAccountManager.java | 78 public static void removeAccount(Context context, PhoneAccountHandle phoneAccount) { argument 79 VoicemailStatus.disable(context, phoneAccount); 80 setAccountActivated(context, phoneAccount, false); 81 VisualVoicemailPreferences preferences = new VisualVoicemailPreferences(context, phoneAccount); 90 listener.onActivationStateChanged(phoneAccount, false); 95 public static boolean isAccountActivated(Context context, PhoneAccountHandle phoneAccount) { argument 96 Assert.isNotNull(phoneAccount); 98 getPreferenceForActivationState(context, phoneAccount); 99 migrateActivationState(context, preferences, phoneAccount);
|
H A D | VvmNetworkRequest.java | 99 PhoneAccountHandle phoneAccount, 101 super(config, phoneAccount, status); 97 FutureNetworkRequestCallback( OmtpVvmCarrierConfigHelper config, PhoneAccountHandle phoneAccount, VoicemailStatus.Editor status) argument
|
H A D | VvmNetworkRequestCallback.java | 61 Context context, PhoneAccountHandle phoneAccount, VoicemailStatus.Editor status) { 63 mPhoneAccount = phoneAccount; 71 PhoneAccountHandle phoneAccount, 74 mPhoneAccount = phoneAccount; 60 VvmNetworkRequestCallback( Context context, PhoneAccountHandle phoneAccount, VoicemailStatus.Editor status) argument 69 VvmNetworkRequestCallback( OmtpVvmCarrierConfigHelper config, PhoneAccountHandle phoneAccount, VoicemailStatus.Editor status) argument
|
H A D | OmtpVvmSyncService.java | 78 PhoneAccountHandle phoneAccount, 81 Assert.isTrue(phoneAccount != null); 82 VvmLog.v(TAG, "Sync requested: " + action + " - for account: " + phoneAccount); 83 setupAndSendRequest(task, phoneAccount, voicemail, action, status); 88 PhoneAccountHandle phoneAccount, 92 if (!VisualVoicemailSettingsUtil.isEnabled(mContext, phoneAccount)) { 96 if (!VvmAccountManager.isAccountActivated(mContext, phoneAccount)) { 97 ActivationTask.start(mContext, phoneAccount, null); 101 OmtpVvmCarrierConfigHelper config = new OmtpVvmCarrierConfigHelper(mContext, phoneAccount); 107 VoicemailStatus.edit(mContext, phoneAccount), OmtpEvent 75 sync( BaseTask task, String action, PhoneAccountHandle phoneAccount, Voicemail voicemail, VoicemailStatus.Editor status) argument 86 setupAndSendRequest( BaseTask task, PhoneAccountHandle phoneAccount, Voicemail voicemail, String action, VoicemailStatus.Editor status) argument 121 doSync( BaseTask task, Network network, PhoneAccountHandle phoneAccount, Voicemail voicemail, String action, VoicemailStatus.Editor status) argument [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
H A D | CdmaConference.java | 40 public CdmaConference(PhoneAccountHandle phoneAccount) { argument 41 super(phoneAccount);
|
H A D | TelephonyConference.java | 35 public TelephonyConference(PhoneAccountHandle phoneAccount) { argument 36 super(phoneAccount);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/ |
H A D | FetchVoicemailReceiver.java | 188 public fetchVoicemailNetworkRequestCallback(Context context, PhoneAccountHandle phoneAccount) { argument 189 super(context, phoneAccount, VoicemailStatus.edit(context, phoneAccount));
|
/packages/apps/Settings/src/com/android/settings/sim/ |
H A D | SimDialogActivity.java | 129 private void setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle phoneAccount) { argument 131 telecomManager.setUserSelectedOutgoingPhoneAccount(phoneAccount); 142 final PhoneAccount phoneAccount = telecomManager.getPhoneAccount(phoneAccountHandle); 143 if (subId == telephonyManager.getSubIdForPhoneAccount(phoneAccount)) { 212 final PhoneAccount phoneAccount = 214 list.add((String)phoneAccount.getLabel()); 215 int subId = telephonyManager.getSubIdForPhoneAccount(phoneAccount);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
H A D | Voicemail.java | 117 public Builder setPhoneAccount(PhoneAccountHandle phoneAccount) { argument 118 mBuilderPhoneAccount = phoneAccount;
|
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/ |
H A D | ImapHelper.java | 89 Context context, PhoneAccountHandle phoneAccount, Network network, Editor status) 93 new OmtpVvmCarrierConfigHelper(context, phoneAccount), 94 phoneAccount, 102 PhoneAccountHandle phoneAccount, 107 mPhoneAccount = phoneAccount; 111 mPrefs = new VisualVoicemailPreferences(context, phoneAccount); 88 ImapHelper( Context context, PhoneAccountHandle phoneAccount, Network network, Editor status) argument 99 ImapHelper( Context context, OmtpVvmCarrierConfigHelper config, PhoneAccountHandle phoneAccount, Network network, Editor status) argument
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | MissedCallNotifierImplTest.java | 200 PhoneAccount phoneAccount = makePhoneAccount(userHandle, NO_CAPABILITY); 202 CALL_TIMESTAMP, phoneAccount.getAccountHandle()); 227 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, NO_CAPABILITY); 229 CALL_TIMESTAMP, phoneAccount.getAccountHandle()); 284 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, NO_CAPABILITY); 285 notifySingleCallTestInternal(phoneAccount, PRIMARY_USER); 290 PhoneAccount phoneAccount = makePhoneAccount(SECONARY_USER, NO_CAPABILITY); 291 notifySingleCallTestInternal(phoneAccount, PRIMARY_USER); 296 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, 298 notifySingleCallTestInternal(phoneAccount, PRIMARY_USE 313 notifySingleCallTestInternal(PhoneAccount phoneAccount, UserHandle currentUser) argument [all...] |
H A D | ConnectionServiceFixture.java | 404 PhoneAccountHandle phoneAccount; field in class:ConnectionServiceFixture.ConferenceInfo 635 c.phoneAccount,
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | PhoneUtils.java | 2420 public static int getSubIdForPhoneAccount(PhoneAccount phoneAccount) { argument 2421 if (phoneAccount != null 2422 && phoneAccount.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION)) { 2423 return getSubIdForPhoneAccountHandle(phoneAccount.getAccountHandle());
|
H A D | PhoneInterfaceManager.java | 3202 public int getSubIdForPhoneAccount(PhoneAccount phoneAccount) { argument 3203 return PhoneUtils.getSubIdForPhoneAccount(phoneAccount);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | CallsManager.java | 846 PhoneAccount phoneAccount = mPhoneAccountRegistrar.getPhoneAccountUnchecked( 848 if (phoneAccount != null) { 849 call.setIsSelfManaged(phoneAccount.isSelfManaged()); 879 if (phoneAccount != null && 880 phoneAccount.hasCapabilities(PhoneAccount.CAPABILITY_RTT)) { 888 phoneAccount != null && phoneAccount.hasCapabilities( 1113 // Only dial with the requested phoneAccount if it is still valid. Otherwise treat this 1114 // call as if a phoneAccount was not specified (does the default behavior instead). 1115 // Note: We will not attempt to dial with a requested phoneAccount i 2018 createConferenceCall( String callId, PhoneAccountHandle phoneAccount, ParcelableConference parcelableConference) argument [all...] |