/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/security/ |
D | WifiSecurityHelper.java | 31 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/ |
D | OptionsOrConnectState.java | 41 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()
|
D | ConnectState.java | 109 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()
|
D | EnterPasswordState.java | 59 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()
|
D | EnterSsidState.java | 75 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()
|
D | AdvancedOptionsState.java | 76 UserChoiceInfo userChoiceInfo = ViewModelProviders in isNetworkLockedDown() 78 .get(UserChoiceInfo.class); in isNetworkLockedDown() 94 private UserChoiceInfo mUserChoiceInfo; 123 .get(UserChoiceInfo.class); in onCreate()
|
D | SummaryNotConnectedState.java | 74 private UserChoiceInfo mUserChoiceInfo; 97 .get(UserChoiceInfo.class); in onCreate() 107 mUserChoiceInfo.removePageSummary(UserChoiceInfo.SELECT_WIFI); in onGuidedActionClicked()
|
D | EasyConnectQRState.java | 82 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()
|
D | ChooseSecurityState.java | 74 private UserChoiceInfo mUserChoiceInfo; 89 .get(UserChoiceInfo.class); in onCreate() 103 mUserChoiceInfo.put(UserChoiceInfo.SECURITY, (int) action.getId()); in onGuidedActionClicked()
|
D | ConnectFailedState.java | 76 UserChoiceInfo mUserChoiceInfo; 92 .get(UserChoiceInfo.class); in onCreate() 122 UserChoiceInfo.ConnectionFailedStatus status = in getConnectionFailTitle()
|
D | AddStartState.java | 32 private final UserChoiceInfo mUserChoiceInfo; 37 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in AddStartState()
|
D | SummaryConnectedWifiState.java | 76 private UserChoiceInfo mUserChoiceInfo; 107 .get(UserChoiceInfo.class); in onCreate()
|
D | SuccessState.java | 53 UserChoiceInfo userChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in processForward()
|
D | KnownNetworkState.java | 82 private UserChoiceInfo mUserChoiceInfo; 117 .get(UserChoiceInfo.class); in onCreate()
|
D | IpSettingsState.java | 79 UserChoiceInfo userChoiceInfo = ViewModelProviders in isNetworkLockedDown() 81 .get(UserChoiceInfo.class); in isNetworkLockedDown()
|
D | ProxySettingsState.java | 78 UserChoiceInfo userChoiceInfo = ViewModelProviders in isNetworkLockedDown() 80 .get(UserChoiceInfo.class); in isNetworkLockedDown()
|
D | UserChoiceInfo.java | 37 public class UserChoiceInfo extends ViewModel { class
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/ |
D | ConnectFailedFragmentTest.java | 44 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()
|
D | AddStartStateTest.java | 48 private UserChoiceInfo mUserChoiceInfo; 59 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in setUp()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | AddWifiNetworkActivity.java | 45 import com.android.tv.settings.connectivity.setup.UserChoiceInfo; 104 UserChoiceInfo userChoiceInfo = ViewModelProviders.of(this).get(UserChoiceInfo.class); in onCreate()
|
D | WifiConnectionActivity.java | 42 import com.android.tv.settings.connectivity.setup.UserChoiceInfo; 175 UserChoiceInfo userChoiceInfo = in onCreate() 176 ViewModelProviders.of(this).get(UserChoiceInfo.class); in onCreate()
|