/frameworks/base/location/java/android/location/ |
D | LocationProvider.java | 93 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 …]
|
D | Criteria.java | 105 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()
|
D | LocationManager.java | 490 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 …]
|
D | ILocationManager.aidl | 91 List<String> getProviders(in Criteria criteria, boolean enabledOnly); in getProviders() argument 92 String getBestProvider(in Criteria criteria, boolean enabledOnly); in getBestProvider() argument
|
D | LocationRequest.java | 224 @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/ |
D | BluetoothDeviceFilterUtils.java | 121 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/ |
D | AudioPolicyConfig.java | 102 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()
|
D | AudioMixingRule.java | 49 private AudioMixingRule(int mixType, ArrayList<AudioMixMatchCriterion> criteria, in AudioMixingRule() argument 51 mCriteria = criteria; in AudioMixingRule()
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomGraphGenerator.cpp | 346 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()
|
D | RandomGraphGenerator.h | 161 const AccuracyCriteria& criteria) const;
|
D | TestRandomGraph.cpp | 381 #define TEST_SINGLE_OPERATION(operation, halVersion, criteria) \ argument 386 mCriteria = (criteria); \
|
/frameworks/av/include/media/ |
D | AudioPolicy.h | 99 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/ |
D | AudioPolicy.h | 99 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/ |
D | buildPolicyCriterionTypes.py | 167 for criteria in address_criteria: 168 values = ','.join(address_criteria[criteria]) 169 logging.info("{}: <{}>".format(criteria, values))
|
D | build_audio_pfw_settings.mk | 22 --criteria "$(MY_CRITERIA_FILE)" \
|
D | domainGeneratorPolicy.py | 52 </criteria>' \ 221 all_criteria = parseCriteriaAndCriterionTypes(args.criteria, args.criteriontypes)
|
/frameworks/av/services/audiopolicy/engine/config/include/ |
D | EngineConfig.h | 100 Criteria criteria; member
|
/frameworks/av/services/audiopolicy/engine/config/src/ |
D | EngineConfig.cpp | 378 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/ |
D | package_item_info.proto | 105 // defined its backup include/exclude criteria. The data in this field is
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.cpp | 199 loadCriteria(result.parsedConfig->criteria, result.parsedConfig->criterionTypes); in loadAudioPolicyEngineConfig()
|
/frameworks/rs/rsov/compiler/spirit/ |
D | module.cpp | 616 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/ |
D | LocationManagerService.java | 2025 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/ |
D | InstantAppRegistry.java | 570 @NonNull Predicate<UninstalledInstantAppState> criteria, @UserIdInt int userId) { in removeUninstalledInstantAppStateLPw() 582 if (!criteria.test(uninstalledAppState)) { in removeUninstalledInstantAppStateLPw()
|
/frameworks/native/opengl/tests/angeles/ |
D | license-LGPL.txt | 77 entire combination fits its criteria of freedom. The Lesser General 78 Public License permits more lax criteria for linking other code with
|