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

12345

/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.h25 number = 0x7f010000, // default enumerator in enum:app::R::attr::__anon1029
/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.
35 void pullExternalCall(String number, int videoState); argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCallForwardInfo.java31 public String number; /* "number" from TS 27.007 7.11 */ field in class:CallForwardInfo
39 + " \"" + PhoneNumberUtils.stringFromStringAndTOA(number, toa) + "\" "
H A DSmsNumberUtils.java104 public String number; field in class:SmsNumberUtils.NumberEntry
107 public NumberEntry(String number) { argument
108 this.number = number;
112 /* Breaks the given number down and formats it according to the rules
113 * for different number plans and different network.
115 * @param number destination number which need to be format
119 * @return the number after formatting.
121 private static String formatNumber(Context context, String number, argument
356 isNANP(String number) argument
424 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/base/libs/androidfw/tests/data/system/
H A DR.h38 number = 0x01030000, // sv enumerator in enum:android::R::integer::__anon1045
/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/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.java151 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: <MASKED>" +
190 public CdmaRedirectingNumberInfoRec(String number, int numberType, int numberPlan, argument
193 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/telephony/java/android/telephony/
H A DPhoneNumberUtils.java47 * Various utilities for dealing with phone number strings.
54 * (See "What is a phone number?" doc)
81 * global-phone-number = ["+"] 1*( DIGIT / written-sep )
142 /** Extracts the phone number from an Intent.
144 * @param intent the intent to get the number of
147 * @return the phone number that would be called by the intent, or
148 * <code>null</code> if the number cannot be found.
151 String number = null;
186 number = c.getString(c.getColumnIndex(phoneColumn));
190 Rlog.e(LOG_TAG, "Error getting phone number
1058 numberToCalledPartyBCD(String number) argument
1067 numberToCalledPartyBCDHelper(String number, boolean includeLength) argument
1561 replaceUnicodeDigits(String number) argument
1601 isEmergencyNumber(String number) argument
1615 isEmergencyNumber(int subId, String number) argument
1641 isPotentialEmergencyNumber(String number) argument
1665 isPotentialEmergencyNumber(int subId, String number) argument
1690 isEmergencyNumberInternal(String number, boolean useExactMatch) argument
1714 isEmergencyNumberInternal(int subId, String number, boolean useExactMatch) argument
1729 isEmergencyNumber(String number, String defaultCountryIso) argument
1743 isEmergencyNumber(int subId, String number, String defaultCountryIso) argument
1770 isPotentialEmergencyNumber(String number, String defaultCountryIso) argument
1795 isPotentialEmergencyNumber(int subId, String number, String defaultCountryIso) argument
1816 isEmergencyNumberInternal(String number, String defaultCountryIso, boolean useExactMatch) argument
1839 isEmergencyNumberInternal(int subId, String number, String defaultCountryIso, boolean useExactMatch) argument
1938 isLocalEmergencyNumber(Context context, String number) argument
1952 isLocalEmergencyNumber(Context context, int subId, String number) argument
1980 isPotentialLocalEmergencyNumber(Context context, String number) argument
2006 isPotentialLocalEmergencyNumber(Context context, int subId, String number) argument
2031 isLocalEmergencyNumberInternal(String number, Context context, boolean useExactMatch) argument
2055 isLocalEmergencyNumberInternal(int subId, String number, Context context, boolean useExactMatch) argument
2082 isVoiceMailNumber(String number) argument
2098 isVoiceMailNumber(int subId, String number) argument
2115 isVoiceMailNumber(Context context, int subId, String number) argument
2471 splitAtNonNumerics(CharSequence number) argument
2569 isUriNumber(String number) argument
2586 getUsernameFromUriNumber(String number) argument
[all...]
/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
387 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument
405 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie, int subId) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHeadsetClientCall.java77 public BluetoothHeadsetClientCall(BluetoothDevice device, int id, int state, String number, argument
79 this(device, id, UUID.randomUUID(), state, number, multiParty, outgoing);
83 String number, boolean multiParty, boolean outgoing) {
88 mNumber = number != null ? number : "";
105 * Sets call's number.
109 * @param number String representing phone number.
111 public void setNumber(String number) { argument
112 mNumber = number;
82 BluetoothHeadsetClientCall(BluetoothDevice device, int id, UUID uuid, int state, String number, boolean multiParty, boolean outgoing) argument
[all...]
H A DIBluetoothHeadset.aidl57 void phoneStateChanged(int numActive, int numHeld, int callState, String number, int type);
59 String number, int type);

Completed in 476 milliseconds

12345