Home
last modified time | relevance | path

Searched refs:clz (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
DConditionManager.java86 String clz = parser.getAttributeValue("", ATTR_CLASS); in readFromXml() local
87 if (!clz.startsWith(PKG)) { in readFromXml()
88 clz = PKG + clz; in readFromXml()
90 Condition condition = createCondition(Class.forName(clz)); in readFromXml()
92 if (DEBUG) Log.d(TAG, "Reading " + clz + " -- " + bundle); in readFromXml()
122 final String clz = mConditions.get(i).getClass().getSimpleName(); in saveToXml() local
123 serializer.attribute("", ATTR_CLASS, clz); in saveToXml()
148 private void addIfMissing(Class<? extends Condition> clz, ArrayList<Condition> conditions) { in addIfMissing() argument
149 if (getCondition(clz, conditions) == null) { in addIfMissing()
150 if (DEBUG) Log.d(TAG, "Adding missing " + clz.getName()); in addIfMissing()
[all …]
DCondition.java96 Class<?> clz = getReceiverClass(); in onSilenceChanged() local
97 if (clz == null) { in onSilenceChanged()
102 pm.setComponentEnabledSetting(new ComponentName(mManager.getContext(), clz), in onSilenceChanged()