/packages/apps/Settings/src/com/android/settings/network/ |
D | TetherEnabler.java | 281 public static boolean isTethering(@TetheringState int state, int choice) { in isTethering() argument 282 return (state & (1 << choice)) != TETHERING_OFF; in isTethering() 298 public void stopTethering(int choice) { in stopTethering() argument 300 if (isTethering(state, choice)) { in stopTethering() 302 mConnectivityManager.stopTethering(choice); in stopTethering() 303 if (choice == TETHERING_BLUETOOTH) { in stopTethering() 312 public void startTethering(int choice) { in startTethering() argument 313 if (choice == TETHERING_BLUETOOTH) { in startTethering() 317 if (isTethering(state, choice)) { in startTethering() 321 if (choice == TETHERING_BLUETOOTH && mBluetoothAdapter != null in startTethering() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothActionFragment.java | 45 void onChoice(String key, int choice); in onChoice() argument 86 for (int choice : choices) { in onCreateActions() 88 .title(getString(choice)) in onCreateActions() 89 .id(choice) in onCreateActions() 115 for (int choice : choices) { in onGuidedActionClicked() 116 if (choice == id) { in onGuidedActionClicked() 117 listener.onChoice(key, choice); in onGuidedActionClicked()
|
D | BluetoothActionActivity.java | 76 public void onChoice(String key, int choice) { in onChoice() argument 89 if (choice == YES) { in onChoice() 97 if (choice == YES) { in onChoice() 103 if (choice == YES) { in onChoice() 109 if (choice == YES) { in onChoice()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | CompatibilityScorer.java | 112 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() local 115 if (scoredCandidate.value > choice.value) { in scoreCandidates() 116 choice = scoredCandidate; in scoreCandidates() 121 return choice; in scoreCandidates()
|
D | BubbleFunScorer.java | 122 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() local 125 if (scoredCandidate.value > choice.value) { in scoreCandidates() 126 choice = scoredCandidate; in scoreCandidates() 131 return choice; in scoreCandidates()
|
D | ScoreCardBasedScorer.java | 135 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() local 138 if (scoredCandidate.value > choice.value) { in scoreCandidates() 139 choice = scoredCandidate; in scoreCandidates() 144 return choice; in scoreCandidates()
|
D | ThroughputScorer.java | 272 ScoredCandidate choice = ScoredCandidate.NONE; in scoreCandidates() local 276 if (scoredCandidate.value > choice.value) { in scoreCandidates() 277 choice = scoredCandidate; in scoreCandidates() 282 return choice; in scoreCandidates()
|
D | WifiNetworkSelector.java | 1530 WifiCandidates.ScoredCandidate choice = activeScorer.scoreCandidates(group); in selectNetwork() local 1531 if (choice == null) continue; in selectNetwork() 1532 ScanDetail scanDetail = getScanDetailForCandidateKey(choice.candidateKey); in selectNetwork() 1535 .getConfiguredNetwork(choice.candidateKey.networkId); in selectNetwork() 1555 WifiCandidates.ScoredCandidate choice; in selectNetwork() local 1557 choice = wifiCandidates.choose(candidateScorer); in selectNetwork() 1562 int networkId = choice.candidateKey == null in selectNetwork() 1564 : choice.candidateKey.networkId; in selectNetwork() 1568 legacyOverrideWanted = choice.userConnectChoiceOverride; in selectNetwork() 1570 updateChosenPasspointNetwork(choice); in selectNetwork() [all …]
|
D | WifiCandidates.java | 818 ScoredCandidate choice = candidateScorer.scoreCandidates(candidates); in choose() local 819 return choice == null ? ScoredCandidate.NONE : choice; in choose()
|
D | README.txt | 48 … mode will be on even though Wi-Fi is being turned off. The user has the choice to turn this notif…
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | UserChoiceInfo.java | 71 public void put(@PAGE int page, int choice) { in put() argument 72 mChoiceSummary.put(page, choice); in put() 82 public boolean choiceChosen(CharSequence choice, @PAGE int page) { in choiceChosen() argument 86 return TextUtils.equals(choice, mDataSummary.get(page)); in choiceChosen()
|
D | AdvancedOptionsFlowInfo.java | 89 public boolean choiceChosen(CharSequence choice, @PAGE int page) { in choiceChosen() argument 93 return TextUtils.equals(choice, mPageSummary.get(page)); in choiceChosen()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PhotoSourceDialogFragment.java | 79 final ChoiceListItem choice = choices.get(which); in onCreateDialog() 80 switch (choice.getId()) { in onCreateDialog()
|
D | PhotoActionPopup.java | 108 final ChoiceListItem choice = choices.get(position); in createPopupMenu() 109 switch (choice.getId()) { in createPopupMenu()
|
/packages/modules/Bluetooth/tools/rootcanal/scripts/ |
D | simple_link_layer_socket.py | 64 return ''.join(random.SystemRandom().choice(string.ascii_uppercase + \ 69 return ''.join(random.SystemRandom().choice(string.digits) for _ in \
|
D | send_simple_commands.py | 78 return ''.join(random.SystemRandom().choice(string.ascii_uppercase + \ 83 return ''.join(random.SystemRandom().choice(string.digits) for _ in \
|
D | test_channel.py | 53 return ''.join(random.SystemRandom().choice(string.ascii_uppercase + \ 58 return ''.join(random.SystemRandom().choice(string.digits) for _ in \
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | CandidateScorerTest.java | 173 ScoredCandidate choice = mCandidateScorer.scoreCandidates(candidates); in evaluate() local 174 return Math.max(-999999999.0, choice.value); in evaluate() 535 ScoredCandidate choice = mCandidateScorer.scoreCandidates(candidates); in testPreferCurrentNetworkWithInternetOverNetworkWithNoInternet() local 536 assertEquals(score1, choice.value, TOL); in testPreferCurrentNetworkWithInternetOverNetworkWithNoInternet()
|
/packages/providers/MediaProvider/ |
D | mediaprovider_flags.aconfig | 32 …ription: "This flag will enable selection of items based on recency of selection in picker choice."
|
/packages/apps/Settings/src/com/android/settings/network/tether/ |
D | TetherSettings.java | 561 private void startTethering(int choice) { in startTethering() argument 562 if (choice == TETHERING_BLUETOOTH) { in startTethering() 573 mCm.startTethering(choice, true, mStartTetheringCallback, mHandler); in startTethering()
|
/packages/modules/Bluetooth/system/blueberry/tests/connectivity/ |
D | bluetooth_latency_test.py | 41 random.choice(string.ascii_letters + string.digits) for _ in range(6)))
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | BaseWifiService.java | 210 public void allowAutojoinGlobal(boolean choice) { in allowAutojoinGlobal() argument 215 public void allowAutojoinGlobal(boolean choice, String packageName, Bundle extras) { in allowAutojoinGlobal() argument 225 public void allowAutojoin(int netId, boolean choice) { in allowAutojoin() argument
|
/packages/modules/IntentResolver/tests/ |
D | README.md | 11 **Use cases**: The first choice for all new code. Fakes and other reusable test code should be plac…
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GridViewSpecial.java | 185 public void setSizeChoice(int choice) { in setSizeChoice() argument 187 if (mSizeChoice == choice) return; in setSizeChoice() 188 mSizeChoice = choice; in setSizeChoice()
|
/packages/modules/Bluetooth/system/blueberry/utils/ |
D | bt_test_utils.py | 97 return ''.join(random.choice(chars) for _ in range(size))
|