Searched refs:controllerName (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PreferenceControllerListHelper.java | 74 String controllerName = metadata.getString(METADATA_CONTROLLER); in getPreferenceControllersFromXml() local 75 if (TextUtils.isEmpty(controllerName)) { in getPreferenceControllersFromXml() 80 throw new IllegalArgumentException("Missing key for controller: " + controllerName); in getPreferenceControllersFromXml() 82 controllers.add(createInstance(controllerName, context, key, fragmentController, in getPreferenceControllersFromXml() 89 private static PreferenceController createInstance(String controllerName, in createInstance() argument 93 Class<?> clazz = Class.forName(controllerName); in createInstance() 101 "Invalid preference controller: " + controllerName, e); in createInstance()
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | BasePreferenceController.java | 135 String controllerName, String key) { in createInstance() argument 137 final Class<?> clazz = Class.forName(controllerName); in createInstance() 145 "Invalid preference controller: " + controllerName, e); in createInstance() 154 public static BasePreferenceController createInstance(Context context, String controllerName) { in createInstance() argument 156 final Class<?> clazz = Class.forName(controllerName); in createInstance() 163 "Invalid preference controller: " + controllerName, e); in createInstance() 177 public static BasePreferenceController createInstance(Context context, String controllerName, in createInstance() argument 180 final Class<?> clazz = Class.forName(controllerName); in createInstance() 191 "Invalid preference controller: " + controllerName, e); in createInstance()
|
D | PreferenceControllerListHelper.java | 66 final String controllerName = metadata.getString(METADATA_CONTROLLER); in getPreferenceControllersFromXml() local 67 if (TextUtils.isEmpty(controllerName)) { in getPreferenceControllersFromXml() 72 controller = BasePreferenceController.createInstance(context, controllerName); in getPreferenceControllersFromXml() 74 Log.d(TAG, "Could not find Context-only controller for pref: " + controllerName); in getPreferenceControllersFromXml() 79 + controllerName); in getPreferenceControllersFromXml() 83 controller = BasePreferenceController.createInstance(context, controllerName, in getPreferenceControllersFromXml() 86 Log.w(TAG, "Cannot instantiate controller from reflection: " + controllerName); in getPreferenceControllersFromXml()
|