/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyViewTest.java | 279 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello", "Bye"}; in testMeasure_shortChoices() local 282 ViewGroup expectedView = buildExpectedView(choices, 1); in testMeasure_shortChoices() 285 setSmartReplies(choices); in testMeasure_shortChoices() 296 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello", "Bye"}; in testLayout_shortChoices() local 299 ViewGroup expectedView = buildExpectedView(choices, 1); in testLayout_shortChoices() 304 setSmartReplies(choices); in testLayout_shortChoices() 316 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello\neveryone", "Bye"}; in testMeasure_choiceWithTwoLines() local 319 ViewGroup expectedView = buildExpectedView(choices, 2); in testMeasure_choiceWithTwoLines() 322 setSmartReplies(choices); in testMeasure_choiceWithTwoLines() 333 final CharSequence[] choices = new CharSequence[]{"Hi", "Hello\neveryone", "Bye"}; in testLayout_choiceWithTwoLines() local [all …]
|
D | InflatedSmartRepliesTest.java | 140 assertThat(repliesAndActions.smartReplies.choices).isEqualTo(Arrays.asList(smartReplies)); in chooseSmartRepliesAndActions_appGeneratedSmartReplies() 155 assertThat(repliesAndActions.smartReplies.choices).isEqualTo(Arrays.asList(smartReplies)); in chooseSmartRepliesAndActions_appGeneratedSmartRepliesAndActions() 174 assertThat(repliesAndActions.smartReplies.choices).isEqualTo( in chooseSmartRepliesAndActions_sysGeneratedSmartReplies() 231 assertThat(repliesAndActions.smartReplies.choices) in chooseSmartRepliesAndActions_appGenPreferredOverSysGen() 275 assertThat(repliesAndActions.smartReplies.choices).isEqualTo( in chooseSmartRepliesAndActions_lockTaskKioskModeEnabled_smartRepliesUnaffected() 335 assertThat(repliesAndActions.smartReplies.choices).isEqualTo( in chooseSmartRepliesAndActions_screenPinningModeEnabled_suggestionsUnaffected()
|
/frameworks/base/core/java/android/app/ |
D | RemoteInput.java | 126 private RemoteInput(String resultKey, CharSequence label, CharSequence[] choices, in RemoteInput() argument 131 this.mChoices = choices; in RemoteInput() 261 public Builder setChoices(@Nullable CharSequence[] choices) { in setChoices() argument 262 if (choices == null) { in setChoices() 265 mChoices = new CharSequence[choices.length]; in setChoices() 266 for (int i = 0; i < choices.length; i++) { in setChoices() 267 mChoices[i] = Notification.safeCharSequence(choices[i]); in setChoices()
|
D | Notification.java | 5423 CharSequence[] choices = r.getChoices(); in hasValidRemoteInput() local 5424 if (r.getAllowFreeFormInput() || (choices != null && choices.length != 0)) { in hasValidRemoteInput()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | ListUtils.java | 87 public static <T> T listSelectFirstFrom(List<T> list, T[] choices) { in listSelectFirstFrom() argument 92 for (T choice : choices) { in listSelectFirstFrom()
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomGraphGeneratorUtils.h | 304 inline const T& getRandomChoice(const std::vector<T>& choices) { in getRandomChoice() argument 305 NN_FUZZER_CHECK(!choices.empty()) << "Empty choices!"; in getRandomChoice() 306 std::uniform_int_distribution<size_t> dis(0, choices.size() - 1); in getRandomChoice() 308 return choices[i]; in getRandomChoice()
|
D | RandomVariable.h | 113 explicit RandomVariableBase(const std::vector<int>& choices); 148 explicit RandomVariable(const std::vector<int>& choices);
|
D | RandomVariable.cpp | 49 RandomVariableBase::RandomVariableBase(const std::vector<int>& choices) in RandomVariableBase() argument 52 range(choices), in RandomVariableBase() 121 RandomVariable::RandomVariable(const std::vector<int>& choices) in RandomVariable() argument 122 : mVar(new RandomVariableBase(choices)) { in RandomVariable()
|
/frameworks/base/startop/scripts/app_startup/ |
D | app_startup_runner.py | 104 choices=('warm', 'cold', 'mlock', 'fadvise'), 113 choices=('speed', 'speed-profile', 'quicken')) 138 type=CompilerType, choices=list(CompilerType),
|
D | run_app_with_prefetch.py | 205 choices=('warm', 'cold', 'mlock', 'fadvise'))
|
D | query_compiler_filter.py | 59 …n set to select. defaults to the first one available if not specified.', choices=('arm64', 'arm', …
|
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
D | CameraTooActivity.java | 90 static Size chooseBigEnoughSize(Size[] choices, int width, int height) { in chooseBigEnoughSize() argument 93 for (Size option : choices) { in chooseBigEnoughSize() 104 return choices[0]; in chooseBigEnoughSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 223 if (smartReplies.choices != null) { in inflateRepliesFromRemoteInput() 224 for (int i = 0; i < smartReplies.choices.size(); ++i) { in inflateRepliesFromRemoteInput() 271 CharSequence choice = smartReplies.choices.get(replyIndex); in inflateReplyButton() 952 public final List<CharSequence> choices; field in SmartReplyView.SmartReplies 955 public SmartReplies(List<CharSequence> choices, RemoteInput remoteInput, in SmartReplies() argument 957 this.choices = choices; in SmartReplies()
|
D | InflatedSmartReplies.java | 293 return smartReplies == null ? Collections.emptyList() : smartReplies.choices; in getSmartReplies()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationUiAdjustmentTest.java | 221 private RemoteInput createRemoteInput(String resultKey, String label, CharSequence[] choices) { in createRemoteInput() argument 222 return new RemoteInput.Builder(resultKey).setLabel(label).setChoices(choices).build(); in createRemoteInput()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationListenerServiceTest.java | 368 ArrayList<CharSequence> choices = new ArrayList<>(); in getSmartReplies() local 370 choices.add("choice_" + key + "_" + i); in getSmartReplies() 372 return choices; in getSmartReplies()
|
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/ |
D | OperationSignatureUtils.h | 400 const std::vector<CppType<opType>::type> choices = {__VA_ARGS__}; \ 401 PARAMETER_FILL_BUFFER_HELPER(opType, 1, getRandomChoice, choices); \
|
/frameworks/av/media/codec2/hidl/services/ |
D | Android.bp | 68 // If a specific architecture is targeted, multiple choices are not needed.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationContentView.java | 1234 mCurrentSmartRepliesAndActions.smartReplies.choices.size())); 1410 ? 0 : smartRepliesAndActions.smartReplies.choices.size(); in applySmartReplyView()
|
/frameworks/opt/net/wifi/service/proto/src/ |
D | metrics.proto | 2895 // Counts occurrences of the number of network choices there were when experiment1 makes the 2897 // The keys are the number of network choices, and the values are the number of occurrences of 2898 // this number of network choices when exp1 and exp2 make the same network selection. 2901 // Counts occurrences of the number of network choices there were when experiment1 makes the 2903 // The keys are the number of network choices, and the values are the number of occurrences of 2904 // this number of network choices when exp1 and exp2 make different network selections.
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 46297 field public java.lang.String[] choices;
|
/frameworks/base/api/ |
D | current.txt | 70185 field public String[] choices;
|