Searched refs:number (Results 1 - 25 of 146) sorted by relevance

123456

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DPhoneNumberWatcherTest.java34 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 DLongParcelable.java25 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 DPhoneUtil.java39 * 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/base/libs/androidfw/tests/data/app/
H A DR.h29 number = 0x7f010000, // default
/frameworks/base/libs/androidfw/tests/data/system/
H A DR.h40 number = 0x01030000, // sv
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCallForwardInfo.java29 public String number; /* "number" from TS 27.007 7.11 */ field in class:CallForwardInfo
H A DSmsNumberUtils.java106 public String number; field in class:SmsNumberUtils.NumberEntry
109 public NumberEntry(String number) { argument
110 this.number = number;
114 /* Breaks the given number down and formats it according to the rules
115 * for different number plans and different network.
117 * @param number destination number which need to be format
121 * @return the number after formatting.
123 private static String formatNumber(Context context, String number, argument
358 isNANP(String number) argument
426 getCountryCode(Context context, String number) argument
[all...]
H A DDriverCall.java44 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/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPullCall.java30 * 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 DStatusBarIcon.java31 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/com/android/internal/widget/
H A DAccountViewAdapter.java85 * 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 DSuppServiceNotification.java35 /** 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 DDialerKeyListener.java52 * 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 DImsSuppServiceNotification.java42 /** 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 DIImsUt.aidl42 int queryCallForward(int condition, String number);
82 int updateCallForward(int action, int condition, String number,
/frameworks/base/core/java/android/text/style/
H A DTtsSpan.java56 * 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 DPhoneNumberUtils.java50 * 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
3127 convertToEmergencyNumber(String number) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DAdnRecord.java56 // 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 DCdmaCallWaitingNotification.java29 public String number = null; field in class:CdmaCallWaitingNotification
44 + " number: " + number
H A DCdmaInformationRecords.java179 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 DSimulatedRadioControl.java21 public void triggerRing(String number); argument
/frameworks/base/core/java/com/android/internal/util/
H A DEmergencyAffordanceManager.java32 * 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 DCallerInfo.java48 * 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...]
H A DCallerInfoAsyncQuery.java81 public String number; field in class:CallerInfoAsyncQuery.CookieWrapper
275 // Change the callerInfo number ONLY if it is an emergency number or the
276 // voicemail number, and adjust other data (including photoResource)
279 // Note we're setting the phone number here (refer to javadoc
289 mContext, cw.number, mCallerInfo);
299 // no contacts matched the phone number of the incoming call),
310 // Actually when no contacts match the incoming phone number,
312 // *or* phoneNumber). So we need to pass in cw.number as
313 // a fallback number
389 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument
407 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie, int subId) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHeadsetClientCall.java79 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...]

Completed in 519 milliseconds

123456