/development/samples/BusinessCard/src/com/example/android/businesscard/ |
ContactInfo.java | 35 public void setPhoneNumber(String phoneNumber) { 36 this.mPhoneNumber = phoneNumber;
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
PhoneAccountTest.java | 102 final String phoneNumber = NORMAL_PHONE_NUMBER; 104 cleanupCall(phoneNumber, false /*verifyDeletion*/); 120 placeCallUsingTelecomManager(phoneAccountHandle, phoneNumber); 122 placeCallUsingActionCall(phoneAccountHandle, phoneNumber); 128 assertCalllogInserted(Calls.OUTGOING_TYPE, phoneNumber); 131 cleanupCall(phoneNumber, true /* verifyDeletion */ ); 137 PhoneAccountHandle phoneAccountHandle, String phoneNumber) { 139 PhoneAccount.SCHEME_TEL, phoneNumber, null); 146 PhoneAccountHandle phoneAccountHandle, String phoneNumber) { 148 intent.setData(Uri.parse("tel:" + phoneNumber)); [all...] |
ContactsTest.java | [all...] |
/external/nist-sip/java/javax/sip/address/ |
TelURL.java | 14 void setPhoneNumber(String phoneNumber) throws ParseException;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
ToneGeneratorFacade.java | 42 @RpcParameter(name = "phoneNumber") String phoneNumber, 46 for (int i = 0; i < phoneNumber.length(); i++) { 47 switch (phoneNumber.charAt(i)) { 97 throw new RuntimeException("Cannot generate tone for '" + phoneNumber.charAt(i) + "'");
|
ContactsFacade.java | 105 String phoneNumber = null; 112 phoneNumber = 118 return phoneNumber; 195 String phoneNumber = null; 197 return phoneNumber; 211 phoneNumber = pCur.getString(0); 220 return phoneNumber;
|
/external/protobuf/examples/ |
ListPeople.java | 19 for (Person.PhoneNumber phoneNumber : person.getPhonesList()) { 20 switch (phoneNumber.getType()) { 31 System.out.println(phoneNumber.getNumber());
|
AddPerson.java | 38 Person.PhoneNumber.Builder phoneNumber = 39 Person.PhoneNumber.newBuilder().setNumber(number); 44 phoneNumber.setType(Person.PhoneType.MOBILE); 46 phoneNumber.setType(Person.PhoneType.HOME); 48 phoneNumber.setType(Person.PhoneType.WORK); 53 person.addPhones(phoneNumber);
|
/cts/tests/tests/location/src/android/location/cts/ |
EmergencyCallMessageTest.java | 36 private static final String PHONE_NUMBER_KEY = "android.cts.emergencycall.phonenumber"; 81 String phoneNumber = telephonyManager.getLine1Number(); 82 if (phoneNumber == null || phoneNumber.trim().isEmpty()) { 83 phoneNumber = System.getProperty(PHONE_NUMBER_KEY); 85 return phoneNumber;
|
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
PhoneNumberParserServlet.java | 31 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 65 String phoneNumber = null; 79 if (fieldName.equals("phoneNumber")) { 80 phoneNumber = Streams.asString(in, UTF_8.name()); 109 resp.sendRedirect(getPermaLinkURL(phoneNumber, defaultCountry, geocodingLocale, 120 String phoneNumber = req.getParameter("number"); 121 if (phoneNumber == null) { 122 phoneNumber = ""; 138 getOutputForSingleNumber(phoneNumber, defaultCountry, geocodingLocale)) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/address/ |
TelephoneNumber.java | 51 /** phoneNumber field 53 protected String phoneNumber; 71 /** get the PhoneNumber field 75 return phoneNumber; 177 /** set the PhoneNumber field 181 phoneNumber = num; 191 buffer.append(phoneNumber);
|
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
ExampleNumbersTest.java | 21 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 42 private List<PhoneNumber> invalidCases = new ArrayList<PhoneNumber>(); 43 private List<PhoneNumber> wrongTypeCases = new ArrayList<PhoneNumber>(); 53 PhoneNumber exampleNumber = 144 PhoneNumber exampleNumber = null; 165 PhoneNumber exampleNumber = 178 PhoneNumber exampleNumber = phoneNumberUtil.getExampleNumber(regionCode) [all...] |
PhoneNumberUtilTest.java | 25 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 26 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 44 private static final PhoneNumber ALPHA_NUMERIC_NUMBER = 45 new PhoneNumber().setCountryCode(1).setNationalNumber(80074935247L); 46 private static final PhoneNumber AE_UAN = 47 new PhoneNumber().setCountryCode(971).setNationalNumber(600123456L); 48 private static final PhoneNumber AR_MOBILE = 49 new PhoneNumber().setCountryCode(54).setNationalNumber(91187654321L) [all...] |
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
BlockedNumberUtil.java | 50 public static Uri insertBlockedNumber(Context context, String phoneNumber) { 52 intent.putExtra(PHONE_NUMBER_EXTRA, phoneNumber);
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
BlockedNumberUtil.java | 50 public static Uri insertBlockedNumber(Context context, String phoneNumber) { 52 intent.putExtra(PHONE_NUMBER_EXTRA, phoneNumber);
|
/external/ims/rcs/rcsmanager/src/java/com/android/ims/internal/ |
ContactNumberUtils.java | 71 * @param phoneNumber read from contact db. 74 public String format(final String phoneNumber) { 75 String number = phoneNumber; 139 * @param phoneNumber read from contact db. 142 public int validate(final String phoneNumber) { 143 String number = phoneNumber;
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
PhoneNumberUtil.java | 22 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 23 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 392 * use the PhoneNumber class. 446 * Possible outcomes when testing if a PhoneNumber is possible. 479 * Phone numbers accepted are {@linkplain PhoneNumberUtil#isPossibleNumber(PhoneNumber) 480 * possible}, but not necessarily {@linkplain PhoneNumberUtil#isValidNumber(PhoneNumber) valid}. 484 boolean verify(PhoneNumber number, CharSequence candidate, PhoneNumberUtil util) { 489 * Phone numbers accepted are {@linkplain PhoneNumberUtil#isPossibleNumber(PhoneNumber) [all...] |
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/ |
PhoneNumberUtil.java | 23 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 394 * use the PhoneNumber class. 474 * Possible outcomes when testing if a PhoneNumber is possible. 511 * Phone numbers accepted are {@linkplain PhoneNumberUtil#isPossibleNumber(PhoneNumber) 512 * possible}, but not necessarily {@linkplain PhoneNumberUtil#isValidNumber(PhoneNumber) valid}. 517 boolean verify(PhoneNumber number, CharSequence candidate, PhoneNumberUtil util) { 522 * Phone numbers accepted are {@linkplain PhoneNumberUtil#isPossibleNumber(PhoneNumber) [all...] |
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
EABService.java | 475 String phoneNumber = cursor.getString(cursor.getColumnIndex( 481 + " phoneNumber :" + phoneNumber + " displayName :" + displayName); 482 verifyInsertOrUpdateAction(dataId, contactId, rawContactId, phoneNumber, 518 Long rawContactId, String phoneNumber, String displayName) { 519 logger.debug("Enter: verifyInsertOrUpdateAction() phoneNumber : " + phoneNumber); 520 if (null == phoneNumber){ 521 logger.error("Error: return as phoneNumber is null"); 547 logger.debug("phoneNumber : " + phoneNumbe [all...] |
EABProvider.java | 402 String phoneNumber = null; 405 phoneNumber = cvalues.getAsString(EABContract.EABColumns.CONTACT_NUMBER); 442 logger.debug("phoneNumber : "+ phoneNumber +" is already stored in EAB DB. " 504 String phoneNumber = cursor.getString(cursor.getColumnIndex( 509 " rawContactId :" + rawContactId + " phoneNumber :" + phoneNumber +
|
EABDbUtil.java | 193 String phoneNumber, String formattedNumber, String rawContactId, String contactId, 198 .withValue(EABContract.EABColumns.CONTACT_NUMBER, phoneNumber) 354 String phoneNumber, String rawContactId, String dataId) { 364 .withSelection(where, new String[] { phoneNumber, rawContactId, dataId }).build());
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
SmsFacade.java | 395 @RpcParameter(name = "phoneNumber") 396 String phoneNumber, 412 actionParameters.putString(KEY_RECIPIENTS, phoneNumber); 421 phoneNumber, null, messagesParts, 427 actionParameters.putString(KEY_RECIPIENTS, phoneNumber); 429 mSms.sendTextMessage(phoneNumber, null, messagesParts.get(0), 663 String formatPhoneNumber(String phoneNumber) { 665 int len = phoneNumber.length(); 670 if ((INTERNATIONAL_NUMBER_LENGTH == len) && ('+' == phoneNumber.charAt(0))) { 671 senderNumberStr = phoneNumber.substring(1) [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
ThirdPartyCallScreeningServiceTest.java | 176 Uri phoneNumber = createRandomTestNumber(); 178 extras.putParcelable(TestUtils.EXTRA_PHONE_NUMBER, phoneNumber); 187 return phoneNumber;
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
PhoneNumberUtilsTest.java | 324 String phoneNumber = "6512223333"; 326 TtsSpan ttsSpan = PhoneNumberUtils.createTtsSpan(phoneNumber); 348 CharSequence phoneNumber = "6512223333"; 350 Spannable spannable = (Spannable) PhoneNumberUtils.createTtsSpannable(phoneNumber);
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
DeviceInfoInstrument.java | 137 String phoneNumber = tm.getLine1Number(); 138 addResult(PHONE_NUMBER, phoneNumber);
|