Home
last modified time | relevance | path

Searched refs:phoneNumber (Results 1 – 10 of 10) sorted by relevance

/external/protobuf/examples/
DAddPerson.java38 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.addPhone(phoneNumber); in PromptForAddress()
DListPeople.java19 for (Person.PhoneNumber phoneNumber : person.getPhoneList()) { in Print()
20 switch (phoneNumber.getType()) { in Print()
31 System.out.println(phoneNumber.getNumber()); in Print()
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DExampleNumbersTest.java193 PhoneNumber phoneNumber = phoneNumberUtil.parse(exampleShortNumber, regionCode); in testShortNumbersValidAndCorrectCost() local
194 if (!shortNumberInfo.isValidShortNumber(phoneNumber)) { in testShortNumbersValidAndCorrectCost()
195 invalidCases.add(phoneNumber); in testShortNumbersValidAndCorrectCost()
196 LOGGER.log(Level.SEVERE, "Failed validation for " + phoneNumber.toString()); in testShortNumbersValidAndCorrectCost()
204 wrongTypeCases.add(phoneNumber); in testShortNumbersValidAndCorrectCost()
205 LOGGER.log(Level.SEVERE, "Wrong cost for " + phoneNumber.toString()); in testShortNumbersValidAndCorrectCost()
222 PhoneNumber phoneNumber = phoneNumberUtil.parse(exampleNumber, regionCode); in testEmergency() local
223 if (!shortNumberInfo.isPossibleShortNumberForRegion(phoneNumber, regionCode) in testEmergency()
227 } else if (shortNumberInfo.getExpectedCostForRegion(phoneNumber, regionCode) in testEmergency()
DPhoneNumberUtilTest.java1565 String phoneNumber = "011112-3456789"; in testMaybeExtractCountryCode() local
1571 phoneUtil.maybeExtractCountryCode(phoneNumber, metadata, numberToFill, true, in testMaybeExtractCountryCode()
1584 String phoneNumber = "+6423456789"; in testMaybeExtractCountryCode() local
1589 phoneUtil.maybeExtractCountryCode(phoneNumber, metadata, numberToFill, true, in testMaybeExtractCountryCode()
1598 String phoneNumber = "+80012345678"; in testMaybeExtractCountryCode() local
1603 phoneUtil.maybeExtractCountryCode(phoneNumber, metadata, numberToFill, true, in testMaybeExtractCountryCode()
1612 String phoneNumber = "2345-6789"; in testMaybeExtractCountryCode() local
1617 phoneUtil.maybeExtractCountryCode(phoneNumber, metadata, numberToFill, true, number)); in testMaybeExtractCountryCode()
1625 String phoneNumber = "0119991123456789"; in testMaybeExtractCountryCode() local
1627 phoneUtil.maybeExtractCountryCode(phoneNumber, metadata, numberToFill, true, number); in testMaybeExtractCountryCode()
[all …]
/external/libphonenumber/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java57 String phoneNumber = null; in doPost() local
72 phoneNumber = Streams.asString(in, "UTF-8"); in doPost()
97 output = getOutputForSingleNumber(phoneNumber, defaultCountry, languageCode, regionCode); in doPost()
105 resp.getWriter().println("Phone Number entered: " + phoneNumber + "<br>"); in doPost()
170 String phoneNumber, String defaultCountry, String languageCode, String regionCode) { in getOutputForSingleNumber() argument
173 PhoneNumber number = phoneUtil.parseAndKeepRawInput(phoneNumber, defaultCountry); in getOutputForSingleNumber()
242 int rawNumberLength = phoneNumber.length(); in getOutputForSingleNumber()
249 char inputChar = phoneNumber.charAt(i); in getOutputForSingleNumber()
/external/nist-sip/java/gov/nist/javax/sip/address/
DTelephoneNumber.java53 protected String phoneNumber; field in TelephoneNumber
75 return phoneNumber; in getPhoneNumber()
181 phoneNumber = num; in setPhoneNumber()
191 buffer.append(phoneNumber); in encode()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java1063 boolean isNumberGeographical(PhoneNumber phoneNumber) {
1064 PhoneNumberType numberType = getNumberType(phoneNumber);
2500 PhoneNumber phoneNumber)
2515 phoneNumber.setCountryCodeSource(countryCodeSource);
2525 phoneNumber.setCountryCode(potentialCountryCode);
2559 phoneNumber.setCountryCodeSource(CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN);
2561 phoneNumber.setCountryCode(defaultCountryCode);
2567 phoneNumber.setCountryCode(0);
2755 PhoneNumber phoneNumber = new PhoneNumber();
2756 parse(numberToParse, defaultRegion, phoneNumber);
[all …]
/external/nist-sip/java/javax/sip/address/
DTelURL.java14 void setPhoneNumber(String phoneNumber) throws ParseException; in setPhoneNumber() argument
/external/libphonenumber/demo/war/
Dphonenumberparser.jsp12 Specify a Phone Number: <input type="text" name="phoneNumber" size="25">
/external/libphonenumber/
Drelease_notes.txt643 - Change formatNumberForMobileDialing not to modify the phoneNumber passed in.