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

12345

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DPhoneNumberWatcherTest.java30 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...]
/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/base/libs/androidfw/tests/data/app/
H A DR.h25 number = 0x7f010000, // default enumerator in enum:app::R::attr::__anon950
/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.java107 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 differnt network.
118 * @param number destionation number which need to be format
122 * @return the number after fromatting.
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 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 + ","
H A DIccProvider.java50 "number",
64 protected static final String STR_NUMBER = "number";
197 String number = initialValues.getAsString("number");
199 boolean success = addIccRecordToEf(efType, tag, number, null, pin2, subId);
291 String number = null;
314 number = normalizeValue(val);
327 boolean success = deleteIccRecordFromEf(efType, tag, number, emails, pin2, subId);
374 String number = values.getAsString("number");
424 addIccRecordToEf(int efType, String name, String number, String[] emails, String pin2, int subId) argument
479 deleteIccRecordFromEf(int efType, String name, String number, String[] emails, String pin2, int subId) argument
[all...]
/frameworks/base/core/java/com/android/internal/statusbar/
H A DStatusBarIcon.java29 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/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
68 + 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/internal/
H A DIImsUt.aidl42 int queryCallForward(int condition, String number);
82 int updateCallForward(int action, int condition, String number, int timeSeconds);
/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
682 CardinalBuilder(long number) argument
693 CardinalBuilder(String number) argument
704 setNumber(long number) argument
714 setNumber(String number) argument
738 OrdinalBuilder(long number) argument
749 OrdinalBuilder(String number) argument
760 setNumber(long number) argument
770 setNumber(String number) argument
793 DecimalBuilder(double number, int minimumFractionDigits, int maximumFractionDigits) argument
825 setArgumentsFromDouble( double number, int minimumFractionDigits, int maximumFractionDigits) argument
985 setNumber(long number) argument
995 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: " + number +
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/core/java/android/bluetooth/
H A DBluetoothHeadsetClientCall.java73 public BluetoothHeadsetClientCall(int id, int state, String number, boolean multiParty, argument
77 mNumber = number != null ? number : "";
94 * Sets call's number.
98 * @param number String representing phone number.
100 public void setNumber(String number) { argument
101 mNumber = number;
135 * Gets call's number.
137 * @return string representing phone number
[all...]
H A DIBluetoothHeadset.aidl55 void phoneStateChanged(int numActive, int numHeld, int callState, String number, int type);
57 String number, int type);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfo.java47 * 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 */
164 * number. The returned CallerInfo is null if no number is supplied.
192 // Look for the number
198 // Look for the normalized number
282 * number
301 getCallerInfo(Context context, String number) argument
319 getCallerInfo(Context context, String number, int subId) argument
359 doSecondaryLookupIfNecessary(Context context, String number, CallerInfo previousResult) argument
553 getGeoDescription(Context context, String number) argument
[all...]
H A DCallerInfoAsyncQuery.java82 public String number; field in class:CallerInfoAsyncQuery.CookieWrapper
276 // Change the callerInfo number ONLY if it is an emergency number or the
277 // voicemail number, and adjust other data (including photoResource)
280 // Note we're setting the phone number here (refer to javadoc
290 mContext, cw.number, mCallerInfo);
300 // no contacts matched the phone number of the incoming call),
311 // Actually when no contacts match the incoming phone number,
313 // *or* phoneNumber). So we need to pass in cw.number as
314 // a fallback number
388 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument
406 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie, int subId) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java49 * Various utilities for dealing with phone number strings.
56 * (See "What is a phone number?" doc)
83 * global-phone-number = ["+"] 1*( DIGIT / written-sep )
144 /** Extracts the phone number from an Intent.
146 * @param intent the intent to get the number of
149 * @return the phone number that would be called by the intent, or
150 * <code>null</code> if the number cannot be found.
153 String number = null;
188 number = c.getString(c.getColumnIndex(phoneColumn));
195 return number;
1056 numberToCalledPartyBCD(String number) argument
1065 numberToCalledPartyBCDHelper(String number, boolean includeLength) argument
1519 replaceUnicodeDigits(String number) argument
1559 isEmergencyNumber(String number) argument
1573 isEmergencyNumber(int subId, String number) argument
1599 isPotentialEmergencyNumber(String number) argument
1623 isPotentialEmergencyNumber(int subId, String number) argument
1648 isEmergencyNumberInternal(String number, boolean useExactMatch) argument
1672 isEmergencyNumberInternal(int subId, String number, boolean useExactMatch) argument
1687 isEmergencyNumber(String number, String defaultCountryIso) argument
1701 isEmergencyNumber(int subId, String number, String defaultCountryIso) argument
1728 isPotentialEmergencyNumber(String number, String defaultCountryIso) argument
1753 isPotentialEmergencyNumber(int subId, String number, String defaultCountryIso) argument
1774 isEmergencyNumberInternal(String number, String defaultCountryIso, boolean useExactMatch) argument
1797 isEmergencyNumberInternal(int subId, String number, String defaultCountryIso, boolean useExactMatch) argument
1898 isLocalEmergencyNumber(Context context, String number) argument
1912 isLocalEmergencyNumber(Context context, int subId, String number) argument
1940 isPotentialLocalEmergencyNumber(Context context, String number) argument
1966 isPotentialLocalEmergencyNumber(Context context, int subId, String number) argument
1991 isLocalEmergencyNumberInternal(String number, Context context, boolean useExactMatch) argument
2015 isLocalEmergencyNumberInternal(int subId, String number, Context context, boolean useExactMatch) argument
2042 isVoiceMailNumber(String number) argument
2058 isVoiceMailNumber(int subId, String number) argument
2348 splitAtNonNumerics(CharSequence number) argument
2442 isUriNumber(String number) argument
2459 getUsernameFromUriNumber(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
[all...]
/frameworks/base/core/java/android/provider/
H A DCallLog.java74 * Query parameter used to limit the number of call logs returned.
174 * The phone number as the user entered it.
177 public static final String NUMBER = "number";
180 * The number presenting rules set by the network.
239 * The cached name associated with the phone number, if it exists.
241 * associated with this number has changed.
247 * The cached number type (Home, Work, etc) associated with the
248 * phone number, if it exists.
250 * associated with this number has changed.
256 * The cached number labe
387 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage) argument
419 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage, boolean addForAllUsers) argument
601 updateNormalizedNumber(Context context, ContentResolver resolver, String dataId, String number) argument
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsUtInterface.java115 public void queryCallForward(int condition, String number, Message result); argument
152 public void updateCallForward(int action, int condition, String number, argument
/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DNotificationCompatHoneycomb.java28 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

Completed in 936 milliseconds

12345