Searched refs:criterion (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiSelector.java530 * @return UiSelector with this added search criterion
553 * @return UiSelector with this added search criterion
641 String getString(int criterion) { argument
642 return (String) mSelectorAttributes.get(criterion, null);
645 boolean getBoolean(int criterion) { argument
646 return (Boolean) mSelectorAttributes.get(criterion, false);
649 int getInt(int criterion) { argument
650 return (Integer) mSelectorAttributes.get(criterion, 0);
653 Pattern getPattern(int criterion) { argument
654 return (Pattern) mSelectorAttributes.get(criterion, nul
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp262 ISelectionCriterionInterface *criterion = local
265 mPolicyCriteria[name] = criterion;
271 criterion->setCriterionState(numericalValue);
337 ISelectionCriterionInterface *criterion = local
339 if (criterion == NULL) {
340 ALOGE("%s: no criterion found for %s", __FUNCTION__, gPhoneStateCriterionTag.c_str());
343 if (!isValueValidForCriterion(criterion, static_cast<int>(mode))) {
346 criterion->setCriterionState((int)(mode));
353 const ISelectionCriterionInterface *criterion = local
355 if (criterion
370 ISelectionCriterionInterface *criterion = local
390 const ISelectionCriterionInterface *criterion = local
399 isValueValidForCriterion(ISelectionCriterionInterface *criterion, int valueToCheck) argument
409 ISelectionCriterionInterface *criterion = local
422 ISelectionCriterionInterface *criterion = local
[all...]
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioPolicyConfig.java96 for (AudioMixMatchCriterion criterion : criteria) {
97 criterion.writeToParcel(dest);
161 for (AudioMixMatchCriterion criterion : criteria) {
162 switch(criterion.mRule) {
165 textDump += criterion.mAttr.usageToString();
169 textDump += criterion.mAttr.usageToString();
173 textDump += criterion.mAttr.getCapturePreset();
177 textDump += criterion.mAttr.getCapturePreset();
181 textDump += criterion.mIntProp;
185 textDump += criterion
[all...]
H A DAudioMixingRule.java384 final AudioMixMatchCriterion criterion = crIterator.next();
388 if (criterion.mAttr.getUsage() == attrToMatch.getUsage()) {
389 if (criterion.mRule == rule) {
393 // criterion already exists with a another rule,
402 if (criterion.mAttr.getCapturePreset() == attrToMatch.getCapturePreset()) {
403 if (criterion.mRule == rule) {
407 // criterion already exists with a another rule,
416 if (criterion.mIntProp == intProp.intValue()) {
417 if (criterion.mRule == rule) {
421 // criterion alread
[all...]
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
H A DNotificationSwipeActionHelper.java62 public SnoozeCriterion criterion; field in class:NotificationSwipeActionHelper.SnoozeOption
68 criterion = crit;
/frameworks/av/media/libaudioclient/
H A DAudioPolicy.cpp78 AudioMixMatchCriterion criterion; local
79 if (criterion.readFromParcel(parcel) == NO_ERROR) {
80 mCriteria.add(criterion);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPolicyMix.cpp82 for (const auto &criterion : mMix.mCriteria) {
86 if (!UsageTypeConverter::toString(criterion.mValue.mUsage, usageLiteral)) {
87 ALOGE("%s: failed to convert usage %d", __FUNCTION__, criterion.mValue.mUsage);
94 if (!SourceTypeConverter::toString(criterion.mValue.mSource, sourceLiteral)) {
95 ALOGE("%s: failed to convert source %d", __FUNCTION__, criterion.mValue.mSource);
101 snprintf(buffer, SIZE, "%*s- Uid:%d\n", spaces + 4, "", criterion.mValue.mUid);
104 if (!RuleTypeConverter::toString(criterion.mRule, ruleLiteral)) {
105 ALOGE("%s: failed to convert source %d", __FUNCTION__,criterion.mRule);
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
H A DParameterManagerWrapper.h80 * It will set the telephony mode criterion accordingly and apply the configuration in order
81 * to select the right configuration on domains depending on this mode criterion.
85 * @return NO_ERROR if criterion set correctly, error code otherwise.
93 * It will set the corresponding policy parameter framework criterion.
98 * @return NO_ERROR if the criterion was set correctly, error code otherwise (e.g. config not
106 * Set the available input devices i.e. set the associated policy parameter framework criterion
110 * @return NO_ERROR if devices criterion updated correctly, error code otherwise.
115 * Set the available output devices i.e. set the associated policy parameter framework criterion
119 * @return NO_ERROR if devices criterion updated correctly, error code otherwise.
137 * Load the criterion configuratio
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBar.java5856 if (snoozeOption.criterion != null) {
5857 mNotificationListener.snoozeNotification(sbn.getKey(), snoozeOption.criterion.getId());

Completed in 333 milliseconds