Searched refs:phoneAccountHandle (Results 1 - 25 of 87) sorted by relevance

1234

/packages/services/Telephony/src/com/android/phone/vvm/
H A DVvmSimStateTracker.java76 public ServiceStateListener(Context context, PhoneAccountHandle phoneAccountHandle) { argument
78 mPhoneAccountHandle = phoneAccountHandle;
142 PhoneAccountHandle phoneAccountHandle =
145 if ("null".equals(phoneAccountHandle.getId())) {
151 onCarrierConfigChanged(context, phoneAccountHandle);
156 for (PhoneAccountHandle phoneAccountHandle : sPreBootHandles) {
157 TelephonyManager telephonyManager = getTelephonyManager(context, phoneAccountHandle);
162 sListeners.put(phoneAccountHandle, null);
163 sendConnected(context, phoneAccountHandle);
165 listenToAccount(context, phoneAccountHandle);
171 sendConnected(Context context, PhoneAccountHandle phoneAccountHandle) argument
207 sendSimRemoved(Context context, PhoneAccountHandle phoneAccountHandle) argument
212 onCarrierConfigChanged(Context context, PhoneAccountHandle phoneAccountHandle) argument
238 listenToAccount(Context context, PhoneAccountHandle phoneAccountHandle) argument
245 getTelephonyManager(Context context, PhoneAccountHandle phoneAccountHandle) argument
[all...]
H A DVisualVoicemailSettingsUtil.java32 public static Bundle dump(Context context, PhoneAccountHandle phoneAccountHandle){ argument
35 phoneAccountHandle);
/packages/apps/Dialer/java/com/android/voicemail/impl/
H A DVisualVoicemailPreferences.java30 public VisualVoicemailPreferences(Context context, PhoneAccountHandle phoneAccountHandle) { argument
33 phoneAccountHandle,
H A DPreOMigrationHandler.java55 public static void migrate(Context context, PhoneAccountHandle phoneAccountHandle) { argument
58 new VisualVoicemailPreferences(context, phoneAccountHandle);
60 VvmLog.i("PreOMigrationHandler", phoneAccountHandle + " already migrated");
63 VvmLog.i("PreOMigrationHandler", "migrating " + phoneAccountHandle);
64 migrateSettings(context, phoneAccountHandle);
69 private static void migrateSettings(Context context, PhoneAccountHandle phoneAccountHandle) { argument
74 .createForPhoneAccountHandle(phoneAccountHandle);
91 VisualVoicemailSettingsUtil.setEnabled(context, phoneAccountHandle, enabled);
98 VoicemailChangePinActivity.setDefaultOldPIN(context, phoneAccountHandle, scrambledPin);
H A DVoicemailStatus.java39 private Editor(Context context, PhoneAccountHandle phoneAccountHandle) { argument
41 mPhoneAccountHandle = phoneAccountHandle;
125 private DeferredEditor(Context context, PhoneAccountHandle phoneAccountHandle) { argument
126 super(context, phoneAccountHandle);
140 public static Editor edit(Context context, PhoneAccountHandle phoneAccountHandle) { argument
141 return new Editor(context, phoneAccountHandle);
146 * phoneAccountHandle.
148 public static void disable(Context context, PhoneAccountHandle phoneAccountHandle) { argument
149 edit(context, phoneAccountHandle)
157 Context context, PhoneAccountHandle phoneAccountHandle) {
156 deferredEdit( Context context, PhoneAccountHandle phoneAccountHandle) argument
[all...]
H A DActivationTask.java89 Context context, PhoneAccountHandle phoneAccountHandle, @Nullable Bundle messageData) {
95 DeviceProvisionedJobService.activateAfterProvisioned(context, phoneAccountHandle);
99 Intent intent = BaseTask.createIntent(context, ActivationTask.class, phoneAccountHandle);
127 PhoneAccountHandle phoneAccountHandle = getPhoneAccountHandle();
128 if (phoneAccountHandle == null) {
134 PreOMigrationHandler.migrate(getContext(), phoneAccountHandle);
136 if (!VisualVoicemailSettingsUtil.isEnabled(getContext(), phoneAccountHandle)) {
142 new OmtpVvmCarrierConfigHelper(getContext(), phoneAccountHandle);
144 VvmLog.i(TAG, "VVM not supported on phoneAccountHandle " + phoneAccountHandle);
88 start( Context context, PhoneAccountHandle phoneAccountHandle, @Nullable Bundle messageData) argument
255 onSuccess(Context context, PhoneAccountHandle phoneAccountHandle) argument
265 clearLegacyVoicemailNotification( Context context, PhoneAccountHandle phoneAccountHandle) argument
275 hasSignal(Context context, PhoneAccountHandle phoneAccountHandle) argument
[all...]
H A DTelephonyMangerCompat.java33 PhoneAccountHandle phoneAccountHandle,
47 .createForPhoneAccountHandle(phoneAccountHandle);
68 method.invoke(null, context, phoneAccountHandle, number, (short) port, text, sentIntent);
78 PhoneAccountHandle phoneAccountHandle,
90 .createForPhoneAccountHandle(phoneAccountHandle);
109 return (String) method.invoke(null, context, phoneAccountHandle, settings);
31 sendVisualVoicemailSms( Context context, PhoneAccountHandle phoneAccountHandle, String number, int port, String text, PendingIntent sentIntent) argument
76 setVisualVoicemailSmsFilterSettings( Context context, PhoneAccountHandle phoneAccountHandle, VisualVoicemailSmsFilterSettings settings) argument
H A DDeviceProvisionedJobService.java46 Context context, PhoneAccountHandle phoneAccountHandle) {
58 intent.putExtra(EXTRA_PHONE_ACCOUNT_HANDLE, phoneAccountHandle);
67 PhoneAccountHandle phoneAccountHandle =
71 "restarting activation for " + phoneAccountHandle);
72 ActivationTask.start(this, phoneAccountHandle, null);
45 activateAfterProvisioned( Context context, PhoneAccountHandle phoneAccountHandle) argument
H A DOmtpService.java51 VisualVoicemailTask task, final PhoneAccountHandle phoneAccountHandle) {
65 if (!isServiceEnabled(phoneAccountHandle)) {
71 ActivationTask.start(OmtpService.this, phoneAccountHandle, null);
106 final VisualVoicemailTask task, final PhoneAccountHandle phoneAccountHandle) {
127 VvmAccountManager.removeAccount(this, phoneAccountHandle);
167 private boolean isServiceEnabled(PhoneAccountHandle phoneAccountHandle) { argument
168 OmtpVvmCarrierConfigHelper config = new OmtpVvmCarrierConfigHelper(this, phoneAccountHandle);
170 VvmLog.i(TAG, "VVM not supported on " + phoneAccountHandle);
173 if (!VisualVoicemailSettingsUtil.isEnabled(this, phoneAccountHandle)
50 onCellServiceConnected( VisualVoicemailTask task, final PhoneAccountHandle phoneAccountHandle) argument
105 onSimRemoved( final VisualVoicemailTask task, final PhoneAccountHandle phoneAccountHandle) argument
H A DVoicemailClientImpl.java76 public boolean isVoicemailEnabled(Context context, PhoneAccountHandle phoneAccountHandle) { argument
77 return VisualVoicemailSettingsUtil.isEnabled(context, phoneAccountHandle);
82 Context context, PhoneAccountHandle phoneAccountHandle, boolean enabled) {
83 VisualVoicemailSettingsUtil.setEnabled(context, phoneAccountHandle, enabled);
93 public boolean isVoicemailArchiveEnabled(Context context, PhoneAccountHandle phoneAccountHandle) { argument
94 return VisualVoicemailSettingsUtil.isArchiveEnabled(context, phoneAccountHandle);
117 Context context, PhoneAccountHandle phoneAccountHandle, boolean value) {
118 VisualVoicemailSettingsUtil.setArchiveEnabled(context, phoneAccountHandle, value);
122 public Intent getSetPinIntent(Context context, PhoneAccountHandle phoneAccountHandle) { argument
124 intent.putExtra(VoicemailChangePinActivity.EXTRA_PHONE_ACCOUNT_HANDLE, phoneAccountHandle);
81 setVoicemailEnabled( Context context, PhoneAccountHandle phoneAccountHandle, boolean enabled) argument
116 setVoicemailArchiveEnabled( Context context, PhoneAccountHandle phoneAccountHandle, boolean value) argument
129 isActivated(Context context, PhoneAccountHandle phoneAccountHandle) argument
141 getConfig(Context context, PhoneAccountHandle phoneAccountHandle) argument
[all...]
H A DStatusCheckJobService.java58 for (PhoneAccountHandle phoneAccountHandle :
60 if (VvmAccountManager.isAccountActivated(this, phoneAccountHandle)) {
61 StatusCheckTask.start(this, phoneAccountHandle);
/packages/apps/Dialer/java/com/android/voicemail/
H A DVoicemailClient.java64 * Whether the visual voicemail service is enabled for the {@code phoneAccountHandle}. "Enable"
69 boolean isVoicemailEnabled(Context context, PhoneAccountHandle phoneAccountHandle); argument
72 * Enable or disable visual voicemail service for the {@code phoneAccountHandle}. Setting to
76 void setVoicemailEnabled(Context context, PhoneAccountHandle phoneAccountHandle, boolean enabled); argument
109 boolean isVoicemailArchiveEnabled(Context context, PhoneAccountHandle phoneAccountHandle); argument
119 Context context, PhoneAccountHandle phoneAccountHandle, boolean value);
125 Intent getSetPinIntent(Context context, PhoneAccountHandle phoneAccountHandle); argument
129 * phoneAccountHandle}. "Enable" is the intention to use VVM. For example VVM can be enabled but
133 boolean isActivated(Context context, PhoneAccountHandle phoneAccountHandle); argument
144 @NonNull Context context, @Nullable PhoneAccountHandle phoneAccountHandle);
118 setVoicemailArchiveEnabled( Context context, PhoneAccountHandle phoneAccountHandle, boolean value) argument
143 getConfig( @onNull Context context, @Nullable PhoneAccountHandle phoneAccountHandle) argument
[all...]
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
H A DTask.java61 * Same operation for a different phoneAccountHandle is allowed. phoneAccountHandle is used to
65 public final PhoneAccountHandle phoneAccountHandle; field in class:Task.TaskId
67 public TaskId(int id, PhoneAccountHandle phoneAccountHandle) { argument
69 this.phoneAccountHandle = phoneAccountHandle;
78 return id == other.id && phoneAccountHandle.equals(other.phoneAccountHandle);
83 return Objects.hash(id, phoneAccountHandle);
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
H A DUploadTask.java45 public static void start(Context context, PhoneAccountHandle phoneAccountHandle) { argument
46 Intent intent = BaseTask.createIntent(context, UploadTask.class, phoneAccountHandle);
59 PhoneAccountHandle phoneAccountHandle = getPhoneAccountHandle();
60 if (phoneAccountHandle == null) {
62 VvmLog.e(TAG, "null phone account for phoneAccountHandle " + getPhoneAccountHandle());
68 phoneAccountHandle,
70 VoicemailStatus.edit(getContext(), phoneAccountHandle));
H A DVvmAccountManager.java56 void onActivationStateChanged(PhoneAccountHandle phoneAccountHandle, boolean isActivated); argument
64 Context context, PhoneAccountHandle phoneAccountHandle, StatusMessage statusMessage) {
66 new VisualVoicemailPreferences(context, phoneAccountHandle);
68 setAccountActivated(context, phoneAccountHandle, true);
73 listener.onActivationStateChanged(phoneAccountHandle, true);
106 for (PhoneAccountHandle phoneAccountHandle :
108 if (isAccountActivated(context, phoneAccountHandle)) {
109 results.add(phoneAccountHandle);
134 PhoneAccountHandle phoneAccountHandle) {
143 new VisualVoicemailPreferences(context, phoneAccountHandle);
63 addAccount( Context context, PhoneAccountHandle phoneAccountHandle, StatusMessage statusMessage) argument
131 migrateActivationState( Context context, PerAccountSharedPreferences deviceProtectedPreference, PhoneAccountHandle phoneAccountHandle) argument
153 setAccountActivated( Context context, PhoneAccountHandle phoneAccountHandle, boolean activated) argument
162 getPreferenceForActivationState( Context context, PhoneAccountHandle phoneAccountHandle) argument
[all...]
/packages/apps/Dialer/java/com/android/voicemail/impl/settings/
H A DVoicemailRingtonePreference.java46 private PhoneAccountHandle phoneAccountHandle; field in class:VoicemailRingtonePreference
74 public void init(PhoneAccountHandle phoneAccountHandle, CharSequence oldRingtoneName) { argument
75 this.phoneAccountHandle = phoneAccountHandle;
84 telephonyManager.getVoicemailRingtoneUri(phoneAccountHandle),
98 return telephonyManager.getVoicemailRingtoneUri(phoneAccountHandle);
103 telephonyManager.setVoicemailRingtoneUri(phoneAccountHandle, ringtoneUri);
H A DVoicemailSettingsFragment.java50 @Nullable private PhoneAccountHandle phoneAccountHandle; field in class:VoicemailSettingsFragment
63 phoneAccountHandle =
66 omtpVvmCarrierConfigHelper = new OmtpVvmCarrierConfigHelper(getContext(), phoneAccountHandle);
114 Assert.isNotNull(phoneAccountHandle);
118 VoicemailChangePinActivity.EXTRA_PHONE_ACCOUNT_HANDLE, phoneAccountHandle);
130 if (VoicemailChangePinActivity.isDefaultOldPinSet(getContext(), phoneAccountHandle)) {
139 VisualVoicemailSettingsUtil.isEnabled(getContext(), phoneAccountHandle));
143 VisualVoicemailSettingsUtil.isArchiveEnabled(getContext(), phoneAccountHandle));
184 VisualVoicemailSettingsUtil.setEnabled(getContext(), phoneAccountHandle, isEnabled);
196 getContext(), phoneAccountHandle, (boolea
229 onActivationStateChanged(PhoneAccountHandle phoneAccountHandle, boolean isActivated) argument
[all...]
/packages/apps/Dialer/java/com/android/voicemail/stub/
H A DStubVoicemailClient.java43 public boolean isVoicemailEnabled(Context context, PhoneAccountHandle phoneAccountHandle) { argument
49 Context context, PhoneAccountHandle phoneAccountHandle, boolean enabled) {}
65 public boolean isVoicemailArchiveEnabled(Context context, PhoneAccountHandle phoneAccountHandle) { argument
76 Context context, PhoneAccountHandle phoneAccountHandle, boolean value) {}
79 public Intent getSetPinIntent(Context context, PhoneAccountHandle phoneAccountHandle) { argument
84 public boolean isActivated(Context context, PhoneAccountHandle phoneAccountHandle) { argument
93 @NonNull Context context, @Nullable PhoneAccountHandle phoneAccountHandle) {
48 setVoicemailEnabled( Context context, PhoneAccountHandle phoneAccountHandle, boolean enabled) argument
75 setVoicemailArchiveEnabled( Context context, PhoneAccountHandle phoneAccountHandle, boolean value) argument
92 getConfig( @onNull Context context, @Nullable PhoneAccountHandle phoneAccountHandle) argument
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
H A DOmtpProtocol.java30 PhoneAccountHandle phoneAccountHandle,
35 phoneAccountHandle,
28 createMessageSender( Context context, PhoneAccountHandle phoneAccountHandle, short applicationPort, String destinationNumber) argument
H A DVvm3Protocol.java113 PhoneAccountHandle phoneAccountHandle,
125 new Vvm3Subscriber(task, phoneAccountHandle, config, status, data).subscribe();
133 new VisualVoicemailPreferences(config.getContext(), phoneAccountHandle);
136 startProvisionNewUser(task, phoneAccountHandle, config, status, message);
139 VisualVoicemailSettingsUtil.setEnabled(config.getContext(), phoneAccountHandle, false);
149 PhoneAccountHandle phoneAccountHandle,
152 return new Vvm3MessageSender(context, phoneAccountHandle, applicationPort, destinationNumber);
206 PhoneAccountHandle phoneAccountHandle,
211 VvmNetworkRequest.getNetwork(config, phoneAccountHandle, status)) {
216 new ImapHelper(config.getContext(), phoneAccountHandle, networ
111 startProvisioning( ActivationTask task, PhoneAccountHandle phoneAccountHandle, OmtpVvmCarrierConfigHelper config, VoicemailStatus.Editor status, StatusMessage message, Bundle data) argument
147 createMessageSender( Context context, PhoneAccountHandle phoneAccountHandle, short applicationPort, String destinationNumber) argument
204 startProvisionNewUser( ActivationTask task, PhoneAccountHandle phoneAccountHandle, OmtpVvmCarrierConfigHelper config, VoicemailStatus.Editor status, StatusMessage message) argument
248 setPin( Context context, PhoneAccountHandle phoneAccountHandle, ImapHelper helper, StatusMessage message) argument
291 getMinimumPinLength(Context context, PhoneAccountHandle phoneAccountHandle) argument
[all...]
H A DCvvmProtocol.java39 PhoneAccountHandle phoneAccountHandle,
43 context, phoneAccountHandle, applicationPort, destinationNumber);
37 createMessageSender( Context context, PhoneAccountHandle phoneAccountHandle, short applicationPort, String destinationNumber) argument
/packages/services/Telephony/src/com/android/services/telephony/
H A DTelephonyConnectionServiceProxy.java34 void addExistingConnection(PhoneAccountHandle phoneAccountHandle, argument
36 void addExistingConnection(PhoneAccountHandle phoneAccountHandle, argument
/packages/services/Telecomm/src/com/android/server/telecom/
H A DMissedCallNotifier.java30 public CallInfo makeCallInfo(CallerInfo callerInfo, PhoneAccountHandle phoneAccountHandle, argument
32 return new CallInfo(callerInfo, phoneAccountHandle, handle, creationTimeMillis);
42 public CallInfo(CallerInfo callerInfo, PhoneAccountHandle phoneAccountHandle, Uri handle, argument
45 mPhoneAccountHandle = phoneAccountHandle;
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
H A DLegacyVoicemailNotificationReceiver.java72 PhoneAccountHandle phoneAccountHandle =
76 if (!hasVoicemailCountChanged(context, phoneAccountHandle, count)) {
98 .isActivated(context, phoneAccountHandle)) {
114 phoneAccountHandle,
123 Context context, PhoneAccountHandle phoneAccountHandle, int newCount) {
139 context, phoneAccountHandle, PreferenceManager.getDefaultSharedPreferences(context));
122 hasVoicemailCountChanged( Context context, PhoneAccountHandle phoneAccountHandle, int newCount) argument
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
H A DVvm3MessageSender.java33 PhoneAccountHandle phoneAccountHandle,
36 super(context, phoneAccountHandle, applicationPort, destinationNumber);
31 Vvm3MessageSender( Context context, PhoneAccountHandle phoneAccountHandle, short applicationPort, String destinationNumber) argument

Completed in 638 milliseconds

1234