Home
last modified time | relevance | path

Searched refs:criteria (Results 1 – 7 of 7) sorted by relevance

/device/google/atv/MdnsOffloadManagerService/tests/src/com/android/tv/mdnsoffloadmanager/
DMdnsPacketParserTest.java154 List<MatchCriteria> criteria = MdnsPacketParser.extractMatchCriteria(array); in testExtractMatchCriteriaSuccessOneAnswerLabel() local
156 assertEquals(1, criteria.size()); in testExtractMatchCriteriaSuccessOneAnswerLabel()
158 MatchCriteria result = criteria.get(0); in testExtractMatchCriteriaSuccessOneAnswerLabel()
184 List<MatchCriteria> criteria = MdnsPacketParser.extractMatchCriteria(array); in testExtractMatchCriteriaSuccessTwoAnswersPointers() local
186 assertEquals(2, criteria.size()); in testExtractMatchCriteriaSuccessTwoAnswersPointers()
188 MatchCriteria result0 = criteria.get(0); in testExtractMatchCriteriaSuccessTwoAnswersPointers()
192 MatchCriteria result1 = criteria.get(1); in testExtractMatchCriteriaSuccessTwoAnswersPointers()
218 List<MatchCriteria> criteria = MdnsPacketParser.extractMatchCriteria(array); in testExtractFullName() local
219 assertEquals(2, criteria.size()); in testExtractFullName()
220 String name0 = MdnsPacketParser.extractFullName(array, criteria.get(0).nameOffset); in testExtractFullName()
[all …]
/device/google/atv/MdnsOffloadManagerService/src/com/android/tv/mdnsoffloadmanager/
DMdnsPacketParser.java90 MatchCriteria criteria = new MatchCriteria(); in extractMatchCriteria() local
91 criteria.nameOffset = parser.getCursorOffset(); in extractMatchCriteria()
105 criteria.type = parser.pollUint16(); in extractMatchCriteria()
117 criteriaList.add(criteria); in extractMatchCriteria()
DOffloadIntentStore.java199 data.matchCriteriaList.forEach(criteria -> in dumpProtocolData()
200 writer.println("* %s".formatted(formatMatchCriteria(criteria)))); in dumpProtocolData()
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_service.cpp4016 … RIL_SignalStrengthReportingCriteria_v1_5 *criteria = (RIL_SignalStrengthReportingCriteria_v1_5 *) in setSignalStrengthReportingCriteria_1_5() local
4018 if (criteria == NULL) { in setSignalStrengthReportingCriteria_1_5()
4025 criteria->signalMeasurement = (SignalMeasurementType)signalThresholdInfo.signalMeasurement; in setSignalStrengthReportingCriteria_1_5()
4026 criteria->isEnabled = signalThresholdInfo.isEnabled; in setSignalStrengthReportingCriteria_1_5()
4027 criteria->hysteresisMs = signalThresholdInfo.hysteresisMs; in setSignalStrengthReportingCriteria_1_5()
4028 criteria->hysteresisDb = signalThresholdInfo.hysteresisDb; in setSignalStrengthReportingCriteria_1_5()
4029 criteria->thresholdsDbmNumber = signalThresholdInfo.thresholds.size(); in setSignalStrengthReportingCriteria_1_5()
4030 criteria->thresholdsDbm = new int32_t[criteria->thresholdsDbmNumber]; in setSignalStrengthReportingCriteria_1_5()
4031 memcpy(criteria->thresholdsDbm, signalThresholdInfo.thresholds.data(), in setSignalStrengthReportingCriteria_1_5()
4032 criteria->thresholdsDbmNumber * sizeof(int32_t)); in setSignalStrengthReportingCriteria_1_5()
[all …]
/device/google/coral/
DWCNSS_qcom_cfg.ini160 # initiate TDLS Discovery towards a peer whenever setup criteria (throughput
161 # and RSSI) is met and then will initiate teardown when teardown criteria
/device/google/sunfish/
DWCNSS_qcom_cfg.ini160 # initiate TDLS Discovery towards a peer whenever setup criteria (throughput
161 # and RSSI) is met and then will initiate teardown when teardown criteria
/device/google/redbull/
DWCNSS_qcom_cfg.ini167 # initiate TDLS Discovery towards a peer whenever setup criteria (throughput
168 # and RSSI) is met and then will initiate teardown when teardown criteria