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 | 67 auto head = lower == kInvalidValue ? mChoices.begin() in setRange() 68 : std::lower_bound(mChoices.begin(), mChoices.end(), lower); in setRange() 69 auto tail = upper == kInvalidValue ? mChoices.end() in setRange() 70 : std::upper_bound(mChoices.begin(), mChoices.end(), upper); in setRange() 72 if (head != mChoices.begin() || tail != mChoices.end()) { in setRange() 73 mChoices = std::vector<int>(head, tail); in setRange() 78 if (mChoices.size() > 1) mChoices = {getRandomChoice(mChoices)}; in toConst() 79 return mChoices[0]; in toConst() 84 auto it = std::set_intersection(lhs.mChoices.begin(), lhs.mChoices.end(), rhs.mChoices.begin(), in operator &() 85 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 | 8368 Landroid/app/RemoteInput$Builder;->mChoices:[Ljava/lang/CharSequence; 8383 Landroid/app/RemoteInput;->mChoices:[Ljava/lang/CharSequence;
|