Lines Matching defs:phone
17 package com.android.phone;
55 import com.android.internal.telephony.Phone;
59 import com.android.phone.settings.VoicemailSettingsActivity;
66 * NotificationManager-related utility code for the Phone app.
250 Phone phone = PhoneGlobals.getPhone(subId);
255 if (phone == null) {
256 Log.w(LOG_TAG, "Found null phone for: " + subId);
279 String vmNumber = phone.getVoiceMailNumber();
283 // (1) This phone has no voicemail number.
284 // (2) This phone has a voicemail number, but the SIM isn't ready yet. This may
288 if ((vmNumber == null) && !phone.getIccRecordsLoaded()) {
295 if (TelephonyCapabilities.supportsVoiceMessageCount(phone)) {
296 vmCount = phone.getVoiceMessageCount();
302 PhoneAccountHandle phoneAccountHandle = PhoneUtils.makePstnPhoneAccountHandle(phone);
360 if (!maybeSendVoicemailNotificationUsingDefaultDialer(phone, vmCount, vmNumber,
378 phone, 0, null, null,
395 * @param phone The phone the notification is sent from
398 * @param number The voicemail phone number if specified.
406 private boolean maybeSendVoicemailNotificationUsingDefaultDialer(Phone phone, Integer count,
415 PhoneUtils.makePstnPhoneAccountHandle(phone));
504 intent.setClassName("com.android.phone", "com.android.phone.CallFeaturesSetting");
531 Intent intent = new Intent(mContext, com.android.phone.MobileNetworkSettings.class);
603 * @param serviceState Phone service state
608 Phone phone = SubscriptionManager.isValidPhoneId(phoneId) ?
610 if (TelephonyCapabilities.supportsNetworkSelection(phone)) {
618 sp.getString(Phone.NETWORK_SELECTION_NAME_KEY + subId, "");
621 sp.getString(Phone.NETWORK_SELECTION_KEY + subId, "");