Home
last modified time | relevance | path

Searched refs:choice (Results 1 – 20 of 20) sorted by relevance

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraAgentFactory.java77 private static CameraApi validateApiChoice(CameraApi choice) { in validateApiChoice() argument
86 if (choice == null) { in validateApiChoice()
88 choice = CameraApi.AUTO; in validateApiChoice()
90 if (choice == CameraApi.AUTO) { in validateApiChoice()
91 choice = highestSupportedApi(); in validateApiChoice()
94 return choice; in validateApiChoice()
/frameworks/base/core/java/android/hardware/camera2/utils/
DListUtils.java92 for (T choice : choices) { in listSelectFirstFrom()
93 if (list.contains(choice)) { in listSelectFirstFrom()
94 return choice; in listSelectFirstFrom()
/frameworks/native/cmds/evemu-record/
Dmain.rs61 let mut choice = read_u32(); in get_choice() localVariable
62 while choice.is_err() || choice.clone().unwrap() > max { in get_choice()
64 choice = read_u32(); in get_choice()
66 choice.unwrap() in get_choice()
101 let choice = get_choice(highest_number); in pick_input_device() localVariable
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyStateInflater.kt149 smartReplies.choices.asSequence().mapIndexed { index, choice -> in inflateSmartReplyState() method
155 choice, in inflateSmartReplyState()
413 choice: CharSequence, in inflateReplyButton()
431 choice: CharSequence, in inflateReplyButton()
437 text = choice in inflateReplyButton()
445 choice) in inflateReplyButton()
474 choice: CharSequence in inflateReplyButton()
484 NotificationEntry.EditedSuggestionInfo(choice, replyIndex)) in inflateReplyButton()
494 val intent = createRemoteInputIntent(smartReplies, choice) in inflateReplyButton()
508 private fun createRemoteInputIntent(smartReplies: SmartReplies, choice: CharSequence): Intent { in inflateReplyButton()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp264 auto choice = modeChoices.get(kDisplayId1); in TEST_F() local
265 ASSERT_TRUE(choice); in TEST_F()
266 EXPECT_EQ(choice->get(), DisplayModeChoice({60_Hz, kDisplay1Mode60}, globalSignals)); in TEST_F()
274 choice = modeChoices.get(kDisplayId1); in TEST_F()
275 ASSERT_TRUE(choice); in TEST_F()
276 EXPECT_EQ(choice->get(), DisplayModeChoice({120_Hz, kDisplay1Mode120}, globalSignals)); in TEST_F()
285 choice = modeChoices.get(kDisplayId1); in TEST_F()
286 ASSERT_TRUE(choice); in TEST_F()
287 EXPECT_EQ(choice->get(), DisplayModeChoice({120_Hz, kDisplay1Mode120}, globalSignals)); in TEST_F()
312 auto choice = modeChoices.get(kDisplayId1); in TEST_F() local
[all …]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DKernelDataForRenderScript.java70 public static void setUseNewRS(boolean choice) {UseNewRS = choice;} in setUseNewRS() argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DBundlePolicySerializer.java163 for (String choice : values) { in writeBundle()
165 serializer.text(choice != null ? choice : ""); in writeBundle()
/frameworks/rs/
Drsg_generator.c479 char choice = fgetc(input); in main() local
482 if (choice < '0' || choice > '3') { in main()
483 fprintf(stderr, "Uknown command: \'%c\'\n", choice); in main()
493 switch (choice) { in main()
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c273 unsigned choice = (rand() & 0x7FFFFFFF) % totalProbability; in main() local
279 if (totalProbability <= choice) in main()
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.h437 friend std::ostream& operator<<(std::ostream& stream, const DisplayModeChoice& choice) {
438 return stream << '{' << to_string(*choice.mode.modePtr) << " considering "
439 << choice.consideredSignals.toString().c_str() << '}';
DScheduler.cpp1122 .transform([](const DisplayModeChoice& choice) { in applyPolicy() argument
1123 return std::make_pair(choice.mode, choice.consideredSignals); in applyPolicy()
1129 for (auto& [id, choice] : modeChoices) { in applyPolicy()
1131 display::DisplayModeRequest{.mode = std::move(choice.mode), in applyPolicy()
1132 .emitEvent = !choice.consideredSignals.idle}); in applyPolicy()
/frameworks/base/ravenwood/
DREADME.md5 …vice consistency distinguishes it from Robolectric, which remains a popular choice for app testing.
Dtest-authors.md7 …gainst using, but unsupported APIs will throw an exception. This design choice enables mocking of…
/frameworks/base/core/proto/android/os/
Dappbackgroundrestrictioninfo.proto192 // the user choice for the optimization level of the app.
/frameworks/proto_logging/stats/enums/app/
Dsettings_enums.proto535 // ACTION: Storage initialization wizard initialization choice of external/portable
540 // ACTION: Storage initialization wizard initialization choice of internal/adoptable
545 // ACTION: Storage initialization wizard benchmark fast choice of continue
550 // ACTION: Storage initialization wizard benchmark slow choice of continue
555 // ACTION: Storage initialization wizard benchmark slow choice of abort
560 // ACTION: Storage initialization wizard migration choice of now
565 // ACTION: Storage initialization wizard migration choice of later
/frameworks/native/opengl/tests/angeles/
Dlicense-LGPL.txt274 under terms of your choice, provided that the terms permit
400 impose that choice.
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto5951 // ACTION: Storage initialization wizard initialization choice of external/portable
5956 // ACTION: Storage initialization wizard initialization choice of internal/adoptable
5961 // ACTION: Storage initialization wizard benchmark fast choice of continue
5966 // ACTION: Storage initialization wizard benchmark slow choice of continue
5971 // ACTION: Storage initialization wizard benchmark slow choice of abort
5976 // ACTION: Storage initialization wizard migration choice of now
5981 // ACTION: Storage initialization wizard migration choice of later
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java6729 for (String choice : values) {
6731 serializer.text(choice != null ? choice : "");
/frameworks/proto_logging/stats/
Datoms.proto12775 * Information about a buttons presented in GrantPermissionsActivity and choice made by user
22265 // the user choice for the optimization level of the app.
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...