Searched refs:MainFragment (Results 1 – 9 of 9) sorted by relevance
62 private MainFragment mMainFragment;74 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_NoNetwork()91 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_hasEthernet()108 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_hasEthernetConnected()125 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_wifiSignal()174 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_notConnected()191 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_cellSignal()239 .findPreference(MainFragment.KEY_ACCOUNTS_AND_SIGN_IN); in testUpdateAccountPrefInfo_hasOneAccount()255 .findPreference(MainFragment.KEY_ACCOUNTS_AND_SIGN_IN); in testUpdateAccountPrefInfo_hasNoAccount()271 .findPreference(MainFragment.KEY_ACCOUNTS_AND_SIGN_IN); in testUpdateAccountPrefInfo_hasMoreThanOneAccount()[all …]
48 import com.android.tv.settings.MainFragment;182 MainFragment.systemIntentIsHandled(getContext(), preference.getIntent()) != null); in hideIfIntentUnhandled()205 Intent soundIntent = new Intent(MainFragment.ACTION_SOUND); in updateSounds()206 final ResolveInfo info = MainFragment.systemIntentIsHandled(getContext(), soundIntent); in updateSounds()215 final ResolveInfo info = MainFragment.systemIntentIsHandled(getContext(), in updateGoogleSettings()231 final ResolveInfo info = MainFragment.systemIntentIsHandled( in updateCastSettings()
26 import com.android.tv.settings.MainFragment;45 final ResolveInfo info = MainFragment.systemIntentIsHandled(getActivity(), in onCreatePreferences()
74 public class MainFragment extends PreferenceControllerFragment implements class135 public static MainFragment newInstance() { in newInstance()136 return new MainFragment(); in newInstance()
31 .newSettingsFragment(MainFragment.class.getName(), null); in createSettingsFragment()
51 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()