/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | PhoneNumberWatcherTest.java | 30 SpannableStringBuilder number = new SpannableStringBuilder(); 32 textWatcher.beforeTextChanged(number, 0, 0, multiChars.length()); 33 number.append(multiChars); 34 Selection.setSelection(number, number.length()); 35 textWatcher.onTextChanged(number, 0, 0, number.length()); 36 textWatcher.afterTextChanged(number); 37 assertEquals(formatted1, number.toString()); 38 assertEquals(formatted1.length(), Selection.getSelectionEnd(number)); [all...] |
H A D | PhoneNumberUtilsTest.java | 307 // +44 (0) 207 792 3490 is not a dialable number 367 SpannableStringBuilder number = new SpannableStringBuilder(); 368 number.append("8005551212"); 369 PhoneNumberUtils.formatNanpNumber(number); 370 assertEquals("800-555-1212", number.toString()); 372 number.clear(); 373 number.append("800555121"); 374 PhoneNumberUtils.formatNanpNumber(number); 375 assertEquals("800-555-121", number.toString()); 377 number [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CallForwardInfo.java | 31 public String number; /* "number" from TS 27.007 7.11 */ field in class:CallForwardInfo 38 + " \"" + PhoneNumberUtils.stringFromStringAndTOA(number, toa) + "\" "
|
H A D | AdnRecord.java | 41 String number = null; field in class:AdnRecord 54 // Maximum size of the un-extended number field 78 String number; 84 number = source.readString(); 87 return new AdnRecord(efid, recordNumber, alphaTag, number, emails); 107 public AdnRecord (String alphaTag, String number) { argument 108 this(0, 0, alphaTag, number); 111 public AdnRecord (String alphaTag, String number, String[] emails) { argument 112 this(0, 0, alphaTag, number, emails); 115 public AdnRecord (int efid, int recordNumber, String alphaTag, String number, Strin argument 123 AdnRecord(int efid, int recordNumber, String alphaTag, String number) argument [all...] |
H A D | DriverCall.java | 44 public String number; field in class:DriverCall 60 // index,isMT,state,mode,isMpty(,number,TOA)? 77 ret.number = PhoneNumberUtils.extractNetworkPortionAlt(p.nextString()); 79 if (ret.number.length() == 0) { 80 ret.number = null; 88 ret.number = PhoneNumberUtils.stringFromStringAndTOA( 89 ret.number, ret.TOA); 114 /*+ "number=" + number */ + ",cli=" + numberPresentation + ","
|
H A D | IccProvider.java | 47 "number", 57 private static final String STR_NUMBER = "number"; 132 String number = initialValues.getAsString("number"); 134 boolean success = addIccRecordToEf(efType, tag, number, null, pin2); 199 String number = null; 223 number = normalizeValue(val); 232 if (TextUtils.isEmpty(number)) { 240 boolean success = deleteIccRecordFromEf(efType, tag, number, emails, pin2); 272 String number 321 addIccRecordToEf(int efType, String name, String number, String[] emails, String pin2) argument 373 deleteIccRecordFromEf(int efType, String name, String number, String[] emails, String pin2) argument [all...] |
H A D | PhoneSubInfo.java | 67 * Retrieves the software version number for the device, e.g., IMEI/SV 84 * Retrieves the serial number of the ICC, if applicable. 92 * Retrieves the phone number string for line 1. 116 * Retrieves the voice mail number. 120 String number = PhoneNumberUtils.extractNetworkPortion(mPhone.getVoiceMailNumber()); 121 Log.d(LOG_TAG, "VM: PhoneSubInfo.getVoiceMailNUmber: "); // + number); 122 return number; 126 * Retrieves the complete voice mail number. 133 String number = mPhone.getVoiceMailNumber(); 134 Log.d(LOG_TAG, "VM: PhoneSubInfo.getCompleteVoiceMailNUmber: "); // + number); [all...] |
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarIcon.java | 29 public int number; field in class:StatusBarIcon 32 public StatusBarIcon(String iconPackage, UserHandle user, int iconId, int iconLevel, int number, argument 38 this.number = number; 47 + " num=" + this.number + " )"; 53 this.iconLevel, this.number, this.contentDescription); 71 this.number = in.readInt(); 81 out.writeInt(this.number);
|
/frameworks/base/core/java/android/text/format/ |
H A D | Formatter.java | 32 * @param number size value to be formatted 33 * @return formatted string with the number 35 public static String formatFileSize(Context context, long number) { argument 36 return formatFileSize(context, number, false); 43 public static String formatShortFileSize(Context context, long number) { argument 44 return formatFileSize(context, number, true); 47 private static String formatFileSize(Context context, long number, boolean shorter) { argument 52 float result = number;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SuppServiceNotification.java | 35 /** TS 27.007 7.17 "number" (MT only) */ 36 public String number; field in class:SuppServiceNotification 67 + PhoneNumberUtils.stringFromStringAndTOA(number, type) + "\" ";
|
/frameworks/base/core/java/android/text/method/ |
H A D | DialerKeyListener.java | 52 * Overrides the superclass's lookup method to prefer the number field 57 int number = event.getNumber(); 60 * Prefer number if no meta key is active, or if it produces something 64 if (number != 0) { 65 return number; 95 * Otherwise, use the number associated with the key, since 100 return number;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaCallWaitingNotification.java | 30 public String number = null; field in class:CdmaCallWaitingNotification 44 + " number: " + number
|
H A D | CdmaInformationRecords.java | 151 public String number; field in class:CdmaInformationRecords.CdmaNumberInfoRec 157 public CdmaNumberInfoRec(int id, String number, int numberType, int numberPlan, int pi, argument 159 this.number = number; 170 ", number: " + number + 190 public CdmaRedirectingNumberInfoRec(String number, int numberType, int numberPlan, argument 193 number, numberType, numberPlan, pi, si);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ITelephony.aidl | 34 * Dial a number. This doesn't place the call. It displays 36 * @param number the number to be dialed. If null, this 37 * would display the Dialer screen with no number pre-filled. 39 void dial(String number); 42 * Place a call to the specified number. 43 * @param number the number to be called. 45 void call(String number);
|
H A D | CallerInfo.java | 43 * Looks up caller information for the given phone number. 69 * connection. This is especially relevant for the phone number field, 74 * 2. Device recognizes that this is an emergency number 80 * for a connection, but the number should be displayable. 93 /* Split up the phoneLabel into number type and label name */ 155 * number. The returned CallerInfo is null if no number is supplied. 183 // Look for the number 189 // Look for the normalized number 253 * number 271 getCallerInfo(Context context, String number) argument 311 doSecondaryLookupIfNecessary(Context context, String number, CallerInfo previousResult) argument 341 getCallerId(Context context, String number) argument 531 getGeoDescription(Context context, String number) argument [all...] |
H A D | CallerInfoAsyncQuery.java | 79 public String number; field in class:CallerInfoAsyncQuery.CookieWrapper 229 // Change the callerInfo number ONLY if it is an emergency number or the 230 // voicemail number, and adjust other data (including photoResource) 233 // Note we're setting the phone number here (refer to javadoc 243 mQueryContext, cw.number, mCallerInfo); 253 // no contacts matched the phone number of the incoming call), 264 // Actually when no contacts match the incoming phone number, 266 // *or* phoneNumber). So we need to pass in cw.number as 267 // a fallback number 339 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedRadioControl.java | 21 public void triggerRing(String number); argument
|
H A D | SimulatedGsmCallState.java | 48 String number; field in class:CallInfo 51 CallInfo (boolean isMT, State state, boolean isMpty, String number) { argument 55 this.number = number; 57 if (number.length() > 0 && number.charAt(0) == '+') { 65 createOutgoingCall(String number) { argument 66 return new CallInfo (false, State.DIALING, false, number); 70 createIncomingCall(String number) { argument 71 return new CallInfo (true, State.INCOMING, false, number); 177 triggerRing(String number) argument [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 48 * Various utilities for dealing with phone number strings. 55 * (See "What is a phone number?" doc) 82 * global-phone-number = ["+"] 1*( DIGIT / written-sep ) 143 /** Extracts the phone number from an Intent. 145 * @param intent the intent to get the number of 148 * @return the phone number that would be called by the intent, or 149 * <code>null</code> if the number cannot be found. 152 String number = null; 188 number = c.getString(c.getColumnIndex(phoneColumn)); 195 return number; 1054 numberToCalledPartyBCD(String number) argument 1063 numberToCalledPartyBCDHelper(String number, boolean includeLength) argument 1513 replaceUnicodeDigits(String number) argument 1553 isEmergencyNumber(String number) argument 1579 isPotentialEmergencyNumber(String number) argument 1604 isEmergencyNumberInternal(String number, boolean useExactMatch) argument 1618 isEmergencyNumber(String number, String defaultCountryIso) argument 1645 isPotentialEmergencyNumber(String number, String defaultCountryIso) argument 1665 isEmergencyNumberInternal(String number, String defaultCountryIso, boolean useExactMatch) argument 1746 isLocalEmergencyNumber(String number, Context context) argument 1774 isPotentialLocalEmergencyNumber(String number, Context context) argument 1797 isLocalEmergencyNumberInternal(String number, Context context, boolean useExactMatch) argument 1825 isVoiceMailNumber(String number) argument 2136 isUriNumber(String number) argument 2153 getUsernameFromUriNumber(String number) argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothHeadset.aidl | 52 void phoneStateChanged(int numActive, int numHeld, int callState, String number, int type); 55 String number, int type);
|
/frameworks/support/v4/honeycomb/android/support/v4/app/ |
H A D | NotificationCompatHoneycomb.java | 28 RemoteViews tickerView, int number, 50 .setNumber(number); 26 add(Context context, Notification n, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, RemoteViews tickerView, int number, PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon) argument
|
/frameworks/support/v4/ics/android/support/v4/app/ |
H A D | NotificationCompatIceCreamSandwich.java | 28 RemoteViews tickerView, int number, 51 .setNumber(number) 26 add(Context context, Notification n, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, RemoteViews tickerView, int number, PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon, int mProgressMax, int mProgress, boolean mProgressIndeterminate) argument
|
/frameworks/base/core/java/android/provider/ |
H A D | CallLog.java | 62 * Query parameter used to limit the number of call logs returned. 134 * The phone number as the user entered it. 137 public static final String NUMBER = "number"; 169 * The cached name associated with the phone number, if it exists. 171 * associated with this number has changed. 177 * The cached number type (Home, Work, etc) associated with the 178 * phone number, if it exists. 180 * associated with this number has changed. 186 * The cached number label, for a custom number typ 278 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, long start, int duration) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabasePerformanceTests.java | 113 public String numberName(int number) { argument 116 if (number >= 1000) { 117 result += numberName((number / 1000)) + " thousand"; 118 number = (number % 1000); 120 if (number > 0) result += " "; 123 if (number >= 100) { 124 result += ONES[(number / 100)] + " hundred"; 125 number = (number [all...] |
H A D | NewDatabasePerformanceTests.java | 70 public String numberName(int number) { argument 73 if (number >= 1000) { 74 result += numberName((number / 1000)) + " thousand"; 75 number = (number % 1000); 77 if (number > 0) result += " "; 80 if (number >= 100) { 81 result += ONES[(number / 100)] + " hundred"; 82 number = (number [all...] |