Searched refs:MainFragment (Results 1 – 8 of 8) sorted by relevance
62 private MainFragment mMainFragment;74 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateWifi_NoNetwork()91 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateWifi_hasEthernet()108 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateWifi_hasEthernetConnected()125 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateWifi_wifiSignal()174 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateWifi_notConnected()191 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateWifi_cellSignal()239 .findPreference(MainFragment.KEY_ACCOUNTS_AND_SIGN_IN); in testUpdateAccountPref_hasOneAccount()255 .findPreference(MainFragment.KEY_ACCOUNTS_AND_SIGN_IN); in testUpdateAccountPref_hasNoAccount()271 .findPreference(MainFragment.KEY_ACCOUNTS_AND_SIGN_IN); in testUpdateAccountPref_hasMoreThanOneAccount()[all …]
38 import com.android.tv.settings.MainFragment;129 MainFragment.systemIntentIsHandled(getContext(), preference.getIntent()) != null); in hideIfIntentUnhandled()159 final ResolveInfo info = MainFragment.systemIntentIsHandled(getContext(), in updateGoogleSettings()175 final ResolveInfo info = MainFragment.systemIntentIsHandled( in updateCastSettings()
63 public class MainFragment extends PreferenceControllerFragment implements class107 public static MainFragment newInstance() { in newInstance()108 return new MainFragment(); in newInstance()
31 .newSettingsFragment(MainFragment.class.getName(), null); in createSettingsFragment()
50 import com.android.tv.settings.MainFragment;397 final ResolveInfo info = MainFragment.systemIntentIsHandled(getContext(), in updateTutorials()
54 context.sendBroadcast(new Intent(MainFragment.ACTION_REFRESH_TAGS)); in onHandleIntent()
57 public class MainFragment extends PreferenceFragment { class
139 context.sendBroadcast(new Intent(MainFragment.ACTION_REFRESH_TAGS)); in updateTracing()