Searched refs:choice (Results 1 - 8 of 8) sorted by relevance

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraAgentFactory.java28 * <p>The choice of framework API to use can be made automatically based on the
77 private static CameraApi validateApiChoice(CameraApi choice) { argument
86 if (choice == null) {
88 choice = CameraApi.AUTO;
90 if (choice == CameraApi.AUTO) {
91 choice = highestSupportedApi();
94 return choice;
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DListUtils.java92 for (T choice : choices) {
93 if (list.contains(choice)) {
94 return choice;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiAutoJoinController.java369 // As this is a direct user choice, we strongly prefer this configuration,
449 int choice = 0;
480 // hence register a strong choice so as autojoin cannot override this
483 choice = 60;
485 choice = 50;
487 choice = 40;
490 // hence register a weaker choice, here a difference of at least +/-30 in
491 // RSSI comparison triggered by autoJoin will override the choice
492 choice = 30;
496 choice
[all...]
H A DWifiConfigStore.java399 * Regex pattern for extracting a connect choice.
1115 // cancel the last user choice
1757 Integer choice = config.connectChoices.get(key);
1759 + choice.toString() + SEPARATOR_KEY);
2055 int choice = 0;
2063 choice = Integer.parseInt(match.group(2));
2065 choice = 0;
2067 if (choice > 0) {
2071 config.connectChoices.put(configKey, choice);
3021 // are known we will revisit the choice o
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dmonkey.c273 unsigned choice = (rand() & 0x7FFFFFFF) % totalProbability; local
279 if (totalProbability <= choice)
/frameworks/rs/
H A Drsg_generator.c654 char choice = fgetc(input); local
657 if (choice < '0' || choice > '3') {
658 fprintf(stderr, "Uknown command: \'%c\'\n", choice);
668 switch (choice) {
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java493 public int lastChoiceBoost; // Debug only, indicate last choice applied to this configuration
494 public String lastChoiceConfig; // Debug only, indicate last choice applied to this configuration
765 * Number of time the scorer overrode a the priority based choice, when comparing two
775 * Number of time the scorer overrode a the priority based choice, and the comparison
844 * The overall auto-join algorithm make use of past connect choice so as to sort configuration,
1197 Integer choice = this.connectChoices.get(key);
1198 if (choice != null) {
1199 sbuf.append(" choice: ").append(key);
1200 sbuf.append(" = ").append(choice);
/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerService.java1758 for (String choice : values) {
1760 serializer.text(choice != null ? choice : "");

Completed in 339 milliseconds