Home
last modified time | relevance | path

Searched refs:getResults (Results 1 – 25 of 45) sorted by relevance

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java356 mTestScanDatas1[0].getResults(), in testScanSuccess()
358 ScanTestUtil.assertScanResultEquals(mTestScanDatas1[0].getResults()[0], in testScanSuccess()
359 mScanRequestProxy.getScanResult(mTestScanDatas1[0].getResults()[0].BSSID)); in testScanSuccess()
379 assertNull(mScanRequestProxy.getScanResult(mTestScanDatas1[0].getResults()[0].BSSID)); in testScanFailure()
399 mTestScanDatas1[0].getResults(), in testScanSuccessOverwritesPreviousResults()
401 ScanTestUtil.assertScanResultEquals(mTestScanDatas1[0].getResults()[0], in testScanSuccessOverwritesPreviousResults()
402 mScanRequestProxy.getScanResult(mTestScanDatas1[0].getResults()[0].BSSID)); in testScanSuccessOverwritesPreviousResults()
413 mTestScanDatas2[0].getResults(), in testScanSuccessOverwritesPreviousResults()
415 ScanTestUtil.assertScanResultEquals(mTestScanDatas2[0].getResults()[0], in testScanSuccessOverwritesPreviousResults()
416 mScanRequestProxy.getScanResult(mTestScanDatas2[0].getResults()[0].BSSID)); in testScanSuccessOverwritesPreviousResults()
[all …]
DWifiHealthMonitorTest.java296 scanDatas[0].getResults()[0].informationElements = new InformationElement[0]; in mockScanData()
297 scanDatas[0].getResults()[1].informationElements = new InformationElement[0]; in mockScanData()
298 scanDatas[0].getResults()[2].informationElements = new InformationElement[0]; in mockScanData()
299 scanDatas[0].getResults()[3].informationElements = new InformationElement[0]; in mockScanData()
308 scanDatas[0].getResults()[0].informationElements = new InformationElement[0]; in mockScanDataAbove2GOnly()
309 scanDatas[0].getResults()[1].informationElements = new InformationElement[0]; in mockScanDataAbove2GOnly()
310 scanDatas[0].getResults()[2].informationElements = new InformationElement[0]; in mockScanDataAbove2GOnly()
311 scanDatas[0].getResults()[3].informationElements = new InformationElement[0]; in mockScanDataAbove2GOnly()
326 if (mScanData != null && mScanData.getResults() != null) { in mockWifiScanner()
327 for (int i = 0; i < mScanData.getResults().length; i++) { in mockWifiScanner()
[all …]
DWifiNetworkFactoryTest.java973 validateScanResults(matchedScanResultsCaptor.getValue(), mTestScanDatas[0].getResults()[0]); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch()
1014 validateScanResults(matchedScanResultsCaptor.getValue(), mTestScanDatas[0].getResults()[0]); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult()
1056 mTestScanDatas[0].getResults()[0], mTestScanDatas[0].getResults()[1]); in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch()
1097 validateScanResults(matchedScanResultsCaptor.getValue(), mTestScanDatas[0].getResults()[0]); in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch()
1140 mTestScanDatas[0].getResults()[0], mTestScanDatas[0].getResults()[1]); in testNetworkSpecifierMatchSuccessUsingOuiPrefixBssidMatch()
1183 mTestScanDatas[0].getResults()[0], mTestScanDatas[0].getResults()[1], in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchWithMultipleBssidMatches()
1184 mTestScanDatas[0].getResults()[2]); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchWithMultipleBssidMatches()
1325 ScanResult matchingScanResult = mTestScanDatas[0].getResults()[0]; in testNetworkSpecifierHandleUserSelectionConnectToNetwork()
1327 mSelectedNetwork.SSID = "\"" + mTestScanDatas[0].getResults()[0].SSID + "\""; in testNetworkSpecifierHandleUserSelectionConnectToNetwork()
1385 mSelectedNetwork.SSID = "\"" + mTestScanDatas[0].getResults()[0].SSID + "\""; in testNetworkSpecifierHandleUserSelectionConnectToNetworkExceedApprovedListCapacity()
[all …]
DWifiConnectivityManagerTest.java494 if (mScanData != null && mScanData.getResults() != null) { in mockWifiScanner()
495 for (int i = 0; i < mScanData.getResults().length; i++) { in mockWifiScanner()
497 .onFullResult(mScanData.getResults()[i]); in mockWifiScanner()
4533 for (ScanResult scanResult : mScanData.getResults()) { in verifyUserDisabledListUpdated()
4539 mScanData.getResults()[0].setFlag(ScanResult.FLAG_PASSPOINT_NETWORK); in verifyUserDisabledListUpdated()
5052 scanDatas[0].getResults()[0].informationElements = new InformationElement[0]; in createScanDataWithDifferentRadioChainInfos()
5053 scanDatas[0].getResults()[1].informationElements = new InformationElement[0]; in createScanDataWithDifferentRadioChainInfos()
5054 scanDatas[0].getResults()[2].informationElements = new InformationElement[0]; in createScanDataWithDifferentRadioChainInfos()
5055 scanDatas[0].getResults()[3].informationElements = new InformationElement[0]; in createScanDataWithDifferentRadioChainInfos()
5056 scanDatas[0].getResults()[0].radioChainInfos = null; in createScanDataWithDifferentRadioChainInfos()
[all …]
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DSnippetTest.java110 assertThat(searchResultPage.getResults()).hasSize(1); in testSingleStringSnippet()
111 SearchResult.MatchInfo match = searchResultPage.getResults().get(0).getMatchInfos().get(0); in testSingleStringSnippet()
159 assertThat(searchResultPage.getResults()).hasSize(1); in testNoSnippets()
160 assertThat(searchResultPage.getResults().get(0).getMatchInfos()).isEmpty(); in testNoSnippets()
228 assertThat(searchResultPage.getResults()).hasSize(1); in testMultipleStringSnippet()
229 SearchResult.MatchInfo match1 = searchResultPage.getResults().get(0).getMatchInfos().get(0); in testMultipleStringSnippet()
242 SearchResult.MatchInfo match2 = searchResultPage.getResults().get(0).getMatchInfos().get(1); in testMultipleStringSnippet()
332 assertThat(searchResultPage.getResults()).hasSize(1); in testNestedDocumentSnippet()
333 SearchResult.MatchInfo match1 = searchResultPage.getResults().get(0).getMatchInfos().get(0); in testNestedDocumentSnippet()
347 SearchResult.MatchInfo match2 = searchResultPage.getResults().get(0).getMatchInfos().get(1); in testNestedDocumentSnippet()
DSearchResultToProtoConverterTest.java94 assertThat(searchResultPage.getResults()).hasSize(1); in testToSearchResultProto()
95 SearchResult result = searchResultPage.getResults().get(0); in testToSearchResultProto()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java568 assertThat(results.getResults()).hasSize(1); in testReset()
569 assertThat(results.getResults().get(0).getGenericDocument()).isEqualTo(validDoc); in testReset()
635 assertThat(results.getResults()).isEmpty(); in testReset()
664 assertThat(results.getResults()).hasSize(1); in testReset()
665 assertThat(results.getResults().get(0).getGenericDocument()).isEqualTo(validDoc); in testReset()
675 assertThat(searchResultPage.getResults()).isEmpty(); in testQueryEmptyDatabase()
727 assertThat(searchResultPage.getResults()).isEmpty(); in testQueryWithMultiplePackages_noPackageFilters()
741 assertThat(searchResultPage.getResults()).hasSize(1); in testQueryWithMultiplePackages_noPackageFilters()
742 assertThat(searchResultPage.getResults().get(0).getGenericDocument()).isEqualTo(document); in testQueryWithMultiplePackages_noPackageFilters()
798 assertThat(searchResultPage.getResults()).isEmpty(); in testQueryWithMultiplePackages_withPackageFilters()
[all …]
DAppSearchLoggerTest.java712 assertThat(searchResultPage.getResults()).hasSize(2); in testLoggingStats_search_success()
714 assertThat(searchResultPage.getResults().get(0).getGenericDocument()).isEqualTo(document2); in testLoggingStats_search_success()
715 assertThat(searchResultPage.getResults().get(1).getGenericDocument()).isEqualTo(document1); in testLoggingStats_search_success()
915 assertThat(searchResultPage.getResults()).hasSize(2); in testLoggingStats_search_join()
916 assertThat(searchResultPage.getResults().get(0).getGenericDocument()).isEqualTo(entity1); in testLoggingStats_search_join()
917 assertThat(searchResultPage.getResults().get(1).getGenericDocument()).isEqualTo(entity2); in testLoggingStats_search_join()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/
DIResultSyncCallbackTestCase.java90 .that(mCallback.getResults()) in testInjectResult_assertResultReceived()
171 List<R> results = mCallback.getResults(); in testGetResults_immutable()
177 .that(mCallback.getResults()) in testGetResults_immutable()
207 .that(callback.getResults()) in assertGetResultMethodsWhenNoResult()
217 .that(callback.getResults()) in assertGetResultMethods()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/concurrency/
DFailableResultSyncCallback.java123 mCallback.getResults().stream() in getFailures()
142 public List<R> getResults() { in getResults() method in FailableResultSyncCallback
144 mCallback.getResults().stream() in getResults()
DResultSyncCallback.java95 public List<R> getResults() { in getResults() method in ResultSyncCallback
108 List<R> results = getResults(); in customizeToString()
DIResultSyncCallback.java58 List<R> getResults(); in getResults() method
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiScannerTest.java110 when(mParcelableScanData.getResults()).thenReturn(mScanData); in setUp()
238 assertArrayEquals(writeScanData.getResults(), readScanData.getResults()); in verifyScanDataParcel()
466 ScanResult[] consolidatedScanResults = scanData.getResults(); in testScanDataAddResults()
485 assertEquals(scanData.getResults().length, readScanData.getResults().length); in testScanDataParcel()
486 assertEquals(scanData.getResults()[0].SSID, readScanData.getResults()[0].SSID); in testScanDataParcel()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DScanScheduleUtilFilterTest.java324 results[i].getResults().length); in assertScanDataFreqsEquals()
327 results[i].getResults()[j]); in assertScanDataFreqsEquals()
329 results[i].getResults()[j].frequency); in assertScanDataFreqsEquals()
DWificondScannerTest.java344 assertEquals(1, scanData.getResults().length); in testUnwantedScanResultsExcept6GhzGetFiltered()
345 assertEquals(6155, scanData.getResults()[0].frequency); in testUnwantedScanResultsExcept6GhzGetFiltered()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/transformer/
DEnterpriseSearchResultPageTransformer.java46 List<SearchResult> results = searchResultPage.getResults(); in transformSearchResultPage()
113 List<SearchResult> results = searchResultPage.getResults(); in shouldTransformSearchResultPage()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DScanScheduleUtil.java160 for (ScanResult scanResult : scanData.getResults()) { in filterResultsForSettings()
172 if (filteredResults.size() == scanData.getResults().length) { in filterResultsForSettings()
DWifiScanningServiceImpl.java1079 consolidatedScanData.addResults(scanData.getResults()); in getLatestSingleScanResults()
1624 if (results != null && results.getResults() != null) { in reportScanResults()
1625 if (results.getResults().length > 0) { in reportScanResults()
1663 WifiMetrics.ScanMetrics.SCAN_TYPE_SINGLE, results.getResults().length); in handleScanResults()
1670 mCachedScanResults.addAll(Arrays.asList(results.getResults())); in handleScanResults()
2145 if (result != null && result.getResults() != null) { in reportScanResults()
2146 if (result.getResults().length > 0) { in reportScanResults()
2899 ScanData[] scanDatas = parcelableScanData.getResults(); in processMessage()
2901 reportPnoNetworkFound(lastScanData.getResults()); in processMessage()
3478 sb.append(results[i].getResults().length); in describeForLog()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DSearchResultPageInternalTest.java41 List<SearchResult> searchResults = searchResultPage.getResults(); in testSearchResultPage()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DSearchResultPage.java68 public List<SearchResult> getResults() { in getResults() method in SearchResultPage
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DBluetoothMediaBrowserService.java162 List<MediaItem> getResults() { in getResults() method in BluetoothMediaBrowserService.BrowseResult
238 List<MediaItem> results = contents.getResults(); in onLoadChildren()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiScanner.java927 public ScanResult[] getResults() { in getResults() method in WifiScanner.ScanData
942 addResults(s.getResults()); in addResults()
992 public ScanData[] getResults() { in getResults() method in WifiScanner.ParcelableScanData
1040 public ScanResult[] getResults() { in getResults() method in WifiScanner.ParcelableScanResults
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/transformer/
DEnterpriseSearchResultPageTransformerTest.java72 List<SearchResult> transformedResults = transformedPage.getResults(); in testTransformSearchResultPage()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSearchResultToProtoConverter.java67 toUnprefixedSearchResult(proto.getResults(i), schemaCache, config); in toSearchResultPage()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceBackgroundWorker.java146 public final List<E> getResults() { in getResults() method in SliceBackgroundWorker

12