/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaMmiCode.java | 26 import com.android.internal.telephony.Phone; 109 newFromDialString(String dialString, GsmCdmaPhone phone, UiccCardApplication app) { 117 ret = new CdmaMmiCode(phone,app); 146 CdmaMmiCode (GsmCdmaPhone phone, UiccCardApplication app) { 147 super(phone.getHandler().getLooper()); 148 mPhone = phone; 149 mContext = phone.getContext(); 167 public Phone 169 return ((Phone) mPhone);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsPhone.java | 89 import com.android.internal.telephony.Phone; 127 Phone mDefaultPhone; 141 // mEcmExitRespRegistrant is informed after the phone has been exited the emergency 142 // callback mode keep track of if phone is in emergency callback mode 177 public ImsPhone(Context context, PhoneNotifier notifier, Phone defaultPhone) { 182 public ImsPhone(Context context, PhoneNotifier notifier, Phone defaultPhone, 202 // This is needed to handle phone process crashes 203 // Same property is used for both CDMA & IMS phone. 223 // Nothing to dispose in Phone 338 notifySuppServiceFailed(Phone.SuppService.REJECT) [all...] |
ImsPhoneCall.java | 28 import com.android.internal.telephony.Phone; 97 public Phone
|
/packages/apps/Contacts/src/com/android/contacts/ |
SplitAggregateView.java | 25 import android.provider.ContactsContract.CommonDataKinds.Phone; 48 * and additional data such as a nickname, email address or phone number, whichever 59 Phone.NUMBER 70 int PHONE = 8; 120 String phone; field in class:SplitAggregateView.RawContactInfo 137 if (phone != null) { 138 return phone; 177 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { 211 if (info.phone == null || cursor.getInt(SplitQuery.IS_PRIMARY) != 0) { 212 info.phone = cursor.getString(SplitQuery.PHONE) [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
RawContactReadOnlyEditorView.java | 24 import android.provider.ContactsContract.CommonDataKinds.Phone; 165 final ArrayList<ValuesDelta> phones = state.getMimeEntries(Phone.CONTENT_ITEM_TYPE); 170 for (ValuesDelta phone : phones) { 171 final String phoneNumber = phone.getPhoneNumber(); 176 phoneNumber, phone.getPhoneNormalizedNumber(), 179 if (phone.hasPhoneType()) { 180 phoneType = Phone.getTypeLabel( 181 res, phone.getPhoneType(), phone.getPhoneLabel());
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
SuggestedMemberListAdapter.java | 24 import android.provider.ContactsContract.CommonDataKinds.Phone; 180 // to add supplementary data to the contact (photo, phone, email) to the members based 251 // (as well as the photo, email, and phone mimetypes) 255 selectionArgs.add(Phone.CONTENT_ITEM_TYPE); 260 // Perform a second query to retrieve a photo and possibly a phone number or email 283 Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { 284 // Set at most 1 extra piece of contact info that can be a phone number or 364 * Set a phone number or email to distinguish this contact
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
PhoneCallDetailsHelper.java | 26 import android.provider.ContactsContract.CommonDataKinds.Phone; 146 // We have a real phone number as "nameView" so make it always LTR 213 } else if (!(details.numberType == Phone.TYPE_CUSTOM 217 Phone.getTypeLabel(mResources, details.numberType, details.numberLabel)); 291 /** Sets the text of the header view for the details page of a phone call. */
|
/packages/services/Telephony/src/com/android/phone/ |
CallController.java | 17 package com.android.phone; 20 import com.android.internal.telephony.Phone; 23 import com.android.phone.CallGatewayManager.RawGatewayInfo; 24 import com.android.phone.Constants.CallStatusCode; 39 * Phone app module in charge of "call control". 176 * (4) Here in CallController.placeCall() we read the phone number or SIP 232 Phone phone = mApp.mCM.getDefaultPhone(); local 233 if (TelephonyCapabilities.supportsOtasp(phone)) { 289 Phone phone = null local [all...] |
CallForwardEditPreference.java | 1 package com.android.phone; 6 import com.android.internal.telephony.Phone; 24 import static com.android.phone.TimeConsumingPreferenceActivity.RESPONSE_ERROR; 25 import static com.android.phone.TimeConsumingPreferenceActivity.EXCEPTION_ERROR; 44 private Phone mPhone; 68 void init(TimeConsumingPreferenceListener listener, boolean skipReading, Phone phone) { 69 mPhone = phone; 129 // the interface of Phone.setCallForwardingOption has error:
|
NetworkSetting.java | 17 package com.android.phone; 44 import com.android.internal.telephony.Phone; 54 * "Networks" settings UI for the Phone app. 59 private static final String LOG_TAG = "phone"; 207 Phone phone = PhoneFactory.getPhone(mPhoneId); local 208 if (phone != null) { 209 phone.selectNetworkManually(mNetworkMap.get(selectedCarrier), true, msg); 213 log("Error selecting network. phone is null."); 395 Phone phone = PhoneFactory.getPhone(mPhoneId) local 536 Phone phone = PhoneFactory.getPhone(mPhoneId); local [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
PstnIncomingCallNotifier.java | 41 import com.android.internal.telephony.Phone; 47 import com.android.phone.PhoneUtils; 54 * Listens to incoming-call events from the associated phone object and notifies Telecom upon each 63 /** The phone object to listen to. */ 64 private final Phone mPhone; 89 * Persists the specified parameters and starts listening to phone events. 91 * @param phone The phone object for listening to incoming calls. 93 PstnIncomingCallNotifier(Phone phone) { [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
PickContact.java | 80 new ResultDisplayer("Selected phone", 81 ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
ApnContext.java | 32 import com.android.internal.telephony.Phone; 54 private final Phone mPhone; 104 * @param phone phone object 110 public ApnContext(Phone phone, String apnType, String logTag, NetworkConfig config, 112 mPhone = phone; 115 setReason(Phone.REASON_DATA_ENABLED); 121 mRetryManager = new RetryManager(phone, apnType);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmCdmaPhoneTest.java | 147 // query and change phone type 471 sharedPreferences.getInt(Phone.CF_STATUS + mPhoneUT.getSubId(), 476 editor.remove(Phone.CF_STATUS + mPhoneUT.getSubId()); 502 * received when obj is created and that are received on phone type switch 664 editor.putString(Phone.CF_ID, imsi); 665 editor.putInt(Phone.CF_STATUS, IccRecords.CALL_FORWARDING_STATUS_ENABLED); 670 assertEquals(null, sp.getString(Phone.CF_ID, null)); 672 sp.getInt(Phone.CF_ID, IccRecords.CALL_FORWARDING_STATUS_UNKNOWN)); 682 editor.putInt(Phone.CF_STATUS + subId2, IccRecords.CALL_FORWARDING_STATUS_ENABLED); 691 editor.remove(Phone.CF_STATUS + subId1) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
DcTrackerTest.java | 45 import com.android.internal.telephony.Phone; 349 verify(mPhone, times(1)).notifyDataConnection(eq(Phone.REASON_CONNECTED), 402 eq(Phone.REASON_SIM_LOADED), apnTypeArgumentCaptor.capture(), 413 eq(Phone.REASON_DATA_ATTACHED), apnTypeArgumentCaptor.capture(), 420 eq(Phone.REASON_DATA_ENABLED), apnTypeArgumentCaptor.capture(), 465 eq(Phone.REASON_SIM_LOADED), apnTypeArgumentCaptor.capture(), 476 eq(Phone.REASON_DATA_ATTACHED), apnTypeArgumentCaptor.capture(), 483 eq(Phone.REASON_DATA_ENABLED), apnTypeArgumentCaptor.capture(), 504 verify(mPhone, never()).notifyDataConnection(eq(Phone.REASON_CONNECTED), [all...] |
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
VideoCallPresenter.java | [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
RawContactModifier.java | 33 import android.provider.ContactsContract.CommonDataKinds.Phone; 530 // Phone 531 final DataKind kind = accountType.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); 532 parseExtras(state, kind, extras, Insert.PHONE_TYPE, Insert.PHONE, Phone.NUMBER); 534 Phone.NUMBER); 536 Phone.NUMBER); 692 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) { 694 final Integer type = values.getAsInteger(Phone.TYPE); 695 // If the provided phone number provides a custom phone type but not a label [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
CallTracker.java | 202 protected String convertNumberIfNecessary(Phone phone, String dialNumber) { 206 String[] convertMaps = phone.getContext().getResources().getStringArray( 227 if (compareGid1(phone, tmpArray[1])) { 236 String mdn = phone.getLine1Number(); 264 private boolean compareGid1(Phone phone, String serviceGid1) { 265 String gid1 = phone.getGroupIdLevel1();
|
IccPhoneBookInterfaceManager.java | 45 protected Phone mPhone; 113 public IccPhoneBookInterfaceManager(Phone phone) { 114 this.mPhone = phone; 115 IccRecords r = phone.getIccRecords(); 202 * phone book or erase/format the whole phonebook. Currently the email field
|
TelephonyTester.java | 43 * Telephony tester receives the following intents where {name} is the phone name 76 private Phone mPhone; 103 TelephonyTester(Phone phone) { 104 mPhone = phone; 122 phone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone.getHandler());
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
MapTestData.java | 197 * @param phone 200 private static void insertContact(ContentResolver resolver, String name, String phone, String email) { 219 if(phone != null) { 223 ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE); 224 item.put(ContactsContract.CommonDataKinds.Phone.NUMBER, phone);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
CallLogInteraction.java | 30 import android.provider.ContactsContract.CommonDataKinds.Phone; 40 * this class ignores number presentation. Number presentation affects how to identify phone 41 * numbers. Since, we already know the identity of the phone number owner we can ignore number 84 return Phone.getTypeLabel(context.getResources(), getCachedNumberType(),
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
DataItem.java | 29 import android.provider.ContactsContract.CommonDataKinds.Phone; 65 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) {
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
AllContactsFragment.java | 29 import android.provider.ContactsContract.CommonDataKinds.Phone; 51 * Fragments to show all contacts with phone numbers. 158 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.
|