/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/ |
D | ConnectFailedFragmentTest.java | 41 private UserChoiceInfo mUserChoiceInfo; field in ConnectFailedFragmentTest 48 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in setUp() 49 mUserChoiceInfo.init(); in setUp() 56 mUserChoiceInfo.setConnectionFailedStatus(UserChoiceInfo.ConnectionFailedStatus.UNKNOWN); in testGetConnectionFailTitle_unknown_failure() 57 mUserChoiceInfo.setWifiConfiguration(mWifiConfig); in testGetConnectionFailTitle_unknown_failure() 58 mConnectFailedFragment.mUserChoiceInfo = mUserChoiceInfo; in testGetConnectionFailTitle_unknown_failure() 66 mUserChoiceInfo.setConnectionFailedStatus( in testGetConnectionFailTitle_auth_failure() 68 mUserChoiceInfo.setWifiConfiguration(mWifiConfig); in testGetConnectionFailTitle_auth_failure() 69 mConnectFailedFragment.mUserChoiceInfo = mUserChoiceInfo; in testGetConnectionFailTitle_auth_failure() 76 mUserChoiceInfo.setConnectionFailedStatus(UserChoiceInfo.ConnectionFailedStatus.REJECTED); in testGetConnectionFailTitle_rejected_failure() [all …]
|
D | AddPageBasedOnNetworkStateTest.java | 54 private UserChoiceInfo mUserChoiceInfo; field in AddPageBasedOnNetworkStateTest 64 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in setUp() 72 mUserChoiceInfo.init(); in testForward_otherNetwork() 73 mUserChoiceInfo.put(UserChoiceInfo.SELECT_WIFI, getString(R.string.other_network)); in testForward_otherNetwork() 80 mUserChoiceInfo.init(); in testForward_clearPassword_ssidNotMatch() 84 mUserChoiceInfo.setChosenNetwork(scanResult); in testForward_clearPassword_ssidNotMatch() 85 mUserChoiceInfo.put(UserChoiceInfo.PASSWORD, "123"); in testForward_clearPassword_ssidNotMatch() 88 mUserChoiceInfo.setWifiConfiguration(wifiConfiguration); in testForward_clearPassword_ssidNotMatch() 90 assertNotNull(mUserChoiceInfo.getChosenNetwork()); in testForward_clearPassword_ssidNotMatch() 92 assertNull(mUserChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD)); in testForward_clearPassword_ssidNotMatch() [all …]
|
D | AddStartStateTest.java | 45 private UserChoiceInfo mUserChoiceInfo; field in AddStartStateTest 54 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in setUp() 62 mUserChoiceInfo.init(); in testForward_WEP_NeedPassword() 63 mUserChoiceInfo.setWifiSecurity(AccessPoint.SECURITY_WEP); in testForward_WEP_NeedPassword() 64 mUserChoiceInfo.setWifiConfiguration(new WifiConfiguration()); in testForward_WEP_NeedPassword() 71 mUserChoiceInfo.init(); in testForward_WPA_NeedPassword() 72 mUserChoiceInfo.setWifiSecurity(AccessPoint.SECURITY_PSK); in testForward_WPA_NeedPassword() 73 mUserChoiceInfo.setWifiConfiguration(new WifiConfiguration()); in testForward_WPA_NeedPassword() 80 mUserChoiceInfo.init(); in testForward_EAP_NeedPassword() 81 mUserChoiceInfo.setWifiSecurity(AccessPoint.SECURITY_EAP); in testForward_EAP_NeedPassword() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | AddPageBasedOnNetworkState.java | 37 private final UserChoiceInfo mUserChoiceInfo; field in AddPageBasedOnNetworkState 43 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in AddPageBasedOnNetworkState() 50 if (mUserChoiceInfo.choiceChosen( in processForward() 54 ScanResult scanResult = mUserChoiceInfo.getChosenNetwork(); in processForward() 55 String chosenNetwork = mUserChoiceInfo.getChosenNetwork().SSID; in processForward() 56 WifiConfiguration prevWifiConfig = mUserChoiceInfo.getWifiConfiguration(); in processForward() 57 if (mUserChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD) != null in processForward() 60 mUserChoiceInfo.removePageSummary(UserChoiceInfo.PASSWORD); in processForward() 67 mUserChoiceInfo.setWifiSecurity(wifiSecurity); in processForward() 68 mUserChoiceInfo.setWifiConfiguration(wifiConfiguration); in processForward()
|
D | EnterPasswordState.java | 57 private UserChoiceInfo mUserChoiceInfo; field in EnterPasswordState 62 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in EnterPasswordState() 68 if (!mUserChoiceInfo.isVisible(UserChoiceInfo.PASSWORD)) { in processForward() 79 if (!mUserChoiceInfo.isVisible(UserChoiceInfo.PASSWORD)) { in processBackward() 100 private UserChoiceInfo mUserChoiceInfo; field in EnterPasswordState.EnterPasswordFragment 150 mCheckBox.setChecked(mUserChoiceInfo.isPasswordHidden()); in onCreateActionsStylist() 180 mUserChoiceInfo = ViewModelProviders in onCreate() 226 CharSequence prevPassword = mUserChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD); in onCreateActions() 227 boolean isPasswordHidden = mUserChoiceInfo.isPasswordHidden(); in onCreateActions() 249 mUserChoiceInfo.put(UserChoiceInfo.PASSWORD, action.getTitle().toString()); in onGuidedActionEditedAndProceed() [all …]
|
D | KnownNetworkState.java | 80 private UserChoiceInfo mUserChoiceInfo; field in KnownNetworkState.KnownNetworkFragment 86 mUserChoiceInfo.getWifiConfiguration().getPrintableSsid()); in onCreateGuidance() 113 mUserChoiceInfo = ViewModelProviders in onCreate() 129 int networkId = mUserChoiceInfo.getWifiConfiguration().networkId; in onGuidedActionClicked() 143 mUserChoiceInfo.getWifiConfiguration()); in canForgetNetwork()
|
D | ConnectState.java | 107 private UserChoiceInfo mUserChoiceInfo; field in ConnectState.ConnectToWifiFragment 128 mUserChoiceInfo = ViewModelProviders.of(getActivity()).get(UserChoiceInfo.class); in onCreate() 134 mUserChoiceInfo = ViewModelProviders.of(getActivity()).get(UserChoiceInfo.class); in onCreate() 168 int easyConnectNetworkId = mUserChoiceInfo.getEasyConnectNetworkId(); in proceedDependOnNetworkState() 236 mUserChoiceInfo.setConnectionFailedStatus( in inferConnectionStatus() 240 mUserChoiceInfo.setConnectionFailedStatus( in inferConnectionStatus() 247 mUserChoiceInfo.setConnectionFailedStatus( in inferConnectionStatus()
|
D | AddStartState.java | 37 private final UserChoiceInfo mUserChoiceInfo; field in AddStartState 42 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in AddStartState() 49 int wifiSecurity = mUserChoiceInfo.getWifiSecurity(); in processForward() 50 WifiConfiguration configuration = mUserChoiceInfo.getWifiConfiguration(); in processForward()
|
D | EasyConnectQRState.java | 82 private UserChoiceInfo mUserChoiceInfo; field in EasyConnectQRState.QRCodeFragment 93 mUserChoiceInfo = ViewModelProviders.of(getActivity()).get(UserChoiceInfo.class); in onCreate() 163 mUserChoiceInfo.setEasyConnectNetworkId(newNetworkId); in onEnrolleeSuccess() 167 mUserChoiceInfo.put(UserChoiceInfo.SSID, config.getPrintableSsid()); in onEnrolleeSuccess() 177 mUserChoiceInfo.setConnectionFailedStatus( in onFailure()
|
D | EnterSsidState.java | 75 private UserChoiceInfo mUserChoiceInfo; field in EnterSsidState.EnterSsidFragment 91 mUserChoiceInfo = ViewModelProviders in onCreate() 114 CharSequence prevSsid = mUserChoiceInfo.getPageSummary(UserChoiceInfo.SSID); in onCreateActions() 129 mUserChoiceInfo.put(UserChoiceInfo.SSID, action.getTitle().toString()); in onGuidedActionEditedAndProceed()
|
D | ConnectFailedState.java | 73 UserChoiceInfo mUserChoiceInfo; field in ConnectFailedState.ConnectFailedFragment 87 mUserChoiceInfo = ViewModelProviders in onCreate() 120 mUserChoiceInfo.getConnectionFailedStatus(); in getConnectionFailTitle() 122 String ssid = mUserChoiceInfo.getWifiConfiguration().getPrintableSsid(); in getConnectionFailTitle()
|
D | SelectWifiState.java | 87 private UserChoiceInfo mUserChoiceInfo; field in SelectWifiState.SelectWifiFragment 94 mUserChoiceInfo = ViewModelProviders in onCreate() 214 CharSequence title = mUserChoiceInfo.getPageSummary(UserChoiceInfo.SELECT_WIFI); in onViewCreated() 230 mUserChoiceInfo.put(UserChoiceInfo.SELECT_WIFI, action.getTitle().toString()); in onGuidedActionClicked() 231 mUserChoiceInfo.setChosenNetwork(((WifiGuidedAction) action).getScanResult()); in onGuidedActionClicked()
|
D | ChooseSecurityState.java | 74 private UserChoiceInfo mUserChoiceInfo; field in ChooseSecurityState.ChooseSecurityFragment 87 mUserChoiceInfo = ViewModelProviders in onCreate() 103 mUserChoiceInfo.put(UserChoiceInfo.SECURITY, (int) action.getId()); in onGuidedActionClicked()
|
D | SummaryNotConnectedState.java | 74 private UserChoiceInfo mUserChoiceInfo; field in SummaryNotConnectedState.SummaryNotConnectedWifiFragment 95 mUserChoiceInfo = ViewModelProviders in onCreate() 107 mUserChoiceInfo.removePageSummary(UserChoiceInfo.SELECT_WIFI); in onGuidedActionClicked()
|
D | SummaryConnectedWifiState.java | 76 private UserChoiceInfo mUserChoiceInfo; field in SummaryConnectedWifiState.SummaryConnectWifiFragment 95 mUserChoiceInfo.getConnectedNetwork()); in onCreateGuidance() 105 mUserChoiceInfo = ViewModelProviders in onCreate()
|
D | WifiSetupActivity.java | 71 private UserChoiceInfo mUserChoiceInfo; field in WifiSetupActivity 114 mUserChoiceInfo = ViewModelProviders.of(this).get(UserChoiceInfo.class); in onCreate() 368 mUserChoiceInfo.setConnectedNetwork(connectedNetwork); in addSummaryState()
|