Home
last modified time | relevance | path

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

/frameworks/base/location/java/android/location/
DLocationProvider.java93 public boolean meetsCriteria(Criteria criteria) { in meetsCriteria() argument
94 return propertiesMeetCriteria(mName, mProperties, criteria); in meetsCriteria()
101 Criteria criteria) { in propertiesMeetCriteria() argument
112 if (criteria.getAccuracy() != Criteria.NO_REQUIREMENT && in propertiesMeetCriteria()
113 criteria.getAccuracy() < properties.mAccuracy) { in propertiesMeetCriteria()
116 if (criteria.getPowerRequirement() != Criteria.NO_REQUIREMENT && in propertiesMeetCriteria()
117 criteria.getPowerRequirement() < properties.mPowerRequirement) { in propertiesMeetCriteria()
120 if (criteria.isAltitudeRequired() && !properties.mSupportsAltitude) { in propertiesMeetCriteria()
123 if (criteria.isSpeedRequired() && !properties.mSupportsSpeed) { in propertiesMeetCriteria()
126 if (criteria.isBearingRequired() && !properties.mSupportsBearing) { in propertiesMeetCriteria()
[all …]
DCriteria.java105 public Criteria(Criteria criteria) { in Criteria() argument
106 mHorizontalAccuracy = criteria.mHorizontalAccuracy; in Criteria()
107 mVerticalAccuracy = criteria.mVerticalAccuracy; in Criteria()
108 mSpeedAccuracy = criteria.mSpeedAccuracy; in Criteria()
109 mBearingAccuracy = criteria.mBearingAccuracy; in Criteria()
110 mPowerRequirement = criteria.mPowerRequirement; in Criteria()
111 mAltitudeRequired = criteria.mAltitudeRequired; in Criteria()
112 mBearingRequired = criteria.mBearingRequired; in Criteria()
113 mSpeedRequired = criteria.mSpeedRequired; in Criteria()
114 mCostAllowed = criteria.mCostAllowed; in Criteria()
DLocationManager.java490 public @NonNull List<String> getProviders(@NonNull Criteria criteria, boolean enabledOnly) { in getProviders() argument
491 checkCriteria(criteria); in getProviders()
493 return mService.getProviders(criteria, enabledOnly); in getProviders()
521 public @Nullable String getBestProvider(@NonNull Criteria criteria, boolean enabledOnly) { in getBestProvider() argument
522 checkCriteria(criteria); in getBestProvider()
524 return mService.getBestProvider(criteria, enabledOnly); in getBestProvider()
616 public void requestLocationUpdates(long minTime, float minDistance, @NonNull Criteria criteria, in requestLocationUpdates() argument
618 checkCriteria(criteria); in requestLocationUpdates()
622 criteria, minTime, minDistance, false); in requestLocationUpdates()
751 public void requestLocationUpdates(long minTime, float minDistance, @NonNull Criteria criteria, in requestLocationUpdates() argument
[all …]
DILocationManager.aidl91 List<String> getProviders(in Criteria criteria, boolean enabledOnly); in getProviders() argument
92 String getBestProvider(in Criteria criteria, boolean enabledOnly); in getBestProvider() argument
DLocationRequest.java224 @NonNull Criteria criteria, long minTime, float minDistance, boolean singleShot) { in createFromDeprecatedCriteria()
229 switch (criteria.getAccuracy()) { in createFromDeprecatedCriteria()
237 if (criteria.getPowerRequirement() == Criteria.POWER_HIGH) { in createFromDeprecatedCriteria()
/frameworks/base/core/java/android/companion/
DBluetoothDeviceFilterUtils.java121 boolean result, BluetoothDevice device, Object criteria) { in debugLogMatchResult() argument
122 Log.i(LOG_TAG, getDeviceDisplayNameInternal(device) + (result ? " ~ " : " !~ ") + criteria); in debugLogMatchResult()
126 boolean result, ScanResult device, Object criteria) { in debugLogMatchResult() argument
127 Log.i(LOG_TAG, getDeviceDisplayNameInternal(device) + (result ? " ~ " : " !~ ") + criteria); in debugLogMatchResult()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java102 final ArrayList<AudioMixMatchCriterion> criteria = mix.getRule().getCriteria(); in writeToParcel() local
103 dest.writeInt(criteria.size()); in writeToParcel()
104 for (AudioMixMatchCriterion criterion : criteria) { in writeToParcel()
173 final ArrayList<AudioMixMatchCriterion> criteria = mix.getRule().getCriteria(); in toLogFriendlyString() local
174 for (AudioMixMatchCriterion criterion : criteria) { in toLogFriendlyString()
DAudioMixingRule.java49 private AudioMixingRule(int mixType, ArrayList<AudioMixMatchCriterion> criteria, in AudioMixingRule() argument
51 mCriteria = criteria; in AudioMixingRule()
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomGraphGenerator.cpp346 const AccuracyCriteria& criteria) const { in checkResults()
358 expectNear<float>(*op, buffers[i], criteria.float32); in checkResults()
361 expectNear<_Float16>(*op, buffers[i], criteria.float16); in checkResults()
364 expectNear<int32_t>(*op, buffers[i], criteria.int32); in checkResults()
367 expectNear<uint8_t>(*op, buffers[i], criteria.quant8Asymm); in checkResults()
370 expectNear<int8_t>(*op, buffers[i], criteria.quant8Symm); in checkResults()
373 expectNear<uint16_t>(*op, buffers[i], criteria.quant16Asymm); in checkResults()
376 expectNear<int16_t>(*op, buffers[i], criteria.quant16Symm); in checkResults()
DRandomGraphGenerator.h161 const AccuracyCriteria& criteria) const;
DTestRandomGraph.cpp381 #define TEST_SINGLE_OPERATION(operation, halVersion, criteria) \ argument
386 mCriteria = (criteria); \
/frameworks/av/include/media/
DAudioPolicy.h99 AudioMix(Vector<AudioMixMatchCriterion> criteria, uint32_t mixType, audio_config_t format, in AudioMix() argument
101 mCriteria(criteria), mMixType(mixType), mFormat(format), in AudioMix()
/frameworks/av/media/libaudioclient/include/media/
DAudioPolicy.h99 AudioMix(Vector<AudioMixMatchCriterion> criteria, uint32_t mixType, audio_config_t format, in AudioMix() argument
101 mCriteria(criteria), mMixType(mixType), mFormat(format), in AudioMix()
/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DbuildPolicyCriterionTypes.py167 for criteria in address_criteria:
168 values = ','.join(address_criteria[criteria])
169 logging.info("{}: <{}>".format(criteria, values))
Dbuild_audio_pfw_settings.mk22 --criteria "$(MY_CRITERIA_FILE)" \
DdomainGeneratorPolicy.py52 </criteria>' \
221 all_criteria = parseCriteriaAndCriterionTypes(args.criteria, args.criteriontypes)
/frameworks/av/services/audiopolicy/engine/config/include/
DEngineConfig.h100 Criteria criteria; member
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp378 Collection &criteria) in deserialize() argument
401 criteria.push_back({name, typeName, defaultValue}); in deserialize()
634 doc, cur, config->criteria, nbSkippedElements); in parse()
/frameworks/base/core/proto/android/content/
Dpackage_item_info.proto105 // defined its backup include/exclude criteria. The data in this field is
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp199 loadCriteria(result.parsedConfig->criteria, result.parsedConfig->criterionTypes); in loadAudioPolicyEngineConfig()
/frameworks/rs/rsov/compiler/spirit/
Dmodule.cpp616 T *findOrCreate(std::function<bool(T *)> criteria, std::function<T *()> factory, in findOrCreate() argument
622 if (criteria(derived)) { in findOrCreate()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java2025 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() argument
2040 if (criteria != null in getProviders()
2042 name, provider.getPropertiesLocked(), criteria)) { in getProviders()
2059 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider() argument
2060 List<String> providers = getProviders(criteria, enabledOnly); in getBestProvider()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppRegistry.java570 @NonNull Predicate<UninstalledInstantAppState> criteria, @UserIdInt int userId) { in removeUninstalledInstantAppStateLPw()
582 if (!criteria.test(uninstalledAppState)) { in removeUninstalledInstantAppStateLPw()
/frameworks/native/opengl/tests/angeles/
Dlicense-LGPL.txt77 entire combination fits its criteria of freedom. The Lesser General
78 Public License permits more lax criteria for linking other code with