Home
last modified time | relevance | path

Searched refs:matchInfo (Results 1 – 12 of 12) sorted by relevance

/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DSearchResult.java140 MatchInfo matchInfo = mMatchInfos.get(i); in getMatchInfos() local
141 matchInfo.setDocument(getGenericDocument()); in getMatchInfos()
144 mMatchInfosCached.add(matchInfo); in getMatchInfos()
292 public Builder addMatchInfo(@NonNull MatchInfo matchInfo) { in addMatchInfo() argument
294 matchInfo.mDocument == null, in addMatchInfo()
298 mMatchInfos.add(matchInfo); in addMatchInfo()
736 public Builder(@NonNull MatchInfo matchInfo) { in Builder() argument
737 Objects.requireNonNull(matchInfo); in Builder()
738 mPropertyPath = matchInfo.mPropertyPath; in Builder()
739 mExactMatchRange = matchInfo.getExactMatchRange(); in Builder()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiCandidates.java542 public final ScanResultMatchInfo matchInfo; // Contains the SSID and security type field in WifiCandidates.Key
547 public Key(ScanResultMatchInfo matchInfo, in Key() argument
550 this.matchInfo = matchInfo; in Key()
554 this.securityType = matchInfo.getDefaultSecurityParams().getSecurityType(); in Key()
557 public Key(ScanResultMatchInfo matchInfo, in Key() argument
561 this.matchInfo = matchInfo; in Key()
571 return (this.matchInfo.equals(that.matchInfo) in equals()
579 return Objects.hash(matchInfo, bssid, networkId, securityType); in hashCode()
714 key.matchInfo.networkSsid, in add()
718 key.matchInfo.getDefaultSecurityParams().getSecurityType())); in add()
DThroughputScorer.java194 Log.d(TAG, "Score for candidate: SSID: " + candidate.getKey().matchInfo.networkSsid in scoreCandidate()
DWifiConnectivityManager.java439 c.getKey().matchInfo.networkSsid, primaryInfo.getSSID()) in handleConnectToMultiInternetConnectionInternal()
3185 candidate.getKey().matchInfo) != null) { in retryConnectionOnLatestCandidates()
DWifiNetworkSelector.java1630 config.SSID = choice.candidateKey.matchInfo.networkSsid; in updateChosenPasspointNetwork()
DWifiMetrics.java4193 ScanResultMatchInfo matchInfo = ScanResultMatchInfo.fromScanResult(scanResult); in incrementAvailableNetworksHistograms() local
4240 ssids.add(matchInfo); in incrementAvailableNetworksHistograms()
4249 openSsids.add(matchInfo); in incrementAvailableNetworksHistograms()
4253 savedSsids.add(matchInfo); in incrementAvailableNetworksHistograms()
DClientModeImpl.java3516 ScanResultMatchInfo matchInfo = in handleNetworkDisconnect() local
3519 mWakeupController.setLastDisconnectInfo(matchInfo); in handleNetworkDisconnect()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DSearchResultInternalTest.java104 SearchResult.MatchInfo matchInfo = in testMatchInfoBuilderCopyConstructor() local
111 new SearchResult.MatchInfo.Builder(matchInfo).build(); in testMatchInfoBuilderCopyConstructor()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSearchResultToProtoConverter.java106 SearchResult.MatchInfo matchInfo = in toUnprefixedSearchResult() local
108 builder.addMatchInfo(matchInfo); in toUnprefixedSearchResult()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWakeupControllerTest.java864 ScanResultMatchInfo matchInfo = ScanResultMatchInfo.fromScanResult(mTestScanResult); in lastConnectedNetworkAddedToLock() local
869 mWakeupController.setLastDisconnectInfo(matchInfo); in lastConnectedNetworkAddedToLock()
872 verify(mWakeupLock).setLock(Set.of(matchInfo)); in lastConnectedNetworkAddedToLock()
890 ScanResultMatchInfo matchInfo = ScanResultMatchInfo.fromScanResult(mTestScanResult); in expiredLastConnectedNetworkNotAddedToLock() local
895 mWakeupController.setLastDisconnectInfo(matchInfo); in expiredLastConnectedNetworkNotAddedToLock()
DWifiConnectivityManagerTest.java569 ScanResultMatchInfo matchInfo = mock(ScanResultMatchInfo.class); in mockWifiNetworkSelector() local
571 when(matchInfo.getDefaultSecurityParams()).thenReturn(candidate.getDefaultSecurityParams()); in mockWifiNetworkSelector()
572 WifiCandidates.Key key = new WifiCandidates.Key(matchInfo, in mockWifiNetworkSelector()
1363 ScanResultMatchInfo matchInfo = ScanResultMatchInfo.fromScanResult(result); in getTestWifiCandidate() local
1364 WifiCandidates.Key key = new WifiCandidates.Key(matchInfo, MacAddress.fromString(bssid), in getTestWifiCandidate()
2336 ScanResultMatchInfo matchInfo = ScanResultMatchInfo.fromWifiConfiguration( in testRetryConnectionEapFailureIgnoreSameNetwork() local
2338 WifiCandidates.Key key = new WifiCandidates.Key(matchInfo, in testRetryConnectionEapFailureIgnoreSameNetwork()
2340 WifiCandidates.Key key2 = new WifiCandidates.Key(matchInfo, in testRetryConnectionEapFailureIgnoreSameNetwork()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java1444 PasspointMatch matchInfo = provider.match(getANQPElements(scanResult), in getMatchingScanResults() local
1447 if (matchInfo == PasspointMatch.HomeProvider in getMatchingScanResults()
1448 || matchInfo == PasspointMatch.RoamingProvider) { in getMatchingScanResults()