/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberWatcherTest.java | 36 SpannableStringBuilder number = new SpannableStringBuilder(); in testAppendChars() local 38 textWatcher.beforeTextChanged(number, 0, 0, multiChars.length()); in testAppendChars() 39 number.append(multiChars); in testAppendChars() 40 Selection.setSelection(number, number.length()); in testAppendChars() 41 textWatcher.onTextChanged(number, 0, 0, number.length()); in testAppendChars() 42 textWatcher.afterTextChanged(number); in testAppendChars() 43 assertEquals(formatted1, number.toString()); in testAppendChars() 44 assertEquals(formatted1.length(), Selection.getSelectionEnd(number)); in testAppendChars() 48 int len = number.length(); in testAppendChars() 49 textWatcher.beforeTextChanged(number, number.length(), 0, 1); in testAppendChars() [all …]
|
D | PhoneNumberUtilsTest.java | 415 SpannableStringBuilder number = new SpannableStringBuilder(); in testNanpFormatting() local 416 number.append("8005551212"); in testNanpFormatting() 417 PhoneNumberUtils.formatNanpNumber(number); in testNanpFormatting() 418 assertEquals("800-555-1212", number.toString()); in testNanpFormatting() 420 number.clear(); in testNanpFormatting() 421 number.append("800555121"); in testNanpFormatting() 422 PhoneNumberUtils.formatNanpNumber(number); in testNanpFormatting() 423 assertEquals("800-555-121", number.toString()); in testNanpFormatting() 425 number.clear(); in testNanpFormatting() 426 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/tests/telephonytests/src/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTest.java | 29 EmergencyNumber number = new EmergencyNumber( in testEmergencyNumberUnspecified() local 37 assertEquals(number.getNumber(), "911"); in testEmergencyNumberUnspecified() 38 assertEquals(number.getCountryIso(), "us"); in testEmergencyNumberUnspecified() 39 assertEquals(number.getMnc(), "30"); in testEmergencyNumberUnspecified() 40 assertTrue(number.isInEmergencyServiceCategories( in testEmergencyNumberUnspecified() 42 assertTrue(number.isInEmergencyServiceCategories( in testEmergencyNumberUnspecified() 44 assertTrue(number.isInEmergencyServiceCategories( in testEmergencyNumberUnspecified() 46 assertTrue(number.isInEmergencyServiceCategories( in testEmergencyNumberUnspecified() 48 assertTrue(number.isInEmergencyServiceCategories( in testEmergencyNumberUnspecified() 50 assertTrue(number.isInEmergencyServiceCategories( in testEmergencyNumberUnspecified() [all …]
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsNumberUtils.java | 111 public String number; field in SmsNumberUtils.NumberEntry 114 public NumberEntry(String number) { in NumberEntry() argument 115 this.number = number; in NumberEntry() 129 private static String formatNumber(Context context, String number, in formatNumber() argument 132 if (number == null ) { in formatNumber() 140 String networkPortionNumber = PhoneNumberUtils.extractNetworkPortion(number); in formatNumber() 303 String number = numberEntry.number; in checkNANP() local 305 if (number.length() == NANP_SHORT_LENGTH) { in checkNANP() 307 char firstChar = number.charAt(0); in checkNANP() 311 char c= number.charAt(i); in checkNANP() [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/packages/InputDevices/res/raw/ |
D | keyboard_layout_persian.kcm | 204 label, number: '\u06F0' 211 label, number: '\u06F1' 218 label, number: '\u06F2' 225 label, number: '\u06F3' 232 label, number: '\u06F4' 239 label, number: '\u06F5' 246 label, number: '\u06F6' 254 label, number: '\u06F7' 261 label, number: '\u06F8' 268 label, number: '\u06F9' [all …]
|
/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 | 212 String number = null; in getNumberFromIntent() local 250 number = c.getString(c.getColumnIndex(phoneColumn)); in getNumberFromIntent() 261 return number; in getNumberFromIntent() 1172 public static byte[] numberToCalledPartyBCD(String number) { in numberToCalledPartyBCD() argument 1173 return numberToCalledPartyBCD(number, BCD_EXTENDED_TYPE_EF_ADN); in numberToCalledPartyBCD() 1187 public static byte[] numberToCalledPartyBCD(String number, @BcdExtendType int bcdExtType) { in numberToCalledPartyBCD() argument 1188 return numberToCalledPartyBCDHelper(number, false, bcdExtType); in numberToCalledPartyBCD() 1196 String number, boolean includeLength, @BcdExtendType int bcdExtType) { in numberToCalledPartyBCDHelper() argument 1197 int numberLenReal = number.length(); in numberToCalledPartyBCDHelper() 1199 boolean hasPlus = number.indexOf('+') != -1; in numberToCalledPartyBCDHelper() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | PhoneAccountSuggestionService.java | 72 String number) { 73 mCallbackMap.put(number, callback); 74 PhoneAccountSuggestionService.this.onAccountSuggestionRequest(number); 98 public void onAccountSuggestionRequest(@NonNull String number) {} in onAccountSuggestionRequest() argument 110 public final void suggestPhoneAccounts(@NonNull String number, in suggestPhoneAccounts() argument 112 IPhoneAccountSuggestionCallback callback = mCallbackMap.remove(number); in suggestPhoneAccounts() 114 Log.w(this, "No suggestions requested for the number %s", Log.pii(number)); in suggestPhoneAccounts() 118 callback.suggestPhoneAccounts(number, suggestions); in suggestPhoneAccounts()
|
D | CallerInfo.java | 378 public static CallerInfo getCallerInfo(Context context, String number) { in getCallerInfo() argument 382 return getCallerInfo(context, number, subId); in getCallerInfo() 399 public static CallerInfo getCallerInfo(Context context, String number, int subId) { in getCallerInfo() argument 401 if (TextUtils.isEmpty(number)) { in getCallerInfo() 408 if (PhoneNumberUtils.isLocalEmergencyNumber(context, number)) { in getCallerInfo() 410 } else if (PhoneNumberUtils.isVoiceMailNumber(null, subId, number)) { in getCallerInfo() 415 Uri.encode(number)); in getCallerInfo() 418 info = doSecondaryLookupIfNecessary(context, number, info); in getCallerInfo() 423 info.phoneNumber = number; in getCallerInfo() 456 public void setPhoneNumber(String number) { in setPhoneNumber() argument [all …]
|
D | CallerInfoAsyncQuery.java | 84 public String number; field in CallerInfoAsyncQuery.CookieWrapper 226 if (!TextUtils.isEmpty(cw.number) && cw.cookie != null && mContext != null) { in handleGeoDescription() 228 cw.geoDescription = CallerInfo.getGeoDescription(mContext, cw.number); in handleGeoDescription() 332 mContext, cw.number, mCallerInfo); in onQueryComplete() 340 if (!TextUtils.isEmpty(cw.number)) { in onQueryComplete() 341 mCallerInfo.setPhoneNumber(PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete() 428 public static CallerInfoAsyncQuery startQuery(int token, Context context, String number, in startQuery() argument 432 return startQuery(token, context, number, listener, cookie, subId); in startQuery() 446 public static CallerInfoAsyncQuery startQuery(int token, Context context, String number, in startQuery() argument 458 .appendPath(number) in startQuery() [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 | 88 String number; 94 number = source.readString(); 99 return new AdnRecord(efid, recordNumber, alphaTag, number, emails); 101 return new AdnRecord(efid, recordNumber, alphaTag, number, null); 126 public AdnRecord (String alphaTag, String number) { in AdnRecord() argument 127 this(0, 0, alphaTag, number); in AdnRecord() 131 public AdnRecord (String alphaTag, String number, String[] emails) { in AdnRecord() argument 132 this(0, 0, alphaTag, number, emails); in AdnRecord() 136 public AdnRecord (int efid, int recordNumber, String alphaTag, String number, String[] emails) { in AdnRecord() argument 140 this.mNumber = number; in AdnRecord() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTracker.java | 711 public boolean isEmergencyNumber(String number, boolean exactMatch) { in isEmergencyNumber() argument 712 if (number == null) { in isEmergencyNumber() 715 number = PhoneNumberUtils.stripSeparators(number); in isEmergencyNumber() 728 if (num.getNumber().equals(number)) { in isEmergencyNumber() 732 if (number.startsWith(num.getNumber())) { in isEmergencyNumber() 739 return isEmergencyNumberFromEccList(number, exactMatch) in isEmergencyNumber() 740 || isEmergencyNumberFromDatabase(number) || isEmergencyNumberForTest(number); in isEmergencyNumber() 878 private boolean isEmergencyNumberForTest(String number) { in isEmergencyNumberForTest() argument 879 number = PhoneNumberUtils.stripSeparators(number); in isEmergencyNumberForTest() 881 if (num.getNumber().equals(number)) { in isEmergencyNumberForTest() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsSuppServiceNotification.java | 48 public final String number; field in ImsSuppServiceNotification 54 String number, String[] history) { in ImsSuppServiceNotification() argument 59 this.number = number; in ImsSuppServiceNotification() 69 number = in.readString(); in ImsSuppServiceNotification() 80 ", number=" + number + in toString() 96 out.writeString(number); in writeToParcel()
|
/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/opt/net/ims/src/java/com/android/ims/internal/ |
D | ConferenceParticipant.java | 150 String number = address.getSchemeSpecificPart(); in getParticipantPresentation() local 152 if (TextUtils.isEmpty(number)) { in getParticipantPresentation() 161 String [] hostParts = number.split("[;]"); in getParticipantPresentation() 333 String number = address.getSchemeSpecificPart(); in getParticipantAddress() local 334 if (TextUtils.isEmpty(number)) { in getParticipantAddress() 338 String numberParts[] = number.split("[@;:]"); in getParticipantAddress() 342 number = numberParts[0]; in getParticipantAddress() 351 formattedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso); in getParticipantAddress() 355 formattedNumber != null ? formattedNumber : number, null); in getParticipantAddress()
|
/frameworks/base/core/java/android/service/autofill/ |
D | LuhnChecksumValidator.java | 58 private static boolean isLuhnChecksumValid(@NonNull String number) { in isLuhnChecksumValid() argument 62 for (int i = number.length() - 1; i >= 0; i--) { in isLuhnChecksumValid() 63 final int digit = number.charAt(i) - '0'; in isLuhnChecksumValid() 101 final String number = builder.toString(); in isValid() local 102 boolean valid = isLuhnChecksumValid(number); in isValid() 103 if (sDebug) Log.d(TAG, "isValid(" + number.length() + " chars): " + valid); in isValid()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DriverCall.java | 81 public String number; field in DriverCall 118 ret.number = PhoneNumberUtils.extractNetworkPortionAlt(p.nextString()); in fromCLCCLine() 120 if (ret.number.length() == 0) { in fromCLCCLine() 121 ret.number = null; in fromCLCCLine() 129 ret.number = PhoneNumberUtils.stringFromStringAndTOA( in fromCLCCLine() 130 ret.number, ret.TOA); in fromCLCCLine()
|
D | IccProvider.java | 206 String number = initialValues.getAsString("number"); in insert() local 208 boolean success = addIccRecordToEf(efType, tag, number, null, pin2, subId); in insert() 300 String number = null; in delete() local 323 number = normalizeValue(val); in delete() 336 boolean success = deleteIccRecordFromEf(efType, tag, number, emails, pin2, subId); in delete() 383 String number = values.getAsString("number"); in update() local 389 boolean success = updateIccRecordInEf(efType, tag, number, in update() 434 addIccRecordToEf(int efType, String name, String number, String[] emails, in addIccRecordToEf() argument 437 ", name=" + Rlog.pii(TAG, name) + ", number=" + Rlog.pii(TAG, number) + in addIccRecordToEf() 452 "", "", name, number, pin2); in addIccRecordToEf() [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothHeadsetClientCall.java | 82 public BluetoothHeadsetClientCall(BluetoothDevice device, int id, int state, String number, in BluetoothHeadsetClientCall() argument 84 this(device, id, UUID.randomUUID(), state, number, multiParty, outgoing, inBandRing); in BluetoothHeadsetClientCall() 88 String number, boolean multiParty, boolean outgoing, boolean inBandRing) { in BluetoothHeadsetClientCall() argument 93 mNumber = number != null ? number : ""; in BluetoothHeadsetClientCall() 118 public void setNumber(String number) { in setNumber() argument 119 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/proto/src/ |
D | wifi.proto | 93 // Mapping of error codes to the number of times that scans resulted 122 // Mapping of system state to the number of times that scans were requested in 138 // Mapping of Error/Success codes to the number of background scans that resulted in it 141 // Mapping of system state to the number of times that Background scans were requested in that 145 // Total number of times the Watchdog of Last Resort triggered, resetting the wifi stack 148 // Total number of networks over bad association threshold when watchdog triggered 151 // Total number of networks over bad authentication threshold when watchdog triggered 154 // Total number of networks over bad dhcp threshold when watchdog triggered 157 // Total number of networks over bad other threshold when watchdog triggered 193 // Total number of times WiFi connected immediately after a Last Resort Watchdog trigger, [all …]
|