Home
last modified time | relevance | path

Searched refs:controllerName (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceControllerListHelper.java83 String controllerName = metadata.getString(METADATA_CONTROLLER); in getPreferenceControllersFromXml() local
84 if (TextUtils.isEmpty(controllerName)) { in getPreferenceControllersFromXml()
89 throw new IllegalArgumentException("Missing key for controller: " + controllerName); in getPreferenceControllersFromXml()
98 controllers.add(createInstance(controllerName, context, key, fragmentController, in getPreferenceControllersFromXml()
105 private static PreferenceController createInstance(String controllerName, in createInstance() argument
109 Class<?> clazz = Class.forName(controllerName); in createInstance()
120 "Invalid preference controller: " + controllerName, e); in createInstance()
/packages/apps/Settings/src/com/android/settings/core/
DPreferenceControllerListHelper.java69 final String controllerName = metadata.getString(METADATA_CONTROLLER); in getPreferenceControllersFromXml() local
70 if (TextUtils.isEmpty(controllerName)) { in getPreferenceControllersFromXml()
75 controller = BasePreferenceController.createInstance(context, controllerName); in getPreferenceControllersFromXml()
77 Log.d(TAG, "Could not find Context-only controller for pref: " + controllerName); in getPreferenceControllersFromXml()
82 + controllerName); in getPreferenceControllersFromXml()
86 controller = BasePreferenceController.createInstance(context, controllerName, in getPreferenceControllersFromXml()
89 Log.w(TAG, "Cannot instantiate controller from reflection: " + controllerName); in getPreferenceControllersFromXml()
DBasePreferenceController.java137 String controllerName, String key) { in createInstance() argument
139 final Class<?> clazz = Class.forName(controllerName); in createInstance()
147 "Invalid preference controller: " + controllerName, e); in createInstance()
156 public static BasePreferenceController createInstance(Context context, String controllerName) { in createInstance() argument
158 final Class<?> clazz = Class.forName(controllerName); in createInstance()
165 "Invalid preference controller: " + controllerName, e); in createInstance()
179 public static BasePreferenceController createInstance(Context context, String controllerName, in createInstance() argument
182 final Class<?> clazz = Class.forName(controllerName); in createInstance()
193 "Invalid preference controller: " + controllerName, e); in createInstance()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
DSystemUIQCViewController.java177 private BaseLocalQCProvider createLocalQCProviderInstance(String controllerName, in createLocalQCProviderInstance() argument
181 controllerName); in createLocalQCProviderInstance()
185 Class<?> clazz = Class.forName(controllerName); in createLocalQCProviderInstance()
189 throw new IllegalArgumentException("Invalid controller: " + controllerName, e); in createLocalQCProviderInstance()