HomeSort by relevance Sort by last modified time
    Searched refs:criterion (Results 1 - 25 of 26) sorted by null

1 2

  /external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/userInteraction/
UserInteractor.py 29 from clientsimulator.criterion.InclusiveCriterion import InclusiveCriterion
128 def __setCriterion(self, criterion, value):
129 criterion.currentValue = value
131 def __removeCriterionValue(self, criterion, value):
132 criterion.removeValue(value)
134 def __editCriterion(self, criterion):
136 Allow to change the value of a criterion through a menu.
138 :param criterion: the criterion to edit
139 :type criterion: Criterio
    [all...]
  /frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
ParameterManagerWrapper.cpp 112 ALOG_ASSERT(not isStarted(), "Cannot add a criterion if PFW is already started");
122 "%s: Criterion %s already added", __FUNCTION__, name.c_str());
124 auto criterion = mPfwConnector->createSelectionCriterion(name, criterionType); local
125 mPolicyCriteria[name] = criterion;
133 criterion->setCriterionState(numericalValue);
186 ISelectionCriterionInterface *criterion = local
188 if (criterion == NULL) {
189 ALOGE("%s: no criterion found for %s", __FUNCTION__, gPhoneStateCriterionName);
192 if (!isValueValidForCriterion(criterion, static_cast<int>(mode))) {
195 criterion->setCriterionState((int)(mode))
202 const ISelectionCriterionInterface *criterion = local
219 ISelectionCriterionInterface *criterion = local
239 const ISelectionCriterionInterface *criterion = local
264 ISelectionCriterionInterface *criterion = local
291 ISelectionCriterionInterface *criterion = local
304 ISelectionCriterionInterface *criterion = local
    [all...]
  /external/parameter-framework/upstream/bindings/c/
ParameterFramework.cpp 50 typedef ISelectionCriterionInterface Criterion;
51 typedef std::map<string, Criterion *> Criteria;
182 const PfwCriterion &criterion = criteriaArray[criterionIndex]; local
183 if (criterion.name == nullptr) {
184 return status.failure("Criterion name is NULL");
186 if (criterion.values == nullptr) {
187 return status.failure("Criterion values is NULL");
189 // Check that the criterion does not exist
190 if (criteria.find(criterion.name) != criteria.end()) {
191 return status.failure("Criterion \"" + string(criterion.name) + "\" already exist")
263 pfw::Criterion *criterion = getCriterion(handle->criteria, name); local
277 pfw::Criterion *criterion = getCriterion(handle->criteria, name); local
    [all...]
  /external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/criterion/
ExclusiveCriterion.py 29 from clientsimulator.criterion.Criterion import Criterion
30 from clientsimulator.criterion.Criterion import InvalidCriterionException
33 class ExclusiveCriterion(Criterion):
36 This file describe Exclusive Criterion Behavior
38 This types of criterion can only have one value at a time
CriterionClassFactory.py 29 from clientsimulator.criterion.Criterion import Criterion
30 from clientsimulator.criterion.ExclusiveCriterion import ExclusiveCriterion
31 from clientsimulator.criterion.InclusiveCriterion import InclusiveCriterion
41 Private function which allows to dynamically create a new Criterion SubClass
45 :param allowedValues: all values the criterion can take
47 :param base: direct mother class of the created criterion subclass
51 :return: A criterion subclass
56 """ Init Function of a Criterion Child Class ""
    [all...]
InclusiveCriterion.py 29 from clientsimulator.criterion.Criterion import Criterion
30 from clientsimulator.criterion.Criterion import InvalidCriterionException
33 class InclusiveCriterion(Criterion):
36 This file describe Inclusive Criterion Behavior
38 This types of criterion can have several values at the same time
52 Criterion current value setter
  /external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/testGenerator/
TestLauncher.py 29 from clientsimulator.criterion.ExclusiveCriterion import ExclusiveCriterion
50 :param criterionClasses: runtime generated criterion classes
147 for criterion in criterions:
148 if ExclusiveCriterion in criterion.__class__.__bases__:
149 criterionValue = [criterion.currentValue]
151 criterionValue = criterion.currentValue
154 setCriterionArgs = [criterion.__class__.__name__] + criterionValueArg
  /external/toolchain-utils/cros_utils/
pstat.py 42 dm (listoflists,criterion)
58 remap (listoflists,criterion)
72 adm (a,criterion)
320 def dm(listoflists, criterion):
323 the passed criterion expression (a string as a function of x; e.g., 'x[3]>=9'
327 Usage: dm (listoflists, criterion)
328 Returns: rows from listoflists that meet the specified criterion.
330 function = 'filter(lambda x: ' + criterion + ',listoflists)'
362 criterion = ''
368 criterion = criterion + ' x[' + str(columnlist
    [all...]
  /frameworks/av/services/audiopolicy/engineconfigurable/tools/
domainGeneratorPolicy.py 34 # shall be started and fed with all the criterion types/criteria that will be used by
51 <criterion name="" type=""/> \
58 help="Criterion types XML file, in \
107 # Parse criteria and criterion types XML files
118 for criterion in criteria_root.findall('criterion'):
119 criterion_name = criterion.get('name')
120 type_name = criterion.get('type')
185 for criterion in all_criteria:
186 yield ["createSelectionCriterion", criterion['inclusive']
    [all...]
  /external/parameter-framework/upstream/tools/xmlGenerator/
domainGenerator.py 103 r"^(?P<type>(?:Inclusive|Exclusive)Criterion)\s*" \
154 for criterion in all_criteria:
155 yield ["createSelectionCriterion", criterion['inclusive'],
156 criterion['name']] + criterion['values']
  /frameworks/av/media/libaudioclient/
AudioPolicy.cpp 106 AudioMixMatchCriterion criterion; local
107 if (criterion.readFromParcel(parcel) == NO_ERROR) {
108 mCriteria.add(criterion);
  /external/parameter-framework/upstream/tools/coverage/
coverage.py 39 - criterion
399 "Includes" : lambda criterion, value: criterion.stateIncludes(value),
400 "Excludes" : lambda criterion, value: not criterion.stateIncludes(value),
401 "Is" : lambda criterion, value: criterion.stateIs(value),
402 "IsNot" : lambda criterion, value: not criterion.stateIs(value)
412 self.isApplicableOperation = lambda criterion: applicableOperationWithoutValue(criterion, self.value
    [all...]
  /external/emma/core/java12/com/vladium/emma/report/
IItemAttribute.java 46 boolean passes (IItem item, int criterion); // ideally, criteria should come from a double-dispatched API
99 public boolean passes (final IItem item, final int criterion)
164 public boolean passes (final IItem item, final int criterion)
169 return ((double) n) * IItem.PRECISION >= ((double) d) * m_scale * criterion;
ReportProperties.java 412 final double criterion; local
420 criterion = Double.parseDouble (metricSpec.substring (separator + 1));
421 if ((criterion < 0.0) || (criterion > 101.0)) continue;
436 _metrics.put (out [0], (int) Math.round (((criterion * IItem.PRECISION) / 100.0)));
  /frameworks/av/services/audiopolicy/engineconfigurable/src/
Engine.cpp 183 for (auto& criterion : configCriteria) {
186 if (configCriterionType.name == criterion.typeName) {
191 ALOG_ASSERT(not criterionType.name.empty(), "Invalid criterion type for %s",
192 criterion.name.c_str());
193 mPolicyParameterMgr->addCriterion(criterion.name, criterionType.isInclusive,
195 criterion.defaultLiteralValue);
253 // Criterion device address garantee this one is available
254 // If this criterion is not wished, need to ensure this device is available
  /frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
ParameterManagerWrapper.h 78 * It will set the telephony mode criterion accordingly and apply the configuration in order
79 * to select the right configuration on domains depending on this mode criterion.
83 * @return NO_ERROR if criterion set correctly, error code otherwise.
91 * It will set the corresponding policy parameter framework criterion.
96 * @return NO_ERROR if the criterion was set correctly, error code otherwise (e.g. config not
104 * Set the available input devices i.e. set the associated policy parameter framework criterion
108 * @return NO_ERROR if devices criterion updated correctly, error code otherwise.
113 * Set the available output devices i.e. set the associated policy parameter framework criterion
117 * @return NO_ERROR if devices criterion updated correctly, error code otherwise.
126 * @param name of the criterion
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
AbstractEstimator.java 175 * criterion that is minimized by the estimator as follows: if
176 * <em>c</em> if the criterion, and <em>n</em> is the number of
184 double criterion = 0; local
187 criterion += wm[i].getWeight() * residual * residual;
189 return FastMath.sqrt(criterion / wm.length);
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
AudioPolicyMix.cpp 49 for (const auto &criterion : mCriteria) {
50 dst->appendFormat("%*s- Criterion %d: ", spaces + 2, "", indexCriterion++);
53 bool unknownRule = !RuleTypeConverter::toString(criterion.mRule, ruleType);
54 switch (criterion.mRule & ~RULE_EXCLUSION_MASK) { // no need to match RULE_EXCLUDE_...
56 UsageTypeConverter::toString(criterion.mValue.mUsage, ruleValue);
59 SourceTypeConverter::toString(criterion.mValue.mSource, ruleValue);
62 ruleValue = std::to_string(criterion.mValue.mUid);
71 dst->appendFormat("Unknown rule type value 0x%x\n", criterion.mRule);
  /external/mesa3d/src/egl/main/
eglconfig.c 131 enum criterion { enum
144 enum criterion criterion; member in struct:__anon33188
374 if (_eglValidationTable[i].criterion == ATTRIB_CRITERION_SPECIAL)
450 if (_eglValidationTable[i].criterion == ATTRIB_CRITERION_IGNORE)
459 switch (_eglValidationTable[i].criterion) {
  /external/tensorflow/tensorflow/python/debug/cli/
tensor_format.py 44 criterion,
50 criterion: (callable) A callable of the following signature:
60 description: (str) Description of the highlight criterion embodied by
61 criterion.
67 self.criterion = criterion
172 indices_list = list(np.argwhere(highlight_options.criterion(tensor)))
  /external/parameter-framework/upstream/tools/clientSimulator/
pfClientSimulator.py 30 from clientsimulator.criterion.CriterionClassFactory import CriterionClassFactory
163 # Parsing criterion file and classes generation
164 logger.info("Criterion analysis")
  /external/guice/extensions/persist/lib/
hibernate3.jar 
  /external/python/apitools/samples/dns_sample/dns_v1/
dns_v1_messages.py 109 SortByValueValuesEnum: Sorting criterion. The only supported value is
120 sortBy: Sorting criterion. The only supported value is change sequence.
125 """Sorting criterion. The only supported value is change sequence.
  /external/emma/lib/
emma.jar 
  /external/owasp/sanitizer/tools/emma/lib/
emma.jar 

Completed in 312 milliseconds

1 2