/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() 45 assertSingleTtsSpan(number); in testAppendChars() 50 int len = number.length(); 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/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/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/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/telecomm/java/android/telecom/ |
D | PhoneAccountSuggestionService.java | 70 String number) { 71 mCallbackMap.put(number, callback); 72 PhoneAccountSuggestionService.this.onAccountSuggestionRequest(number); 96 public void onAccountSuggestionRequest(@NonNull String number) {} in onAccountSuggestionRequest() argument 108 public final void suggestPhoneAccounts(@NonNull String number, in suggestPhoneAccounts() argument 110 IPhoneAccountSuggestionCallback callback = mCallbackMap.remove(number); in suggestPhoneAccounts() 112 Log.w(this, "No suggestions requested for the number %s", Log.pii(number)); in suggestPhoneAccounts() 116 callback.suggestPhoneAccounts(number, suggestions); in suggestPhoneAccounts()
|
D | CallerInfo.java | 379 public static CallerInfo getCallerInfo(Context context, String number) { in getCallerInfo() argument 383 return getCallerInfo(context, number, subId); in getCallerInfo() 400 public static CallerInfo getCallerInfo(Context context, String number, int subId) { in getCallerInfo() argument 402 if (TextUtils.isEmpty(number)) { in getCallerInfo() 410 if (tm.isEmergencyNumber(number)) { in getCallerInfo() 412 } else if (PhoneNumberUtils.isVoiceMailNumber(null, subId, number)) { in getCallerInfo() 417 Uri.encode(number)); in getCallerInfo() 420 info = doSecondaryLookupIfNecessary(context, number, info); in getCallerInfo() 425 info.phoneNumber = number; in getCallerInfo() 458 public void setPhoneNumber(String number) { in setPhoneNumber() argument [all …]
|
D | CallerInfoAsyncQuery.java | 91 public String number; field in CallerInfoAsyncQuery.CookieWrapper 233 if (!TextUtils.isEmpty(cw.number) && cw.cookie != null && mContext != null) { in handleGeoDescription() 235 cw.geoDescription = CallerInfo.getGeoDescription(mContext, cw.number); in handleGeoDescription() 339 mContext, cw.number, mCallerInfo); in onQueryComplete() 347 if (!TextUtils.isEmpty(cw.number)) { in onQueryComplete() 348 mCallerInfo.setPhoneNumber(PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete() 435 public static CallerInfoAsyncQuery startQuery(int token, Context context, String number, in startQuery() argument 439 return startQuery(token, context, number, listener, cookie, subId); in startQuery() 453 public static CallerInfoAsyncQuery startQuery(int token, Context context, String number, in startQuery() argument 465 .appendPath(number) in startQuery() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberUtils.java | 213 String number = null; in getNumberFromIntent() local 251 number = c.getString(c.getColumnIndex(phoneColumn)); in getNumberFromIntent() 262 return number; in getNumberFromIntent() 1177 public static byte[] numberToCalledPartyBCD(String number) { in numberToCalledPartyBCD() argument 1178 return numberToCalledPartyBCD(number, BCD_EXTENDED_TYPE_EF_ADN); in numberToCalledPartyBCD() 1192 public static byte[] numberToCalledPartyBCD(String number, @BcdExtendType int bcdExtType) { in numberToCalledPartyBCD() argument 1193 return numberToCalledPartyBCDHelper(number, false, bcdExtType); in numberToCalledPartyBCD() 1201 String number, boolean includeLength, @BcdExtendType int bcdExtType) { in numberToCalledPartyBCDHelper() argument 1202 int numberLenReal = number.length(); in numberToCalledPartyBCDHelper() 1204 boolean hasPlus = number.indexOf('+') != -1; in numberToCalledPartyBCDHelper() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsSuppServiceNotification.java | 46 public final String number; field in ImsSuppServiceNotification 52 String number, String[] history) { in ImsSuppServiceNotification() argument 57 this.number = number; in ImsSuppServiceNotification() 67 number = in.readString(); in ImsSuppServiceNotification() 78 ", number=" + number + in toString() 94 out.writeString(number); in writeToParcel()
|
/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/net/ims/tests/src/com/android/ims/rcs/uce/presence/publish/ |
D | DeviceCapabilityInfoTest.java | 70 String number = numberParts[0]; in testGetImsAssociatedUriWithoutPreferTelUri() local 72 assertEquals(number, sipNumber); in testGetImsAssociatedUriWithoutPreferTelUri() 86 number = numberParts[0]; in testGetImsAssociatedUriWithoutPreferTelUri() 88 assertEquals(number, telNumber); in testGetImsAssociatedUriWithoutPreferTelUri() 107 String number = numberParts[0]; in testGetImsAssociatedUriWithPreferTelUri() local 109 assertEquals(number, telNumber); in testGetImsAssociatedUriWithPreferTelUri() 122 number = numberParts[0]; in testGetImsAssociatedUriWithPreferTelUri() 124 assertEquals(number, telNumber); in testGetImsAssociatedUriWithPreferTelUri() 138 number = numberParts[0]; in testGetImsAssociatedUriWithPreferTelUri() 140 assertEquals(number, telNumber); in testGetImsAssociatedUriWithPreferTelUri()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTracker.java | 713 public boolean isEmergencyNumber(String number, boolean exactMatch) { in isEmergencyNumber() argument 714 if (number == null) { in isEmergencyNumber() 719 if (PhoneNumberUtils.isUriNumber(number)) { in isEmergencyNumber() 725 number = PhoneNumberUtils.extractNetworkPortionAlt(number); in isEmergencyNumber() 740 if (num.getNumber().equals(number)) { in isEmergencyNumber() 745 if (number.startsWith(num.getNumber())) { in isEmergencyNumber() 753 boolean inEccList = isEmergencyNumberFromEccList(number, exactMatch); in isEmergencyNumber() 754 boolean inEmergencyNumberDb = isEmergencyNumberFromDatabase(number); in isEmergencyNumber() 755 boolean inEmergencyNumberTestList = isEmergencyNumberForTest(number); in isEmergencyNumber() 905 private boolean isEmergencyNumberForTest(String number) { in isEmergencyNumberForTest() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AdnRecord.java | 92 String number; 99 number = source.readString(); 103 return new AdnRecord(efid, recordNumber, alphaTag, number, emails, additionalNumbers); 169 public AdnRecord (String alphaTag, String number) { in AdnRecord() argument 170 this(0, 0, alphaTag, number); in AdnRecord() 174 public AdnRecord (String alphaTag, String number, String[] emails) { in AdnRecord() argument 175 this(0, 0, alphaTag, number, emails); in AdnRecord() 178 public AdnRecord(String alphaTag, String number, String[] emails, String[] additionalNumbers) { in AdnRecord() argument 179 this(0, 0, alphaTag, number, emails, additionalNumbers); in AdnRecord() 183 public AdnRecord (int efid, int recordNumber, String alphaTag, String number, String[] emails) { in AdnRecord() argument [all …]
|
/frameworks/av/media/libaaudio/src/flowgraph/resampler/ |
D | README.md | 39 Note that the number of output frames generated for a given number of input frames can vary. 41 …48000 Hz and using an input buffer with 960 frames. If you calculate the number of output frames y… 45 You cannot generate a fractional number of frames. So the resampler will sometimes generate 1044 fr… 47 You can either use a fixed number of input frames or a fixed number of output frames. The other fra… 49 ## Calling the Resampler with a fixed number of OUTPUT frames 51 In this example, suppose we have a fixed number of output frames and a variable number of input fra… 56 int numOutputFrames; // number of frames of output 72 ## Calling the Resampler with a fixed number of INPUT frames 74 In this example, suppose we have a fixed number of input frames and a variable number of output fra… 80 int numInputFrames; // number of frames of input
|
/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/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/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/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/ |
D | EabContactSyncController.java | 154 int number = context.getContentResolver().delete( in handleContactDeletedCase() local 158 Log.d(TAG, "(Case 1) Deleted contact count=" + number); in handleContactDeletedCase() 180 String number = formatNumber(context, cursor.getString( in handlePhoneNumberDeletedCase() local 184 phoneNumberMap.get(rawContactId).add(number); in handlePhoneNumberDeletedCase() 187 phoneNumberList.add(number); in handlePhoneNumberDeletedCase() 221 int number = context.getContentResolver().delete( in handlePhoneNumberDeletedCase() local 225 Log.d(TAG, "(Case 2, 3) handlePhoneNumberDeletedCase number count= " + number); in handlePhoneNumberDeletedCase() 262 String number = formatNumber(context, contactCursor.getString( in handlePhoneNumberInsertedCase() local 268 refreshContacts.add(Uri.parse(number)); in handlePhoneNumberInsertedCase() 273 data.put(EabProvider.ContactColumns.PHONE_NUMBER, number); in handlePhoneNumberInsertedCase() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DriverCall.java | 81 public String number; field in DriverCall 119 ret.number = PhoneNumberUtils.extractNetworkPortionAlt(p.nextString()); in fromCLCCLine() 121 if (ret.number.length() == 0) { in fromCLCCLine() 122 ret.number = null; in fromCLCCLine() 130 ret.number = PhoneNumberUtils.stringFromStringAndTOA( in fromCLCCLine() 131 ret.number, ret.TOA); in fromCLCCLine()
|
/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()
|