Home
last modified time | relevance | path

Searched refs:number (Results 1 – 25 of 506) sorted by relevance

12345678910>>...21

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberWatcherTest.java34 SpannableStringBuilder number = new SpannableStringBuilder(); in testAppendChars() local
36 textWatcher.beforeTextChanged(number, 0, 0, multiChars.length()); in testAppendChars()
37 number.append(multiChars); in testAppendChars()
38 Selection.setSelection(number, number.length()); in testAppendChars()
39 textWatcher.onTextChanged(number, 0, 0, number.length()); in testAppendChars()
40 textWatcher.afterTextChanged(number); in testAppendChars()
41 assertEquals(formatted1, number.toString()); in testAppendChars()
42 assertEquals(formatted1.length(), Selection.getSelectionEnd(number)); in testAppendChars()
46 int len = number.length(); in testAppendChars()
47 textWatcher.beforeTextChanged(number, number.length(), 0, 1); in testAppendChars()
[all …]
DPhoneNumberUtilsTest.java367 SpannableStringBuilder number = new SpannableStringBuilder(); in testNanpFormatting() local
368 number.append("8005551212"); in testNanpFormatting()
369 PhoneNumberUtils.formatNanpNumber(number); in testNanpFormatting()
370 assertEquals("800-555-1212", number.toString()); in testNanpFormatting()
372 number.clear(); in testNanpFormatting()
373 number.append("800555121"); in testNanpFormatting()
374 PhoneNumberUtils.formatNanpNumber(number); in testNanpFormatting()
375 assertEquals("800-555-121", number.toString()); in testNanpFormatting()
377 number.clear(); in testNanpFormatting()
378 number.append("555-1212"); in testNanpFormatting()
[all …]
/frameworks/base/data/keyboards/
Dqwerty.kcm26 number: '2'
35 number: '2'
44 number: '2'
53 number: '3'
62 number: '3'
71 number: '3'
80 number: '4'
89 number: '4'
98 number: '4'
107 number: '5'
[all …]
Dqwerty2.kcm23 number: '2'
32 number: '2'
41 number: '2'
50 number: '3'
59 number: '3'
68 number: '3'
77 number: '4'
86 number: '4'
95 number: '4'
104 number: '5'
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsNumberUtils.java104 public String number; field in SmsNumberUtils.NumberEntry
107 public NumberEntry(String number) { in NumberEntry() argument
108 this.number = number; in NumberEntry()
121 private static String formatNumber(Context context, String number, in formatNumber() argument
124 if (number == null ) { in formatNumber()
132 String networkPortionNumber = PhoneNumberUtils.extractNetworkPortion(number); in formatNumber()
293 String number = numberEntry.number; in checkNANP() local
295 if (number.length() == NANP_SHORT_LENGTH) { in checkNANP()
297 char firstChar = number.charAt(0); in checkNANP()
301 char c= number.charAt(i); in checkNANP()
[all …]
DDriverCall.java44 public String number; field in DriverCall
77 ret.number = PhoneNumberUtils.extractNetworkPortionAlt(p.nextString()); in fromCLCCLine()
79 if (ret.number.length() == 0) { in fromCLCCLine()
80 ret.number = null; in fromCLCCLine()
88 ret.number = PhoneNumberUtils.stringFromStringAndTOA( in fromCLCCLine()
89 ret.number, ret.TOA); in fromCLCCLine()
DIccProvider.java200 String number = initialValues.getAsString("number"); in insert() local
202 boolean success = addIccRecordToEf(efType, tag, number, null, pin2, subId); in insert()
294 String number = null; in delete() local
317 number = normalizeValue(val); in delete()
330 boolean success = deleteIccRecordFromEf(efType, tag, number, emails, pin2, subId); in delete()
377 String number = values.getAsString("number"); in update() local
383 boolean success = updateIccRecordInEf(efType, tag, number, in update()
428 addIccRecordToEf(int efType, String name, String number, String[] emails, in addIccRecordToEf() argument
431 ", name=" + name + ", number=" + number + ", emails=" + emails + in addIccRecordToEf()
446 "", "", name, number, pin2); in addIccRecordToEf()
[all …]
/frameworks/base/core/java/android/hardware/camera2/utils/
DLongParcelable.java25 private long number; field in LongParcelable
28 this.number = 0; in LongParcelable()
31 public LongParcelable(long number) { in LongParcelable() argument
32 this.number = number; in LongParcelable()
59 dest.writeLong(number); in writeToParcel()
63 number = in.readLong(); in readFromParcel()
67 return number; in getNumber()
70 public void setNumber(long number) { in setNumber() argument
71 this.number = number; in setNumber()
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java31 public int number; field in StatusBarIcon
34 public StatusBarIcon(UserHandle user, String resPackage, Icon icon, int iconLevel, int number, in StatusBarIcon() argument
47 this.number = number; in StatusBarIcon()
52 int iconId, int iconLevel, int number, in StatusBarIcon() argument
55 iconLevel, number, contentDescription); in StatusBarIcon()
64 + ((number != 0)?(" num=" + number):"") in toString()
71 this.iconLevel, this.number, this.contentDescription); in clone()
89 this.number = in.readInt(); in readFromParcel()
99 out.writeInt(this.number); in writeToParcel()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java151 String number = null; in getNumberFromIntent() local
186 number = c.getString(c.getColumnIndex(phoneColumn)); in getNumberFromIntent()
197 return number; in getNumberFromIntent()
1058 numberToCalledPartyBCD(String number) { in numberToCalledPartyBCD() argument
1059 return numberToCalledPartyBCDHelper(number, false); in numberToCalledPartyBCD()
1067 numberToCalledPartyBCDHelper(String number, boolean includeLength) { in numberToCalledPartyBCDHelper() argument
1068 int numberLenReal = number.length(); in numberToCalledPartyBCDHelper()
1070 boolean hasPlus = number.indexOf('+') != -1; in numberToCalledPartyBCDHelper()
1084 char c = number.charAt(i); in numberToCalledPartyBCDHelper()
1561 public static String replaceUnicodeDigits(String number) { in replaceUnicodeDigits() argument
[all …]
/frameworks/base/core/java/android/text/style/
DTtsSpan.java692 public CardinalBuilder(long number) { in CardinalBuilder() argument
694 setNumber(number); in CardinalBuilder()
703 public CardinalBuilder(String number) { in CardinalBuilder() argument
705 setNumber(number); in CardinalBuilder()
714 public CardinalBuilder setNumber(long number) { in setNumber() argument
715 return setNumber(String.valueOf(number)); in setNumber()
724 public CardinalBuilder setNumber(String number) { in setNumber() argument
725 return setStringArgument(TtsSpan.ARG_NUMBER, number); in setNumber()
748 public OrdinalBuilder(long number) { in OrdinalBuilder() argument
750 setNumber(number); in OrdinalBuilder()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecord.java81 String number;
87 number = source.readString();
90 return new AdnRecord(efid, recordNumber, alphaTag, number, emails);
111 public AdnRecord (String alphaTag, String number) { in AdnRecord() argument
112 this(0, 0, alphaTag, number); in AdnRecord()
115 public AdnRecord (String alphaTag, String number, String[] emails) { in AdnRecord() argument
116 this(0, 0, alphaTag, number, emails); in AdnRecord()
119 public AdnRecord (int efid, int recordNumber, String alphaTag, String number, String[] emails) { in AdnRecord() argument
123 this.mNumber = number; in AdnRecord()
127 public AdnRecord(int efid, int recordNumber, String alphaTag, String number) { in AdnRecord() argument
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java327 public static CallerInfo getCallerInfo(Context context, String number) { in getCallerInfo() argument
331 return getCallerInfo(context, number, subId); in getCallerInfo()
345 public static CallerInfo getCallerInfo(Context context, String number, int subId) { in getCallerInfo() argument
347 if (TextUtils.isEmpty(number)) { in getCallerInfo()
354 if (PhoneNumberUtils.isLocalEmergencyNumber(context, number)) { in getCallerInfo()
356 } else if (PhoneNumberUtils.isVoiceMailNumber(subId, number)) { in getCallerInfo()
361 Uri.encode(number)); in getCallerInfo()
364 info = doSecondaryLookupIfNecessary(context, number, info); in getCallerInfo()
369 info.phoneNumber = number; in getCallerInfo()
386 String number, CallerInfo previousResult) { in doSecondaryLookupIfNecessary() argument
[all …]
DCallerInfoAsyncQuery.java81 public String number; field in CallerInfoAsyncQuery.CookieWrapper
289 mContext, cw.number, mCallerInfo); in onQueryComplete()
314 mCallerInfo.updateGeoDescription(mContext, cw.number); in onQueryComplete()
319 if (!TextUtils.isEmpty(cw.number)) { in onQueryComplete()
320 mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete()
387 public static CallerInfoAsyncQuery startQuery(int token, Context context, String number, in startQuery() argument
391 return startQuery(token, context, number, listener, cookie, subId); in startQuery()
405 public static CallerInfoAsyncQuery startQuery(int token, Context context, String number, in startQuery() argument
417 .appendPath(number) in startQuery()
419 String.valueOf(PhoneNumberUtils.isUriNumber(number))) in startQuery()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DAccountViewAdapter.java91 public AccountElements(int icon, String name, String number) { in AccountElements() argument
92 this(icon, null, name, number); in AccountElements()
103 public AccountElements(Drawable drawable, String name, String number) { in AccountElements() argument
104 this(0, drawable, name, number); in AccountElements()
107 private AccountElements(int icon, Drawable drawable, String name, String number) { in AccountElements() argument
111 mNumber = number; in AccountElements()
/frameworks/base/core/java/android/bluetooth/
DBluetoothHeadsetClientCall.java77 public BluetoothHeadsetClientCall(BluetoothDevice device, int id, int state, String number, in BluetoothHeadsetClientCall() argument
79 this(device, id, UUID.randomUUID(), state, number, multiParty, outgoing); in BluetoothHeadsetClientCall()
83 String number, boolean multiParty, boolean outgoing) { in BluetoothHeadsetClientCall() argument
88 mNumber = number != null ? number : ""; in BluetoothHeadsetClientCall()
111 public void setNumber(String number) { in setNumber() argument
112 mNumber = number; in setNumber()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DNotificationCompatImplBase.java48 CharSequence contentInfo, int number, Bitmap largeIcon, CharSequence subText, in overrideContentView() argument
52 number, largeIcon, subText, useChronometer, when, actions, actionsToShowInCompact, in overrideContentView()
62 CharSequence contentInfo, int number, Bitmap largeIcon, CharSequence subText, in generateContentView() argument
66 number, largeIcon, subText, useChronometer, when, in generateContentView()
102 CharSequence contentInfo, int number, Bitmap largeIcon, CharSequence subText, in overrideBigContentView() argument
106 number, largeIcon, subText, useChronometer, when, actions, showCancelButton, in overrideBigContentView()
115 CharSequence contentInfo, int number, Bitmap largeIcon, CharSequence subText, in generateBigContentView() argument
120 number, largeIcon, subText, useChronometer, when, in generateBigContentView()
166 int number, Bitmap largeIcon, CharSequence subText, boolean useChronometer, long when, in applyStandardTemplate() argument
191 } else if (number > 0) { in applyStandardTemplate()
[all …]
/frameworks/base/core/java/android/text/method/
DDialerKeyListener.java57 int number = event.getNumber(); in lookup() local
64 if (number != 0) { in lookup()
65 return number; in lookup()
100 return number; in lookup()
/frameworks/base/core/java/android/provider/
DCallLog.java495 public static Uri addCall(CallerInfo ci, Context context, String number, in addCall() argument
498 return addCall(ci, context, number, /* postDialDigits =*/ "", /* viaNumber =*/ "", in addCall()
533 public static Uri addCall(CallerInfo ci, Context context, String number, in addCall() argument
537 return addCall(ci, context, number, postDialDigits, viaNumber, presentation, callType, in addCall()
576 public static Uri addCall(CallerInfo ci, Context context, String number, in addCall() argument
583 number, userToBeInsertedTo, addForAllUsers)); in addCall()
613 } else if (TextUtils.isEmpty(number) in addCall()
618 number = ""; in addCall()
634 values.put(NUMBER, number); in addCall()
673 final String phoneNumber = ci.phoneNumber != null ? ci.phoneNumber : number; in addCall()
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DDiagGOTPLT.inc15 "The number of reserved entries for GOT is inconsist",
16 "The number of reserved entries for GOT is inconsist")
19 "The number of reserved entries for PLT is inconsist",
20 "The number of reserved entries for PLT is inconsist")
/frameworks/base/telephony/java/com/android/ims/
DImsSuppServiceNotification.java43 public String number; field in ImsSuppServiceNotification
60 ", number=" + number + in toString()
76 out.writeString(number); in writeToParcel()
85 number = in.readString(); in readFromParcel()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInformationRecords.java151 public String number; field in CdmaInformationRecords.CdmaNumberInfoRec
157 public CdmaNumberInfoRec(int id, String number, int numberType, int numberPlan, int pi, in CdmaNumberInfoRec() argument
159 this.number = number; in CdmaNumberInfoRec()
190 public CdmaRedirectingNumberInfoRec(String number, int numberType, int numberPlan, in CdmaRedirectingNumberInfoRec() argument
193 number, numberType, numberPlan, pi, si); in CdmaRedirectingNumberInfoRec()
/frameworks/opt/chips/src/com/android/ex/chips/
DPhoneUtil.java41 public static boolean isPhoneNumber(String number) { in isPhoneNumber() argument
45 if (TextUtils.isEmpty(number)) { in isPhoneNumber()
49 Matcher match = PHONE_PATTERN.matcher(number); in isPhoneNumber()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardPinBasedInputView.java92 int number = keyCode - KeyEvent.KEYCODE_0; in onKeyDown() local
93 performNumberClick(number); in onKeyDown()
97 int number = keyCode - KeyEvent.KEYCODE_NUMPAD_0; in onKeyDown() local
98 performNumberClick(number); in onKeyDown()
126 private void performNumberClick(int number) { in performNumberClick() argument
127 switch (number) { in performNumberClick()
/frameworks/base/telecomm/java/android/telecom/
DVoicemail.java41 private Voicemail(Long timestamp, String number, PhoneAccountHandle phoneAccountHandle, Long id, in Voicemail() argument
45 mNumber = number; in Voicemail()
62 public static Builder createForInsertion(long timestamp, String number) { in createForInsertion() argument
63 return new Builder().setNumber(number).setTimestamp(timestamp); in createForInsertion()
99 public Builder setNumber(String number) { in setNumber() argument
100 mBuilderNumber = number; in setNumber()

12345678910>>...21