/development/samples/BusinessCard/src/com/example/android/businesscard/ |
ContactInfo.java | 35 public void setPhoneNumber(String phoneNumber) { 36 this.mPhoneNumber = phoneNumber;
|
/packages/apps/Contacts/src/com/android/contacts/ |
PhoneDisambigDialog.java | 109 String phone = phoneItem.phoneNumber; 175 final String phoneNumber; 180 public PhoneItem(long id, String phoneNumber, String accountType, int type, String label) { 182 this.phoneNumber = (phoneNumber != null ? phoneNumber : ""); 198 phoneNumber, phoneItem.phoneNumber)) { 206 return phoneNumber;
|
ContactsUtils.java | 405 * @param phoneNumber must not be null. 408 public static void initiateCall(Context context, CharSequence phoneNumber) { 410 Uri.fromParts("tel", phoneNumber.toString(), null)); 417 * @param phoneNumber must not be null. 420 public static void initiateSms(Context context, CharSequence phoneNumber) { 422 Uri.fromParts("sms", phoneNumber.toString(), null)); 460 // TODO: This should be replaced once we have a more robust phonenumber-library
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfo.java | 48 * Also, it is implied that phoneNumber is more often populated than 50 * names are not known to the device), so phoneNumber should serve as 65 * phoneNumber field. 67 * What we're really doing here is treating phoneNumber as an essential 72 public String phoneNumber; 150 info.phoneNumber = cursor.getString(columnIndex); 266 if (TextUtils.isEmpty(info.phoneNumber)) { 267 info.phoneNumber = number; 335 phoneNumber = context.getString( 346 * READ_PHONE_STATE permission otherwise the phoneNumber will b [all...] |
CallerInfoAsyncQuery.java | 232 mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number);
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CdmaConnection.java | 835 findNextPCharOrNonPOrNonWCharIndex(String phoneNumber, int currIndex) { 836 boolean wMatched = isWait(phoneNumber.charAt(currIndex)); 838 int length = phoneNumber.length(); 840 char cNext = phoneNumber.charAt(index); 856 ((wMatched == false) && isPause(phoneNumber.charAt(currIndex)))) { 863 // It is based on the next non PAUSE/WAIT character in the phoneNumber and the 866 findPOrWCharToAppend(String phoneNumber, int currPwIndex, int nextNonPwCharIndex) { 867 char c = phoneNumber.charAt(currPwIndex); 897 public static String formatDialString(String phoneNumber) { 903 if (phoneNumber == null) [all...] |
/frameworks/base/telephony/java/android/telephony/ |
PhoneNumberUtils.java | 184 * Returns null if phoneNumber == null 187 extractNetworkPortion(String phoneNumber) { 188 if (phoneNumber == null) { 192 int len = phoneNumber.length(); 197 char c = phoneNumber.charAt(i); 218 public static String extractNetworkPortionAlt(String phoneNumber) { 219 if (phoneNumber == null) { 223 int len = phoneNumber.length(); 228 char c = phoneNumber.charAt(i); 247 * @param phoneNumber phone number to strip [all...] |
/packages/apps/Phone/src/com/android/phone/ |
FakePhoneActivity.java | 49 mPhoneNumber = (EditText) findViewById(R.id.phoneNumber);
|
SimContacts.java | 144 final String phoneNumber = cursor.getString(NUMBER_COLUMN); 193 builder.withValue(Phone.NUMBER, phoneNumber); 351 String phoneNumber = mCursor.getString(NUMBER_COLUMN); 352 if (phoneNumber == null || !TextUtils.isGraphic(phoneNumber)) { 358 Uri.fromParts("tel", phoneNumber, null));
|
ManageConferenceUtils.java | 253 callerName = ci.phoneNumber; 258 callerNumber = ci.phoneNumber;
|
CallCard.java | 183 mPhoneNumber = (TextView) findViewById(R.id.phoneNumber); 461 if (updatedNumber != null && !updatedNumber.equals(info.phoneNumber)) { [all...] |
PhoneUtils.java | 657 info.phoneNumber = number; [all...] |
CallNotifier.java | [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
CallerInfoIntegrationTest.java | 51 assertEquals("800-466-4411", callerInfo.phoneNumber);
|
ContactsActor.java | 302 public long createPhone(long contactId, String phoneNumber) { 311 values.put(ContactsContract.CommonDataKinds.Phone.NUMBER, phoneNumber);
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
DeviceInfoInstrument.java | 31 private static final String PHONE_NUMBER = "phoneNumber"; 122 String phoneNumber = tm.getLine1Number(); 123 addResult(PHONE_NUMBER, phoneNumber);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapCallLogComposer.java | 213 String phoneNumber, boolean vcardVer21) { 225 if (!TextUtils.isEmpty(phoneNumber)) { 227 builder.appendTelLine(phonetype, label, phoneNumber, false);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
GlobalSearchSupport.java | 118 String phoneNumber; 140 boolean hasPhone = !TextUtils.isEmpty(phoneNumber); 150 text2 = phoneNumber; 409 if (isSuperPrimary || suggestion.phoneNumber == null) { 410 suggestion.phoneNumber = c.getString(SearchSuggestionQuery.PHONE);
|
CallLogProvider.java | 117 String phoneNumber = uri.getPathSegments().get(2); 119 qb.appendWhereEscapeString(phoneNumber);
|
/frameworks/base/core/java/android/widget/ |
QuickContactBadge.java | 173 * @param phoneNumber The phone number of the contact. 177 public void assignContactFromPhone(String phoneNumber, boolean lazyLookup) { 178 mContactPhone = phoneNumber;
|
/external/opencore/protocols/sdp/common/include/ |
session_info.h | 122 OSCL_HeapString<SDPParserAlloc> phoneNumber; 612 phoneNumber = number; 616 phoneNumber = number; 620 phoneNumber.set((const char*)(memFrag.ptr), memFrag.len); 1032 return phoneNumber.get_cstr(); [all...] |
/frameworks/base/core/java/android/pim/vcard/ |
VCardBuilder.java | 638 String phoneNumber = contentValues.getAsString(Phone.NUMBER); 639 if (phoneNumber != null) { 640 phoneNumber = phoneNumber.trim(); 642 if (TextUtils.isEmpty(phoneNumber)) { 648 if (!phoneSet.contains(phoneNumber)) { 649 phoneSet.add(phoneNumber); 650 appendTelLine(type, label, phoneNumber, isPrimary); 660 List<String> phoneNumberList = splitIfSeveralPhoneNumbersExist(phoneNumber); [all...] |
/frameworks/base/telephony/tests/telephonytests/src/com/android/telephonytest/unit/ |
CallerInfoUnitTest.java | 99 * For emergency caller info, phoneNumber should be set to the 213 // For emergency caller info, phoneNumber should be set to the 216 assertEquals(kEmergencyNumber, mInfo.phoneNumber);
|
/packages/apps/Mms/src/com/android/mms/data/ |
Contact.java | 719 // Invert and truncate to five characters the phoneNumber so that we 722 private String key(String phoneNumber, CharBuffer keyBuffer) { 726 int position = phoneNumber.length(); 729 char c = phoneNumber.charAt(position); 741 // there were no usable digits in the input phoneNumber 742 return phoneNumber;
|
/frameworks/base/core/java/com/android/internal/widget/ |
ContactHeaderWidget.java | 301 String phoneNumber = (String) cookie; 302 setDisplayName(phoneNumber, null); 305 mPhotoView.assignContactFromPhone(phoneNumber, true);
|