Home
last modified time | relevance | path

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

12345678910>>...18

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberWatcherTest.java38 SpannableStringBuilder number = new SpannableStringBuilder(); in testAppendChars() local
40 textWatcher.beforeTextChanged(number, 0, 0, multiChars.length()); in testAppendChars()
41 number.append(multiChars); in testAppendChars()
42 Selection.setSelection(number, number.length()); in testAppendChars()
43 textWatcher.onTextChanged(number, 0, 0, number.length()); in testAppendChars()
44 textWatcher.afterTextChanged(number); in testAppendChars()
45 assertEquals(formatted1, number.toString()); in testAppendChars()
46 assertEquals(formatted1.length(), Selection.getSelectionEnd(number)); in testAppendChars()
47 assertSingleTtsSpan(number); in testAppendChars()
52 int len = number.length(); in testAppendChars()
[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/telephony/common/com/android/internal/telephony/
DSmsNumberUtils.java111 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyNumberTest.java29 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/packages/InputDevices/res/raw/
Dkeyboard_layout_persian.kcm200 label, number: '\u06F0'
206 label, number: '\u06F1'
212 label, number: '\u06F2'
218 label, number: '\u06F3'
224 label, number: '\u06F4'
230 label, number: '\u06F5'
236 label, number: '\u06F6'
243 label, number: '\u06F7'
249 label, number: '\u06F8'
255 label, number: '\u06F9'
[all …]
/frameworks/base/apct-tests/perftests/core/jni/
DSystemPerfTest.cpp54 static jint jintFastNativeAccess(JNIEnv*, jclass, jint number) { in jintFastNativeAccess() argument
55 return number; in jintFastNativeAccess()
58 static jint jintCriticalNativeAccess(CRITICAL_JNI_PARAMS_COMMA jint number) { in jintCriticalNativeAccess() argument
59 return number; in jintCriticalNativeAccess()
62 static jint jintFastNativeCheckNullPointer(JNIEnv* env, jclass, jint number) { in jintFastNativeCheckNullPointer() argument
63 if (number == 0) { in jintFastNativeCheckNullPointer()
67 return number; in jintFastNativeCheckNullPointer()
70 static jint jintCriticalNativeCheckNullPointer(CRITICAL_JNI_PARAMS_COMMA jint number) { in jintCriticalNativeCheckNullPointer() argument
71 if (number == 0) { in jintCriticalNativeCheckNullPointer()
74 return number; in jintCriticalNativeCheckNullPointer()
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java45 public int number; field in StatusBarIcon
49 public StatusBarIcon(UserHandle user, String resPackage, Icon icon, int iconLevel, int number, in StatusBarIcon() argument
62 this.number = number; in StatusBarIcon()
68 int iconId, int iconLevel, int number, in StatusBarIcon() argument
71 iconLevel, number, contentDescription, type); in StatusBarIcon()
81 + ((number != 0)?(" num=" + number):"") in toString()
89 this.iconLevel, this.number, this.contentDescription, this.type); in clone()
107 this.number = in.readInt(); in readFromParcel()
118 out.writeInt(this.number); in writeToParcel()
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountSuggestionService.java70 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()
DCallerInfo.java379 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 …]
DCallerInfoAsyncQuery.java91 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/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/base/telephony/java/android/telephony/ims/
DImsSuppServiceNotification.java46 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/opt/telephony/src/java/com/android/internal/telephony/metrics/
DEmergencyNumberStats.java133 for (EmergencyNumber number : emergencyNumberList) { in convertEmergencyNumbersListToProto()
134 numberProtoList.add(convertEmergencyNumberToProto(number, assetVersion, otaVersion, in convertEmergencyNumbersListToProto()
141 EmergencyNumber number, int assetVer, int otaVer, boolean isDbRoutingIgnored) { in convertEmergencyNumberToProto() argument
142 String dialNumber = number.getNumber(); in convertEmergencyNumberToProto()
148 emergencyNumber.number = dialNumber; in convertEmergencyNumberToProto()
149 emergencyNumber.countryIso = number.getCountryIso(); in convertEmergencyNumberToProto()
150 emergencyNumber.mnc = number.getMnc(); in convertEmergencyNumberToProto()
151 emergencyNumber.route = sRoutesMap.get(number.getEmergencyCallRouting()); in convertEmergencyNumberToProto()
152 emergencyNumber.urns = number.getEmergencyUrns().toArray(new String[0]); in convertEmergencyNumberToProto()
154 number.getEmergencyServiceCategories()); in convertEmergencyNumberToProto()
[all …]
/frameworks/proto_logging/stats/atoms/threadnetwork/
Dthreadnetwork_atoms.proto133 // The number of Router Advertisement packets received by otbr-agent on the
137 // The number of Router Advertisement packets successfully transmitted by
141 // The number of Router Advertisement packets failed to transmit by
145 // The number of Router Solicitation packets received by otbr-agent on the
149 // The number of Router Solicitation packets successfully transmitted by
153 // The number of Router Solicitation packets failed to transmit by
177 // The number of active hosts/services registered on the SRP server.
180 // The number of hosts/services in 'Deleted' state on the SRP server.
201 // The number of successful responses
204 // The number of server failure responses
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecord.java92 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/base/telephony/java/android/telephony/
DPhoneNumberUtils.java222 String number = null; in getNumberFromIntent() local
260 number = c.getString(c.getColumnIndex(phoneColumn)); in getNumberFromIntent()
271 return number; in getNumberFromIntent()
1186 public static byte[] numberToCalledPartyBCD(String number) { in numberToCalledPartyBCD() argument
1187 return numberToCalledPartyBCD(number, BCD_EXTENDED_TYPE_EF_ADN); in numberToCalledPartyBCD()
1201 public static byte[] numberToCalledPartyBCD(String number, @BcdExtendType int bcdExtType) { in numberToCalledPartyBCD() argument
1202 return numberToCalledPartyBCDHelper(number, false, bcdExtType); in numberToCalledPartyBCD()
1210 String number, boolean includeLength, @BcdExtendType int bcdExtType) { in numberToCalledPartyBCDHelper() argument
1211 int numberLenReal = number.length(); in numberToCalledPartyBCDHelper()
1213 boolean hasPlus = number.indexOf('+') != -1; in numberToCalledPartyBCDHelper()
[all …]
/frameworks/av/media/libaaudio/src/flowgraph/resampler/
DREADME.md39 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/
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/service/autofill/
DLuhnChecksumValidator.java58 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/
DConferenceParticipant.java150 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/
DEabContactSyncController.java154 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/
DDriverCall.java81 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/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java888 private Set<String> addPrefixToEmergencyNumber(String number) { in addPrefixToEmergencyNumber() argument
891 if (!number.startsWith(prefix)) { in addPrefixToEmergencyNumber()
892 phoneNumbersWithPrefix.add(prefix + number); in addPrefixToEmergencyNumber()
903 public boolean isEmergencyNumber(String number) { in isEmergencyNumber() argument
904 if (number == null) { in isEmergencyNumber()
909 if (PhoneNumberUtils.isUriNumber(number)) { in isEmergencyNumber()
915 number = PhoneNumberUtils.extractNetworkPortionAlt(number); in isEmergencyNumber()
919 if (num.getNumber().equals(number)) { in isEmergencyNumber()
926 boolean inEccList = isEmergencyNumberFromEccList(number); in isEmergencyNumber()
927 boolean inEmergencyNumberDb = isEmergencyNumberFromDatabase(number); in isEmergencyNumber()
[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/proto_logging/stats/atoms/media/
Dmedia_codec_extension_atoms.proto71 // The number of concurrent instances of this codec, when the
79 // If it was a successful reclaim, the number of codecs that have been reclaimed.
127 // Total number of concurrent codecs in the system.
130 // Total number of concurrent codecs owned by this application.
136 // Total number of concurrent HW Video codecs owned by this application.
139 // Total number of concurrent SW Video codecs owned by this application.
142 // Total number of concurrent Video codecs owned by this application.
145 // Total number of concurrent Audio codecs owned by this application.
148 // Total number of concurrent Image codecs owned by this application.
188 // Total number of concurrent codecs in the system.
[all …]

12345678910>>...18