/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberWatcherTest.java | 34 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 …]
|
D | PhoneNumberUtilsTest.java | 368 SpannableStringBuilder number = new SpannableStringBuilder(); in testNanpFormatting() local 369 number.append("8005551212"); in testNanpFormatting() 370 PhoneNumberUtils.formatNanpNumber(number); in testNanpFormatting() 371 assertEquals("800-555-1212", number.toString()); in testNanpFormatting() 373 number.clear(); in testNanpFormatting() 374 number.append("800555121"); in testNanpFormatting() 375 PhoneNumberUtils.formatNanpNumber(number); in testNanpFormatting() 376 assertEquals("800-555-121", number.toString()); in testNanpFormatting() 378 number.clear(); in testNanpFormatting() 379 number.append("555-1212"); in testNanpFormatting() [all …]
|
/frameworks/base/data/keyboards/ |
D | qwerty.kcm | 26 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 …]
|
D | qwerty2.kcm | 23 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/ |
D | SmsNumberUtils.java | 104 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 …]
|
D | DriverCall.java | 44 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()
|
D | IccProvider.java | 199 String number = initialValues.getAsString("number"); in insert() local 201 boolean success = addIccRecordToEf(efType, tag, number, null, pin2, subId); in insert() 293 String number = null; in delete() local 316 number = normalizeValue(val); in delete() 329 boolean success = deleteIccRecordFromEf(efType, tag, number, emails, pin2, subId); in delete() 376 String number = values.getAsString("number"); in update() local 382 boolean success = updateIccRecordInEf(efType, tag, number, in update() 427 addIccRecordToEf(int efType, String name, String number, String[] emails, in addIccRecordToEf() argument 430 ", name=" + Rlog.pii(TAG, name) + ", number=" + Rlog.pii(TAG, number) + in addIccRecordToEf() 445 "", "", name, number, pin2); in addIccRecordToEf() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | LongParcelable.java | 25 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/ |
D | StatusBarIcon.java | 31 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/ |
D | PhoneNumberUtils.java | 152 String number = null; in getNumberFromIntent() local 187 number = c.getString(c.getColumnIndex(phoneColumn)); in getNumberFromIntent() 198 return number; in getNumberFromIntent() 1059 numberToCalledPartyBCD(String number) { in numberToCalledPartyBCD() argument 1060 return numberToCalledPartyBCDHelper(number, false); in numberToCalledPartyBCD() 1068 numberToCalledPartyBCDHelper(String number, boolean includeLength) { in numberToCalledPartyBCDHelper() argument 1069 int numberLenReal = number.length(); in numberToCalledPartyBCDHelper() 1071 boolean hasPlus = number.indexOf('+') != -1; in numberToCalledPartyBCDHelper() 1085 char c = number.charAt(i); in numberToCalledPartyBCDHelper() 1562 public static String replaceUnicodeDigits(String number) { in replaceUnicodeDigits() argument [all …]
|
/frameworks/base/core/java/android/text/style/ |
D | TtsSpan.java | 692 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/ |
D | AdnRecord.java | 81 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/ |
D | CallerInfo.java | 327 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 …]
|
D | CallerInfoAsyncQuery.java | 81 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/ |
D | AccountViewAdapter.java | 91 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/ |
D | BluetoothHeadsetClientCall.java | 77 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/base/core/java/android/text/method/ |
D | DialerKeyListener.java | 57 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/ |
D | CallLog.java | 492 public static Uri addCall(CallerInfo ci, Context context, String number, in addCall() argument 495 return addCall(ci, context, number, /* postDialDigits =*/ "", /* viaNumber =*/ "", in addCall() 530 public static Uri addCall(CallerInfo ci, Context context, String number, in addCall() argument 534 return addCall(ci, context, number, postDialDigits, viaNumber, presentation, callType, in addCall() 573 public static Uri addCall(CallerInfo ci, Context context, String number, in addCall() argument 580 number, userToBeInsertedTo, addForAllUsers)); in addCall() 610 } else if (TextUtils.isEmpty(number) in addCall() 615 number = ""; in addCall() 631 values.put(NUMBER, number); in addCall() 670 final String phoneNumber = ci.phoneNumber != null ? ci.phoneNumber : number; in addCall() [all …]
|
/frameworks/base/telephony/java/com/android/ims/ |
D | ImsSuppServiceNotification.java | 43 public String number; field in ImsSuppServiceNotification 60 ", number=" + number + in toString() 76 out.writeString(number); in writeToParcel() 85 number = in.readString(); in readFromParcel()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagGOTPLT.inc | 15 "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/opt/chips/src/com/android/ex/chips/ |
D | PhoneUtil.java | 41 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/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaInformationRecords.java | 151 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/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardPinBasedInputView.java | 93 int number = keyCode - KeyEvent.KEYCODE_0; in onKeyDown() local 94 performNumberClick(number); in onKeyDown() 98 int number = keyCode - KeyEvent.KEYCODE_NUMPAD_0; in onKeyDown() local 99 performNumberClick(number); in onKeyDown() 127 private void performNumberClick(int number) { in performNumberClick() argument 128 switch (number) { in performNumberClick()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Voicemail.java | 41 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()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | NewDatabasePerformanceTests.java | 70 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 …]
|