/packages/services/Telephony/src/com/android/phone/vvm/ |
VvmSimStateTracker.java | 24 import android.telecom.PhoneAccountHandle; 59 private static Map<PhoneAccountHandle, ServiceStateListener> sListeners = new ArrayMap<>(); 65 private static Set<PhoneAccountHandle> sPreBootHandles = new ArraySet<>(); 73 private final PhoneAccountHandle mPhoneAccountHandle; 76 public ServiceStateListener(Context context, PhoneAccountHandle phoneAccountHandle) { 78 mPhoneAccountHandle = phoneAccountHandle; 128 // PhoneAccountHandle when the SIM is absent. 142 PhoneAccountHandle phoneAccountHandle [all...] |
VisualVoicemailSettingsUtil.java | 20 import android.telecom.PhoneAccountHandle; 32 public static Bundle dump(Context context, PhoneAccountHandle phoneAccountHandle){ 35 phoneAccountHandle);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/ |
CtsVisualVoicemailService.java | 19 import android.telecom.PhoneAccountHandle; 32 PhoneAccountHandle phoneAccountHandle); 35 PhoneAccountHandle phoneAccountHandle); 46 PhoneAccountHandle phoneAccountHandle) { 48 sCallback.onCellServiceConnected(task, phoneAccountHandle); 59 public void onSimRemoved(VisualVoicemailTask task, PhoneAccountHandle phoneAccountHandle) { [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
VisualVoicemailPreferences.java | 20 import android.telecom.PhoneAccountHandle; 30 public VisualVoicemailPreferences(Context context, PhoneAccountHandle phoneAccountHandle) { 33 phoneAccountHandle,
|
PreOMigrationHandler.java | 22 import android.telecom.PhoneAccountHandle; 55 public static void migrate(Context context, PhoneAccountHandle phoneAccountHandle) { 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) { 74 .createForPhoneAccountHandle(phoneAccountHandle); [all...] |
VoicemailStatus.java | 26 import android.telecom.PhoneAccountHandle; 35 @Nullable private final PhoneAccountHandle mPhoneAccountHandle; 39 private Editor(Context context, PhoneAccountHandle phoneAccountHandle) { 41 mPhoneAccountHandle = phoneAccountHandle; 51 public PhoneAccountHandle getPhoneAccountHandle() { 125 private DeferredEditor(Context context, PhoneAccountHandle phoneAccountHandle) { 126 super(context, phoneAccountHandle); 140 public static Editor edit(Context context, PhoneAccountHandle phoneAccountHandle) [all...] |
ActivationTask.java | 27 import android.telecom.PhoneAccountHandle; 89 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) { 130 VvmLog.e(TAG, "null PhoneAccountHandle"); 134 PreOMigrationHandler.migrate(getContext(), phoneAccountHandle); [all...] |
TelephonyMangerCompat.java | 21 import android.telecom.PhoneAccountHandle; 33 PhoneAccountHandle phoneAccountHandle, 47 .createForPhoneAccountHandle(phoneAccountHandle); 62 PhoneAccountHandle.class, 68 method.invoke(null, context, phoneAccountHandle, number, (short) port, text, sentIntent); 78 PhoneAccountHandle phoneAccountHandle, 90 .createForPhoneAccountHandle(phoneAccountHandle); 107 PhoneAccountHandle.class [all...] |
DeviceProvisionedJobService.java | 32 import android.telecom.PhoneAccountHandle; 46 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);
|
OmtpService.java | 27 import android.telecom.PhoneAccountHandle; 51 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) { [all...] |
VoicemailClientImpl.java | 27 import android.telecom.PhoneAccountHandle; 76 public boolean isVoicemailEnabled(Context context, PhoneAccountHandle phoneAccountHandle) { 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) { 94 return VisualVoicemailSettingsUtil.isArchiveEnabled(context, phoneAccountHandle); [all...] |
/packages/apps/Dialer/java/com/android/voicemail/ |
VoicemailClient.java | 26 import android.telecom.PhoneAccountHandle; 47 /** Common key for passing {@link PhoneAccountHandle} in bundles. */ 64 * Whether the visual voicemail service is enabled for the {@code phoneAccountHandle}. "Enable" 69 boolean isVoicemailEnabled(Context context, PhoneAccountHandle phoneAccountHandle); 72 * Enable or disable visual voicemail service for the {@code phoneAccountHandle}. Setting to 76 void setVoicemailEnabled(Context context, PhoneAccountHandle phoneAccountHandle, boolean enabled); 109 boolean isVoicemailArchiveEnabled(Context context, PhoneAccountHandle phoneAccountHandle); [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
Task.java | 23 import android.telecom.PhoneAccountHandle; 61 * Same operation for a different phoneAccountHandle is allowed. phoneAccountHandle is used to 65 public final PhoneAccountHandle phoneAccountHandle; 67 public TaskId(int id, PhoneAccountHandle phoneAccountHandle) { 69 this.phoneAccountHandle = phoneAccountHandle; 78 return id == other.id && phoneAccountHandle.equals(other.phoneAccountHandle) [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
UploadTask.java | 22 import android.telecom.PhoneAccountHandle; 45 public static void start(Context context, PhoneAccountHandle phoneAccountHandle) { 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)); [all...] |
VvmAccountManager.java | 25 import android.telecom.PhoneAccountHandle; 44 * PhoneAccountHandle, StatusMessage)} should be called to store the connection information. When an 46 * #removeAccount(Context, PhoneAccountHandle)} should be called to clear the connection information 56 void onActivationStateChanged(PhoneAccountHandle phoneAccountHandle, boolean isActivated); 64 Context context, PhoneAccountHandle phoneAccountHandle, StatusMessage statusMessage) { 66 new VisualVoicemailPreferences(context, phoneAccountHandle); 68 setAccountActivated(context, phoneAccountHandle, true); 73 listener.onActivationStateChanged(phoneAccountHandle, true) [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/settings/ |
VoicemailRingtonePreference.java | 26 import android.telecom.PhoneAccountHandle; 46 private PhoneAccountHandle phoneAccountHandle; 74 public void init(PhoneAccountHandle phoneAccountHandle, CharSequence oldRingtoneName) { 75 this.phoneAccountHandle = phoneAccountHandle; 84 telephonyManager.getVoicemailRingtoneUri(phoneAccountHandle), 98 return telephonyManager.getVoicemailRingtoneUri(phoneAccountHandle); 103 telephonyManager.setVoicemailRingtoneUri(phoneAccountHandle, ringtoneUri) [all...] |
VoicemailSettingsFragment.java | 27 import android.telecom.PhoneAccountHandle; 50 @Nullable private PhoneAccountHandle phoneAccountHandle; 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)); [all...] |
/packages/apps/Dialer/java/com/android/voicemail/stub/ |
StubVoicemailClient.java | 24 import android.telecom.PhoneAccountHandle; 43 public boolean isVoicemailEnabled(Context context, PhoneAccountHandle phoneAccountHandle) { 49 Context context, PhoneAccountHandle phoneAccountHandle, boolean enabled) {} 65 public boolean isVoicemailArchiveEnabled(Context context, PhoneAccountHandle phoneAccountHandle) { 76 Context context, PhoneAccountHandle phoneAccountHandle, boolean value) {} 79 public Intent getSetPinIntent(Context context, PhoneAccountHandle phoneAccountHandle) [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/ |
OmtpProtocol.java | 20 import android.telecom.PhoneAccountHandle; 30 PhoneAccountHandle phoneAccountHandle, 35 phoneAccountHandle,
|
Vvm3Protocol.java | 26 import android.telecom.PhoneAccountHandle; 113 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) [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
TelephonyConnectionServiceProxy.java | 21 import android.telecom.PhoneAccountHandle; 34 void addExistingConnection(PhoneAccountHandle phoneAccountHandle, 36 void addExistingConnection(PhoneAccountHandle phoneAccountHandle,
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
MissedCallNotifier.java | 21 import android.telecom.PhoneAccountHandle; 30 public CallInfo makeCallInfo(CallerInfo callerInfo, PhoneAccountHandle phoneAccountHandle, 32 return new CallInfo(callerInfo, phoneAccountHandle, handle, creationTimeMillis); 38 private PhoneAccountHandle mPhoneAccountHandle; 42 public CallInfo(CallerInfo callerInfo, PhoneAccountHandle phoneAccountHandle, Uri handle, 45 mPhoneAccountHandle = phoneAccountHandle; 61 public PhoneAccountHandle getPhoneAccountHandle() {
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
LegacyVoicemailNotificationReceiver.java | 29 import android.telecom.PhoneAccountHandle; 72 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));
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
MockVisualVoicemailService.java | 20 import android.telecom.PhoneAccountHandle; 39 PhoneAccountHandle phoneAccountHandle) { 51 public void onSimRemoved(VisualVoicemailTask task, PhoneAccountHandle phoneAccountHandle) {
|
/frameworks/base/telephony/java/android/telephony/ |
VisualVoicemailService.java | 32 import android.telecom.PhoneAccountHandle; 109 * @see #onCellServiceConnected(VisualVoicemailTask, PhoneAccountHandle) 111 * @see #onSimRemoved(VisualVoicemailTask, PhoneAccountHandle) 159 final PhoneAccountHandle handle = msg.getData() 189 * Called when the cellular service is connected on a {@link PhoneAccountHandle} for the first 195 * @param phoneAccountHandle The {@link PhoneAccountHandle} triggering this event. 199 PhoneAccountHandle phoneAccountHandle); 220 * @param phoneAccountHandle The {@link PhoneAccountHandle} triggering this event [all...] |