/packages/services/Telephony/src/com/android/phone/ |
SpecialCharSequenceMgr.java | 17 package com.android.phone; 29 import com.android.internal.telephony.Phone; 39 * that are handled specially by the Phone app. 89 * which is still in the Phone App. 135 // your phone, and need to change the PIN! The only way to do 157 final Phone phone = PhoneGlobals.getPhone(); local 158 phone.sendDialerSpecialCode(input.substring(4, len - 4)); 167 // if the phone is keyguard-restricted, then just ignore this 169 // exposed unless the phone is unlocked, and this code can b 201 Phone phone = PhoneGlobals.getPhone(); local 230 Phone phone = PhoneGlobals.getPhone(); local [all...] |
PhoneInterfaceManager.java | 17 package com.android.phone; 102 import com.android.internal.telephony.Phone; 123 import com.android.phone.vvm.PhoneAccountHandleConverter; 124 import com.android.phone.vvm.RemoteVvmTaskManager; 125 import com.android.phone.vvm.VisualVoicemailSettingsUtil; 126 import com.android.phone.vvm.VisualVoicemailSmsFilterConfig; 212 private Phone mPhone; 300 * A handler that processes messages on the main thread in the phone process. Since many 301 * of the Phone calls are not thread safe this is needed to shuttle the requests from the 302 * inbound binder threads to the main thread in the phone process. The Binder threa 323 final Phone phone = getPhoneFromRequest(request); local 359 final Phone phone = getPhoneFromRequest(request); local 402 Phone phone = getPhone(end_subId); local 1124 Phone phone = getPhoneFromRequest(request); local 1295 final Phone phone = getPhone(subId); local 1315 final Phone phone = getPhone(subId); local 1335 final Phone phone = getPhone(subId); local 1493 final Phone phone = getPhone(subId); local 1514 final Phone phone = getPhone(subId); local 1529 final Phone phone = getPhone(subId); local 1541 final Phone phone = getPhone(subId); local 1558 Phone phone = PhoneFactory.getPhone(i); local 1574 Phone phone = PhoneFactory.getPhone(phoneId); local 1594 final Phone phone = getPhone(subId); local 1608 final Phone phone = getPhone(subId); local 1622 final Phone phone = getPhone(subId); local 1633 final Phone phone = getPhone(subId); local 1667 Phone phone = PhoneFactory.getPhone(slotIndex); local 1674 Phone phone = getPhone(mSubscriptionController.getDefaultDataSubId()); local 1684 Phone phone = getPhone(mSubscriptionController.getDefaultDataSubId()); local 1703 Phone phone = getPhone(mSubscriptionController.getDefaultDataSubId()); local 1730 Phone phone = PhoneFactory.getPhone(phoneId); local 1752 final Phone phone = getPhone(subId); local 1767 final Phone phone = getPhone(subId); local 1832 Phone phone = PhoneFactory.getPhone(slotIndex); local 1846 Phone phone = PhoneFactory.getPhone(slotIndex); local 1860 Phone phone = PhoneFactory.getPhone(slotIndex); local 1874 final Phone phone = getPhone(subId); local 1880 final Phone phone = getPhone(subId); local 1939 final Phone phone = PhoneFactory.getPhone(slotIndex); local 1961 final Phone phone = getPhone(subId); local 1985 final Phone phone = getPhone(subId); local 2007 final Phone phone = getPhone(subId); local 2022 final Phone phone = getPhone(subId); local 2037 final Phone phone = getPhone(subId); local 2153 final Phone phone = getPhone(subId); local 2168 final Phone phone = getPhone(subId); local 2182 final Phone phone = getPhone(subId); local 2196 final Phone phone = getPhone(subId); local 2216 final Phone phone = getPhone(subId); local 2230 final Phone phone = getPhone(subId); local 2258 final Phone phone = getPhone(getDefaultSubscription()); local 2276 final Phone phone = getPhone(subId); local 2302 final Phone phone = getPhone(subId); local 2320 final Phone phone = getPhone(subId); local 2342 final Phone phone = PhoneFactory.getPhone(slotIndex); local 2371 final Phone phone = getPhone(subId); local 2961 Phone phone = PhoneFactory.getPhone(phoneId); local 3006 Phone phone = PhoneFactory.getPhone(phoneId); local 3038 Phone phone = PhoneFactory.getPhone(phoneId); local 3051 final Phone phone = getPhone(subId); local 3067 final Phone phone = getPhone(subId); local 3163 final Phone phone = getPhone(subId); local 3184 final Phone phone = getPhone(subId); local 3342 final Phone phone = getPhone(subId); local 3351 final Phone phone = getPhone(subId); local 3403 Phone phone = PhoneFactory.getPhone(phoneId); local 3484 final Phone phone = PhoneFactory.getPhone(0); local 3503 Phone phone = getPhone(subId); local 3520 Phone phone = getPhone(subId); local 3532 Phone phone = getPhone(subId); local 3544 Phone phone = getPhone(subId); local 3557 Phone phone = getPhone(subId); local 3727 final Phone phone = getPhone(subId); local 3745 Phone phone = PhoneUtils.getPhoneForPhoneAccountHandle(accountHandle); local 3774 Phone phone = PhoneUtils.getPhoneForPhoneAccountHandle(phoneAccountHandle); local 3790 Phone phone = PhoneUtils.getPhoneForPhoneAccountHandle(accountHandle); local 3820 Phone phone = PhoneUtils.getPhoneForPhoneAccountHandle(phoneAccountHandle); local 3875 Phone phone = getPhone(subId); local 3898 Phone phone = getPhone(subId); local 3920 Phone phone = getPhone(subId); local 3989 final Phone phone = getPhone(subId); local 4010 final Phone phone = getPhone(subId); local 4034 final Phone phone = getPhone(subId); local 4086 Phone phone = getPhone(subId); local 4102 Phone phone = getPhone(subId); local 4120 Phone phone = getPhone(subId); local 4146 Phone phone = PhoneFactory.getPhone(slotIndex); local 4176 final Phone phone = getPhone(subId); local 4265 final Phone phone = getPhone(subId); local 4287 Phone phone = getPhone(subId); local 4344 final Phone phone = getPhone(subId); local 4355 final Phone phone = getPhone(subId); local [all...] |
SimContacts.java | 17 package com.android.phone; 39 import android.provider.ContactsContract.CommonDataKinds.Phone; 62 * SIM Address Book UI for the Phone app. 84 phoneType = Phone.TYPE_WORK; 86 phoneType = Phone.TYPE_MOBILE; 88 phoneType = Phone.TYPE_HOME; 90 phoneType = Phone.TYPE_OTHER; 94 phoneType = Phone.TYPE_OTHER; 173 builder.withValueBackReference(Phone.RAW_CONTACT_ID, 0); 174 builder.withValue(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContract_PhoneLookup.java | 25 import android.provider.ContactsContract.CommonDataKinds.Phone; 81 long dataId = rawContact.newDataRow(Phone.CONTENT_ITEM_TYPE) 82 .with(Phone.DATA, "1111222333444") 83 .with(Email.TYPE, Phone.TYPE_HOME) 95 long dataId2 = rawContact2.newDataRow(Phone.CONTENT_ITEM_TYPE) 96 .with(Phone.DATA, "2111222333444") 97 .with(Phone.TYPE, Phone.TYPE_OTHER) 131 .appendPath("no-such-phone-number").build(); 191 .appendPath("no-such-phone-number").build() [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
CarrierSmsUtils.java | 44 * @param phone object from telephony 50 Context context, Phone phone, Intent intent) { 52 String carrierImsPackage = getCarrierImsPackage(context, phone); 74 private static String getCarrierImsPackage(Context context, Phone phone) { 84 PersistableBundle config = cm.getConfigForSubId(phone.getSubId()); 86 if (VDBG) Rlog.v(TAG, "No CarrierConfig for subId:" + phone.getSubId());
|
PhoneFactory.java | 68 static private Phone[] sPhones = null; 69 static private Phone sPhone = null; 143 /* In case of multi SIM mode two instances of Phone, RIL are created, 161 sPhones = new Phone[numPhones]; 188 Phone phone = null; local 191 phone = new GsmCdmaPhone(context, 196 phone = new GsmCdmaPhone(context, 201 Rlog.i(LOG_TAG, "Creating Phone with type = " + phoneType + " sub = " + i); 203 sPhones[i] = phone; 277 Phone phone; local 443 Phone phone = phones[i]; local [all...] |
/packages/services/Telephony/src/com/android/phone/otasp/ |
OtaspSimStateReceiver.java | 16 package com.android.phone.otasp; 26 import com.android.internal.telephony.Phone; 27 import com.android.phone.PhoneGlobals; 52 final Phone phone = PhoneGlobals.getPhone(); local 53 final Context context = phone.getContext();
|
/packages/services/Telephony/src/com/android/phone/settings/ |
CallForwardInfoUtil.java | 17 package com.android.phone.settings; 24 import com.android.internal.telephony.Phone; 25 import com.android.phone.PhoneGlobals; 74 * Sets the call forwarding option on the phone, with the command interface action set to the 77 public static void setCallForwardingOption(Phone phone, CallForwardInfo info, Message message) { 82 phone.setCallForwardingOption(commandInterfaceCfAction,
|
/packages/apps/Settings/src/com/android/settings/ |
BandMode.java | 18 import com.android.internal.telephony.Phone; 35 private static final String LOG_TAG = "phone"; 69 private Phone mPhone = null; 114 private int mBandMode = Phone.BM_UNSPECIFIED; 168 new BandListItem(Phone.BM_UNSPECIFIED)); //Always include AUTOMATIC 170 if (bands[i] == Phone.BM_UNSPECIFIED) { 183 for (int i=0; i<Phone.BM_NUM_BAND_MODES; i++) {
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactManager.java | 32 import android.provider.ContactsContract.CommonDataKinds.Phone; 289 .addPhone(rawContact.getCellPhone(), Phone.TYPE_MOBILE) 290 .addPhone(rawContact.getHomePhone(), Phone.TYPE_HOME) 291 .addPhone(rawContact.getOfficePhone(), Phone.TYPE_WORK) 358 } else if (mimeType.equals(Phone.CONTENT_ITEM_TYPE)) { 360 if (type == Phone.TYPE_MOBILE) { 364 } else if (type == Phone.TYPE_HOME) { 368 } else if (type == Phone.TYPE_WORK) { 386 // Add the cell phone, if present and not updated above 388 contactOp.addPhone(rawContact.getCellPhone(), Phone.TYPE_MOBILE) [all...] |
ContactOperations.java | 29 import android.provider.ContactsContract.CommonDataKinds.Phone; 172 * Adds a phone number 174 * @param phone new phone number for the contact 178 public ContactOperations addPhone(String phone, int phoneType) { 180 if (!TextUtils.isEmpty(phone)) { 181 mValues.put(Phone.NUMBER, phone); 182 mValues.put(Phone.TYPE, phoneType); 183 mValues.put(Phone.MIMETYPE, Phone.CONTENT_ITEM_TYPE) [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ExchangeSource.java | 29 import android.provider.ContactsContract.CommonDataKinds.Phone; 128 kind.typeColumn = Phone.TYPE; 130 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME).setSpecificMax(2)); 131 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE).setSpecificMax(1)); 132 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK).setSpecificMax(2)); 133 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true) 135 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_HOME).setSecondary(true) 138 .add(buildPhoneType(Phone.TYPE_PAGER).setSecondary(true).setSpecificMax(1)); 139 kind.typeList.add(buildPhoneType(Phone.TYPE_CAR).setSecondary(true).setSpecificMax(1)); 140 kind.typeList.add(buildPhoneType(Phone.TYPE_COMPANY_MAIN).setSecondary(true [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
SimImportActivityTest.java | 40 import android.provider.ContactsContract.CommonDataKinds.Phone; 295 // 3 contacts imported with one row for name and one for phone 299 hasMimeType(Phone.CONTENT_ITEM_TYPE), 300 hasValueForColumn(Phone.DISPLAY_NAME, "Import One"), 301 hasValueForColumn(Phone.NUMBER, "5550101") 304 hasMimeType(Phone.CONTENT_ITEM_TYPE), 305 hasValueForColumn(Phone.DISPLAY_NAME, "Import Three"), 306 hasValueForColumn(Phone.NUMBER, "5550103") 309 hasMimeType(Phone.CONTENT_ITEM_TYPE), 310 hasValueForColumn(Phone.DISPLAY_NAME, "Import Six") [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
BaseAccountType.java | 30 import android.provider.ContactsContract.CommonDataKinds.Phone; 106 static final int PHONE = 10; 128 return new EditType(type, Phone.getTypeLabelResource(type)); 249 DataKind kind = addKind(new DataKind(Phone.CONTENT_ITEM_TYPE, R.string.phoneLabelsGroup, 250 Weight.PHONE, true)); 255 kind.actionBody = new SimpleInflater(Phone.NUMBER); 256 kind.typeColumn = Phone.TYPE; 258 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE)); 259 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME)); 260 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK)) [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
BaseAccountType.java | 30 import android.provider.ContactsContract.CommonDataKinds.Phone; 123 return new EditType(type, Phone.getTypeLabelResource(type)); 309 new DataKind(Phone.CONTENT_ITEM_TYPE, R.string.phoneLabelsGroup, Weight.PHONE, true)); 314 kind.actionBody = new SimpleInflater(Phone.NUMBER); 315 kind.typeColumn = Phone.TYPE; 317 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE)); 318 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME)); 319 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK)); 320 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true)) [all...] |
ExchangeAccountType.java | 27 import android.provider.ContactsContract.CommonDataKinds.Phone; 198 kind.typeColumn = Phone.TYPE; 200 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE).setSpecificMax(1)); 201 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME).setSpecificMax(2)); 202 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK).setSpecificMax(2)); 203 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true).setSpecificMax(1)); 204 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_HOME).setSecondary(true).setSpecificMax(1)); 205 kind.typeList.add(buildPhoneType(Phone.TYPE_PAGER).setSecondary(true).setSpecificMax(1)); 206 kind.typeList.add(buildPhoneType(Phone.TYPE_CAR).setSecondary(true).setSpecificMax(1)); 207 kind.typeList.add(buildPhoneType(Phone.TYPE_COMPANY_MAIN).setSecondary(true).setSpecificMax(1)) [all...] |
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
ContactDetailsFragment.java | 48 * A fragment that shows the name of the contact, the photo and all listed phone numbers. It is 215 // Fetch the phone number from the contacts db using another loader. 222 ContactsContract.CommonDataKinds.Phone.CONTENT_URI, 224 ContactsContract.CommonDataKinds.Phone.CONTACT_ID + " = ?", 232 ContactsContract.CommonDataKinds.Phone.TYPE); 235 ContactsContract.CommonDataKinds.Phone.NUMBER); 239 case ContactsContract.CommonDataKinds.Phone.TYPE_HOME: 242 case ContactsContract.CommonDataKinds.Phone.TYPE_WORK: 245 case ContactsContract.CommonDataKinds.Phone.TYPE_MOBILE:
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
EABDbUtil.java | 46 import android.provider.ContactsContract.CommonDataKinds.Phone; 98 ContactsContract.CommonDataKinds.Phone._ID, 99 ContactsContract.CommonDataKinds.Phone.NUMBER, 100 ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME, 101 ContactsContract.CommonDataKinds.Phone.RAW_CONTACT_ID, 102 ContactsContract.CommonDataKinds.Phone.CONTACT_ID }; 106 ContactsContract.CommonDataKinds.Phone.CONTENT_URI, 108 ContactsContract.CommonDataKinds.Phone.CONTACT_ID 120 ContactsContract.CommonDataKinds.Phone.NUMBER)); 123 ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME)) [all...] |
/frameworks/ex/common/java/com/android/common/contacts/ |
DataUsageStatUpdater.java | 27 import android.provider.ContactsContract.CommonDataKinds.Phone; 146 * Update usage statistics information using a list of phone numbers. 166 // Phone.NUMBER == Phone.DATA1. NUMBER can be available from API Level 11. 167 whereBuilder.append(Phone.DATA1 + " IN (") 170 final Cursor cursor = mResolver.query(Phone.CONTENT_URI, 171 new String[] {Phone.CONTACT_ID, Phone._ID}, whereBuilder.toString(), 175 Log.w(TAG, "Cursor for Phone.CONTENT_URI became null.");
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
SearchContactsCursorLoader.java | 25 import android.provider.ContactsContract.CommonDataKinds.Phone; 68 where += " AND " + Phone.NUMBER + " IS NOT NULL"; 76 return sortOrderPrimary ? Phone.SORT_KEY_PRIMARY : Phone.SORT_KEY_ALTERNATIVE; 80 return Phone.CONTENT_FILTER_URI.buildUpon().appendPath(query).build();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaSubscriptionSourceManager.java | 22 import com.android.internal.telephony.Phone; 59 new AtomicInteger(Phone.PREFERRED_CDMA_SUBSCRIPTION); 165 Settings.Global.CDMA_SUBSCRIPTION_MODE, Phone.PREFERRED_CDMA_SUBSCRIPTION); 199 // GET_CDMA_SUBSCRIPTION is returning Failure. Probably because modem created GSM Phone.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DataEnabledSettings.java | 31 import com.android.internal.telephony.Phone; 72 private Phone mPhone = null; 88 public DataEnabledSettings(Phone phone) { 89 mPhone = phone; 124 // For single SIM phones, this is a per phone property. Or if it's invalid subId, we
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
SimContact.java | 25 import android.provider.ContactsContract.CommonDataKinds.Phone; 51 public SimContact(long id, String name, String phone) { 52 this(id, name, phone, null); 55 public SimContact(long id, String name, String phone, String[] emails) { 58 mPhone = phone == null ? "" : phone.trim(); 99 ops.add(createInsertOp(rawContactOpIndex, Phone.CONTENT_ITEM_TYPE, 100 Phone.NUMBER, mPhone)); 200 final String phone = source.readString(); 202 return new SimContact(id, name, phone, emails) [all...] |
/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
FavoritesViewHolder.java | 23 import android.provider.ContactsContract.CommonDataKinds.Phone; 99 if (numberType == Phone.TYPE_CUSTOM && TextUtils.isEmpty(numberLabel)) { 102 return (String) Phone.getTypeLabel(resources, numberType, numberLabel);
|
SuggestionViewHolder.java | 23 import android.provider.ContactsContract.CommonDataKinds.Phone; 94 if (numberType == Phone.TYPE_CUSTOM && TextUtils.isEmpty(numberLabel)) { 97 return (String) Phone.getTypeLabel(resources, numberType, numberLabel);
|