/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | PhoneNumberWatcherTest.java | 34 SpannableStringBuilder number = new SpannableStringBuilder(); 36 textWatcher.beforeTextChanged(number, 0, 0, multiChars.length()); 37 number.append(multiChars); 38 Selection.setSelection(number, number.length()); 39 textWatcher.onTextChanged(number, 0, 0, number.length()); 40 textWatcher.afterTextChanged(number); 41 assertEquals(formatted1, number.toString()); 42 assertEquals(formatted1.length(), Selection.getSelectionEnd(number)); [all...] |
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | LongParcelable.java | 25 private long number; field in class:LongParcelable 28 this.number = 0; 31 public LongParcelable(long number) { argument 32 this.number = number; 59 dest.writeLong(number); 63 number = in.readLong(); 67 return number; 70 public void setNumber(long number) { argument 71 this.number [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | PhoneUtil.java | 39 * Returns true if the string is a phone number. 41 public static boolean isPhoneNumber(String number) { argument 45 if (TextUtils.isEmpty(number)) { 49 Matcher match = PHONE_PATTERN.matcher(number);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CallForwardInfo.java | 33 public String number; /* "number" from TS 27.007 7.11 */ field in class:CallForwardInfo 41 + ", number=" + Log.pii(number) + "]";
|
H A D | SmsNumberUtils.java | 107 public String number; field in class:SmsNumberUtils.NumberEntry 110 public NumberEntry(String number) { argument 111 this.number = number; 115 /* Breaks the given number down and formats it according to the rules 116 * for different number plans and different network. 118 * @param number destination number which need to be format 122 * @return the number after formatting. 124 private static String formatNumber(Context context, String number, argument 359 isNANP(String number) argument 427 getCountryCode(Context context, 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); 115 /*+ "number=" + number */ + ",cli=" + numberPresentation + ","
|
/frameworks/base/libs/androidfw/tests/data/app/ |
H A D | R.h | 29 number = 0x7f010000, // default
|
/frameworks/base/libs/androidfw/tests/data/system/ |
H A D | R.h | 40 number = 0x01030000, // sv
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPullCall.java | 30 * Initiate a pull of a call which has the specified phone number. 32 * @param number The phone number of the call to be pulled. 37 void pullExternalCall(String number, int videoState, int dialogId); argument
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarIcon.java | 31 public int number; field in class:StatusBarIcon 34 public StatusBarIcon(UserHandle user, String resPackage, Icon icon, int iconLevel, int number, argument 47 this.number = number; 52 int iconId, int iconLevel, int number, 55 iconLevel, number, contentDescription); 64 + ((number != 0)?(" num=" + number):"") 71 this.iconLevel, this.number, this.contentDescription); 89 this.number 51 StatusBarIcon(String iconPackage, UserHandle user, int iconId, int iconLevel, int number, CharSequence contentDescription) argument [all...] |
/frameworks/base/core/java/android/service/autofill/ |
H A D | LuhnChecksumValidator.java | 31 * Validator that returns {@code true} if the number created by concatenating all given fields 45 * @param ids id of fields that comprises the number to be checked. 54 * @param number The number including the checksum 56 private static boolean isLuhnChecksumValid(@NonNull String number) { argument 60 for (int i = number.length() - 1; i >= 0; i--) { 61 final int digit = number.charAt(i) - '0'; 89 final StringBuilder number = new StringBuilder(); 93 if (sDebug) Log.d(TAG, "No partial number for id " + id); 96 number [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AccountViewAdapter.java | 85 * A structure with basic element of an Account, icon, name and number 89 * @param num Account number 91 public AccountElements(int icon, String name, String number) { argument 92 this(icon, null, name, number); 97 * A structure with basic element of an Account, drawable, name and number 101 * @param num Account number 103 public AccountElements(Drawable drawable, String name, String number) { argument 104 this(0, drawable, name, number); 107 private AccountElements(int icon, Drawable drawable, String name, String number) { argument 111 mNumber = number; [all...] |
/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 72 + 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/base/telephony/java/com/android/ims/ |
H A D | ImsSuppServiceNotification.java | 42 /** TS 27.007 7.17 "number" (MT only) */ 43 public String number; field in class:ImsSuppServiceNotification 60 ", number=" + number + 76 out.writeString(number); 85 number = in.readString();
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
H A D | IImsUt.aidl | 42 int queryCallForward(int condition, String number); 82 int updateCallForward(int action, int condition, String number,
|
/frameworks/base/core/java/android/text/style/ |
H A D | TtsSpan.java | 56 * number to be synthesized with {@link #ARG_NUMBER}. 65 * number to be synthesized with {@link #ARG_NUMBER}. 73 * The text associated with this span is a decimal number. Must include the 74 * number to be synthesized with {@link #ARG_INTEGER_PART} and 83 * The text associated with this span is a fractional number. Must include 84 * the number to be synthesized with {@link #ARG_NUMERATOR} and 93 * The text associated with this span is a measure, consisting of a number 94 * and a unit. The number can be a cardinal, decimal or a fraction. Set the 95 * number with the same arguments as {@link #TYPE_CARDINAL}, 105 * The text associated with this span is a time, consisting of a number o 692 CardinalBuilder(long number) argument 703 CardinalBuilder(String number) argument 714 setNumber(long number) argument 724 setNumber(String number) argument 748 OrdinalBuilder(long number) argument 759 OrdinalBuilder(String number) argument 770 setNumber(long number) argument 780 setNumber(String number) argument 803 DecimalBuilder(double number, int minimumFractionDigits, int maximumFractionDigits) argument 835 setArgumentsFromDouble( double number, int minimumFractionDigits, int maximumFractionDigits) argument 995 setNumber(long number) argument 1005 setNumber(String number) argument [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 50 * Various utilities for dealing with phone number strings. 57 * (See "What is a phone number?" doc) 84 * global-phone-number = ["+"] 1*( DIGIT / written-sep ) 145 /** Extracts the phone number from an Intent. 147 * @param intent the intent to get the number of 150 * @return the phone number that would be called by the intent, or 151 * <code>null</code> if the number cannot be found. 154 String number = null; 189 number = c.getString(c.getColumnIndex(phoneColumn)); 193 Rlog.e(LOG_TAG, "Error getting phone number 1061 numberToCalledPartyBCD(String number) argument 1070 numberToCalledPartyBCDHelper(String number, boolean includeLength) argument 1605 replaceUnicodeDigits(String number) argument 1645 isEmergencyNumber(String number) argument 1659 isEmergencyNumber(int subId, String number) argument 1685 isPotentialEmergencyNumber(String number) argument 1709 isPotentialEmergencyNumber(int subId, String number) argument 1734 isEmergencyNumberInternal(String number, boolean useExactMatch) argument 1758 isEmergencyNumberInternal(int subId, String number, boolean useExactMatch) argument 1773 isEmergencyNumber(String number, String defaultCountryIso) argument 1787 isEmergencyNumber(int subId, String number, String defaultCountryIso) argument 1814 isPotentialEmergencyNumber(String number, String defaultCountryIso) argument 1839 isPotentialEmergencyNumber(int subId, String number, String defaultCountryIso) argument 1860 isEmergencyNumberInternal(String number, String defaultCountryIso, boolean useExactMatch) argument 1883 isEmergencyNumberInternal(int subId, String number, String defaultCountryIso, boolean useExactMatch) argument 1982 isLocalEmergencyNumber(Context context, String number) argument 1996 isLocalEmergencyNumber(Context context, int subId, String number) argument 2024 isPotentialLocalEmergencyNumber(Context context, String number) argument 2050 isPotentialLocalEmergencyNumber(Context context, int subId, String number) argument 2075 isLocalEmergencyNumberInternal(String number, Context context, boolean useExactMatch) argument 2099 isLocalEmergencyNumberInternal(int subId, String number, Context context, boolean useExactMatch) argument 2126 isVoiceMailNumber(String number) argument 2142 isVoiceMailNumber(int subId, String number) argument 2159 isVoiceMailNumber(Context context, int subId, String number) argument 2544 splitAtNonNumerics(CharSequence number) argument 2642 isUriNumber(String number) argument 2659 getUsernameFromUriNumber(String number) argument 3113 convertToEmergencyNumber(Context context, String number) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | AdnRecord.java | 56 // Maximum size of the un-extended number field 81 String number; 87 number = source.readString(); 90 return new AdnRecord(efid, recordNumber, alphaTag, number, emails); 111 public AdnRecord (String alphaTag, String number) { argument 112 this(0, 0, alphaTag, number); 115 public AdnRecord (String alphaTag, String number, String[] emails) { argument 116 this(0, 0, alphaTag, number, emails); 119 public AdnRecord (int efid, int recordNumber, String alphaTag, String number, String[] emails) { argument 123 this.mNumber = number; 127 AdnRecord(int efid, int recordNumber, String alphaTag, String number) argument 153 setNumber(String number) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaCallWaitingNotification.java | 29 public String number = null; field in class:CdmaCallWaitingNotification 44 + " number: " + number
|
H A D | CdmaInformationRecords.java | 179 public String number; field in class:CdmaInformationRecords.CdmaNumberInfoRec 185 public CdmaNumberInfoRec(int id, String number, int numberType, int numberPlan, int pi, argument 187 this.number = number; 198 ", number: <MASKED>" + 218 public CdmaRedirectingNumberInfoRec(String number, int numberType, int numberPlan, argument 221 number, numberType, numberPlan, pi, si);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedRadioControl.java | 21 public void triggerRing(String number); argument
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | EmergencyAffordanceManager.java | 32 * Global setting override with the number to call with the emergency affordance. 58 String number = context.getResources().getString( 64 number = override; 67 return Uri.fromParts("tel", number, null);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallerInfo.java | 48 * Looks up caller information for the given phone number. 73 * connection. This is especially relevant for the phone number field, 78 * 2. Device recognizes that this is an emergency number 84 * for a connection, but the number should be displayable. 97 /* Split up the phoneLabel into number type and label name */ 171 * number. The returned CallerInfo is null if no number is supplied. 200 // Look for the number 206 // Look for the normalized number 301 * number 327 getCallerInfo(Context context, String number) argument 345 getCallerInfo(Context context, String number, int subId) argument 385 doSecondaryLookupIfNecessary(Context context, String number, CallerInfo previousResult) argument 579 getGeoDescription(Context context, String number) argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHeadsetClientCall.java | 79 public BluetoothHeadsetClientCall(BluetoothDevice device, int id, int state, String number, argument 81 this(device, id, UUID.randomUUID(), state, number, multiParty, outgoing); 85 String number, boolean multiParty, boolean outgoing) { 90 mNumber = number != null ? number : ""; 108 * Sets call's number. 112 * @param number String representing phone number. 114 public void setNumber(String number) { argument 115 mNumber = number; 84 BluetoothHeadsetClientCall(BluetoothDevice device, int id, UUID uuid, int state, String number, boolean multiParty, boolean outgoing) argument [all...] |