Searched refs:mChoices (Results 1 – 4 of 4) sorted by relevance
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomVariable.h | 41 explicit RandomVariableRange(int value) : mChoices({value}) {} in RandomVariableRange() 42 RandomVariableRange(int lower, int upper) : mChoices(upper - lower + 1) { in RandomVariableRange() 43 std::iota(mChoices.begin(), mChoices.end(), lower); in RandomVariableRange() 45 explicit RandomVariableRange(const std::vector<int>& vec) : mChoices(vec) {} in RandomVariableRange() 46 explicit RandomVariableRange(const std::set<int>& st) : mChoices(st.begin(), st.end()) {} in RandomVariableRange() 50 bool empty() const { return mChoices.empty(); } in empty() 52 return std::binary_search(mChoices.begin(), mChoices.end(), value); in has() 54 size_t size() const { return mChoices.size(); } in size() 55 int min() const { return *mChoices.begin(); } in min() 56 int max() const { return *mChoices.rbegin(); } in max() [all …]
|
D | RandomVariable.cpp | 66 auto head = lower == kInvalidValue ? mChoices.begin() in setRange() 67 : std::lower_bound(mChoices.begin(), mChoices.end(), lower); in setRange() 68 auto tail = upper == kInvalidValue ? mChoices.end() in setRange() 69 : std::upper_bound(mChoices.begin(), mChoices.end(), upper); in setRange() 71 if (head != mChoices.begin() || tail != mChoices.end()) { in setRange() 72 mChoices = std::vector<int>(head, tail); in setRange() 77 if (mChoices.size() > 1) mChoices = {getRandomChoice(mChoices)}; in toConst() 78 return mChoices[0]; in toConst() 83 auto it = std::set_intersection(lhs.mChoices.begin(), lhs.mChoices.end(), rhs.mChoices.begin(), in operator &() 84 rhs.mChoices.end(), result.begin()); in operator &()
|
/frameworks/base/core/java/android/app/ |
D | RemoteInput.java | 120 private final CharSequence[] mChoices; field in RemoteInput 131 this.mChoices = choices; in RemoteInput() 162 return mChoices; in getChoices() 219 private CharSequence[] mChoices; field in RemoteInput.Builder 263 mChoices = null; in setChoices() 265 mChoices = new CharSequence[choices.length]; in setChoices() 267 mChoices[i] = Notification.safeCharSequence(choices[i]); in setChoices() 363 return new RemoteInput(mResultKey, mLabel, mChoices, mFlags, mEditChoicesBeforeSending, in build() 371 mChoices = in.readCharSequenceArray(); in RemoteInput() 557 out.writeCharSequenceArray(mChoices); in writeToParcel()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 8915 Landroid/app/RemoteInput$Builder;->mChoices:[Ljava/lang/CharSequence; 8931 Landroid/app/RemoteInput;->mChoices:[Ljava/lang/CharSequence;
|