Home
last modified time | relevance | path

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

12345678910>>...17

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberWatcherTest.java30 SpannableStringBuilder number = new SpannableStringBuilder(); in testAppendChars() local
32 textWatcher.beforeTextChanged(number, 0, 0, multiChars.length()); in testAppendChars()
33 number.append(multiChars); in testAppendChars()
34 Selection.setSelection(number, number.length()); in testAppendChars()
35 textWatcher.onTextChanged(number, 0, 0, number.length()); in testAppendChars()
36 textWatcher.afterTextChanged(number); in testAppendChars()
37 assertEquals(formatted1, number.toString()); in testAppendChars()
38 assertEquals(formatted1.length(), Selection.getSelectionEnd(number)); in testAppendChars()
42 int len = number.length(); in testAppendChars()
43 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/
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 …]
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 …]
/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/opt/telephony/src/java/com/android/internal/telephony/
DSmsNumberUtils.java107 public String number; field in SmsNumberUtils.NumberEntry
110 public NumberEntry(String number) { in NumberEntry() argument
111 this.number = number; in NumberEntry()
124 private static String formatNumber(Context context, String number, in formatNumber() argument
127 if (number == null ) { in formatNumber()
135 String networkPortionNumber = PhoneNumberUtils.extractNetworkPortion(number); in formatNumber()
296 String number = numberEntry.number; in checkNANP() local
298 if (number.length() == NANP_SHORT_LENGTH) { in checkNANP()
300 char firstChar = number.charAt(0); in checkNANP()
304 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.java197 String number = initialValues.getAsString("number"); in insert() local
199 boolean success = addIccRecordToEf(efType, tag, number, null, pin2, subId); in insert()
291 String number = null; in delete() local
314 number = normalizeValue(val); in delete()
327 boolean success = deleteIccRecordFromEf(efType, tag, number, emails, pin2, subId); in delete()
374 String number = values.getAsString("number"); in update() local
380 boolean success = updateIccRecordInEf(efType, tag, number, in update()
424 addIccRecordToEf(int efType, String name, String number, String[] emails, in addIccRecordToEf() argument
427 ", number=" + number + ", emails=" + emails + ", subscription=" + subId); in addIccRecordToEf()
441 "", "", name, number, pin2); in addIccRecordToEf()
[all …]
DPhoneSubInfo.java151 String number = PhoneNumberUtils.extractNetworkPortion(mPhone.getVoiceMailNumber()); in getVoiceMailNumber() local
152 if (VDBG) log("VM: PhoneSubInfo.getVoiceMailNUmber: " + number); in getVoiceMailNumber()
153 return number; in getVoiceMailNumber()
164 String number = mPhone.getVoiceMailNumber(); in getCompleteVoiceMailNumber() local
165 if (VDBG) log("VM: PhoneSubInfo.getCompleteVoiceMailNUmber: " + number); in getCompleteVoiceMailNumber()
166 return number; in getCompleteVoiceMailNumber()
DCallForwardInfo.java31 public String number; /* "number" from TS 27.007 7.11 */ field in CallForwardInfo
39 + " \"" + PhoneNumberUtils.stringFromStringAndTOA(number, toa) + "\" " in toString()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java153 String number = null; in getNumberFromIntent() local
188 number = c.getString(c.getColumnIndex(phoneColumn)); in getNumberFromIntent()
195 return number; in getNumberFromIntent()
1056 numberToCalledPartyBCD(String number) { in numberToCalledPartyBCD() argument
1057 return numberToCalledPartyBCDHelper(number, false); in numberToCalledPartyBCD()
1065 numberToCalledPartyBCDHelper(String number, boolean includeLength) { in numberToCalledPartyBCDHelper() argument
1066 int numberLenReal = number.length(); in numberToCalledPartyBCDHelper()
1068 boolean hasPlus = number.indexOf('+') != -1; in numberToCalledPartyBCDHelper()
1082 char c = number.charAt(i); in numberToCalledPartyBCDHelper()
1519 public static String replaceUnicodeDigits(String number) { in replaceUnicodeDigits() argument
[all …]
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java29 public int number; field in StatusBarIcon
32 public StatusBarIcon(String iconPackage, UserHandle user, int iconId, int iconLevel, int number, in StatusBarIcon() argument
38 this.number = number; in StatusBarIcon()
47 + " num=" + this.number + " )"; in toString()
53 this.iconLevel, this.number, this.contentDescription); in clone()
71 this.number = in.readInt(); in readFromParcel()
81 out.writeInt(this.number); in writeToParcel()
/frameworks/base/core/java/android/text/style/
DTtsSpan.java682 public CardinalBuilder(long number) { in CardinalBuilder() argument
684 setNumber(number); in CardinalBuilder()
693 public CardinalBuilder(String number) { in CardinalBuilder() argument
695 setNumber(number); in CardinalBuilder()
704 public CardinalBuilder setNumber(long number) { in setNumber() argument
705 return setNumber(String.valueOf(number)); in setNumber()
714 public CardinalBuilder setNumber(String number) { in setNumber() argument
715 return setStringArgument(TtsSpan.ARG_NUMBER, number); in setNumber()
738 public OrdinalBuilder(long number) { in OrdinalBuilder() argument
740 setNumber(number); in OrdinalBuilder()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java301 public static CallerInfo getCallerInfo(Context context, String number) { in getCallerInfo() argument
305 return getCallerInfo(context, number, subId); in getCallerInfo()
319 public static CallerInfo getCallerInfo(Context context, String number, int subId) { in getCallerInfo() argument
321 if (TextUtils.isEmpty(number)) { in getCallerInfo()
328 if (PhoneNumberUtils.isLocalEmergencyNumber(context, number)) { in getCallerInfo()
330 } else if (PhoneNumberUtils.isVoiceMailNumber(subId, number)) { in getCallerInfo()
335 Uri.encode(number)); in getCallerInfo()
338 info = doSecondaryLookupIfNecessary(context, number, info); in getCallerInfo()
343 info.phoneNumber = number; in getCallerInfo()
360 String number, CallerInfo previousResult) { in doSecondaryLookupIfNecessary() argument
[all …]
DCallerInfoAsyncQuery.java82 public String number; field in CallerInfoAsyncQuery.CookieWrapper
290 mContext, cw.number, mCallerInfo); in onQueryComplete()
315 mCallerInfo.updateGeoDescription(mContext, cw.number); in onQueryComplete()
320 if (!TextUtils.isEmpty(cw.number)) { in onQueryComplete()
321 mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete()
388 public static CallerInfoAsyncQuery startQuery(int token, Context context, String number, in startQuery() argument
392 return startQuery(token, context, number, listener, cookie, subId); in startQuery()
406 public static CallerInfoAsyncQuery startQuery(int token, Context context, String number, in startQuery() argument
418 .appendPath(number) in startQuery()
420 String.valueOf(PhoneNumberUtils.isUriNumber(number))) in startQuery()
[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/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/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()
170 ", number: " + number + in toString()
190 public CdmaRedirectingNumberInfoRec(String number, int numberType, int numberPlan, in CdmaRedirectingNumberInfoRec() argument
193 number, numberType, numberPlan, pi, si); in CdmaRedirectingNumberInfoRec()
/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/bluetooth/
DBluetoothHeadsetClientCall.java73 public BluetoothHeadsetClientCall(int id, int state, String number, boolean multiParty, in BluetoothHeadsetClientCall() argument
77 mNumber = number != null ? number : ""; in BluetoothHeadsetClientCall()
100 public void setNumber(String number) { in setNumber() argument
101 mNumber = number; in setNumber()
/frameworks/base/core/java/android/provider/
DCallLog.java387 public static Uri addCall(CallerInfo ci, Context context, String number, in addCall() argument
390 return addCall(ci, context, number, presentation, callType, features, accountHandle, in addCall()
419 public static Uri addCall(CallerInfo ci, Context context, String number, in addCall() argument
434 } else if (TextUtils.isEmpty(number) in addCall()
439 number = ""; in addCall()
455 values.put(NUMBER, number); in addCall()
495 final String phoneNumber = ci.phoneNumber != null ? ci.phoneNumber : number; in addCall()
513 updateNormalizedNumber(context, resolver, dataId, number); in addCall()
602 String dataId, String number) { in updateNormalizedNumber() argument
603 if (TextUtils.isEmpty(number) || TextUtils.isEmpty(dataId)) { in updateNormalizedNumber()
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DDiagGOTPLT.inc4 …atch_got, DiagnosticEngine::Unreachable, "The number of reserved entries for GOT is inconsist", "T…
5 …atch_plt, DiagnosticEngine::Unreachable, "The number of reserved entries for PLT is inconsist", "T…
/frameworks/base/core/java/android/text/format/
DFormatter.java35 public static String formatFileSize(Context context, long number) { in formatFileSize() argument
36 return formatFileSize(context, number, false); in formatFileSize()
43 public static String formatShortFileSize(Context context, long number) { in formatShortFileSize() argument
44 return formatFileSize(context, number, true); in formatShortFileSize()
47 private static String formatFileSize(Context context, long number, boolean shorter) { in formatFileSize() argument
52 float result = number; in formatFileSize()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayAdapter.java154 int number = ++count; in updateOverlayDisplayDevicesLocked() local
157 number); in updateOverlayDisplayDevicesLocked()
158 int gravity = chooseOverlayGravity(number); in updateOverlayDisplayDevicesLocked()
161 Slog.i(TAG, "Showing overlay display device #" + number in updateOverlayDisplayDevicesLocked()
166 width, height, densityDpi, gravity, secure, number)); in updateOverlayDisplayDevicesLocked()
209 SurfaceTexture surfaceTexture, int number) { in OverlayDisplayDevice() argument
210 super(OverlayDisplayAdapter.this, displayToken, UNIQUE_ID_PREFIX + number); in OverlayDisplayDevice()
292 int height, int densityDpi, int gravity, boolean secure, int number) { in OverlayDisplayHandle() argument
299 mNumber = number; in OverlayDisplayHandle()
/frameworks/base/core/tests/coretests/src/android/database/
DNewDatabasePerformanceTests.java70 public String numberName(int number) { in numberName() argument
73 if (number >= 1000) { in numberName()
74 result += numberName((number / 1000)) + " thousand"; in numberName()
75 number = (number % 1000); in numberName()
77 if (number > 0) result += " "; in numberName()
80 if (number >= 100) { in numberName()
81 result += ONES[(number / 100)] + " hundred"; in numberName()
82 number = (number % 100); in numberName()
84 if (number > 0) result += " "; in numberName()
87 if (number >= 20) { in numberName()
[all …]

12345678910>>...17