/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 | 23 import android.telecom.PhoneAccountHandle; 45 VisualVoicemailTask task, final PhoneAccountHandle phoneAccountHandle) { 59 if (!isServiceEnabled(phoneAccountHandle)) { 65 ActivationTask.start(OmtpService.this, phoneAccountHandle, null); 100 final VisualVoicemailTask task, final PhoneAccountHandle phoneAccountHandle) { 115 VvmAccountManager.removeAccount(this, phoneAccountHandle); 139 private boolean isServiceEnabled(PhoneAccountHandle phoneAccountHandle) { [all...] |
OmtpReceiver.java | 24 import android.telecom.PhoneAccountHandle; 66 PhoneAccountHandle phoneAccountHandle = intent.getParcelableExtra(DATA_PHONE_ACCOUNT_HANDLE); 67 OmtpVvmCarrierConfigHelper config = new OmtpVvmCarrierConfigHelper(context, phoneAccountHandle); 69 VvmLog.i(TAG, "VVM not supported on " + phoneAccountHandle); 72 if (!VisualVoicemailSettingsUtil.isEnabled(context, phoneAccountHandle) 81 ActivationTask.start(context, phoneAccountHandle, null); 95 VvmAccountManager.removeAccount(context, phoneAccountHandle);
|
/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/ |
VoicemailClient.java | 23 import android.telecom.PhoneAccountHandle; 44 /** Common key for passing {@link PhoneAccountHandle} in bundles. */ 55 * Whether the visual voicemail service is enabled for the {@code phoneAccountHandle}. "Enable" 60 boolean isVoicemailEnabled(Context context, PhoneAccountHandle phoneAccountHandle); 63 * Enable or disable visual voicemail service for the {@code phoneAccountHandle}. Setting to 67 void setVoicemailEnabled(Context context, PhoneAccountHandle phoneAccountHandle, boolean enabled); 100 boolean isVoicemailArchiveEnabled(Context context, PhoneAccountHandle 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 | 21 import android.telecom.PhoneAccountHandle; 38 * PhoneAccountHandle, StatusMessage)} should be called to store the connection information. When an 40 * #removeAccount(Context, PhoneAccountHandle)} should be called to clear the connection information 49 void onActivationStateChanged(PhoneAccountHandle phoneAccountHandle, boolean isActivated); 57 Context context, PhoneAccountHandle phoneAccountHandle, StatusMessage statusMessage) { 59 new VisualVoicemailPreferences(context, phoneAccountHandle); 65 listener.onActivationStateChanged(phoneAccountHandle, true); 70 public static void removeAccount(Context context, PhoneAccountHandle phoneAccount) [all...] |
/packages/apps/Dialer/java/com/android/voicemail/stub/ |
StubVoicemailClient.java | 21 import android.telecom.PhoneAccountHandle; 40 public boolean isVoicemailEnabled(Context context, PhoneAccountHandle phoneAccountHandle) { 46 Context context, PhoneAccountHandle phoneAccountHandle, boolean enabled) {} 62 public boolean isVoicemailArchiveEnabled(Context context, PhoneAccountHandle phoneAccountHandle) { 73 Context context, PhoneAccountHandle phoneAccountHandle, boolean value) {} 76 public Intent getSetPinIntent(Context context, PhoneAccountHandle phoneAccountHandle) [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 | 26 import android.telecom.PhoneAccountHandle; 51 @Nullable private PhoneAccountHandle phoneAccountHandle; 64 phoneAccountHandle = 67 omtpVvmCarrierConfigHelper = new OmtpVvmCarrierConfigHelper(getContext(), phoneAccountHandle); 88 .getSettingsIntentForChannel(getContext(), Channel.VOICEMAIL, phoneAccountHandle)); 116 Assert.isNotNull(phoneAccountHandle); 120 VoicemailChangePinActivity.EXTRA_PHONE_ACCOUNT_HANDLE, phoneAccountHandle); 132 if (VoicemailChangePinActivity.isDefaultOldPinSet(getContext(), phoneAccountHandle)) { 141 VisualVoicemailSettingsUtil.isEnabled(getContext(), 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 | 28 import android.telecom.PhoneAccountHandle; 52 PhoneAccountHandle phoneAccountHandle = 57 if (!hasVoicemailCountChanged(context, phoneAccountHandle, count)) { 80 .isActivated(context, phoneAccountHandle)) { 96 phoneAccountHandle, 104 Context context, PhoneAccountHandle phoneAccountHandle, int newCount) { 120 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...] |