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/opt/net/wifi/service/java/com/android/server/wifi/
DCompatibilityScorer.java103 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() local
106 if (scoredCandidate.value > choice.value) { in scoreCandidates()
107 choice = scoredCandidate; in scoreCandidates()
112 return choice; in scoreCandidates()
DBubbleFunScorer.java118 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() local
121 if (scoredCandidate.value > choice.value) { in scoreCandidates()
122 choice = scoredCandidate; in scoreCandidates()
127 return choice; in scoreCandidates()
DScoreCardBasedScorer.java125 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() local
128 if (scoredCandidate.value > choice.value) { in scoreCandidates()
129 choice = scoredCandidate; in scoreCandidates()
134 return choice; in scoreCandidates()
DWifiNetworkSelector.java747 WifiConfiguration choice = registeredEvaluator.evaluateNetworks( in selectNetwork() local
765 if (choice != null && !mNetworkIds.contains(choice.networkId)) { in selectNetwork()
769 if (selectedNetwork == null && choice != null) { in selectNetwork()
770 selectedNetwork = choice; // First one wins in selectNetwork()
819 WifiCandidates.ScoredCandidate choice; in selectNetwork() local
821 choice = wifiCandidates.choose(candidateScorer); in selectNetwork()
826 int networkId = choice.candidateKey == null in selectNetwork()
828 : choice.candidateKey.networkId; in selectNetwork()
838 + " score " + choice.value + "+/-" + choice.err in selectNetwork()
DWifiCandidates.java435 ScoredCandidate choice = ScoredCandidate.NONE; in choose() local
438 if (scoredCandidate != null && scoredCandidate.value > choice.value) { in choose()
439 choice = scoredCandidate; in choose()
442 return choice; in choose()
DREADME.txt48 … mode will be on even though Wi-Fi is being turned off. The user has the choice to turn this notif…
/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/rs/tests/java_api/Refocus/src/com/android/rs/test/
DKernelDataForRenderScript.java70 public static void setUseNewRS(boolean choice) {UseNewRS = choice;} in setUseNewRS() argument
/frameworks/rs/
Drsg_generator.c476 char choice = fgetc(input); in main() local
479 if (choice < '0' || choice > '3') { in main()
480 fprintf(stderr, "Uknown command: \'%c\'\n", choice); in main()
490 switch (choice) { in main()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCandidateScorerTest.java125 ScoredCandidate choice = mCandidateScorer.scoreCandidates(candidates); in evaluate() local
126 return Math.max(-999999999.0, choice.value); in evaluate()
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c273 unsigned choice = (rand() & 0x7FFFFFFF) % totalProbability; in main() local
279 if (totalProbability <= choice) in main()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java271 CharSequence choice = smartReplies.choices[replyIndex]; in inflateReplyButton() local
272 b.setText(choice); in inflateReplyButton()
278 new EditedSuggestionInfo(choice, replyIndex); in inflateReplyButton()
289 results.putString(smartReplies.remoteInput.getResultKey(), choice.toString()); in inflateReplyButton()
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto547 // ACTION: Storage initialization wizard initialization choice of external/portable
552 // ACTION: Storage initialization wizard initialization choice of internal/adoptable
557 // ACTION: Storage initialization wizard benchmark fast choice of continue
562 // ACTION: Storage initialization wizard benchmark slow choice of continue
567 // ACTION: Storage initialization wizard benchmark slow choice of abort
572 // ACTION: Storage initialization wizard migration choice of now
577 // 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/services/core/java/com/android/server/pm/
DUserManagerService.java3589 for (String choice : values) { in writeBundle()
3591 serializer.text(choice != null ? choice : ""); in writeBundle()
/frameworks/base/proto/src/
Dwifi.proto817 // User connected choice override
2587 // a single network choice, since choosing not to connect to that network is a valid choice.
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto5935 // ACTION: Storage initialization wizard initialization choice of external/portable
5940 // ACTION: Storage initialization wizard initialization choice of internal/adoptable
5945 // ACTION: Storage initialization wizard benchmark fast choice of continue
5950 // ACTION: Storage initialization wizard benchmark slow choice of continue
5955 // ACTION: Storage initialization wizard benchmark slow choice of abort
5960 // ACTION: Storage initialization wizard migration choice of now
5965 // ACTION: Storage initialization wizard migration choice of later
/frameworks/ml/nn/runtime/
DNOTICE535 No Contributor makes additional grants as a result of Your choice to
587 You may create and distribute a Larger Work under terms of Your choice,
/frameworks/base/cmds/statsd/src/
Datoms.proto7402 * Information about a buttons presented in GrantPermissionsActivty and choice made by user