/external/libphonenumber/demo/src/com/google/phonenumbers/ |
D | PhoneNumberParserServlet.java | 65 String phoneNumber = null; in doPost() local 80 phoneNumber = Streams.asString(in, UTF_8.name()); in doPost() 109 resp.sendRedirect(getPermaLinkURL(phoneNumber, defaultCountry, geocodingLocale, in doPost() 120 String phoneNumber = req.getParameter("number"); in doGet() local 121 if (phoneNumber == null) { in doGet() 122 phoneNumber = ""; in doGet() 138 getOutputForSingleNumber(phoneNumber, defaultCountry, geocodingLocale)); in doGet() 195 String phoneNumber, String defaultCountry, Locale geocodingLocale, boolean absoluteURL) { in getPermaLinkURL() argument 201 "?number=" + URLEncoder.encode(phoneNumber != null ? phoneNumber : "", UTF_8.name())); in getPermaLinkURL() 224 String phoneNumber, String defaultCountry, Locale geocodingLocale) { in getNewIssueLink() argument [all …]
|
/external/protobuf/csharp/src/AddressBook/ |
D | AddPerson.cs | 69 … Person.Types.PhoneNumber phoneNumber = new Person.Types.PhoneNumber { Number = number }; in PromptForAddress() 76 phoneNumber.Type = Person.Types.PhoneType.Mobile; in PromptForAddress() 79 phoneNumber.Type = Person.Types.PhoneType.Home; in PromptForAddress() 82 phoneNumber.Type = Person.Types.PhoneType.Work; in PromptForAddress() 89 person.Phones.Add(phoneNumber); in PromptForAddress()
|
D | ListPeople.cs | 54 foreach (Person.Types.PhoneNumber phoneNumber in person.Phones) in Print() 56 switch (phoneNumber.Type) in Print() 68 Console.WriteLine(phoneNumber.Number); in Print()
|
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | ExampleNumbersTest.java | 211 PhoneNumber phoneNumber = phoneNumberUtil.parse(exampleShortNumber, regionCode); in testShortNumbersValidAndCorrectCost() local 212 if (!shortNumberInfo.isValidShortNumber(phoneNumber)) { in testShortNumbersValidAndCorrectCost() 213 invalidCases.add(phoneNumber); in testShortNumbersValidAndCorrectCost() 214 logger.log(Level.SEVERE, "Failed validation for " + phoneNumber.toString()); in testShortNumbersValidAndCorrectCost() 220 phoneNumber = phoneNumberUtil.parse(exampleShortNumber, regionCode); in testShortNumbersValidAndCorrectCost() 222 shortNumberInfo.getExpectedCostForRegion(phoneNumber, regionCode); in testShortNumbersValidAndCorrectCost() 224 wrongTypeCases.add(phoneNumber); in testShortNumbersValidAndCorrectCost() 225 logger.log(Level.SEVERE, "Wrong cost for " + phoneNumber.toString() in testShortNumbersValidAndCorrectCost() 244 PhoneNumber phoneNumber = phoneNumberUtil.parse(exampleNumber, regionCode); in testEmergency() local 245 if (!shortNumberInfo.isPossibleShortNumberForRegion(phoneNumber, regionCode) in testEmergency() [all …]
|
D | PhoneNumberUtilTest.java | 1942 String phoneNumber = "011112-3456789"; in testMaybeExtractCountryCode() local 1948 phoneUtil.maybeExtractCountryCode(phoneNumber, metadata, numberToFill, true, in testMaybeExtractCountryCode() 1961 String phoneNumber = "+6423456789"; in testMaybeExtractCountryCode() local 1966 phoneUtil.maybeExtractCountryCode(phoneNumber, metadata, numberToFill, true, in testMaybeExtractCountryCode() 1975 String phoneNumber = "+80012345678"; in testMaybeExtractCountryCode() local 1980 phoneUtil.maybeExtractCountryCode(phoneNumber, metadata, numberToFill, true, in testMaybeExtractCountryCode() 1989 String phoneNumber = "2345-6789"; in testMaybeExtractCountryCode() local 1994 phoneUtil.maybeExtractCountryCode(phoneNumber, metadata, numberToFill, true, number)); in testMaybeExtractCountryCode() 2002 String phoneNumber = "0119991123456789"; in testMaybeExtractCountryCode() local 2004 phoneUtil.maybeExtractCountryCode(phoneNumber, metadata, numberToFill, true, number); in testMaybeExtractCountryCode() [all …]
|
/external/protobuf/examples/ |
D | AddPerson.java | 38 Person.PhoneNumber.Builder phoneNumber = in PromptForAddress() local 44 phoneNumber.setType(Person.PhoneType.MOBILE); in PromptForAddress() 46 phoneNumber.setType(Person.PhoneType.HOME); in PromptForAddress() 48 phoneNumber.setType(Person.PhoneType.WORK); in PromptForAddress() 53 person.addPhones(phoneNumber); in PromptForAddress()
|
D | ListPeople.java | 19 for (Person.PhoneNumber phoneNumber : person.getPhonesList()) { in Print() 20 switch (phoneNumber.getType()) { in Print() 31 System.out.println(phoneNumber.getNumber()); in Print()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | ToneGeneratorFacade.java | 42 @RpcParameter(name = "phoneNumber") String phoneNumber, in generateDtmfTones() 46 for (int i = 0; i < phoneNumber.length(); i++) { in generateDtmfTones() 47 switch (phoneNumber.charAt(i)) { in generateDtmfTones() 97 throw new RuntimeException("Cannot generate tone for '" + phoneNumber.charAt(i) + "'"); in generateDtmfTones()
|
D | ContactsFacade.java | 105 String phoneNumber = null; in contactsDisplayPhonePickList() local 112 phoneNumber = in contactsDisplayPhonePickList() 118 return phoneNumber; in contactsDisplayPhonePickList() 195 String phoneNumber = null; in findPhone() local 197 return phoneNumber; in findPhone() 211 phoneNumber = pCur.getString(0); in findPhone() 220 return phoneNumber; in findPhone()
|
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 1173 public boolean isNumberGeographical(PhoneNumber phoneNumber) { 1174 return isNumberGeographical(getNumberType(phoneNumber), phoneNumber.getCountryCode()); 2805 PhoneNumber phoneNumber) 2820 phoneNumber.setCountryCodeSource(countryCodeSource); 2830 phoneNumber.setCountryCode(potentialCountryCode); 2859 phoneNumber.setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN); 2861 phoneNumber.setCountryCode(defaultCountryCode); 2867 phoneNumber.setCountryCode(0); 3068 PhoneNumber phoneNumber = new PhoneNumber(); 3069 parse(numberToParse, defaultRegion, phoneNumber); [all …]
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 1139 public boolean isNumberGeographical(PhoneNumber phoneNumber) { 1140 return isNumberGeographical(getNumberType(phoneNumber), phoneNumber.getCountryCode()); 2761 PhoneNumber phoneNumber) 2776 phoneNumber.setCountryCodeSource(countryCodeSource); 2786 phoneNumber.setCountryCode(potentialCountryCode); 2815 phoneNumber.setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN); 2817 phoneNumber.setCountryCode(defaultCountryCode); 2823 phoneNumber.setCountryCode(0); 3024 PhoneNumber phoneNumber = new PhoneNumber(); 3025 parse(numberToParse, defaultRegion, phoneNumber); [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/address/ |
D | TelephoneNumber.java | 53 protected String phoneNumber; field in TelephoneNumber 75 return phoneNumber; in getPhoneNumber() 181 phoneNumber = num; in setPhoneNumber() 191 buffer.append(phoneNumber); in encode()
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | EABService.java | 475 String phoneNumber = cursor.getString(cursor.getColumnIndex( in checkForContactNumberChanges() local 481 + " phoneNumber :" + phoneNumber + " displayName :" + displayName); in checkForContactNumberChanges() 482 verifyInsertOrUpdateAction(dataId, contactId, rawContactId, phoneNumber, in checkForContactNumberChanges() 518 Long rawContactId, String phoneNumber, String displayName) { in verifyInsertOrUpdateAction() argument 519 logger.debug("Enter: verifyInsertOrUpdateAction() phoneNumber : " + phoneNumber); in verifyInsertOrUpdateAction() 520 if (null == phoneNumber){ in verifyInsertOrUpdateAction() 547 logger.debug("phoneNumber : " + phoneNumber in verifyInsertOrUpdateAction() 553 if (!phoneNumber.equals(eabPhoneNumber)) { in verifyInsertOrUpdateAction() 556 eabPhoneNumber, phoneNumber, displayName); in verifyInsertOrUpdateAction() 560 phoneNumber, displayName); in verifyInsertOrUpdateAction() [all …]
|
D | EABProvider.java | 402 String phoneNumber = null; in verifyIfMdnExists() local 405 phoneNumber = cvalues.getAsString(EABContract.EABColumns.CONTACT_NUMBER); in verifyIfMdnExists() 442 logger.debug("phoneNumber : "+ phoneNumber +" is already stored in EAB DB. " in verifyIfMdnExists() 504 String phoneNumber = cursor.getString(cursor.getColumnIndex( in printDeletingValues() local 509 " rawContactId :" + rawContactId + " phoneNumber :" + phoneNumber + in printDeletingValues()
|
D | EABDbUtil.java | 193 String phoneNumber, String formattedNumber, String rawContactId, String contactId, in addContactToEabDb() argument 198 .withValue(EABContract.EABColumns.CONTACT_NUMBER, phoneNumber) in addContactToEabDb() 354 String phoneNumber, String rawContactId, String dataId) { in updateNameInEabDb() argument 364 .withSelection(where, new String[] { phoneNumber, rawContactId, dataId }).build()); in updateNameInEabDb()
|
/external/ims/rcs/rcsmanager/src/java/com/android/ims/internal/ |
D | ContactNumberUtils.java | 74 public String format(final String phoneNumber) { in format() argument 75 String number = phoneNumber; in format() 142 public int validate(final String phoneNumber) { in validate() argument 143 String number = phoneNumber; in validate()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
D | SmsFacade.java | 396 String phoneNumber, in smsSendTextMessage() 412 actionParameters.putString(KEY_RECIPIENTS, phoneNumber); in smsSendTextMessage() 421 phoneNumber, null, messagesParts, in smsSendTextMessage() 427 actionParameters.putString(KEY_RECIPIENTS, phoneNumber); in smsSendTextMessage() 429 mSms.sendTextMessage(phoneNumber, null, messagesParts.get(0), in smsSendTextMessage() 663 String formatPhoneNumber(String phoneNumber) { in formatPhoneNumber() argument 665 int len = phoneNumber.length(); in formatPhoneNumber() 670 if ((INTERNATIONAL_NUMBER_LENGTH == len) && ('+' == phoneNumber.charAt(0))) { in formatPhoneNumber() 671 senderNumberStr = phoneNumber.substring(1); in formatPhoneNumber() 673 senderNumberStr = '1' + phoneNumber; in formatPhoneNumber() [all …]
|
/external/nist-sip/java/javax/sip/address/ |
D | TelURL.java | 14 void setPhoneNumber(String phoneNumber) throws ParseException; in setPhoneNumber() argument
|
/external/libphonenumber/demo/war/ |
D | phonenumberparser.jsp | 12 Specify a Phone Number: <input type="text" name="phoneNumber" size="25">
|
/external/libphonenumber/ |
D | release_notes.txt | 1106 - Change formatNumberForMobileDialing not to modify the phoneNumber passed in.
|