Home
last modified time | relevance | path

Searched refs:UserChoiceInfo (Results 1 – 21 of 21) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/security/
DWifiSecurityHelper.java31 import com.android.tv.settings.connectivity.setup.UserChoiceInfo;
71 UserChoiceInfo userChoiceInfo = ViewModelProviders.of(context).get(UserChoiceInfo.class); in getSsid()
72 String savedSsid = userChoiceInfo.getPageSummary(UserChoiceInfo.SSID); in getSsid()
78 UserChoiceInfo userChoiceInfo = ViewModelProviders.of(context).get(UserChoiceInfo.class); in getSecurity()
79 Integer savedSecurity = userChoiceInfo.getChoice(UserChoiceInfo.SECURITY); in getSecurity()
84 UserChoiceInfo userChoiceInfo = ViewModelProviders.of(context).get(UserChoiceInfo.class); in getConfig()
88 String ssid = userChoiceInfo.getPageSummary(UserChoiceInfo.SSID); in getConfig()
91 userChoiceInfo.getPageSummary(UserChoiceInfo.SSID)); in getConfig()
93 Integer security = userChoiceInfo.getChoice(UserChoiceInfo.SECURITY); in getConfig()
98 String password = userChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD); in getConfig()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DOptionsOrConnectState.java41 UserChoiceInfo userChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in processForward()
42 UserChoiceInfo.ConnectionFailedStatus status = userChoiceInfo.getConnectionFailedStatus(); in processForward()
43 if (status == UserChoiceInfo.ConnectionFailedStatus.AUTHENTICATION) { in processForward()
59 UserChoiceInfo userChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in processBackward()
DConnectState.java109 private UserChoiceInfo mUserChoiceInfo;
134 mUserChoiceInfo = ViewModelProviders.of(getActivity()).get(UserChoiceInfo.class); in onCreate()
140 mUserChoiceInfo = ViewModelProviders.of(getActivity()).get(UserChoiceInfo.class); in onCreate()
287 UserChoiceInfo.ConnectionFailedStatus.AUTHENTICATION); in startConnect()
297 UserChoiceInfo.ConnectionFailedStatus.REJECTED); in startConnect()
304 UserChoiceInfo.ConnectionFailedStatus.UNKNOWN); in startConnect()
333 || !TextUtils.isEmpty(mUserChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD)); in needsSave()
373 UserChoiceInfo userChoiceInfo = ViewModelProviders in handleMessage()
374 .of(fragment.getActivity()).get(UserChoiceInfo.class); in handleMessage()
376 UserChoiceInfo.ConnectionFailedStatus.TIMEOUT); in handleMessage()
DEnterPasswordState.java59 private UserChoiceInfo mUserChoiceInfo;
64 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in EnterPasswordState()
70 if (!mUserChoiceInfo.isVisible(UserChoiceInfo.PASSWORD)) { in processForward()
81 if (!mUserChoiceInfo.isVisible(UserChoiceInfo.PASSWORD)) { in processBackward()
102 private UserChoiceInfo mUserChoiceInfo;
184 .get(UserChoiceInfo.class); in onCreate()
228 CharSequence prevPassword = mUserChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD); in onCreateActions()
251 mUserChoiceInfo.put(UserChoiceInfo.PASSWORD, action.getTitle().toString()); in onGuidedActionEditedAndProceed()
DEnterSsidState.java75 private UserChoiceInfo mUserChoiceInfo;
93 .get(UserChoiceInfo.class); in onCreate()
114 CharSequence prevSsid = mUserChoiceInfo.getPageSummary(UserChoiceInfo.SSID); in onCreateActions()
134 mUserChoiceInfo.put(UserChoiceInfo.SSID, ssid); in onGuidedActionEditedAndProceed()
DAdvancedOptionsState.java76 UserChoiceInfo userChoiceInfo = ViewModelProviders in isNetworkLockedDown()
78 .get(UserChoiceInfo.class); in isNetworkLockedDown()
94 private UserChoiceInfo mUserChoiceInfo;
123 .get(UserChoiceInfo.class); in onCreate()
DSummaryNotConnectedState.java74 private UserChoiceInfo mUserChoiceInfo;
97 .get(UserChoiceInfo.class); in onCreate()
107 mUserChoiceInfo.removePageSummary(UserChoiceInfo.SELECT_WIFI); in onGuidedActionClicked()
DEasyConnectQRState.java82 private UserChoiceInfo mUserChoiceInfo;
93 mUserChoiceInfo = ViewModelProviders.of(getActivity()).get(UserChoiceInfo.class); in onCreate()
167 mUserChoiceInfo.put(UserChoiceInfo.SSID, config.getPrintableSsid()); in onEnrolleeSuccess()
178 UserChoiceInfo.ConnectionFailedStatus.EASY_CONNECT_FAILURE); in onFailure()
DChooseSecurityState.java74 private UserChoiceInfo mUserChoiceInfo;
89 .get(UserChoiceInfo.class); in onCreate()
103 mUserChoiceInfo.put(UserChoiceInfo.SECURITY, (int) action.getId()); in onGuidedActionClicked()
DConnectFailedState.java76 UserChoiceInfo mUserChoiceInfo;
92 .get(UserChoiceInfo.class); in onCreate()
122 UserChoiceInfo.ConnectionFailedStatus status = in getConnectionFailTitle()
DAddStartState.java32 private final UserChoiceInfo mUserChoiceInfo;
37 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in AddStartState()
DSummaryConnectedWifiState.java76 private UserChoiceInfo mUserChoiceInfo;
107 .get(UserChoiceInfo.class); in onCreate()
DSuccessState.java53 UserChoiceInfo userChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in processForward()
DKnownNetworkState.java82 private UserChoiceInfo mUserChoiceInfo;
117 .get(UserChoiceInfo.class); in onCreate()
DIpSettingsState.java79 UserChoiceInfo userChoiceInfo = ViewModelProviders in isNetworkLockedDown()
81 .get(UserChoiceInfo.class); in isNetworkLockedDown()
DProxySettingsState.java78 UserChoiceInfo userChoiceInfo = ViewModelProviders in isNetworkLockedDown()
80 .get(UserChoiceInfo.class); in isNetworkLockedDown()
DUserChoiceInfo.java37 public class UserChoiceInfo extends ViewModel { class
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/
DConnectFailedFragmentTest.java44 private UserChoiceInfo mUserChoiceInfo;
51 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in setUp()
59 mUserChoiceInfo.setConnectionFailedStatus(UserChoiceInfo.ConnectionFailedStatus.UNKNOWN); in testGetConnectionFailTitle_unknown_failure()
70 UserChoiceInfo.ConnectionFailedStatus.AUTHENTICATION); in testGetConnectionFailTitle_auth_failure()
79 mUserChoiceInfo.setConnectionFailedStatus(UserChoiceInfo.ConnectionFailedStatus.REJECTED); in testGetConnectionFailTitle_rejected_failure()
89 mUserChoiceInfo.setConnectionFailedStatus(UserChoiceInfo.ConnectionFailedStatus.TIMEOUT); in testGetConnectionFailTitle_time_out_failure()
DAddStartStateTest.java48 private UserChoiceInfo mUserChoiceInfo;
59 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in setUp()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DAddWifiNetworkActivity.java45 import com.android.tv.settings.connectivity.setup.UserChoiceInfo;
104 UserChoiceInfo userChoiceInfo = ViewModelProviders.of(this).get(UserChoiceInfo.class); in onCreate()
DWifiConnectionActivity.java42 import com.android.tv.settings.connectivity.setup.UserChoiceInfo;
175 UserChoiceInfo userChoiceInfo = in onCreate()
176 ViewModelProviders.of(this).get(UserChoiceInfo.class); in onCreate()