Home
last modified time | relevance | path

Searched refs:ans (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiVendorHal.java627 MutableBoolean ans = new MutableBoolean(false); in getBgScanCapabilities() local
637 ans.value = true; in getBgScanCapabilities()
640 return ans.value; in getBgScanCapabilities()
739 int ans = 0; in makeReportSchemeFromBucketSettingsReportEvents() local
742 ans |= StaBackgroundScanBucketEventReportSchemeMask.EACH_SCAN; in makeReportSchemeFromBucketSettingsReportEvents()
745 ans |= StaBackgroundScanBucketEventReportSchemeMask.FULL_RESULTS; in makeReportSchemeFromBucketSettingsReportEvents()
748 ans |= StaBackgroundScanBucketEventReportSchemeMask.NO_BATCH; in makeReportSchemeFromBucketSettingsReportEvents()
751 return ans; in makeReportSchemeFromBucketSettingsReportEvents()
1596 WifiNative.RingBufferStatus ans = new WifiNative.RingBufferStatus(); in ringBufferStatus() local
1597 ans.name = h.ringName; in ringBufferStatus()
[all …]
DWifiScoreCard.java404 PerSignal ans = mSignalForEventAndFrequency.get(key); in lookupSignal() local
405 if (ans == null) { in lookupSignal()
406 ans = new PerSignal(event, frequency); in lookupSignal()
407 mSignalForEventAndFrequency.put(key, ans); in lookupSignal()
409 return ans; in lookupSignal()
528 PerBssid ans = mApForBssid.get(mac); in lookupBssid() local
529 if (ans == null || !ans.ssid.equals(ssid)) { in lookupBssid()
530 ans = new PerBssid(ssid, mac); in lookupBssid()
531 PerBssid old = mApForBssid.put(mac, ans); in lookupBssid()
535 requestReadForPerBssid(ans); in lookupBssid()
[all …]
DScoredNetworkEvaluator.java339 WifiConfiguration ans = mWifiConfigManager.getConfiguredNetwork( in getCandidateConfiguration() local
341 if (ans != null && mScanDetailCandidate != null) { in getCandidateConfiguration()
343 onConnectableListener.onConnectable(mScanDetailCandidate, ans, 0); in getCandidateConfiguration()
345 return ans; in getCandidateConfiguration()
DWifiNetworkSelector.java897 WifiCandidates.CandidateScorer ans = mCandidateScorers.get(PRESET_CANDIDATE_SCORER_NAME); in getActiveCandidateScorer() local
903 ans = candidateScorer; in getActiveCandidateScorer()
908 if (ans == null && PRESET_CANDIDATE_SCORER_NAME != null) { in getActiveCandidateScorer()
911 mWifiMetrics.setNetworkSelectorExperimentId(ans == null in getActiveCandidateScorer()
913 : experimentIdFromIdentifier(ans.getIdentifier())); in getActiveCandidateScorer()
914 return ans; in getActiveCandidateScorer()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCandidateScorerTest.java53 ArrayList<Object[]> ans = new ArrayList<>(); in listOfObjectArraysBecauseJUnitMadeUs() local
56 ans.add(new Object[]{ in listOfObjectArraysBecauseJUnitMadeUs()
63 ans.add(new Object[]{ in listOfObjectArraysBecauseJUnitMadeUs()
70 ans.add(new Object[]{ in listOfObjectArraysBecauseJUnitMadeUs()
76 return ans; in listOfObjectArraysBecauseJUnitMadeUs()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dreflection3264.rscript20 uchar4 ans;
44 _RS_ASSERT(usr->ans.x == expect_ans.x);
45 _RS_ASSERT(usr->ans.y == expect_ans.y);
46 _RS_ASSERT(usr->ans.z == expect_ans.z);
47 _RS_ASSERT(usr->ans.w == expect_ans.w);
DUT_reflection3264.java69 usrData.ans = new Short4( in run()
74 s.set_expect_ans(usrData.ans); in run()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dreflection3264.rscript22 uchar4 ans;
46 _RS_ASSERT(usr->ans.x == expect_ans.x);
47 _RS_ASSERT(usr->ans.y == expect_ans.y);
48 _RS_ASSERT(usr->ans.z == expect_ans.z);
49 _RS_ASSERT(usr->ans.w == expect_ans.w);
DUT_reflection3264.java71 usrData.ans = new Short4( in run()
76 s.set_expect_ans(usrData.ans); in run()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DBitMask.java36 boolean ans = (value & maskBit) != 0; in testAndClear()
38 return ans; in testAndClear()
/frameworks/av/tools/resampler_tools/
Dfir.cpp44 double ax,ans,y; in I0() local
49 ans=1.0+y*(3.5156229+y*(3.0899424+y*(1.2067492 in I0()
53 ans=(exp(ax)/sqrt(ax))*(0.39894228+y*(0.1328592e-1 in I0()
58 return ans; in I0()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DFakeDns.kt46 val ans = DnsEntry(hostname, type, generateAnswer(answer)) in <lambda>() constant
49 -1 -> answers.add(ans) in <lambda>()
50 else -> answers[index] = ans in <lambda>()
/frameworks/base/core/java/android/net/util/
DDnsUtils.java152 for (SortableAddress ans : sortableAnswerList) { in rfc6724Sort()
153 sortedAnswers.add(ans.address); in rfc6724Sort()