/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
ContactEntry.java | 29 * Encapsulates data about a phone Contact entry. Typically loaded from the local Contact store. 52 * Phone number. 100 int typeColumnIndex = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.DATA2); 101 int labelColumnIndex = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.DATA3);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
CallLogInteraction.java | 26 import android.provider.ContactsContract.CommonDataKinds.Phone; 42 * this class ignores number presentation. Number presentation affects how to identify phone 43 * numbers. Since, we already know the identity of the phone number owner we can ignore number 93 return Phone.getTypeLabel(context.getResources(), getCachedNumberType(),
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
DataItem.java | 29 import android.provider.ContactsContract.CommonDataKinds.Phone; 65 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) {
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
DataItem.java | 29 import android.provider.ContactsContract.CommonDataKinds.Phone; 62 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) {
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
AllContactsFragment.java | 29 import android.provider.ContactsContract.CommonDataKinds.Phone; 52 /** Fragments to show all contacts with phone numbers. */ 159 QuickContact.showQuickContact(getContext(), view, uri, null, Phone.CONTENT_ITEM_TYPE);
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
ContactListItemView.java | 21 import android.provider.ContactsContract.CommonDataKinds.Phone; 119 mContactDetailTypeTextView.setText(Phone.getTypeLabel(getResources(), 126 // the display name (phone number) and the avatar and hide everything else.
|
/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
|
NetworkQueryService.java | 17 package com.android.phone; 41 import com.android.internal.telephony.Phone; 70 static final String ACTION_LOCAL_BINDER = "com.android.phone.intent.action.LOCAL_BINDER"; 108 if (DBG) log("scan via Phone completed, broadcasting results"); 236 Phone phone = PhoneFactory.getPhone(phoneId); 237 if (phone != null) { 238 phone.getAvailableNetworks( 242 if (DBG) log("start network scan via Phone"); 245 log("phone is null") [all...] |
CallFeaturesSetting.java | 17 package com.android.phone; 49 import com.android.internal.telephony.Phone; 51 import com.android.phone.settings.PhoneAccountSettingsFragment; 52 import com.android.phone.settings.VoicemailSettingsActivity; 53 import com.android.phone.settings.fdn.FdnSetting; 60 * This preference screen is the root of the "Call settings" hierarchy available from the Phone 61 * app; the settings here let you control various features related to phone calls (including 63 * voice-capable phone devices. 65 * Note that this activity is part of the package com.android.phone, even 66 * though you reach it from the "Phone" app (i.e. DialtactsActivity) whic [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
CdmaConnection.java | 30 import com.android.internal.telephony.Phone; 31 import com.android.phone.settings.SettingsConstants; 37 * Manages a single phone call handled by CDMA. 232 * Read the settings to determine which type of DTMF method this CDMA phone calls. 285 Phone phone = getPhone(); local 286 return phone != null && 288 phone.getContext(), getAddress().getSchemeSpecificPart());
|
ImsConferenceController.java | 26 import com.android.internal.telephony.Phone; 28 import com.android.phone.PhoneUtils; 364 // Attempt to determine the phone account associated with the conference host connection. 367 Phone imsPhone = connection.getPhone(); 368 // The phone account handle for an ImsPhone is based on the default phone (ie the 369 // base GSM or CDMA phone, not on the ImsPhone itself).
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsNumberUtils.java | 67 /* <Phone Number>, <NXX>-<XXXX> N[2-9] */ 70 /* <Area_code>-<Phone Number>, <NXX>-<NXX>-<XXXX> N[2-9] */ 73 /* <1>-<Area_code>-<Phone Number>, 1-<NXX>-<NXX>-<XXXX> N[2-9] */ 76 /* <+><U.S.Country_code><Area_code><Phone Number>, +1-<NXX>-<NXX>-<XXXX> N[2-9] */ 79 /* <Local_IDD><Country_code><Area_code><Phone Number>, 001-1-<NXX>-<NXX>-<XXXX> N[2-9] */ 82 /* <+><Home_IDD><Country_code><Area_code><Phone Number>, +011-1-<NXX>-<NXX>-<XXXX> N[2-9] */ 86 /* <+>-<Home_IDD>-<Country_code>-<Area_code>-<Phone Number>, +011-86-25-86281234 */ 89 /* <Home_IDD>-<Country_code>-<Area_code>-<Phone Number>, 011-86-25-86281234 */ 92 /* <NBPCD>-<Country_code>-<Area_code>-<Phone Number>, +1-86-25-86281234 */ 95 /* <Local_IDD>-<Country_code>-<Area_code>-<Phone Number>, 00-86-25-86281234 * [all...] |
CarrierServiceStateTracker.java | 58 private Phone mPhone; 65 public CarrierServiceStateTracker(Phone phone, ServiceStateTracker sst) { 66 this.mPhone = phone; 68 phone.getContext().registerReceiver(mBroadcastReceiver, new IntentFilter( 200 + mPhone.getSubId(), Phone.PREFERRED_NT_MODE); 349 * Class that defines the network notification, which is shown when the phone cannot camp on
|
PhoneSwitcher.java | 54 * and determine which phone/phones are active. 72 private final Phone[] mPhones; 103 CommandsInterface[] cis, Phone[] phones) { 208 for (Phone p : mPhones) { 263 * Otherwise, go through the requests in priority order adding their phone 265 * phones that aren't in the active phone list. Finally, activate all 266 * phones in the active phone list. 287 sb.append(" phone[").append(i).append("] ").append(mPhoneSubscriptions[i]); 310 log(" phone[" + i + "] using sub[" + mPhoneSubscriptions[i] + "]");
|
GsmCdmaPhone.java | 105 public class GsmCdmaPhone extends Phone { 140 // mEcmExitRespRegistrant is informed after the phone has been exited 217 // phone type needs to be set before other initialization as other objects rely on it 297 logd("Precise phone type " + mPrecisePhoneType); 309 // This is needed to handle phone process crashes 432 // avoid potential NPE in EmergencyCallHelper during Phone switch 590 * Notify any interested party of a Phone state change 705 Phone imsPhone = mImsPhone; 759 logd("conference() - delegated to IMS phone"); 829 Phone imsPhone = mImsPhone [all...] |
/packages/apps/Contacts/src/com/android/contacts/database/ |
SimContactDaoImpl.java | 31 import android.provider.ContactsContract.CommonDataKinds.Phone; 71 // to work on any phone. 329 selectionArgs.add(Phone.CONTENT_ITEM_TYPE); 331 selectionBuilder.append(Phone.NUMBER).append(" IN (") 445 Data.RAW_CONTACT_ID, Phone.NUMBER, Data.DISPLAY_NAME, Data.MIMETYPE 466 return Phone.CONTENT_ITEM_TYPE.equals(cursor.getString(MIMETYPE));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsPhoneConnection.java | 46 import com.android.internal.telephony.Phone; 168 public ImsPhoneConnection(Phone phone, ImsCall imsCall, ImsPhoneCallTracker ct, 171 createWakeLock(phone.getContext()); 205 fetchDtmfToneDelay(phone); 207 if (phone.getContext().getResources().getBoolean( 214 public ImsPhoneConnection(Phone phone, String dialString, ImsPhoneCallTracker ct, 217 createWakeLock(phone.getContext()); 241 fetchDtmfToneDelay(phone); [all...] |
ImsPhone.java | 90 import com.android.internal.telephony.Phone; 184 Phone mDefaultPhone; 195 // mEcmExitRespRegistrant is informed after the phone has been exited the emergency 196 // callback mode keep track of if phone is in emergency callback mode 244 public ImsPhone(Context context, PhoneNotifier notifier, Phone defaultPhone) { 249 public ImsPhone(Context context, PhoneNotifier notifier, Phone defaultPhone, 291 // Nothing to dispose in Phone 426 notifySuppServiceFailed(Phone.SuppService.REJECT); 491 notifySuppServiceFailed(Phone.SuppService.HANGUP); 503 notifySuppServiceFailed(Phone.SuppService.HANGUP) [all...] |
ImsPhoneBase.java | 42 import com.android.internal.telephony.Phone; 52 abstract class ImsPhoneBase extends Phone { 66 public void migrateFrom(Phone from) { 207 * Notify any interested party of a Phone state change 568 Rlog.d(LOG_TAG, " ^^^ new phone state: " + mState);
|
/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/dataconnection/ |
DataServiceManager.java | 50 import com.android.internal.telephony.Phone; 68 private final Phone mPhone; 228 * @param phone The phone object 232 public DataServiceManager(Phone phone, int transportType) { 233 mPhone = phone; 236 mCarrierConfigManager = (CarrierConfigManager) phone.getContext().getSystemService( 239 mAppOps = (AppOpsManager) phone.getContext().getSystemService(Context.APP_OPS_SERVICE);
|
/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 */ 135 /* return the default phone if there is no any active call */ 143 //verify can dial and dial function of the phone is being triggered 163 //verify can dial and dial function of the phone is being triggered 242 /* case 3: both active and held calls from same phone, aka, swap */ 247 /* case 4: active and held calls from different phones, aka, phone swap * [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
AggregationSuggestionEngine.java | 31 import android.provider.ContactsContract.CommonDataKinds.Phone; 270 + Phone.CONTENT_ITEM_TYPE + "','" 404 if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) {
|
/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/services/Telephony/src/com/android/phone/settings/fdn/ |
EditFdnContactScreen.java | 17 package com.android.phone.settings.fdn; 53 import com.android.phone.PhoneGlobals; 54 import com.android.phone.R; 55 import com.android.phone.SubscriptionInfoHelper; 94 /** projection for phone number query */ 95 private static final String[] NUM_PROJECTION = new String[] {CommonDataKinds.Phone.DISPLAY_NAME, 96 CommonDataKinds.Phone.NUMBER}; 97 /** static intent to invoke phone number picker */ 101 CONTACT_IMPORT_INTENT.setType(CommonDataKinds.Phone.CONTENT_ITEM_TYPE); 410 // an inappropriate phone number [all...] |