Lines Matching refs:criterion
55 AudioMixMatchCriterion criterion; in createUidCriterion() local
56 criterion.mValue.mUid = uid; in createUidCriterion()
57 criterion.mRule = exclude ? RULE_EXCLUDE_UID : RULE_MATCH_UID; in createUidCriterion()
58 return criterion; in createUidCriterion()
62 AudioMixMatchCriterion criterion; in createUserIdCriterion() local
63 criterion.mValue.mUserId = userId; in createUserIdCriterion()
64 criterion.mRule = exclude ? RULE_EXCLUDE_USERID : RULE_MATCH_USERID; in createUserIdCriterion()
65 return criterion; in createUserIdCriterion()
69 AudioMixMatchCriterion criterion; in createUsageCriterion() local
70 criterion.mValue.mUsage = usage; in createUsageCriterion()
71 criterion.mRule = exclude ? RULE_EXCLUDE_ATTRIBUTE_USAGE : RULE_MATCH_ATTRIBUTE_USAGE; in createUsageCriterion()
72 return criterion; in createUsageCriterion()
76 AudioMixMatchCriterion criterion; in createCapturePresetCriterion() local
77 criterion.mValue.mSource = source; in createCapturePresetCriterion()
78 criterion.mRule = exclude ? in createCapturePresetCriterion()
80 return criterion; in createCapturePresetCriterion()
84 AudioMixMatchCriterion criterion; in createSessionIdCriterion() local
85 criterion.mValue.mAudioSessionId = session; in createSessionIdCriterion()
86 criterion.mRule = exclude ? in createSessionIdCriterion()
88 return criterion; in createSessionIdCriterion()