/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/security/ |
D | WifiSecurityHelper.java | 31 import com.android.tv.settings.connectivity.setup.UserChoiceInfo; 72 @UserChoiceInfo.PAGE int page) { in getActionsList() 74 case UserChoiceInfo.SECURITY: in getActionsList() 82 UserChoiceInfo userChoiceInfo = ViewModelProviders.of(context).get(UserChoiceInfo.class); in getSsid() 83 String savedSsid = userChoiceInfo.getPageSummary(UserChoiceInfo.SSID); in getSsid() 89 UserChoiceInfo userChoiceInfo = ViewModelProviders.of(context).get(UserChoiceInfo.class); in getSecurity() 90 Integer savedSecurity = userChoiceInfo.getChoice(UserChoiceInfo.SECURITY); in getSecurity() 95 UserChoiceInfo userChoiceInfo = ViewModelProviders.of(context).get(UserChoiceInfo.class); in getConfig() 105 if (userChoiceInfo.getPageSummary(UserChoiceInfo.SSID) != null) { in getConfig() 107 userChoiceInfo.getPageSummary(UserChoiceInfo.SSID)); in getConfig() [all …]
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/ |
D | AddPageBasedOnNetworkStateTest.java | 54 private UserChoiceInfo mUserChoiceInfo; 64 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in setUp() 73 mUserChoiceInfo.put(UserChoiceInfo.SELECT_WIFI, getString(R.string.other_network)); in testForward_otherNetwork() 85 mUserChoiceInfo.put(UserChoiceInfo.PASSWORD, "123"); in testForward_clearPassword_ssidNotMatch() 92 assertNull(mUserChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD)); in testForward_clearPassword_ssidNotMatch() 102 mUserChoiceInfo.put(UserChoiceInfo.PASSWORD, "123"); in testForward_clearPassword_ssidIsNull() 105 assertNull(mUserChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD)); in testForward_clearPassword_ssidIsNull() 129 mUserChoiceInfo.put(UserChoiceInfo.PASSWORD, "123"); in testForward_networkNotSaved()
|
D | ConnectFailedFragmentTest.java | 41 private UserChoiceInfo mUserChoiceInfo; 48 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in setUp() 56 mUserChoiceInfo.setConnectionFailedStatus(UserChoiceInfo.ConnectionFailedStatus.UNKNOWN); in testGetConnectionFailTitle_unknown_failure() 67 UserChoiceInfo.ConnectionFailedStatus.AUTHENTICATION); in testGetConnectionFailTitle_auth_failure() 76 mUserChoiceInfo.setConnectionFailedStatus(UserChoiceInfo.ConnectionFailedStatus.REJECTED); in testGetConnectionFailTitle_rejected_failure() 86 mUserChoiceInfo.setConnectionFailedStatus(UserChoiceInfo.ConnectionFailedStatus.TIMEOUT); in testGetConnectionFailTitle_time_out_failure()
|
D | AddStartStateTest.java | 45 private UserChoiceInfo mUserChoiceInfo; 54 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in setUp()
|
/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 | 107 private UserChoiceInfo mUserChoiceInfo; 128 mUserChoiceInfo = ViewModelProviders.of(getActivity()).get(UserChoiceInfo.class); in onCreate() 134 mUserChoiceInfo = ViewModelProviders.of(getActivity()).get(UserChoiceInfo.class); in onCreate() 237 UserChoiceInfo.ConnectionFailedStatus.AUTHENTICATION); in inferConnectionStatus() 241 UserChoiceInfo.ConnectionFailedStatus.REJECTED); in inferConnectionStatus() 248 UserChoiceInfo.ConnectionFailedStatus.UNKNOWN); in inferConnectionStatus() 338 UserChoiceInfo userChoiceInfo = ViewModelProviders in handleMessage() 339 .of(fragment.getActivity()).get(UserChoiceInfo.class); in handleMessage() 341 UserChoiceInfo.ConnectionFailedStatus.TIMEOUT); in handleMessage()
|
D | EnterPasswordState.java | 57 private UserChoiceInfo mUserChoiceInfo; 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; 182 .get(UserChoiceInfo.class); in onCreate() 226 CharSequence prevPassword = mUserChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD); in onCreateActions() 249 mUserChoiceInfo.put(UserChoiceInfo.PASSWORD, action.getTitle().toString()); in onGuidedActionEditedAndProceed()
|
D | AddPageBasedOnNetworkState.java | 37 private final UserChoiceInfo mUserChoiceInfo; 43 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in AddPageBasedOnNetworkState() 51 getString(R.string.other_network), UserChoiceInfo.SELECT_WIFI)) { in processForward() 57 if (mUserChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD) != null in processForward() 60 mUserChoiceInfo.removePageSummary(UserChoiceInfo.PASSWORD); in processForward()
|
D | EnterSsidState.java | 75 private UserChoiceInfo mUserChoiceInfo; 93 .get(UserChoiceInfo.class); in onCreate() 114 CharSequence prevSsid = mUserChoiceInfo.getPageSummary(UserChoiceInfo.SSID); in onCreateActions() 129 mUserChoiceInfo.put(UserChoiceInfo.SSID, action.getTitle().toString()); in onGuidedActionEditedAndProceed()
|
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 | SummaryNotConnectedState.java | 74 private UserChoiceInfo mUserChoiceInfo; 97 .get(UserChoiceInfo.class); in onCreate() 107 mUserChoiceInfo.removePageSummary(UserChoiceInfo.SELECT_WIFI); in onGuidedActionClicked()
|
D | ConnectFailedState.java | 73 UserChoiceInfo mUserChoiceInfo; 89 .get(UserChoiceInfo.class); in onCreate() 119 UserChoiceInfo.ConnectionFailedStatus status = in getConnectionFailTitle()
|
D | SelectWifiState.java | 87 private UserChoiceInfo mUserChoiceInfo; 96 .get(UserChoiceInfo.class); in onCreate() 214 CharSequence title = mUserChoiceInfo.getPageSummary(UserChoiceInfo.SELECT_WIFI); in onViewCreated() 230 mUserChoiceInfo.put(UserChoiceInfo.SELECT_WIFI, action.getTitle().toString()); in onGuidedActionClicked()
|
D | AddStartState.java | 37 private final UserChoiceInfo mUserChoiceInfo; 42 mUserChoiceInfo = ViewModelProviders.of(mActivity).get(UserChoiceInfo.class); in AddStartState()
|
D | SummaryConnectedWifiState.java | 76 private UserChoiceInfo mUserChoiceInfo; 107 .get(UserChoiceInfo.class); in onCreate()
|
D | AdvancedOptionsState.java | 74 UserChoiceInfo userChoiceInfo = ViewModelProviders in isNetworkLockedDown() 76 .get(UserChoiceInfo.class); in isNetworkLockedDown()
|
D | KnownNetworkState.java | 80 private UserChoiceInfo mUserChoiceInfo; 115 .get(UserChoiceInfo.class); in onCreate()
|
D | ProxySettingsState.java | 78 UserChoiceInfo userChoiceInfo = ViewModelProviders in isNetworkLockedDown() 80 .get(UserChoiceInfo.class); in isNetworkLockedDown()
|
D | IpSettingsState.java | 79 UserChoiceInfo userChoiceInfo = ViewModelProviders in isNetworkLockedDown() 81 .get(UserChoiceInfo.class); in isNetworkLockedDown()
|
D | WifiSetupActivity.java | 71 private UserChoiceInfo mUserChoiceInfo; 114 mUserChoiceInfo = ViewModelProviders.of(this).get(UserChoiceInfo.class); in onCreate()
|
D | UserChoiceInfo.java | 35 public class UserChoiceInfo extends ViewModel { class
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | AddWifiNetworkActivity.java | 42 import com.android.tv.settings.connectivity.setup.UserChoiceInfo; 101 UserChoiceInfo userChoiceInfo = ViewModelProviders.of(this).get(UserChoiceInfo.class); in onCreate()
|
D | WifiConnectionActivity.java | 44 import com.android.tv.settings.connectivity.setup.UserChoiceInfo; 197 UserChoiceInfo userChoiceInfo = in onCreate() 198 ViewModelProviders.of(this).get(UserChoiceInfo.class); in onCreate()
|