/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowLocationManagerTest.java | 204 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/autotest/client/site_tests/firmware_TouchMTB/tests/ |
D | validators_unittest.py | 55 def _test_count_tracking_id(self, filename, criteria, device): argument 57 validator = CountTrackingIDValidator(criteria, device=device) 93 self.criteria = conf.drumroll_criteria 95 def _test_drumroll(self, filename, criteria, device): argument 97 validator = DrumrollValidator(criteria, device=device) 101 def _get_drumroll_metrics(self, filename, criteria, device): argument 103 validator = DrumrollValidator(criteria, device=device) 114 score = self._test_drumroll(filename, self.criteria, lumpy) 124 score = self._test_drumroll(filename, self.criteria, lumpy) 134 score = self._test_drumroll(filename, self.criteria, link) [all …]
|
/external/parameter-framework/upstream/bindings/c/ |
D | Test.cpp | 119 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 …]
|
D | ParameterFramework.cpp | 144 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/ |
D | ShadowLocationManager.java | 104 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/ |
D | coverage.py | 372 def usedIfApplicable(self, criteria): argument 373 childApplicability = (child.usedIfApplicable(criteria) 376 isApplicable = self._isApplicable(criteria, childApplicability) 387 def _isApplicable(self, criteria, childApplicability): argument 414 def _isApplicable(self, criteria, childApplicability): argument 416 return criteria.operationOnChild([self.selectionCriterion], 439 def _isApplicable(self, criteria, childApplicability): argument 441 applicability = super()._isApplicable(criteria, childApplicability) 466 def parentUsed(self, criteria): argument 470 matches = [child for child in self.children if child == criteria] [all …]
|
/external/mesa3d/src/egl/main/ |
D | eglconfig.c | 443 _eglMatchConfig(const _EGLConfig *conf, const _EGLConfig *criteria) in _eglMatchConfig() argument 454 cmp = _eglGetConfigKey(criteria, attr); in _eglMatchConfig() 592 const _EGLConfig *criteria, EGLBoolean compare_id) in _eglCompareConfigs() argument 621 if (criteria) { in _eglCompareConfigs() 624 if (criteria->RedSize > 0) { in _eglCompareConfigs() 628 if (criteria->GreenSize > 0) { in _eglCompareConfigs() 632 if (criteria->BlueSize > 0) { in _eglCompareConfigs() 638 if (criteria->LuminanceSize > 0) { in _eglCompareConfigs() 643 if (criteria->AlphaSize > 0) { in _eglCompareConfigs() 796 _EGLConfig criteria; in _eglChooseConfig() local [all …]
|
D | eglconfig.h | 204 _eglMatchConfig(const _EGLConfig *conf, const _EGLConfig *criteria); 214 const _EGLConfig *criteria, EGLBoolean compare_id);
|
/external/parameter-framework/upstream/test/xml-generator/ |
D | test.py | 38 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/parameter-framework/upstream/test/test-platform/ |
D | README.md | 4 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/autotest/client/site_tests/video_YouTubeMseEme/files/ |
D | video_YouTubeMseEme.js | 416 return function(codecs, keySystem, criteria) { argument 423 if (criteria === null) 425 else if (typeof(criteria) === 'string') 426 return testResult === criteria; 427 else if (criteria.length) { 429 for (var i in criteria) 430 checks |= testResult === criteria[i];
|
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/criterion/ |
D | CriterionClassFactory.py | 69 with open(self.__criteriaFileName, "r") as criteria: 70 criteriaLines = criteria.readlines()
|
/external/ltp/testcases/realtime/func/matrix_mult/ |
D | matrix_mult.c | 63 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/ |
D | app_ui.py | 156 criteria = [(k.replace('_', '-'), v) 159 if not criteria: 161 return lambda node: all(node.get(k) == v for k, v in criteria)
|
/external/ltp/testcases/realtime/doc/ |
D | HOWTO_ADD_TESTS | 34 - a clear description of test purpose and criteria 38 - your test has clear PASS/FAIL criteria if functional
|
/external/parameter-framework/upstream/tools/clientSimulator/ |
D | README.md | 148 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/swiftshader/third_party/LLVM/lib/Support/ |
D | README.txt.system | 34 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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | README.txt.system | 34 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/llvm/lib/Support/ |
D | README.txt.system | 34 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/ |
D | README.md | 200 --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:*
|
/external/llvm/test/CodeGen/X86/ |
D | branchfolding-catchpads.ll | 43 ; This test verifies the case where two funclet blocks meet the old criteria 90 ; criteria to be placed at the end. The order of the blocks is not important
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
D | report_html.py | 94 criteria_string = self.criteria_string % vlog.criteria 98 criteria=criteria_string,
|
D | validators.py | 95 msg_criteria = ' criteria_str: %s' % vlog.criteria 185 def __init__(self, criteria, mf=None, device=None, name=None): argument 186 self.criteria_str = criteria() if isfunction(criteria) else criteria 192 self.vlog.criteria = self.criteria_str 796 def __init__(self, criteria, mf=None, device=None, slot=0): argument 798 super(StationaryValidator, self).__init__(criteria, mf, device, name)
|
/external/parameter-framework/upstream/ |
D | README.md | 44 - a list of criteria (representing the state of the client) and their possible 47 parameter) must take - this is done by writing rules based on the criteria 53 1. The update of *criteria* (that are used in the rules introduced above) and 54 2. Update all relevant parameters according to the new criteria values. The
|
/external/vulkan-validation-layers/ |
D | GOVERNANCE.md | 29 - Write control: Approve pull/merge requests (verify submissions vs. acceptance criteria) 50 …- The goal is to be responsive to contributors while ensuring acceptance criteria is met and to fa…
|