Searched defs:phoneAccount (Results 1 - 22 of 22) sorted by relevance

/packages/apps/Dialer/java/com/android/contacts/common/compat/
H A DPhoneAccountCompat.java31 * @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 DPhoneAccountCompat.java35 * @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/voicemail/impl/
H A DVvmPhoneStateListener.java34 private PhoneAccountHandle phoneAccount; field in class:VvmPhoneStateListener
43 phoneAccount = accountHandle;
48 if (phoneAccount == null) {
51 "onServiceStateChanged on phoneAccount "
52 + phoneAccount
67 OmtpVvmCarrierConfigHelper helper = new OmtpVvmCarrierConfigHelper(context, phoneAccount);
72 if (voicemailStatusQueryHelper.isVoicemailSourceConfigured(phoneAccount)) {
73 if (!voicemailStatusQueryHelper.isNotificationsChannelActive(phoneAccount)) {
74 VvmLog.v(TAG, "Notifications channel is active for " + phoneAccount);
76 VoicemailStatus.edit(context, phoneAccount), OmtpEvent
[all...]
H A DVoicemail.java30 private final PhoneAccountHandle phoneAccount; field in class:Voicemail
54 phoneAccount = phoneAccountHandle;
117 public Builder setPhoneAccount(PhoneAccountHandle phoneAccount) { argument
118 builderPhoneAccount = phoneAccount;
200 return phoneAccount;
270 if (phoneAccount == null) {
274 phoneAccount.writeToParcel(dest, flags);
316 phoneAccount = PhoneAccountHandle.CREATOR.createFromParcel(in);
318 phoneAccount = null;
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
H A DVoicemailStatusQueryHelper.java56 * @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 DVvmAccountManager.java73 public static void removeAccount(Context context, PhoneAccountHandle phoneAccount) { argument
74 VoicemailStatus.disable(context, phoneAccount);
75 setAccountActivated(context, phoneAccount, false);
76 VisualVoicemailPreferences preferences = new VisualVoicemailPreferences(context, phoneAccount);
85 listener.onActivationStateChanged(phoneAccount, false);
90 public static boolean isAccountActivated(Context context, PhoneAccountHandle phoneAccount) { argument
91 Assert.isNotNull(phoneAccount);
93 getPreferenceForActivationState(context, phoneAccount);
94 migrateActivationState(context, preferences, phoneAccount);
H A DVvmNetworkRequest.java99 PhoneAccountHandle phoneAccount,
101 super(config, phoneAccount, status);
97 FutureNetworkRequestCallback( OmtpVvmCarrierConfigHelper config, PhoneAccountHandle phoneAccount, VoicemailStatus.Editor status) argument
H A DOmtpVvmSyncService.java69 PhoneAccountHandle phoneAccount,
72 Assert.isTrue(phoneAccount != null);
73 VvmLog.v(TAG, "Sync requested for account: " + phoneAccount);
74 setupAndSendRequest(task, phoneAccount, voicemail, status);
79 PhoneAccountHandle phoneAccount,
82 if (!VisualVoicemailSettingsUtil.isEnabled(context, phoneAccount)) {
86 if (!VvmAccountManager.isAccountActivated(context, phoneAccount)) {
87 ActivationTask.start(context, phoneAccount, null);
91 OmtpVvmCarrierConfigHelper config = new OmtpVvmCarrierConfigHelper(context, phoneAccount);
97 VoicemailStatus.edit(context, phoneAccount), OmtpEvent
67 sync( BaseTask task, PhoneAccountHandle phoneAccount, Voicemail voicemail, VoicemailStatus.Editor status) argument
77 setupAndSendRequest( BaseTask task, PhoneAccountHandle phoneAccount, Voicemail voicemail, VoicemailStatus.Editor status) argument
111 doSync( BaseTask task, Network network, PhoneAccountHandle phoneAccount, Voicemail voicemail, VoicemailStatus.Editor status) argument
[all...]
H A DVvmNetworkRequestCallback.java52 protected PhoneAccountHandle phoneAccount; field in class:VvmNetworkRequestCallback
62 Context context, PhoneAccountHandle phoneAccount, VoicemailStatus.Editor status) {
64 this.phoneAccount = phoneAccount;
66 carrierConfigHelper = new OmtpVvmCarrierConfigHelper(context, this.phoneAccount);
72 PhoneAccountHandle phoneAccount,
75 this.phoneAccount = phoneAccount;
95 context.getSystemService(TelephonyManager.class).createForPhoneAccountHandle(phoneAccount);
61 VvmNetworkRequestCallback( Context context, PhoneAccountHandle phoneAccount, VoicemailStatus.Editor status) argument
70 VvmNetworkRequestCallback( OmtpVvmCarrierConfigHelper config, PhoneAccountHandle phoneAccount, VoicemailStatus.Editor status) argument
/packages/apps/Dialer/java/com/android/dialer/app/settings/
H A DPhoneAccountSelectionFragment.java79 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/dialer/simulator/impl/
H A DSimulatorConnectionService.java74 PhoneAccountHandle phoneAccount, ConnectionRequest request) {
118 PhoneAccountHandle phoneAccount, ConnectionRequest request) {
73 onCreateOutgoingConnection( PhoneAccountHandle phoneAccount, ConnectionRequest request) argument
117 onCreateIncomingConnection( PhoneAccountHandle phoneAccount, ConnectionRequest request) argument
/packages/apps/Dialer/java/com/android/voicemail/impl/settings/
H A DVisualVoicemailSettingsUtil.java39 Context context, PhoneAccountHandle phoneAccount, boolean isEnabled) {
40 VvmLog.i("VisualVoicemailSettingsUtil.setEnable", phoneAccount + " enabled:" + isEnabled);
41 new VisualVoicemailPreferences(context, phoneAccount)
45 OmtpVvmCarrierConfigHelper config = new OmtpVvmCarrierConfigHelper(context, phoneAccount);
49 VvmAccountManager.removeAccount(context, phoneAccount);
86 Context context, PhoneAccountHandle phoneAccount, boolean isEnabled) {
89 new VisualVoicemailPreferences(context, phoneAccount)
96 Context context, PhoneAccountHandle phoneAccount, boolean isEnabled) {
101 new VisualVoicemailPreferences(context, phoneAccount)
107 public static boolean isEnabled(Context context, PhoneAccountHandle phoneAccount) { argument
38 setEnabled( Context context, PhoneAccountHandle phoneAccount, boolean isEnabled) argument
85 setArchiveEnabled( Context context, PhoneAccountHandle phoneAccount, boolean isEnabled) argument
95 setVoicemailDonationEnabled( Context context, PhoneAccountHandle phoneAccount, boolean isEnabled) argument
121 isArchiveEnabled(Context context, PhoneAccountHandle phoneAccount) argument
128 isVoicemailDonationEnabled( Context context, PhoneAccountHandle phoneAccount) argument
142 isEnabledUserSet(Context context, PhoneAccountHandle phoneAccount) argument
[all...]
/packages/services/Telephony/src/com/android/services/telephony/
H A DTelephonyConference.java37 public TelephonyConference(PhoneAccountHandle phoneAccount) { argument
38 super(phoneAccount);
H A DCdmaConference.java40 public CdmaConference(PhoneAccountHandle phoneAccount) { argument
41 super(phoneAccount);
/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/
H A DFetchVoicemailReceiver.java72 private PhoneAccountHandle phoneAccount; field in class:FetchVoicemailReceiver
119 phoneAccount =
126 .createForPhoneAccountHandle(phoneAccount);
133 if (!VvmAccountManager.isAccountActivated(context, phoneAccount)) {
134 phoneAccount = getAccountFromMarshmallowAccount(context, phoneAccount);
135 if (phoneAccount == null) {
142 networkCallback = new fetchVoicemailNetworkRequestCallback(context, phoneAccount);
188 public fetchVoicemailNetworkRequestCallback(Context context, PhoneAccountHandle phoneAccount) { argument
189 super(context, phoneAccount, VoicemailStatu
[all...]
/packages/apps/Settings/src/com/android/settings/sim/
H A DSimDialogActivity.java129 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/imap/
H A DImapHelper.java73 private final PhoneAccountHandle phoneAccount; field in class:ImapHelper
90 Context context, PhoneAccountHandle phoneAccount, Network network, Editor status)
94 new OmtpVvmCarrierConfigHelper(context, phoneAccount),
95 phoneAccount,
103 PhoneAccountHandle phoneAccount,
108 this.phoneAccount = phoneAccount;
112 prefs = new VisualVoicemailPreferences(context, phoneAccount);
257 .setPhoneAccount(phoneAccount)
507 VoicemailStatus.edit(context, phoneAccount)
89 ImapHelper( Context context, PhoneAccountHandle phoneAccount, Network network, Editor status) argument
100 ImapHelper( Context context, OmtpVvmCarrierConfigHelper config, PhoneAccountHandle phoneAccount, Network network, Editor status) argument
[all...]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DMissedCallNotifierImplTest.java212 PhoneAccount phoneAccount = makePhoneAccount(userHandle, NO_CAPABILITY);
214 CALL_TIMESTAMP, phoneAccount.getAccountHandle());
240 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, NO_CAPABILITY);
242 CALL_TIMESTAMP, phoneAccount.getAccountHandle());
298 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER, NO_CAPABILITY);
299 notifySingleCallTestInternal(phoneAccount, PRIMARY_USER);
305 PhoneAccount phoneAccount = makePhoneAccount(SECONARY_USER, NO_CAPABILITY);
306 notifySingleCallTestInternal(phoneAccount, PRIMARY_USER);
312 PhoneAccount phoneAccount = makePhoneAccount(PRIMARY_USER,
314 notifySingleCallTestInternal(phoneAccount, PRIMARY_USE
331 notifySingleCallTestInternal(PhoneAccount phoneAccount, UserHandle currentUser) argument
[all...]
H A DConnectionServiceFixture.java426 PhoneAccountHandle phoneAccount; field in class:ConnectionServiceFixture.ConferenceInfo
661 c.phoneAccount,
/packages/services/Telephony/src/com/android/phone/
H A DPhoneUtils.java2309 public static int getSubIdForPhoneAccount(PhoneAccount phoneAccount) { argument
2310 if (phoneAccount != null
2311 && phoneAccount.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION)) {
2312 return getSubIdForPhoneAccountHandle(phoneAccount.getAccountHandle());
H A DPhoneInterfaceManager.java3512 public int getSubIdForPhoneAccount(PhoneAccount phoneAccount) { argument
3513 return PhoneUtils.getSubIdForPhoneAccount(phoneAccount);
/packages/services/Telecomm/src/com/android/server/telecom/
H A DCallsManager.java931 PhoneAccount phoneAccount = mPhoneAccountRegistrar.getPhoneAccountUnchecked(
933 if (phoneAccount != null) {
934 call.setIsSelfManaged(phoneAccount.isSelfManaged());
974 phoneAccount != null && phoneAccount.hasCapabilities(
1317 // Only dial with the requested phoneAccount if it is still valid. Otherwise treat this
1318 // call as if a phoneAccount was not specified (does the default behavior instead).
1319 // Note: We will not attempt to dial with a requested phoneAccount if it is disabled.
2269 PhoneAccountHandle phoneAccount,
2295 phoneAccount,
2267 createConferenceCall( String callId, PhoneAccountHandle phoneAccount, ParcelableConference parcelableConference) argument
[all...]

Completed in 911 milliseconds