/frameworks/base/location/java/android/location/ |
D | LocationProvider.java | 70 public boolean meetsCriteria(Criteria criteria) { in meetsCriteria() argument 71 return propertiesMeetCriteria(mName, mProperties, criteria); in meetsCriteria() 78 Criteria criteria) { in propertiesMeetCriteria() argument 89 if (criteria.getAccuracy() != Criteria.NO_REQUIREMENT && in propertiesMeetCriteria() 90 criteria.getAccuracy() < properties.getAccuracy()) { in propertiesMeetCriteria() 93 if (criteria.getPowerRequirement() != Criteria.NO_REQUIREMENT && in propertiesMeetCriteria() 94 criteria.getPowerRequirement() < properties.getPowerUsage()) { in propertiesMeetCriteria() 97 if (criteria.isAltitudeRequired() && !properties.hasAltitudeSupport()) { in propertiesMeetCriteria() 100 if (criteria.isSpeedRequired() && !properties.hasSpeedSupport()) { in propertiesMeetCriteria() 103 if (criteria.isBearingRequired() && !properties.hasBearingSupport()) { in propertiesMeetCriteria() [all …]
|
D | Criteria.java | 137 public Criteria(Criteria criteria) { in Criteria() argument 138 mHorizontalAccuracy = criteria.mHorizontalAccuracy; in Criteria() 139 mVerticalAccuracy = criteria.mVerticalAccuracy; in Criteria() 140 mSpeedAccuracy = criteria.mSpeedAccuracy; in Criteria() 141 mBearingAccuracy = criteria.mBearingAccuracy; in Criteria() 142 mPowerRequirement = criteria.mPowerRequirement; in Criteria() 143 mAltitudeRequired = criteria.mAltitudeRequired; in Criteria() 144 mBearingRequired = criteria.mBearingRequired; in Criteria() 145 mSpeedRequired = criteria.mSpeedRequired; in Criteria() 146 mCostAllowed = criteria.mCostAllowed; in Criteria()
|
D | LocationManager.java | 1106 @NonNull Criteria criteria, in requestSingleUpdate() 1109 Preconditions.checkArgument(criteria != null, "invalid null criteria"); in requestSingleUpdate() 1115 .setQuality(criteria) in requestSingleUpdate() 1174 public void requestSingleUpdate(@NonNull Criteria criteria, in requestSingleUpdate() argument 1176 Preconditions.checkArgument(criteria != null, "invalid null criteria"); in requestSingleUpdate() 1181 .setQuality(criteria) in requestSingleUpdate() 1309 @NonNull Criteria criteria, @NonNull LocationListener listener, in requestLocationUpdates() argument 1312 requestLocationUpdates(minTimeMs, minDistanceM, criteria, new HandlerExecutor(handler), in requestLocationUpdates() 1346 @NonNull Criteria criteria, in requestLocationUpdates() argument 1349 Preconditions.checkArgument(criteria != null, "invalid null criteria"); in requestLocationUpdates() [all …]
|
D | LocationRequest.java | 258 public static LocationRequest createFromDeprecatedCriteria(@NonNull Criteria criteria, in createFromDeprecatedCriteria() argument 260 Preconditions.checkArgument(criteria != null, "invalid null criteria"); in createFromDeprecatedCriteria() 272 .setQuality(criteria) in createFromDeprecatedCriteria() 1010 public @NonNull Builder setQuality(@NonNull Criteria criteria) { in setQuality() argument 1011 switch (criteria.getAccuracy()) { in setQuality() 1019 if (criteria.getPowerRequirement() == Criteria.POWER_HIGH) { in setQuality()
|
D | ILocationManager.aidl | 112 List<String> getProviders(in Criteria criteria, boolean enabledOnly); in getProviders() argument 113 String getBestProvider(in Criteria criteria, boolean enabledOnly); in getBestProvider() argument
|
/frameworks/base/core/java/android/companion/ |
D | BluetoothDeviceFilterUtils.java | 125 boolean result, BluetoothDevice device, Object criteria) { in debugLogMatchResult() argument 126 Log.i(LOG_TAG, getDeviceDisplayNameInternal(device) + (result ? " ~ " : " !~ ") + criteria); in debugLogMatchResult() 130 boolean result, ScanResult device, Object criteria) { in debugLogMatchResult() argument 131 Log.i(LOG_TAG, getDeviceDisplayNameInternal(device) + (result ? " ~ " : " !~ ") + criteria); in debugLogMatchResult()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioPolicy.h | 99 AudioMix(const std::vector<AudioMixMatchCriterion> &criteria, uint32_t mixType, in AudioMix() argument 102 mCriteria(criteria), mMixType(mixType), mFormat(format), in AudioMix()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/ |
D | BluetoothTileDialogLogger.kt | 121 fun logLaunchSettingsCriteriaMatched(criteria: String, deviceItem: DeviceItem) { in logLaunchSettingsCriteriaMatched() 126 str1 = criteria in logLaunchSettingsCriteriaMatched()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 76 bool areMixCriteriaMatched(const std::vector<AudioMixMatchCriterion>& criteria, in areMixCriteriaMatched() argument 84 if (std::any_of(criteria.begin(), criteria.end(), isMatchingExcludeCriterion)) { in areMixCriteriaMatched() 90 for (const auto& criterion : criteria) { in areMixCriteriaMatched() 104 bool areMixCriteriaConsistent(const std::vector<AudioMixMatchCriterion>& criteria) { in areMixCriteriaConsistent() argument 106 for (const AudioMixMatchCriterion& c : criteria) { in areMixCriteriaConsistent() 118 return std::none_of(criteria.begin(), criteria.end(), isConflictingCriterion); in areMixCriteriaConsistent()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | AudioMix.aidl | 30 AudioMixMatchCriterion[] criteria;
|
/frameworks/av/media/libaudioclient/tests/ |
D | audioclient_serialization_tests.cpp | 198 std::vector<AudioMixMatchCriterion> criteria; in TEST_F() local 199 criteria.reserve(16); in TEST_F() 204 criteria.push_back(ammc); in TEST_F() 212 AudioMix am{criteria, in TEST_F()
|
D | audiorouting_tests.cpp | 148 std::vector<AudioMixMatchCriterion> criteria{criterion}; in SetUp() local 153 AudioMix mix(criteria, mixType, config, mixFlag, String8{mAddress.c_str()}, 0); in SetUp()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/volume/ |
D | VolumeSlidersModule.kt | 41 criteria: AlwaysAvailableCriteria
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/mediaoutput/ |
D | MediaOutputModule.kt | 42 criteria: AlwaysAvailableCriteria
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/anc/ |
D | AncModule.kt | 37 criteria: AncAvailabilityCriteria
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/spatialaudio/ |
D | SpatialAudioModule.kt | 37 criteria: SpatialAudioAvailabilityCriteria
|
/frameworks/av/services/audiopolicy/engineconfigurable/tools/ |
D | buildPolicyCriterionTypes.py | 180 for criteria in address_criteria: 181 values = ','.join(address_criteria[criteria]) 182 logging.info("{}: <{}>".format(criteria, values))
|
D | domainGeneratorPolicy.py | 56 </criteria>' \ 225 all_criteria = parseCriteriaAndCriterionTypes(args.criteria, args.criteriontypes)
|
D | Android.bp | 91 "--criteria $(location :audio_policy_engine_criteria) " +
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/captioning/ |
D | CaptioningModule.kt | 39 criteria: CaptioningAvailabilityCriteria in bindComponentAvailabilityCriteria()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicyConfig.java | 134 final ArrayList<AudioMixMatchCriterion> criteria = mix.getRule().getCriteria(); in toLogFriendlyString() local 135 for (AudioMixMatchCriterion criterion : criteria) { in toLogFriendlyString()
|
D | AudioMixingRule.java | 58 private AudioMixingRule(int mixType, Collection<AudioMixMatchCriterion> criteria, in AudioMixingRule() argument 61 mCriteria = new ArrayList<>(criteria); in AudioMixingRule()
|
/frameworks/av/services/audiopolicy/engine/config/include/ |
D | EngineConfig.h | 103 Criteria criteria; member
|
/frameworks/av/media/libaudioclient/ |
D | PolicyAidlConversion.cpp | 230 RETURN_IF_ERROR(convertRange(aidl.criteria.begin(), aidl.criteria.end(), in aidl2legacy_AudioMix() 253 aidl.criteria = VALUE_OR_RETURN( in legacy2aidl_AudioMix()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 2254 for (const auto &criteria : nAudioMix.mCriteria) { in nativeAudioMixToJavaAudioMixingRule() local 2258 switch (criteria.mRule) { in nativeAudioMixToJavaAudioMixingRule() 2260 jValueInteger = env->NewObject(gIntegerClass, gIntegerCstor, criteria.mValue.mUid); in nativeAudioMixToJavaAudioMixingRule() 2263 jValueInteger, criteria.mRule); in nativeAudioMixToJavaAudioMixingRule() 2267 env->NewObject(gIntegerClass, gIntegerCstor, criteria.mValue.mUserId); in nativeAudioMixToJavaAudioMixingRule() 2270 jValueInteger, criteria.mRule); in nativeAudioMixToJavaAudioMixingRule() 2274 criteria.mValue.mAudioSessionId); in nativeAudioMixToJavaAudioMixingRule() 2277 jValueInteger, criteria.mRule); in nativeAudioMixToJavaAudioMixingRule() 2282 criteria.mValue.mUsage); in nativeAudioMixToJavaAudioMixingRule() 2285 jMixMatchCriterion, criteria.mRule); in nativeAudioMixToJavaAudioMixingRule() [all …]
|