Home
last modified time | relevance | path

Searched refs:MainFragment (Results 1 – 14 of 14) sorted by relevance

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DMainFragmentTest.java54 private MainFragment mMainFragment;
66 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_NoNetwork()
83 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_hasEthernet()
100 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_hasEthernetConnected()
117 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_wifiSignal()
166 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_notConnected()
183 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_cellSignal()
231 .findPreference(MainFragment.KEY_ACCOUNTS_AND_SIGN_IN); in testUpdateAccountPrefInfo_hasOneAccount()
247 .findPreference(MainFragment.KEY_ACCOUNTS_AND_SIGN_IN); in testUpdateAccountPrefInfo_hasNoAccount()
263 .findPreference(MainFragment.KEY_ACCOUNTS_AND_SIGN_IN); in testUpdateAccountPrefInfo_hasMoreThanOneAccount()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DDevicePrefFragment.java55 import com.android.tv.settings.MainFragment;
242 MainFragment.systemIntentIsHandled(getContext(), preference.getIntent()) != null); in hideIfIntentUnhandled()
265 Intent soundIntent = new Intent(MainFragment.ACTION_SOUND); in updateSounds()
266 final ResolveInfo info = MainFragment.systemIntentIsHandled(getContext(), soundIntent); in updateSounds()
275 final ResolveInfo info = MainFragment.systemIntentIsHandled(getContext(), in updateGoogleSettings()
292 final ResolveInfo info = MainFragment.systemIntentIsHandled( in updateCastSettings()
/packages/services/Telephony/testapps/GbaTestApp/src/com/android/phone/testapps/gbatestapp/ui/main/
DMainFragment.java40 public class MainFragment extends Fragment { class
47 private static MainFragment sInstance;
53 public static MainFragment newInstance() { in newInstance()
55 sInstance = new MainFragment(); in newInstance()
/packages/services/Telephony/testapps/GbaTestApp/src/com/android/phone/testapps/gbatestapp/
DMainActivity.java23 import com.android.phone.testapps.gbatestapp.ui.main.MainFragment;
34 .replace(R.id.container, MainFragment.newInstance()) in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountsUtil.java28 import com.android.tv.settings.MainFragment;
71 if (MainFragment.systemIntentIsHandled(context, accountsIntent) != null) { in getAccountsFragmentToLaunch()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/help/
DHelpFragment.java36 import com.android.tv.settings.MainFragment;
75 final ResolveInfo info = MainFragment.systemIntentIsHandled(getActivity(), in onCreatePreferences()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutFragment.java57 import com.android.tv.settings.MainFragment;
231 MainFragment.systemIntentIsHandled(getContext(), systemUpdateIntent); in onCreatePreferences()
446 final ResolveInfo info = MainFragment.systemIntentIsHandled(getContext(), in updateTutorials()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DSuggestionQuickSettingPrefsContainer.java45 private MainFragment mainFragment;
47 SuggestionQuickSettingPrefsContainer(MainFragment mainFragment) { in SuggestionQuickSettingPrefsContainer()
DMainFragment.java81 public class MainFragment extends PreferenceControllerFragment implements class
132 public static MainFragment newInstance() { in newInstance()
133 return new MainFragment(); in newInstance()
DMainSettings.java31 .newSettingsFragment(MainFragment.class.getName(), null); in createSettingsFragment()
/packages/apps/Traceur/src/com/android/traceur/
DStopTraceService.java54 context.sendBroadcast(new Intent(MainFragment.ACTION_REFRESH_TAGS)); in onHandleIntent()
DMainFragment.java59 public class MainFragment extends PreferenceFragment { class
DReceiver.java157 context.sendBroadcast(new Intent(MainFragment.ACTION_REFRESH_TAGS)); in updateTracing()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkFragment.java50 import com.android.tv.settings.MainFragment;
442 ResolveInfo resolveInfo = MainFragment.systemIntentIsHandled(getContext(), intent); in makeNetworkDiagnosticsIntent()