/packages/services/Telephony/src/com/android/phone/ |
CallerInfoCache.java | 17 package com.android.phone; 29 import android.provider.ContactsContract.CommonDataKinds.Phone; 55 // Assuming DATA.DATA1 corresponds to Phone.NUMBER and SipAddress.ADDRESS, we just use 57 // SIP cases, Phone.NORMALIZED_NUMBER is used as is instead of using Data. 60 Phone.NORMALIZED_NUMBER, // 1 139 * - last 7 digits of each "normalized phone number when it is for PSTN phone call, or
|
IccNetworkDepersonalizationPanel.java | 17 package com.android.phone; 39 import com.android.internal.telephony.Phone; 47 * phone app (see bug 1804111). 63 private Phone mPhone;
|
NotificationMgr.java | 17 package com.android.phone; 50 import com.android.internal.telephony.Phone; 52 import com.android.phone.settings.VoicemailSettingsActivity; 53 import com.android.phone.vvm.omtp.sync.VoicemailStatusQueryHelper; 54 import com.android.phone.settings.VoicemailNotificationSettingsUtil; 61 * NotificationManager-related utility code for the Phone app. 88 private Phone mPhone; 208 Phone phone = PhoneGlobals.getPhone(subId); local 209 if (visible && phone != null) [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
CdmaConnection.java | 29 import com.android.internal.telephony.Phone; 30 import com.android.phone.settings.SettingsConstants; 36 * Manages a single phone call handled by CDMA. 231 * Read the settings to determine which type of DTMF method this CDMA phone calls. 284 Phone phone = getPhone(); local 285 return phone != null && 287 phone.getContext(), getAddress().getSchemeSpecificPart());
|
ImsConferenceController.java | 19 import com.android.internal.telephony.Phone; 21 import com.android.phone.PhoneUtils; 326 // Attempt to determine the phone account associated with the conference host connection. 329 Phone imsPhone = connection.getPhone(); 330 // The phone account handle for an ImsPhone is based on the default phone (ie the 331 // base GSM or CDMA phone, not on the ImsPhone itself).
|
ImsConference.java | 36 import com.android.internal.telephony.Phone; 38 import com.android.phone.PhoneUtils; 39 import com.android.phone.R; 260 * @param phoneAccountHandle The phone account handle associated with the conference. 418 Phone phone = ((TelephonyConnection) connection).getPhone(); local 419 if (phone != null) { 420 phone.conference(); 558 // Attempt to get the conference host's address (e.g. the host's own phone number). 559 // We need to look at the default phone for the ImsPhone when creating the phone accoun 886 Phone phone = mConferenceHost.getPhone(); local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsNumberUtils.java | 64 /* <Phone Number>, <NXX>-<XXXX> N[2-9] */ 67 /* <Area_code>-<Phone Number>, <NXX>-<NXX>-<XXXX> N[2-9] */ 70 /* <1>-<Area_code>-<Phone Number>, 1-<NXX>-<NXX>-<XXXX> N[2-9] */ 73 /* <+><U.S.Country_code><Area_code><Phone Number>, +1-<NXX>-<NXX>-<XXXX> N[2-9] */ 76 /* <Local_IDD><Country_code><Area_code><Phone Number>, 001-1-<NXX>-<NXX>-<XXXX> N[2-9] */ 79 /* <+><Home_IDD><Country_code><Area_code><Phone Number>, +011-1-<NXX>-<NXX>-<XXXX> N[2-9] */ 83 /* <+>-<Home_IDD>-<Country_code>-<Area_code>-<Phone Number>, +011-86-25-86281234 */ 86 /* <Home_IDD>-<Country_code>-<Area_code>-<Phone Number>, 011-86-25-86281234 */ 89 /* <NBPCD>-<Country_code>-<Area_code>-<Phone Number>, +1-86-25-86281234 */ 92 /* <Local_IDD>-<Country_code>-<Area_code>-<Phone Number>, 00-86-25-86281234 * [all...] |
GsmCdmaConnection.java | 120 public GsmCdmaConnection (GsmCdmaPhone phone, DriverCall dc, GsmCdmaCallTracker ct, int index) { 121 super(phone.getPhoneType()); 122 createWakeLock(phone.getContext()); 142 fetchDtmfToneDelay(phone); 146 public GsmCdmaConnection (GsmCdmaPhone phone, String dialString, GsmCdmaCallTracker ct, 148 super(phone.getPhoneType()); 149 createWakeLock(phone.getContext()); 190 fetchDtmfToneDelay(phone); 284 // On mobile originated (MO) calls, the phone number may have changed 288 // and therefore don't need to compare the phone number anyway 487 GsmCdmaPhone phone = mOwner.getPhone(); local [all...] |
PhoneSwitcher.java | 57 * and determine which phone/phones are active. 75 private final Phone[] mPhones; 106 CommandsInterface[] cis, Phone[] phones) { 210 for (Phone p : mPhones) { 265 * Otherwise, go through the requests in priority order adding their phone 267 * phones that aren't in the active phone list. Finally, activate all 268 * phones in the active phone list. 289 sb.append(" phone[").append(i).append("] ").append(mPhoneSubscriptions[i]); 312 log(" phone[" + i + "] using sub[" + mPhoneSubscriptions[i] + "]");
|
UiccSmsController.java | 45 protected Phone[] mPhone; 47 protected UiccSmsController(Phone[] phone){ 48 mPhone = phone; 340 ((Phone)mPhone[(int)phoneId]).getIccSmsInterfaceManager();
|
Call.java | 80 public abstract Phone getPhone();
|
Phone.java | 76 * A base implementation for the com.android.internal.telephony.Phone interface. 78 * Note that implementations of Phone.java are expected to be used 86 public abstract class Phone extends Handler implements PhoneInternalInterface { 87 private static final String LOG_TAG = "Phone"; 105 synchronized (Phone.lockForRadioTechnologyChange) { 248 protected Phone mImsPhone = null; 329 * Returns a string identifier for this phone interface for parties 330 * outside the phone app process. 393 * Constructs a Phone in normal (non-unit test) mode. 402 protected Phone(String name, PhoneNotifier notifier, Context context, CommandsInterface ci [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ContactInfoHelper.java | 24 import android.provider.ContactsContract.CommonDataKinds.Phone; 89 // If lookup failed, check if the "username" of the SIP address is a phone number. 96 // Look for a contact that has the given phone number. 124 * @param number - Unknown phone number 130 final JSONObject contactRows = new JSONObject().put(Phone.CONTENT_ITEM_TYPE, 131 new JSONObject().put(Phone.NUMBER, number).put(Phone.TYPE, Phone.TYPE_CUSTOM)); 134 .put(Contacts.DISPLAY_NAME_SOURCE, DisplayNameSources.PHONE) 239 * Determines the contact information for the given phone number [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
EriManager.java | 27 import com.android.internal.telephony.Phone; 100 private final Phone mPhone; 102 public EriManager(Phone phone, Context context, int eriFileSource) { 103 mPhone = phone; 135 * In this case the ERI file can be updated from the Phone Support Tool available 145 * In this case the a Phone Support Tool to update the ERI file must be provided
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsPhoneBase.java | 40 import com.android.internal.telephony.Phone; 49 abstract class ImsPhoneBase extends Phone { 63 public void migrateFrom(Phone from) { 203 * Notify any interested party of a Phone state change 550 Rlog.d(LOG_TAG, " ^^^ new phone state: " + mState);
|
ImsExternalCallTracker.java | 24 import com.android.internal.telephony.Phone; 88 public ImsExternalCallTracker(ImsPhone phone, ImsPullCall callPuller) { 89 mPhone = phone; 171 state.getAddress().getSchemeSpecificPart() /* phone number */,
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
CallManagerTest.java | 59 Phone mSecondPhone; 80 logd("Phone registered with CallManager"); 81 registerForPhone((Phone) msg.obj); 93 private void registerForPhone(Phone mPhone) { 102 /* Mock Phone and Call, initially all calls are idle */ 134 /* return the default phone if there is no any active call */ 142 //verify can dial and dial function of the phone is being triggered 161 //verify can dial and dial function of the phone is being triggered 240 /* case 3: both active and held calls from same phone, aka, swap */ 245 /* case 4: active and held calls from different phones, aka, phone swap * [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
VCardResourceEntry.java | 24 import android.provider.ContactsContract.CommonDataKinds.Phone; 171 for (final PhoneData phone : vcard.getPhoneList()) { 173 intent.setData(Uri.parse("tel:" + phone.getNumber())); 174 retList.add(new VCardResourceEntryDestinationItem(phone.getNumber(), 175 Phone.getTypeLabel(resources, phone.getType(), phone.getLabel()).toString(), 186 Phone.getTypeLabel(resources, email.getType(), 332 * Represents one entry line (e.g. phone number and phone label) for a single contact. Eac [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
SimStatus.java | 56 import com.android.internal.telephony.Phone; 67 * # Phone Number 105 private Phone mPhone = null; 421 final Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId( local 425 if (phone == null) { 426 Log.e(TAG, "Unable to locate a phone object for the given Subscription ID."); 430 mPhone = phone;
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
EditFdnContactScreen.java | 17 package com.android.phone.settings.fdn; 51 import com.android.phone.PhoneGlobals; 52 import com.android.phone.R; 53 import com.android.phone.SubscriptionInfoHelper; 92 /** projection for phone number query */ 93 private static final String[] NUM_PROJECTION = new String[] {CommonDataKinds.Phone.DISPLAY_NAME, 94 CommonDataKinds.Phone.NUMBER}; 95 /** static intent to invoke phone number picker */ 99 CONTACT_IMPORT_INTENT.setType(CommonDataKinds.Phone.CONTENT_ITEM_TYPE); 395 // an inappropriate phone number [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
MoreContactUtils.java | 58 // if this is not about phone numbers, we know this is not a match (of course, some 60 if (!TextUtils.equals(ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE, 78 // Now do the full phone number thing. split into parts, separated by waiting symbol 85 // Match phone numbers represented by keypad letters, in which case prefer the 86 // phone number with letters. 105 // For NANP phone numbers, match when one has +1 and the other does not. 168 throw new IllegalStateException("Unknown result value from phone number " +
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
ValuesDelta.java | 563 return getAsString(ContactsContract.CommonDataKinds.Phone.NUMBER); 567 return getAsString(ContactsContract.CommonDataKinds.Phone.NORMALIZED_NUMBER); 575 return getAsInteger(ContactsContract.CommonDataKinds.Phone.TYPE); 579 return getAsString(ContactsContract.CommonDataKinds.Phone.LABEL);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
LegacyApiSupport.java | 42 import android.provider.ContactsContract.CommonDataKinds.Phone; 136 + " LEFT OUTER JOIN data phone ON (raw_contacts._id = phone.raw_contact_id" 137 + " AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = phone.mimetype_id)" 138 + "='" + Phone.CONTENT_ITEM_TYPE + "' AND phone.is_primary)"; 233 Phone.CONTENT_ITEM_TYPE 585 "phone." + Data._ID 587 "phone." + Phone.NUMBE [all...] |
/platform_testing/tests/jank/sysapp/src/com/android/sysapp/janktests/ |
ContactsJankTests.java | 95 ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null, null, null, null);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_structures.py | 278 class Phone(Structure): 284 ("phone", Phone), 290 self.assertEqual(p.phone.areacode, "1234") 291 self.assertEqual(p.phone.number, "5678") 315 class Phone(Structure): 321 ("phone", Phone), 329 "(Phone) <type 'exceptions.TypeError'>: " 333 "(Phone) exceptions.TypeError: [all...] |