Home
last modified time | relevance | path

Searched refs:results (Results 1 – 25 of 274) sorted by relevance

1234567891011

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndex.java232 MtpDeviceIndexRunnable.Results results = mResults; in size() local
233 return results != null ? results.unifiedLookupIndex.length : 0; in size()
244 MtpDeviceIndexRunnable.Results results = mResults; in get() local
245 if (results == null) { in get()
249 DateBucket bucket = results.buckets[results.unifiedLookupIndex[position]]; in get()
253 return results.mtpObjects[bucket.itemsStartIndex + position - 1 in get()
257 int zeroIndex = results.unifiedLookupIndex.length - 1 - position; in get()
258 DateBucket bucket = results.buckets[results.unifiedLookupIndex[zeroIndex]]; in get()
262 return results.mtpObjects[bucket.itemsStartIndex + zeroIndex in get()
274 MtpDeviceIndexRunnable.Results results = mResults; in getWithoutLabels() local
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataHandler.java47 private static List<WordListMetadata> makeMetadataObject(final Cursor results) { in makeMetadataObject() argument
49 if (null != results && results.moveToFirst()) { in makeMetadataObject()
50 final int localeColumn = results.getColumnIndex(MetadataDbHelper.LOCALE_COLUMN); in makeMetadataObject()
51 final int typeColumn = results.getColumnIndex(MetadataDbHelper.TYPE_COLUMN); in makeMetadataObject()
53 results.getColumnIndex(MetadataDbHelper.DESCRIPTION_COLUMN); in makeMetadataObject()
54 final int idIndex = results.getColumnIndex(MetadataDbHelper.WORDLISTID_COLUMN); in makeMetadataObject()
55 final int updateIndex = results.getColumnIndex(MetadataDbHelper.DATE_COLUMN); in makeMetadataObject()
56 final int fileSizeIndex = results.getColumnIndex(MetadataDbHelper.FILESIZE_COLUMN); in makeMetadataObject()
58 results.getColumnIndex(MetadataDbHelper.RAW_CHECKSUM_COLUMN); in makeMetadataObject()
59 final int checksumIndex = results.getColumnIndex(MetadataDbHelper.CHECKSUM_COLUMN); in makeMetadataObject()
[all …]
DDictionaryProvider.java345 final Cursor results = in getDictionaryWordListsForLocale() local
348 if (null == results) { in getDictionaryWordListsForLocale()
353 final int idIndex = results.getColumnIndex(MetadataDbHelper.WORDLISTID_COLUMN); in getDictionaryWordListsForLocale()
354 final int localeIndex = results.getColumnIndex(MetadataDbHelper.LOCALE_COLUMN); in getDictionaryWordListsForLocale()
356 results.getColumnIndex(MetadataDbHelper.LOCAL_FILENAME_COLUMN); in getDictionaryWordListsForLocale()
358 results.getColumnIndex(MetadataDbHelper.RAW_CHECKSUM_COLUMN); in getDictionaryWordListsForLocale()
359 final int statusIndex = results.getColumnIndex(MetadataDbHelper.STATUS_COLUMN); in getDictionaryWordListsForLocale()
360 if (results.moveToFirst()) { in getDictionaryWordListsForLocale()
362 final String wordListId = results.getString(idIndex); in getDictionaryWordListsForLocale()
379 final String wordListLocale = results.getString(localeIndex); in getDictionaryWordListsForLocale()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DScanScheduleUtilFilterTest.java133 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, in filterScanDataEmptyWithNoBucketInfo() local
135 assertScanDataFreqsEquals(null, results); in filterScanDataEmptyWithNoBucketInfo()
145 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, in filterScanDataSingleNotMatchingWithNoBucketInfo() local
147 assertScanDataFreqsEquals(null, results); in filterScanDataSingleNotMatchingWithNoBucketInfo()
157 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, in filterScanDataSingleNotMatchingWithDefinitlyScannedBucketIndex() local
159 assertScanDataFreqsEquals(new int[][]{ { } }, results); in filterScanDataSingleNotMatchingWithDefinitlyScannedBucketIndex()
169 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, in filterScanDataSingleNotMatchingWithBucketDefinitlyScanned() local
171 assertScanDataFreqsEquals(new int[][]{ { } }, results); in filterScanDataSingleNotMatchingWithBucketDefinitlyScanned()
181 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, in filterScanDataSingleMatchingWithNoBucketInfo() local
184 assertScanDataFreqsEquals(new int[][]{ { 2412 } }, results); in filterScanDataSingleMatchingWithNoBucketInfo()
[all …]
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpResultsParcelableUtil.java36 public static DhcpResultsParcelable toStableParcelable(@Nullable DhcpResults results) { in toStableParcelable() argument
37 if (results == null) return null; in toStableParcelable()
39 p.baseConfiguration = results.toStaticIpConfiguration(); in toStableParcelable()
40 p.leaseDuration = results.leaseDuration; in toStableParcelable()
41 p.mtu = results.mtu; in toStableParcelable()
42 p.serverAddress = parcelAddress(results.serverAddress); in toStableParcelable()
43 p.vendorInfo = results.vendorInfo; in toStableParcelable()
44 p.serverHostName = results.serverHostName; in toStableParcelable()
45 p.captivePortalApiUrl = results.captivePortalApiUrl; in toStableParcelable()
54 final DhcpResults results = new DhcpResults(p.baseConfiguration); in fromStableParcelable()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java308 final CbResults results = new CbResults(); in initOffloadConfig() local
312 results.mSuccess = success; in initOffloadConfig()
313 results.mErrMsg = errMsg; in initOffloadConfig()
323 record("initOffloadConfig, setHandles results:", results); in initOffloadConfig()
324 return results.mSuccess; in initOffloadConfig()
389 final CbResults results = new CbResults(); in initOffloadControl() local
394 results.mSuccess = success; in initOffloadControl()
395 results.mErrMsg = errMsg; in initOffloadControl()
402 record(logmsg, results); in initOffloadControl()
403 return results.mSuccess ? mOffloadControlVersion : OFFLOAD_HAL_VERSION_NONE; in initOffloadControl()
[all …]
/packages/apps/TV/src/com/android/tv/search/
DTvProviderSearch.java83 List<SearchResult> results = new ArrayList<>(); in search() local
86 return results; in search()
90 results.addAll(searchChannels(query, channelsFound, limit)); in search()
92 results.addAll(searchInputs(query, limit)); in search()
95 results.addAll(searchChannels(query, channelsFound, limit)); in search()
96 if (results.size() >= limit) { in search()
97 return results; in search()
103 results.addAll(searchInputs(query, limit)); in search()
104 if (!results.isEmpty()) { in search()
105 return results; in search()
[all …]
DDataManagerSearch.java90 List<SearchResult> results = new ArrayList<>(); in searchFromDataManagers() local
92 return results; in searchFromDataManagers()
96 return results; in searchFromDataManagers()
109 addResult(results, channelsFound, channel, null); in searchFromDataManagers()
111 if (results.size() >= limit) { in searchFromDataManagers()
116 + results.size() in searchFromDataManagers()
122 return results; in searchFromDataManagers()
133 addResult(results, channelsFound, channel, null); in searchFromDataManagers()
135 if (results.size() >= limit) { in searchFromDataManagers()
140 + results.size() in searchFromDataManagers()
[all …]
/packages/modules/StatsD/statsd/tests/
DUidMap_test.cpp161 static void protoOutputStreamToUidMapping(ProtoOutputStream* proto, UidMapping* results) { in protoOutputStreamToUidMapping() argument
172 results->ParseFromArray(bytes.data(), bytes.size()); in protoOutputStreamToUidMapping()
201 UidMapping results; in TEST() local
202 protoOutputStreamToUidMapping(&proto, &results); in TEST()
203 ASSERT_EQ(1, results.snapshots_size()); in TEST()
204 EXPECT_EQ("v1", results.snapshots(0).package_info(0).version_string()); in TEST()
229 UidMapping results; in TEST() local
230 protoOutputStreamToUidMapping(&proto, &results); in TEST()
231 ASSERT_EQ(1, results.snapshots(0).package_info_size()); in TEST()
232 EXPECT_EQ(true, results.snapshots(0).package_info(0).deleted()); in TEST()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DRttManager.java764 public ParcelableRttResults(RttResult[] results) { in ParcelableRttResults() argument
765 mResults = results; in ParcelableRttResults()
874 RttResult results[] = new RttResult[num];
876 results[i] = new RttResult();
877 results[i].bssid = in.readString();
878 results[i].burstNumber = in.readInt();
879 results[i].measurementFrameNumber = in.readInt();
880 results[i].successMeasurementFrameNumber = in.readInt();
881 results[i].frameNumberPerBurstPeer = in.readInt();
882 results[i].status = in.readInt();
[all …]
DWifiScanner.java653 public ScanData(int id, int flags, ScanResult[] results) { in ScanData() argument
656 mResults = new ArrayList<>(Arrays.asList(results)); in ScanData()
661 ScanResult[] results) { in ScanData() argument
662 this(id, flags, bucketsScanned, bandsScanned, new ArrayList<>(Arrays.asList(results))); in ScanData()
667 List<ScanResult> results) { in ScanData() argument
672 mResults = results; in ScanData()
778 List<ScanResult> results = new ArrayList<>();
779 in.readParcelableList(results, ScanResult.class.getClassLoader());
780 return new ScanData(id, flags, bucketsScanned, bandsScanned, results);
793 public ParcelableScanData(ScanData[] results) { in ParcelableScanData() argument
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DInformationElementUtilTest.java91 InformationElement[] results = in parseInformationElements_withEmptyByteArray() local
93 assertEquals("parsed results should be empty", 0, results.length); in parseInformationElements_withEmptyByteArray()
103 InformationElement[] results = in parseInformationElements_withNullBytes() local
105 assertEquals("parsed results should be empty", 0, results.length); in parseInformationElements_withNullBytes()
115 InformationElement[] results = in parseInformationElements_withZeroLengthAndExtensionId() local
117 assertEquals("parsed results should be empty", 0, results.length); in parseInformationElements_withZeroLengthAndExtensionId()
130 InformationElement[] results = in parseInformationElements_withZeroLengthAndExtensionIdAfterAnotherIe() local
132 assertEquals("parsed results should have 1 IE", 1, results.length); in parseInformationElements_withZeroLengthAndExtensionIdAfterAnotherIe()
134 InformationElement.EID_BSS_LOAD, results[0].id); in parseInformationElements_withZeroLengthAndExtensionIdAfterAnotherIe()
148 InformationElement[] results = in parseInformationElements_withSingleElement() local
[all …]
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/
DAppSearchSessionUnitTest.java105 List<SearchResult> results = getNextPageFuture.get().getResultValue(); in testGetEmptyNextPage() local
106 assertThat(results).hasSize(1); in testGetEmptyNextPage()
107 assertThat(results.get(0).getGenericDocument()).isEqualTo(document1); in testGetEmptyNextPage()
112 results = getNextPageFuture.get().getResultValue(); in testGetEmptyNextPage()
113 assertThat(results).isEmpty(); in testGetEmptyNextPage()
165 List<SearchResult> results = getNextPageFuture.get().getResultValue(); in testGetEmptyNextPage_multiPages() local
166 assertThat(results).hasSize(2); in testGetEmptyNextPage_multiPages()
167 outDocs.add(results.get(0).getGenericDocument()); in testGetEmptyNextPage_multiPages()
168 outDocs.add(results.get(1).getGenericDocument()); in testGetEmptyNextPage_multiPages()
173 results = getNextPageFuture.get().getResultValue(); in testGetEmptyNextPage_multiPages()
[all …]
/packages/modules/Bluetooth/system/main/shim/
Dbtm_api.cc96 is_classic_device(p_i->inq_info.results.device_type)) { in btm_api_process_inquiry_result()
100 p_i->inq_info.results.page_scan_rep_mode = page_scan_rep_mode; in btm_api_process_inquiry_result()
101 p_i->inq_info.results.page_scan_per_mode = 0; // RESERVED in btm_api_process_inquiry_result()
102 p_i->inq_info.results.page_scan_mode = 0; // RESERVED in btm_api_process_inquiry_result()
103 p_i->inq_info.results.dev_class[0] = device_class[0]; in btm_api_process_inquiry_result()
104 p_i->inq_info.results.dev_class[1] = device_class[1]; in btm_api_process_inquiry_result()
105 p_i->inq_info.results.dev_class[2] = device_class[2]; in btm_api_process_inquiry_result()
106 p_i->inq_info.results.clock_offset = clock_offset | BTM_CLOCK_OFFSET_VALID; in btm_api_process_inquiry_result()
107 p_i->inq_info.results.inq_result_type = BTM_INQ_RESULT_BR; in btm_api_process_inquiry_result()
108 p_i->inq_info.results.rssi = BTM_INQ_RES_IGNORE_RSSI; in btm_api_process_inquiry_result()
[all …]
/packages/modules/DnsResolver/tests/
Dresolv_tls_unit_test.cpp184 std::vector<std::future<DnsTlsTransport::Result>> results; in TEST_F() local
187 results.reserve(num_queries); in TEST_F()
189 results.push_back(transport.query(makeSlice(QUERY))); in TEST_F()
191 for (auto& result : results) { in TEST_F()
255 std::vector<std::future<DnsTlsTransport::Result>> results; in TEST_F() local
257 results.reserve(FakeSocketDelay::sDelay); in TEST_F()
259 results.push_back(transport.query(makeSlice(QUERY))); in TEST_F()
261 for (auto& result : results) { in TEST_F()
274 std::vector<std::future<DnsTlsTransport::Result>> results; in TEST_F() local
277 results.reserve(FakeSocketDelay::sDelay); in TEST_F()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DCallLogPullRequestTest.java83 List<VCardEntry> results = new ArrayList<>(); in onPullComplete_whenPathIsInvalid() local
84 request.setResults(results); in onPullComplete_whenPathIsInvalid()
97 List<VCardEntry> results = new ArrayList<>(); in onPullComplete_whenResultsAreEmpty() local
98 request.setResults(results); in onPullComplete_whenResultsAreEmpty()
120 List<VCardEntry> results = new ArrayList<>(); in onPullComplete_whenThereIsNoPhoneProperty() local
121 results.add(entry); in onPullComplete_whenThereIsNoPhoneProperty()
122 request.setResults(results); in onPullComplete_whenThereIsNoPhoneProperty()
135 List<VCardEntry> results = new ArrayList<>(); in onPullComplete_success() local
141 results.add(entry1); in onPullComplete_success()
147 results.add(entry2); in onPullComplete_success()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderEncoderTests.java258 private void runReadAndWriteTests(final List<String> results, final int bufferType, in runReadAndWriteTests() argument
260 results.add(runReadAndWrite(sWords, sEmptyBigrams, bufferType, in runReadAndWriteTests()
262 results.add(runReadAndWrite(sWords, sChainBigrams, bufferType, in runReadAndWriteTests()
264 results.add(runReadAndWrite(sWords, sStarBigrams, bufferType, in runReadAndWriteTests()
266 results.add(runReadAndWrite(sWords, sEmptyBigrams, bufferType, formatOptions, in runReadAndWriteTests()
268 results.add(runReadAndWrite(sWords, sChainBigrams, bufferType, formatOptions, in runReadAndWriteTests()
270 results.add(runReadAndWrite(sWords, sStarBigrams, bufferType, formatOptions, in runReadAndWriteTests()
272 results.add(runReadAndWrite(sWordsWithVariousCodePoints, sEmptyBigrams, in runReadAndWriteTests()
327 final List<String> results = new ArrayList<>(); in testReadAndWriteWithByteBuffer() local
329 runReadAndWriteTests(results, BinaryDictUtils.USE_BYTE_BUFFER, in testReadAndWriteWithByteBuffer()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java265 List<Pair<List<RangingResult>, List<RangingResult>>> results = new ArrayList<>(); in testRangingFlow() local
273 results.add(RttTestUtils.getDummyRangingResults(requests[i])); in testRangingFlow()
293 mDut.onRangingResults(mIntCaptor.getValue(), results.get(i).second); in testRangingFlow()
297 verify(mockCallback).onRangingResults(results.get(i).second); in testRangingFlow()
301 mDut.onRangingResults(mIntCaptor.getValue(), results.get(i).second); in testRangingFlow()
308 verify(mockMetrics).recordResult(eq(requests[i]), eq(results.get(i).second), in testRangingFlow()
372 Pair<List<RangingResult>, List<RangingResult>> results = in testRangingFlowUsingAwarePeerHandles() local
374 results.first.remove(results.first.size() - 1); in testRangingFlowUsingAwarePeerHandles()
375 RangingResult removed = results.second.remove(results.second.size() - 1); in testRangingFlowUsingAwarePeerHandles()
376 results.second.add( in testRangingFlowUsingAwarePeerHandles()
[all …]
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/
DTvContentRatingCacheTest.java169 ImmutableList<TvContentRating> results = in testStringToContentRatings_oneGoodOneBad() local
173 .that(results) in testStringToContentRatings_oneGoodOneBad()
179 ImmutableList<TvContentRating> results = in testStringToContentRatings_one() local
183 .that(results) in testStringToContentRatings_one()
189 ImmutableList<TvContentRating> results = in testStringToContentRatings_twoNotInOrder() local
192 .that(results) in testStringToContentRatings_twoNotInOrder()
200 ImmutableList<TvContentRating> results = in testStringToContentRatings_twoInOrder() local
203 .that(results) in testStringToContentRatings_twoInOrder()
211 ImmutableList<TvContentRating> results = in testStringToContentRatings_double() local
217 .that(results) in testStringToContentRatings_double()
[all …]
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerPhoneNumberUtilsTest.java159 Set<String> results = new ArraySet<>(); in testAddVariantsFromFormatNational() local
161 ContactsIndexerPhoneNumberUtils.addVariantsFromFormatNational(phoneNumberNational, results); in testAddVariantsFromFormatNational()
163 assertThat(results).containsExactly("(202) 555-0111", "(202) 5550111"); in testAddVariantsFromFormatNational()
168 Set<String> results = new ArraySet<>(); in testAddVariantsFromFormatNational_validNumber() local
170 ContactsIndexerPhoneNumberUtils.addVariantsFromFormatNational("555 0111", results); in testAddVariantsFromFormatNational_validNumber()
172 assertThat(results).containsExactly("555 0111", "5550111"); in testAddVariantsFromFormatNational_validNumber()
177 Set<String> results = new ArraySet<>(); in testAddVariantsFromFormatNational_invalidPhoneNumber() local
179 ContactsIndexerPhoneNumberUtils.addVariantsFromFormatNational("202", results); in testAddVariantsFromFormatNational_invalidPhoneNumber()
181 assertThat(results).containsExactly("202"); in testAddVariantsFromFormatNational_invalidPhoneNumber()
188 Set<String> results = new ArraySet<>(); in testAddVariantsFromFormatNational_invalidPhoneNumberWithLeadingSpace() local
[all …]
/packages/services/Car/packages/CarDeveloperOptions/tests/unit/src/com/android/car/developeroptions/
DCarDeveloperOptionsIntentTest.java53 List<ResolveInfo> results = mPm.queryIntentActivities(createSettingsPackageIntent(), in testAvailableIntentActivities_onlyAllowlisted() local
56 for (ResolveInfo resolved : results) { in testAvailableIntentActivities_onlyAllowlisted()
67 List<ResolveInfo> results = mPm.queryIntentServices(createSettingsPackageIntent(), in testAvailableIntentServices_returnsZero() local
70 for (ResolveInfo resolved : results) { in testAvailableIntentServices_returnsZero()
79 List<ResolveInfo> results = mPm.queryBroadcastReceivers(createSettingsPackageIntent(), in testAvailableBroadcastReceivers_returnsZero() local
82 for (ResolveInfo resolved : results) { in testAvailableBroadcastReceivers_returnsZero()
91 List<ResolveInfo> results = mPm.queryIntentContentProviders(createSettingsPackageIntent(), in testAvailableContentProviders_returnsZero() local
94 for (ResolveInfo resolved : results) { in testAvailableContentProviders_returnsZero()
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Dlink_manager_test.cc118 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local
119 results.emplace_back(kSmpBrCid, &mock_service_1); in TEST_F()
120 results.emplace_back(kConnectionlessCid, &mock_service_2); in TEST_F()
121 …ck_classic_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F()
172 results.emplace_back(kSmpBrCid + 1, &mock_service_3); in TEST_F()
173 …ck_classic_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F()
206 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local
207 …ck_classic_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F()
241 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local
242 results.emplace_back(kSmpBrCid, &mock_service_1); in TEST_F()
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DInputDeviceResultTask.java91 final List<SearchResult> results = new ArrayList<>(); in query() local
92 results.addAll(buildPhysicalKeyboardSearchResults()); in query()
93 results.addAll(buildVirtualKeyboardSearchResults()); in query()
94 Collections.sort(results); in query()
98 return results; in query()
102 final Set<SearchResult> results = new HashSet<>(); in buildPhysicalKeyboardSearchResults() local
113 results.add(new SearchResult.Builder() in buildPhysicalKeyboardSearchResults()
121 return results; in buildPhysicalKeyboardSearchResults()
125 final Set<SearchResult> results = new HashSet<>(); in buildVirtualKeyboardSearchResults() local
144 results.add(new SearchResult.Builder() in buildVirtualKeyboardSearchResults()
[all …]
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Dlink_manager_test.cc113 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local
114 results.emplace_back(kSmpBrCid, &mock_service_1); in TEST_F()
115 results.emplace_back(kConnectionlessCid, &mock_service_2); in TEST_F()
116 …LL(mock_le_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F()
177 results.emplace_back(kSmpBrCid + 1, &mock_service_3); in TEST_F()
178 …LL(mock_le_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F()
222 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local
223 …LL(mock_le_fixed_channel_service_manager, GetRegisteredServices()).WillRepeatedly(Return(results)); in TEST_F()
260 std::vector<std::pair<Cid, FixedChannelServiceImpl*>> results; in TEST_F() local
261 results.emplace_back(kSmpBrCid, &mock_service_1); in TEST_F()
[all …]
/packages/apps/Car/Calendar/src/com/android/car/calendar/common/
DEventDescriptions.java74 Map<String, NumberAndAccess> results = new LinkedHashMap<>(); in extractNumberAndPins() local
75 addMatchedNumbers(decoded, results, PHONE_PIN_PATTERN); in extractNumberAndPins()
78 addMatchedNumbers(decoded, results, TEL_PIN_PATTERN); in extractNumberAndPins()
81 return ImmutableList.copyOf(results.values()).reverse(); in extractNumberAndPins()
85 String decoded, Map<String, NumberAndAccess> results, Pattern phonePinPattern) { in addMatchedNumbers() argument
90 results.put(numberAndAccess.getNumber(), numberAndAccess); in addMatchedNumbers()

1234567891011