Home
last modified time | relevance | path

Searched refs:fragmentName (Results 1 – 25 of 59) sorted by relevance

123

/packages/apps/Settings/src/com/android/settings/slices/
DSliceDataConverter.java106 final String fragmentName = clazz.getName(); in getSliceData() local
113 Log.e(TAG, fragmentName + " dose not implement Search Index Provider"); in getSliceData()
118 fragmentName); in getSliceData()
128 String fragmentName) { in getSliceDataFromProvider() argument
143 Log.e(TAG, fragmentName + " provides invalid XML (0) in search provider."); in getSliceDataFromProvider()
147 List<SliceData> xmlSliceData = getSliceDataFromXML(xmlResId, fragmentName); in getSliceDataFromProvider()
154 private List<SliceData> getSliceDataFromXML(int xmlResId, String fragmentName) { in getSliceDataFromXML() argument
218 .setFragmentName(fragmentName) in getSliceDataFromXML()
233 Log.w(TAG, "Invalid data when building SliceData for " + fragmentName, e); in getSliceDataFromXML()
244 fragmentName, in getSliceDataFromXML()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSliceDataConverter.java102 final String fragmentName = clazz.getName(); in getSliceData() local
109 Log.e(TAG, fragmentName + " dose not implement Search Index Provider"); in getSliceData()
114 fragmentName); in getSliceData()
124 String fragmentName) { in getSliceDataFromProvider() argument
139 Log.e(TAG, fragmentName + " provides invalid XML (0) in search provider."); in getSliceDataFromProvider()
143 List<SliceData> xmlSliceData = getSliceDataFromXML(xmlResId, fragmentName); in getSliceDataFromProvider()
150 private List<SliceData> getSliceDataFromXML(int xmlResId, String fragmentName) { in getSliceDataFromXML() argument
213 .setFragmentName(fragmentName) in getSliceDataFromXML()
228 Log.w(TAG, "Invalid data when building SliceData for " + fragmentName, e); in getSliceDataFromXML()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DTestFragmentActivity.java46 final String fragmentName = intent.getStringExtra(EXTRA_SHOW_FRAGMENT); in onCreate() local
47 if (fragmentName == null) { in onCreate()
51 mFragment = Fragment.instantiate(this, fragmentName); in onCreate()
53 fragmentManager.beginTransaction().add(mFragment, fragmentName).commit(); in onCreate()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiPickerActivity.java41 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
42 if (WifiSettings.class.getName().equals(fragmentName) in isValidFragment()
43 || WifiP2pSettings.class.getName().equals(fragmentName) in isValidFragment()
44 || SavedAccessPointsWifiSettings.class.getName().equals(fragmentName)) { in isValidFragment()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiPickerActivity.java41 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
42 if (WifiSettings.class.getName().equals(fragmentName) in isValidFragment()
43 || WifiP2pSettings.class.getName().equals(fragmentName) in isValidFragment()
44 || SavedAccessPointsWifiSettings.class.getName().equals(fragmentName)) { in isValidFragment()
/packages/apps/Settings/tests/unit/src/com/android/settings/core/
DSettingsGatewayTest.java106 final String fragmentName = metaData.getString(META_DATA_KEY_FRAGMENT_CLASS); in publicFragmentMustAppearInSettingsGateway() local
108 assertThat(fragmentName).isNotNull(); in publicFragmentMustAppearInSettingsGateway()
109 if (!whitelistedFragment.contains(fragmentName)) { in publicFragmentMustAppearInSettingsGateway()
110 error.append("SettingsGateway.ENTRY_FRAGMENTS must contain " + fragmentName in publicFragmentMustAppearInSettingsGateway()
/packages/apps/Settings/src/com/android/settings/applications/autofill/
DAutofillPickerActivity.java40 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
41 return super.isValidFragment(fragmentName) in isValidFragment()
42 || DefaultAutofillPicker.class.getName().equals(fragmentName); in isValidFragment()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/autofill/
DAutofillPickerActivity.java40 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
41 return super.isValidFragment(fragmentName) in isValidFragment()
42 || DefaultAutofillPicker.class.getName().equals(fragmentName); in isValidFragment()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsActivity.java487 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
491 if (SettingsGateway.ENTRY_FRAGMENTS[i].equals(fragmentName)) return true; in isValidFragment()
553 private Fragment switchToFragment(String fragmentName, Bundle args, boolean validate, in switchToFragment() argument
555 Log.d(LOG_TAG, "Switching to fragment " + fragmentName); in switchToFragment()
556 if (validate && !isValidFragment(fragmentName)) { in switchToFragment()
558 + fragmentName); in switchToFragment()
560 Fragment f = Fragment.instantiate(this, fragmentName, args); in switchToFragment()
DSubSettings.java34 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
35 Log.d("SubSettings", "Launching fragment " + fragmentName); in isValidFragment()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DAppDataUsageActivity.java71 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
72 return super.isValidFragment(fragmentName) in isValidFragment()
73 || AppDataUsage.class.getName().equals(fragmentName); in isValidFragment()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsageActivity.java71 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
72 return super.isValidFragment(fragmentName) in isValidFragment()
73 || AppDataUsage.class.getName().equals(fragmentName); in isValidFragment()
/packages/apps/Settings/src/com/android/settings/
DSettingsActivity.java485 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
489 if (SettingsGateway.ENTRY_FRAGMENTS[i].equals(fragmentName)) return true; in isValidFragment()
551 private Fragment switchToFragment(String fragmentName, Bundle args, boolean validate, in switchToFragment() argument
553 Log.d(LOG_TAG, "Switching to fragment " + fragmentName); in switchToFragment()
554 if (validate && !isValidFragment(fragmentName)) { in switchToFragment()
556 + fragmentName); in switchToFragment()
558 Fragment f = Fragment.instantiate(this, fragmentName, args); in switchToFragment()
DSubSettings.java34 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
35 Log.d("SubSettings", "Launching fragment " + fragmentName); in isValidFragment()
DSetupEncryptionInterstitial.java50 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
51 return SetupEncryptionInterstitialFragment.class.getName().equals(fragmentName); in isValidFragment()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DSetupChooseLockGeneric.java63 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
64 return SetupChooseLockGenericFragment.class.getName().equals(fragmentName); in isValidFragment()
241 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
242 return InternalSetupChooseLockGenericFragment.class.getName().equals(fragmentName); in isValidFragment()
/packages/apps/Settings/src/com/android/settings/password/
DSetupChooseLockGeneric.java64 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
65 return SetupChooseLockGenericFragment.class.getName().equals(fragmentName); in isValidFragment()
251 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
252 return InternalSetupChooseLockGenericFragment.class.getName().equals(fragmentName); in isValidFragment()
/packages/apps/Settings/src/com/android/settings/applications/
DInstalledAppOpenByDefaultActivity.java33 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
34 return AppLaunchSettings.class.getName().equals(fragmentName); in isValidFragment()
DInstalledAppDetailsTop.java34 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
35 return AppInfoDashboardFragment.class.getName().equals(fragmentName); in isValidFragment()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DInstalledAppOpenByDefaultActivity.java33 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
34 return AppLaunchSettings.class.getName().equals(fragmentName); in isValidFragment()
DInstalledAppDetailsTop.java34 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
35 return AppInfoDashboardFragment.class.getName().equals(fragmentName); in isValidFragment()
/packages/apps/Settings/src/com/android/settings/notification/
DRedactionSettingsStandalone.java40 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
41 return RedactionInterstitialFragment.class.getName().equals(fragmentName); in isValidFragment()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DRedactionSettingsStandalone.java40 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
41 return RedactionInterstitialFragment.class.getName().equals(fragmentName); in isValidFragment()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodAndSubtypeEnablerActivity.java53 protected boolean isValidFragment(String fragmentName) { in isValidFragment() argument
54 return FRAGMENT_NAME.equals(fragmentName); in isValidFragment()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionarySettingsActivity.java51 public boolean isValidFragment(String fragmentName) { in isValidFragment() argument
52 return FragmentUtils.isValidFragment(fragmentName); in isValidFragment()

123