Lines Matching refs:conditions
191 private Condition[] removeDuplicateConditions(String pkg, Condition[] conditions) {
192 if (conditions == null || conditions.length == 0) return null;
193 final int N = conditions.length;
196 final Uri id = conditions[i].id;
201 valid.put(id, conditions[i]);
204 if (valid.size() == N) return conditions;
229 public void notifyConditions(String pkg, ManagedServiceInfo info, Condition[] conditions) {
231 if (DEBUG) Slog.d(TAG, "notifyConditions pkg=" + pkg + " info=" + info + " conditions="
232 + (conditions == null ? null : Arrays.asList(conditions)));
233 conditions = removeDuplicateConditions(pkg, conditions);
234 if (conditions == null || conditions.length == 0) return;
235 final int N = conditions.length;
237 final Condition c = conditions[i];
243 final int N = conditions.length;
245 final Condition c = conditions[i];