/packages/apps/Phone/src/com/android/phone/ |
InCallScreenShowActivation.java | 17 package com.android.phone; 26 import com.android.internal.telephony.Phone; 30 * Invisible activity that handles the com.android.phone.PERFORM_CDMA_PROVISIONING intent. 60 Phone phone = app.getPhone(); local 61 if (!TelephonyCapabilities.supportsOtasp(phone)) {
|
SimContacts.java | 17 package com.android.phone; 37 import android.provider.ContactsContract.CommonDataKinds.Phone; 57 * SIM Address Book UI for the Phone app. 83 phoneType = Phone.TYPE_WORK; 85 phoneType = Phone.TYPE_MOBILE; 87 phoneType = Phone.TYPE_HOME; 89 phoneType = Phone.TYPE_OTHER; 93 phoneType = Phone.TYPE_OTHER; 172 builder.withValueBackReference(Phone.RAW_CONTACT_ID, 0); 173 builder.withValue(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE) [all...] |
OtaUtils.java | 17 package com.android.phone; 19 import com.android.internal.telephony.Phone; 23 import com.android.phone.OtaUtils.CdmaOtaInCallScreenUiState.State; 88 "com.android.phone.PERFORM_CDMA_PROVISIONING"; 92 "com.android.phone.PERFORM_VOICELESS_CDMA_PROVISIONING"; 96 "com.android.phone.DISPLAY_ACTIVATION_SCREEN"; 101 "com.android.phone.VOICELESS_PROVISIONING_OFFER_DONTSHOW"; 121 // PendingIntent which the phone app can use to send a result code 212 * true IFF the current device is a voice-capable phone. 288 Phone phone = app.phone local 452 Phone phone = PhoneGlobals.getPhone(); local 496 Phone phone = app.mCM.getDefaultPhone(); local [all...] |
CallWaitingCheckBoxPreference.java | 1 package com.android.phone; 4 import com.android.internal.telephony.Phone; 6 import static com.android.phone.TimeConsumingPreferenceActivity.RESPONSE_ERROR; 16 import com.android.internal.telephony.Phone; 23 private final Phone mPhone;
|
OtaStartupReceiver.java | 17 package com.android.phone; 33 import com.android.internal.telephony.Phone; 39 * Handles OTA Start procedure at phone power up. At phone power up, if phone is not OTA 40 * provisioned (check MIN value of the Phone) and 'device_provisioned' is not set, 41 * OTA Activation screen is shown that helps user activate the phone 82 // - STATE_EMERGENCY_ONLY // Phone is locked; only emergency numbers are allowed 89 Phone phone = PhoneGlobals.getPhone() 136 Phone phone = PhoneGlobals.getPhone(); local [all...] |
SipBroadcastReceiver.java | 17 package com.android.phone; 20 import com.android.internal.telephony.Phone; 24 import com.android.phone.sip.SipProfileDb; 25 import com.android.phone.sip.SipSharedPreferences; 59 SipPhone phone = PhoneFactory.makeSipPhone(localSipUri); local 60 if (phone != null) { 61 CallManager.getInstance().registerPhone(phone); 63 if (DBG) log("onReceive: add phone" + localSipUri + " #phones=" 68 if (DBG) log("onReceive: remove phone: " + localSipUri + " #phones=" 80 for (Phone phone : CallManager.getInstance().getAllPhones()) [all...] |
CdmaVoicePrivacyCheckBoxPreference.java | 17 package com.android.phone; 19 import com.android.internal.telephony.Phone; 33 Phone phone; field in class:CdmaVoicePrivacyCheckBoxPreference 39 phone = PhoneGlobals.getPhone(); 40 phone.getEnhancedVoicePrivacy(mHandler.obtainMessage(MyHandler.MESSAGE_GET_VP)); 56 phone.enableEnhancedVoicePrivacy(isChecked(), 102 phone.getEnhancedVoicePrivacy(obtainMessage(MESSAGE_GET_VP));
|
NetworkQueryService.java | 17 package com.android.phone; 29 import com.android.internal.telephony.Phone; 58 /** local handle to the phone object */ 59 private Phone mPhone;
|
CdmaCallOptions.java | 17 package com.android.phone; 19 import com.android.internal.telephony.Phone;
|
/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/ContactsCommon/src/com/android/contacts/common/model/account/ |
BaseAccountType.java | 30 import android.provider.ContactsContract.CommonDataKinds.Phone; 105 static final int PHONE = 10; 126 return new EditType(type, Phone.getTypeLabelResource(type)); 257 DataKind kind = addKind(new DataKind(Phone.CONTENT_ITEM_TYPE, R.string.phoneLabelsGroup, 263 kind.actionBody = new SimpleInflater(Phone.NUMBER); 264 kind.typeColumn = Phone.TYPE; 266 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE)); 267 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME)); 268 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK)); 269 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true)) [all...] |
ExchangeAccountType.java | 27 import android.provider.ContactsContract.CommonDataKinds.Phone; 175 kind.typeColumn = Phone.TYPE; 177 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE).setSpecificMax(1)); 178 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME).setSpecificMax(2)); 179 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK).setSpecificMax(2)); 180 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true) 182 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_HOME).setSecondary(true) 185 .add(buildPhoneType(Phone.TYPE_PAGER).setSecondary(true).setSpecificMax(1)); 186 kind.typeList.add(buildPhoneType(Phone.TYPE_CAR).setSecondary(true).setSpecificMax(1)); 187 kind.typeList.add(buildPhoneType(Phone.TYPE_COMPANY_MAIN).setSecondary(true [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
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...] |
/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.");
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
DataUtil.java | 52 values.put(ContactsContract.Data.MIMETYPE, CommonDataKinds.Phone.CONTENT_ITEM_TYPE); 53 values.put(CommonDataKinds.Phone.NUMBER, number);
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactAdder.java | 89 // Also, be aware that type IDs differ between Phone and Email, and MUST be computed 92 mContactPhoneTypes.add(ContactsContract.CommonDataKinds.Phone.TYPE_HOME); 93 mContactPhoneTypes.add(ContactsContract.CommonDataKinds.Phone.TYPE_WORK); 94 mContactPhoneTypes.add(ContactsContract.CommonDataKinds.Phone.TYPE_MOBILE); 95 mContactPhoneTypes.add(ContactsContract.CommonDataKinds.Phone.TYPE_OTHER); 107 // Populate list of account types for phone 114 adapter.add(ContactsContract.CommonDataKinds.Phone.getTypeLabel( 173 String phone = mContactPhoneEditText.getText().toString(); local 199 ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE) 200 .withValue(ContactsContract.CommonDataKinds.Phone.NUMBER, phone [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaCall.java | 25 import com.android.internal.telephony.Phone; 69 public Phone
|
CdmaCallTracker.java | 34 import com.android.internal.telephony.Phone; 96 CdmaCallTracker(CDMAPhone phone) { 97 mPhone = phone; 98 mCi = phone.mCi; 211 // Phone number is invalid 266 Rlog.i("phone", "acceptCall: incoming..."); 282 throw new CallStateException("phone not ringing"); 289 // so if the phone isn't ringing, this could hang up held 293 throw new CallStateException("phone not ringing"); 455 if (Phone.DEBUG_PHONE) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmCall.java | 23 import com.android.internal.telephony.Phone; 71 public Phone
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
LegacyPhoneNumberListAdapter.java | 25 import android.provider.ContactsContract.CommonDataKinds.Phone; 106 label = Phone.getTypeLabel(getContext().getResources(), type, customLabel);
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
CallLogFragmentTest.java | 30 import android.provider.ContactsContract.CommonDataKinds.Phone; 67 /** A test value for the country ISO of the phone number in the call log. */ 69 /** A phone number to be used in tests. */ 222 "John Doe", Phone.TYPE_HOME, ""); 228 assertNumberAndLabelAre(views, TEST_FORMATTED_NUMBER, getTypeLabel(Phone.TYPE_HOME)); 235 "John Doe", Phone.TYPE_HOME, ""); 248 "John Doe", Phone.TYPE_HOME, ""); 254 assertNumberAndLabelAre(views, TEST_FORMATTED_NUMBER, getTypeLabel(Phone.TYPE_HOME)); 261 "John Doe", Phone.TYPE_WORK, ""); 267 assertNumberAndLabelAre(views, TEST_FORMATTED_NUMBER, getTypeLabel(Phone.TYPE_WORK)) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcTracker.java | 52 import com.android.internal.telephony.Phone; 524 notifyDataConnection(Phone.REASON_DATA_DETACHED); 533 notifyDataConnection(Phone.REASON_DATA_ATTACHED); 536 notifyOffApnsOfAvailability(Phone.REASON_DATA_ATTACHED); 539 setupDataOnConnectableApns(Phone.REASON_DATA_ATTACHED); [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
ContactsUtilsTests.java | 20 import android.provider.ContactsContract.CommonDataKinds.Phone;
|
/packages/apps/Dialer/src/com/android/dialer/ |
PhoneCallDetails.java | 21 import android.provider.ContactsContract.CommonDataKinds.Phone; 24 * The details of a phone call to be shown in the UI. 31 /** The country corresponding with the phone number. */ 33 /** The geocoded location for the phone number. */ 47 /** The type of phone, e.g., {@link Phone#TYPE_HOME}, 0 if not available. */ 49 /** The custom label associated with the phone number in the contact, or the empty string. */ 51 /** The URI of the contact associated with this phone call. */ 54 * The photo URI of the picture of the contact that is associated with this phone call or
|
/packages/apps/Settings/src/com/android/settings/ |
BandMode.java | 5 import com.android.internal.telephony.Phone; 34 private static final String LOG_TAG = "phone"; 54 private Phone mPhone = null; 101 private int mBandMode = Phone.BM_UNSPECIFIED; 158 for (int i=0; i<Phone.BM_BOUNDARY; i++) {
|