Home
last modified time | relevance | path

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

12345678

/external/webrtc/call/
Drtp_demuxer.cc104 bool RtpDemuxer::AddSink(const RtpDemuxerCriteria& criteria, in AddSink() argument
106 RTC_DCHECK(!criteria.payload_types.empty() || !criteria.ssrcs.empty() || in AddSink()
107 !criteria.mid.empty() || !criteria.rsid.empty()); in AddSink()
108 RTC_DCHECK(criteria.mid.empty() || IsLegalMidName(criteria.mid)); in AddSink()
109 RTC_DCHECK(criteria.rsid.empty() || IsLegalRsidName(criteria.rsid)); in AddSink()
115 if (CriteriaWouldConflict(criteria)) { in AddSink()
117 << " due conflicting criteria " << criteria.ToString(); in AddSink()
121 if (!criteria.mid.empty()) { in AddSink()
122 if (criteria.rsid.empty()) { in AddSink()
123 sink_by_mid_.emplace(criteria.mid, sink); in AddSink()
[all …]
Drtp_demuxer_unittest.cc48 bool AddSink(const RtpDemuxerCriteria& criteria, in AddSink() argument
50 bool added = demuxer_.AddSink(criteria, sink); in AddSink()
58 RtpDemuxerCriteria criteria; in AddSinkOnlySsrc() local
59 criteria.ssrcs = {ssrc}; in AddSinkOnlySsrc()
60 return AddSink(criteria, sink); in AddSinkOnlySsrc()
64 RtpDemuxerCriteria criteria; in AddSinkOnlyRsid() local
65 criteria.rsid = rsid; in AddSinkOnlyRsid()
66 return AddSink(criteria, sink); in AddSinkOnlyRsid()
70 RtpDemuxerCriteria criteria; in AddSinkOnlyMid() local
71 criteria.mid = mid; in AddSinkOnlyMid()
[all …]
Drtp_demuxer.h113 bool AddSink(const RtpDemuxerCriteria& criteria,
142 bool CriteriaWouldConflict(const RtpDemuxerCriteria& criteria) const;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLocationManagerTest.java204 Criteria criteria = new Criteria(); in shouldRemovePendingIntentsWhenRequestingLocationUpdatesUsingCriteria() local
205 criteria.setAccuracy(Criteria.ACCURACY_FINE); in shouldRemovePendingIntentsWhenRequestingLocationUpdatesUsingCriteria()
207 locationManager.requestLocationUpdates(0, 0, criteria, someLocationListenerPendingIntent); in shouldRemovePendingIntentsWhenRequestingLocationUpdatesUsingCriteria()
208 locationManager.requestLocationUpdates(0, 0, criteria, someOtherLocationListenerPendingIntent); in shouldRemovePendingIntentsWhenRequestingLocationUpdatesUsingCriteria()
213 expectedCriteria.put(someOtherLocationListenerPendingIntent, criteria); in shouldRemovePendingIntentsWhenRequestingLocationUpdatesUsingCriteria()
254 Criteria criteria = new Criteria(); in shouldStoreBestProviderCriteriaAndEnabledOnlyFlag() local
255 assertNull(locationManager.getBestProvider(criteria, true)); in shouldStoreBestProviderCriteriaAndEnabledOnlyFlag()
256 assertSame(criteria, shadowLocationManager.getLastBestProviderCriteria()); in shouldStoreBestProviderCriteriaAndEnabledOnlyFlag()
262 Criteria criteria = new Criteria(); in getBestProvider_returnsProviderBasedOnCriteriaAndEnabledState() local
263 criteria.setAccuracy(Criteria.ACCURACY_COARSE); in getBestProvider_returnsProviderBasedOnCriteriaAndEnabledState()
[all …]
/external/parameter-framework/upstream/bindings/c/
DTest.cpp119 const PfwCriterion criteria[] = { variable
122 size_t criterionNb = sizeof(criteria) / sizeof(criteria[0]);
158 REQUIRE_FAILURE(pfwStart(pfw, "/doNotExist", criteria, criterionNb, &logger));
234 REQUIRE_SUCCESS(pfwStart(pfw, config, criteria, 0, &logger));
238 REQUIRE_SUCCESS(pfwStart(pfw, config, criteria, criterionNb, &logger));
239 REQUIRE_FAILURE(pfwStart(pfw, config, criteria, criterionNb, &logger));
244 REQUIRE_SUCCESS(pfwStart(pfw, config, criteria, criterionNb, &noLog));
247 REQUIRE_SUCCESS(pfwStart(pfw, config, criteria, criterionNb, nullptr));
252 REQUIRE_FAILURE(pfwGetCriterion(pfw, criteria[0].name, &value));
255 REQUIRE_FAILURE(pfwSetCriterion(pfw, criteria[0].name, 1));
[all …]
DParameterFramework.cpp144 bool createCriteria(const PfwCriterion criteria[], size_t criterionNb);
146 pfw::Criteria criteria; member
190 if (criteria.find(criterion.name) != criteria.end()) { in createCriteria()
219 criteria[criterion.name] = pfw->createSelectionCriterion(criterion.name, type); in createCriteria()
224 bool pfwStart(PfwHandler *handle, const char *configPath, const PfwCriterion criteria[], in pfwStart() argument
238 if (not handle->createCriteria(criteria, criterionNb)) { in pfwStart()
250 static pfw::Criterion *getCriterion(const pfw::Criteria &criteria, const string &name) in getCriterion() argument
252 auto it = criteria.find(name); in getCriterion()
253 return it == criteria.end() ? nullptr : it->second; in getCriterion()
263 pfw::Criterion *criterion = getCriterion(handle->criteria, name); in pfwSetCriterion()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLocationManager.java104 public void setProviderEnabled(String provider, boolean isEnabled, List<Criteria> criteria) { in setProviderEnabled() argument
110 providerEntry.criteria = criteria; in setProviderEnabled()
170 protected String getBestProvider(Criteria criteria, boolean enabled) { in getBestProvider() argument
171 lastBestProviderCriteria = criteria; in getBestProvider()
174 if (criteria == null) { in getBestProvider()
178 return getBestProviderWithCriteria(criteria, enabled); in getBestProvider()
181 private String getBestProviderWithCriteria(Criteria criteria, boolean enabled) { in getBestProviderWithCriteria() argument
183 int powerRequirement = criteria.getPowerRequirement(); in getBestProviderWithCriteria()
184 int accuracy = criteria.getAccuracy(); in getBestProviderWithCriteria()
195 if (criteria.equals(criteriaListItem)) { in getBestProviderWithCriteria()
[all …]
/external/parameter-framework/upstream/tools/coverage/
Dcoverage.py370 def usedIfApplicable(self, criteria): argument
371 childApplicability = (child.usedIfApplicable(criteria)
374 isApplicable = self._isApplicable(criteria, childApplicability)
385 def _isApplicable(self, criteria, childApplicability): argument
413 def _isApplicable(self, criteria, childApplicability): argument
415 return criteria.operationOnChild([self.selectionCriterion], self.isApplicableOperation)
437 def _isApplicable(self, criteria, childApplicability): argument
439 applicability = super()._isApplicable(criteria, childApplicability)
464 def parentUsed(self, criteria): argument
468 matches = [child for child in self.children if child == criteria]
[all …]
/external/openssh/regress/
Dcfgmatch.sh126 criteria=`echo $i | cut -f2 -d:`
144 criteria=`echo $j | cut -f2 -d:`
146 if [ "$criteria" = "$testcriteria" ]; then
147 spec="$criteria=$value,$spec"
149 spec="$criteria=1$value,$spec"
/external/webrtc/test/peer_scenario/
Dscenario_connection.cc173 RtpDemuxerCriteria criteria; in SetRemoteSdp() local
178 criteria.payload_types.insert(codec.id); in SetRemoteSdp()
184 criteria.payload_types.insert(codec.id); in SetRemoteSdp()
189 network_thread_->PostTask(RTC_FROM_HERE, [this, criteria]() { in SetRemoteSdp()
192 rtp_transport_->RegisterRtpDemuxerSink(criteria, this); in SetRemoteSdp()
219 RtpDemuxerCriteria criteria; in OnTransportChanged() local
220 criteria.mid = mid; in OnTransportChanged()
221 rtp_transport_->RegisterRtpDemuxerSink(criteria, this); in OnTransportChanged()
/external/parameter-framework/upstream/test/test-platform/
DREADME.md4 with custom criteria and full control over criteria states. It also serves
10 - Create criteria from a name, a type (exclusive or inclusive), states (the
13 - Change criteria states and apply configurations
/external/parameter-framework/upstream/test/xml-generator/
Dtest.py38 def __init__(self, toplevel, criteria, schemas): argument
40 self.criteria = criteria
55 "--criteria", pfConfig.criteria,
122 self.nominal_pfconfig.criteria = os.path.join(config_dir, "duplicate_criterion_value.txt")
/external/mesa3d/src/egl/main/
Deglconfig.c446 _eglMatchConfig(const _EGLConfig *conf, const _EGLConfig *criteria) in _eglMatchConfig() argument
457 cmp = _eglGetConfigKey(criteria, attr); in _eglMatchConfig()
595 const _EGLConfig *criteria, EGLBoolean compare_id) in _eglCompareConfigs() argument
624 if (criteria) { in _eglCompareConfigs()
627 if (criteria->RedSize > 0) { in _eglCompareConfigs()
631 if (criteria->GreenSize > 0) { in _eglCompareConfigs()
635 if (criteria->BlueSize > 0) { in _eglCompareConfigs()
641 if (criteria->LuminanceSize > 0) { in _eglCompareConfigs()
646 if (criteria->AlphaSize > 0) { in _eglCompareConfigs()
796 _EGLConfig criteria; in _eglChooseConfig() local
[all …]
Deglconfig.h204 _eglMatchConfig(const _EGLConfig *conf, const _EGLConfig *criteria);
214 const _EGLConfig *criteria, EGLBoolean compare_id);
/external/oss-fuzz/docs/getting-started/
Dintegration_rewards.md16 the following criteria:
26 criteria, depending on how well the criteria is satisfied.
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/criterion/
DCriterionClassFactory.py69 with open(self.__criteriaFileName, "r") as criteria:
70 criteriaLines = criteria.readlines()
/external/ltp/testcases/realtime/func/matrix_mult/
Dmatrix_mult.c63 static float criteria; variable
304 if (savg > (cavg * criteria)) in main_thread()
308 criteria); in main_thread()
321 criteria = pass_criteria * numcpus; in main()
/external/chromium-trace/catapult/devil/devil/android/
Dapp_ui.py153 criteria = [(k.replace('_', '-'), v) for k, v in kwargs.items()
155 if not criteria:
157 return lambda node: all(node.get(k) == v for k, v in criteria)
/external/ltp/testcases/realtime/doc/
DHOWTO_ADD_TESTS34 - a clear description of test purpose and criteria
38 - your test has clear PASS/FAIL criteria if functional
/external/autotest/client/site_tests/audio_CrasDevSwitchStress/
Daudio_CrasDevSwitchStress.py151 criteria = self._INPUT_BUFFER_DRIFT_CRITERIA
154 criteria = self._OUTPUT_BUFFER_DRIFT_CRITERIA
160 if buffer_level > criteria:
/external/libdrm/
DCONTRIBUTING.rst61 below criteria:
67 criteria.
79 criteria, tools, and processes.
102 patches that violate the documented merge criteria, will also be handled through
/external/parameter-framework/upstream/tools/clientSimulator/
DREADME.md148 criteria and finally runs another script.
151 criteria (configurations are automatically applied after using this action
152 type). Other criteria keep there old values.
181 we can now use those types as basis and add some criteria to set in the same
202 During the `party` step, the `SmokeGenerator` and `Colors` criteria are set as
203 defined in the `ActionGathererFile` but also the `Mood` criteria.
/external/webrtc/pc/
Dcomposite_rtp_transport.cc160 const RtpDemuxerCriteria& criteria, in RegisterRtpDemuxerSink() argument
163 transport->RegisterRtpDemuxerSink(criteria, sink); in RegisterRtpDemuxerSink()
/external/llvm/lib/Support/
DREADME.txt.system34 To accomplish these requirements, the library has numerous design criteria that
35 must be satisfied. Here's a high level summary of the library's design criteria:
/external/parameter-framework/upstream/tools/xmlGenerator/
DREADME.md200 --criteria CRITERIA_FILE
212 - The "criteria file" lists all criteria and possible values used in the EDD
234 *The "criteria file" must look something like this:*

12345678