Home
last modified time | relevance | path

Searched refs:numbers (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DTunerSetupUtils.java79 List<String> numbers = in parseChannelNumber() local
82 numbers.removeAll(Collections.singleton("")); in parseChannelNumber()
83 if (numbers.size() < 1 || numbers.size() > 2) { in parseChannelNumber()
87 return numbers; in parseChannelNumber()
97 List<List<String>> numbers = new ArrayList<>(channelNumbers.size()); in parseChannelNumbers() local
100 numbers.add(parseChannelNumber(channelNumber)); in parseChannelNumbers()
103 return numbers; in parseChannelNumbers()
111 static boolean matchChannelNumber(List<String> numbers, List<String> other) { in matchChannelNumber() argument
112 if (numbers.isEmpty() || other.isEmpty()) { in matchChannelNumber()
117 while (i < numbers.size() && j < other.size()) { in matchChannelNumber()
[all …]
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DLineupSelectionFragment.java250 List<String> numbers = in parseChannelNumber() local
253 numbers.removeAll(Collections.singleton("")); in parseChannelNumber()
254 if (numbers.size() < 1 || numbers.size() > 2) { in parseChannelNumber()
258 return numbers; in parseChannelNumber()
265 private static boolean matchChannelNumber(List<String> numbers, List<String> other) { in matchChannelNumber() argument
266 if (numbers.isEmpty() || other.isEmpty()) { in matchChannelNumber()
271 while (i < numbers.size() && j < other.size()) { in matchChannelNumber()
272 if (!numbers.get(i++).equals(other.get(j++))) { in matchChannelNumber()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlocking.java71 Context context, ImmutableCollection<String> numbers, @Nullable String countryIso) { in block() argument
77 for (String number : numbers) { in block()
103 Context context, ImmutableCollection<String> numbers, @Nullable String countryIso) { in unblock() argument
109 for (String number : numbers) { in unblock()
141 Context context, ImmutableCollection<String> numbers, @Nullable String countryIso) {
149 for (String number : numbers) {
160 .or(Selection.column(BlockedNumbers.COLUMN_ORIGINAL_NUMBER).in(numbers))
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessage.java149 private void setPhoneNumbers(String[] numbers) { in setPhoneNumbers() argument
150 if (numbers != null && numbers.length > 0) { in setPhoneNumbers()
151 mPhoneNumbers = new String[numbers.length]; in setPhoneNumbers()
152 for (int i = 0, n = numbers.length; i < n; i++) { in setPhoneNumbers()
153 String networkNumber = PhoneNumberUtils.extractNetworkPortion(numbers[i]); in setPhoneNumbers()
159 String strippedNumber = PhoneNumberUtils.stripSeparators(numbers[i]); in setPhoneNumbers()
167 mPhoneNumbers[i] = numbers[i]; in setPhoneNumbers()
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfoUtils.java96 final String[] numbers = number.split("&"); in buildCallerInfo() local
97 number = numbers[0]; in buildCallerInfo()
98 if (numbers.length > 1) { in buildCallerInfo()
99 info.forwardingNumber = numbers[1]; in buildCallerInfo()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DDialerUtils.java56 List<PhoneNumber> numbers, in showPhoneNumberSelector() argument
62 new PhoneNumberListAdapter(context, numbers), in showPhoneNumberSelector()
66 selectedPhoneNumber.add(numbers.get(which)); in showPhoneNumberSelector()
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java401 final HashSet<String> numbers = new HashSet<>(); in getNormalizedSelfNumbers() local
402 numbers.add(getCanonicalForSelf(true/*allowOverride*/)); in getNormalizedSelfNumbers()
403 return numbers; in getNormalizedSelfNumbers()
625 final HashSet<String> numbers = new HashSet<>(); in getNormalizedSelfNumbers() local
627 numbers.add(PhoneUtils.get(info.getSubscriptionId()).getCanonicalForSelf( in getNormalizedSelfNumbers()
630 return numbers; in getNormalizedSelfNumbers()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/
DREADME.md47 duplicate phone numbers returned from cp2 and phone numbers that do not match
57 * Country-code agnostic matching for E164 normalized numbers (9177 matches
/packages/apps/Dialer/java/com/android/dialer/phonelookup/blockednumber/
DSystemBlockedNumberPhoneLookup.java94 ImmutableSet<DialerPhoneNumber> numbers) { in queryNumbers() argument
96 PartitionedNumbers partitionedNumbers = new PartitionedNumbers(numbers); in queryNumbers()
138 for (DialerPhoneNumber number : numbers) { in queryNumbers()
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/phonelookup/
DPhoneLookupDataSource.java320 ImmutableSet.Builder<DialerPhoneNumber> numbers = ImmutableSet.builder(); in queryDistinctDialerPhoneNumbersFromAnnotatedCallLog() local
336 return numbers.build(); in queryDistinctDialerPhoneNumbersFromAnnotatedCallLog()
348 numbers.add(DialerPhoneNumber.parseFrom(blob)); in queryDistinctDialerPhoneNumbersFromAnnotatedCallLog()
355 return numbers.build(); in queryDistinctDialerPhoneNumbersFromAnnotatedCallLog()
/packages/apps/Dialer/java/com/android/dialer/duo/stub/
DDuoStub.java79 @NonNull Context context, @NonNull List<String> numbers) { in updateReachability() argument
82 Assert.isNotNull(numbers); in updateReachability()
/packages/apps/Test/connectivity/sl4n/rapidjson/
DCHANGELOG.md14 * Parsing some numbers incorrectly in full-precision mode (`kFullPrecisionParseFlag`) (#342)
28 * Parsing of some numbers (e.g. "1e-00011111111111") causing assertion (#314).
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java605 private long[] getSortedSet(Set<Long> numbers) { in getSortedSet() argument
606 int size = numbers.size(); in getSortedSet()
610 for (Long number : numbers) { in getSortedSet()
625 private String getSpaceSeparatedNumbers(long[] numbers) { in getSpaceSeparatedNumbers() argument
626 int size = numbers.length; in getSpaceSeparatedNumbers()
633 buffer.append(numbers[i]); in getSpaceSeparatedNumbers()
DTelephonyBackupAgent.java1372 final List<String> numbers = new ArrayList<String>();
1409 numbers.add(number);
1421 if (numbers.isEmpty()) {
1426 return numbers;
/packages/apps/Dialer/java/com/android/dialer/phonenumberproto/
Ddialer_phone_number.proto32 // -Numbers containing "#" or starting with "*" are considered service numbers
45 // cause numbers like {"456-7890", "US"} to be treated equivalently to
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java529 List<String> numbers = new ArrayList<>(currentChannels.size()); in getMatchedChannelCount() local
533 numbers.add(channel.getDisplayNumber()); in getMatchedChannelCount()
536 numbers.retainAll(mEpgReader.getChannelNumbers(lineupId)); in getMatchedChannelCount()
537 return numbers.size(); in getMatchedChannelCount()
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItem.java129 Set<String> numbers = new ArraySet<>(); in fromCursor() local
133 if (!numbers.add(number)) { in fromCursor()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupUtil.java278 private static int[] clearZeros(int[] numbers) { in clearZeros() argument
280 for (int n : numbers) { in clearZeros()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/
Dphone_lookup_info.proto86 // call log is requested to be updated but there are many invalid numbers
138 // populate the quick contact activity with name and numbers. This does not
/packages/apps/Dialer/java/com/android/dialer/logging/
Dinteraction_event.proto40 // The user blocked numbers from contacts marked as send to voicemail
Dscreen_event.proto65 // numbers
/packages/apps/Dialer/java/com/android/dialer/duo/
DDuo.java67 @NonNull Context context, @NonNull List<String> numbers); in updateReachability() argument
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java1570 final ArrayList<String> numbers = new ArrayList<String>(); in checkAndLoadToCcRecipients() local
1574 numbers.add(v.getString()); in checkAndLoadToCcRecipients()
1581 numbers.add(v.getString()); in checkAndLoadToCcRecipients()
1585 for (final String number : numbers) { in checkAndLoadToCcRecipients()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dinternals.md113 …64Flag` and/or `kUint64Flag`, according to the range of the integer. For numbers with fraction, an…
226 3. Big Integer Method as in (Clinger, William D. How to read floating point numbers accurately. Vol…
243 …fast algorithm called Grisu3 (Loitsch, Florian. "Printing floating-point numbers quickly and accur…
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java764 final List<String> numbers = new ArrayList<String>(); in getAddresses() local
795 numbers.add(number); in getAddresses()
805 if (numbers.isEmpty()) { in getAddresses()
808 return numbers; in getAddresses()

12