Home
last modified time | relevance | path

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

12

/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DTunerSetupUtils.java80 List<String> numbers = in parseChannelNumber() local
83 numbers.removeAll(Collections.singleton("")); in parseChannelNumber()
84 if (numbers.size() < 1 || numbers.size() > 2) { in parseChannelNumber()
88 return numbers; in parseChannelNumber()
98 List<List<String>> numbers = new ArrayList<>(channelNumbers.size()); in parseChannelNumbers() local
101 numbers.add(parseChannelNumber(channelNumber)); in parseChannelNumbers()
104 return numbers; in parseChannelNumbers()
112 static boolean matchChannelNumber(List<String> numbers, List<String> other) { in matchChannelNumber() argument
113 if (numbers.isEmpty() || other.isEmpty()) { in matchChannelNumber()
118 while (i < numbers.size() && j < other.size()) { in matchChannelNumber()
[all …]
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DLineupSelectionFragment.java253 List<String> numbers = in parseChannelNumber() local
256 numbers.removeAll(Collections.singleton("")); in parseChannelNumber()
257 if (numbers.size() < 1 || numbers.size() > 2) { in parseChannelNumber()
261 return numbers; in parseChannelNumber()
268 private static boolean matchChannelNumber(List<String> numbers, List<String> other) { in matchChannelNumber() argument
269 if (numbers.isEmpty() || other.isEmpty()) { in matchChannelNumber()
274 while (i < numbers.size() && j < other.size()) { in matchChannelNumber()
275 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/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/Car/Dialer/src/com/android/car/dialer/ui/common/
DDialerUtils.java62 List<PhoneNumber> numbers, in showPhoneNumberSelector() argument
69 for (PhoneNumber number : numbers) { in showPhoneNumberSelector()
/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/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java1181 List<EmergencyNumber> numbers = new ArrayList<>(); in setupConnectionServiceForDelayDial() local
1182 numbers.add(setupEmergencyNumber(TEST_ADDRESS)); in setupConnectionServiceForDelayDial()
1183 emergencyNumbers.put(0 /*subId*/, numbers); in setupConnectionServiceForDelayDial()
1221 List<EmergencyNumber> numbers = new ArrayList<>(); in setupConnectionServiceInApm() local
1222 numbers.add(setupEmergencyNumber(TEST_ADDRESS)); in setupConnectionServiceInApm()
1223 emergencyNumbers.put(0 /*subId*/, numbers); in setupConnectionServiceInApm()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java633 private long[] getSortedSet(Set<Long> numbers) { in getSortedSet() argument
634 int size = numbers.size(); in getSortedSet()
638 for (Long number : numbers) { in getSortedSet()
653 private String getSpaceSeparatedNumbers(long[] numbers) { in getSpaceSeparatedNumbers() argument
654 int size = numbers.length; in getSpaceSeparatedNumbers()
661 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.proto31 // -Numbers containing "#" or starting with "*" are considered service numbers
44 // cause numbers like {"456-7890", "US"} to be treated equivalently to
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java508 List<String> numbers = new ArrayList<>(currentChannels.size()); in getMatchedChannelCount() local
512 numbers.add(channel.getDisplayNumber()); in getMatchedChannelCount()
515 numbers.retainAll(mEpgReader.getChannelNumbers(lineupId)); in getMatchedChannelCount()
516 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.proto85 // call log is requested to be updated but there are many invalid numbers
137 // populate the quick contact activity with name and numbers. This does not
/packages/modules/DnsResolver/
DREADME-DoT.md68 `DnsTlsDispatcher` accepts queries that have colliding ID numbers and still sends them on
74 ID number of an outstanding query. This means that ID numbers are initially sequential
/packages/apps/Dialer/java/com/android/dialer/logging/
Dinteraction_event.proto39 // The user blocked numbers from contacts marked as send to voicemail
Dscreen_event.proto64 // 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()

12