Home
last modified time | relevance | path

Searched refs:set2 (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/inputflinger/
DPreferStylusOverTouchBlocker.cpp49 static void intersectInPlace(std::set<T>& set1, const std::set<T>& set2) { in intersectInPlace() argument
51 typename std::set<T>::const_iterator it2 = set2.begin(); in intersectInPlace()
52 while (it1 != set1.end() && it2 != set2.end()) { in intersectInPlace()
76 static void intersectInPlace(std::map<K, V>& map, const std::set<K>& set2) { in intersectInPlace() argument
78 typename std::set<K>::const_iterator it2 = set2.begin(); in intersectInPlace()
79 while (it1 != map.end() && it2 != set2.end()) { in intersectInPlace()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DArrayMapTests.java497 ArraySet<Integer> set2 = new ArraySet<Integer>();
499 if (!compare(set1, set2) || !compare(set1, set3) || !compare(set3, set2)) {
501 set2 + ", " + set3);
507 set2.add(i);
510 if (!compare(set1, set2) || !compare(set1, set3) || !compare(set3, set2)) {
512 set2 + ", " + set3);
517 if (compare(set1, set2) || compare(set1, set3) || compare(set3, set1)) {
519 set2 + ", " + set3);
524 if (compare(set1, set2) || compare(set1, set3) || compare(set3, set1)) {
526 set2 + ", " + set3);
/frameworks/base/services/core/java/com/android/server/backup/
DSetUtils.java32 public static <T> Set<T> union(Set<T> set1, Set<T> set2) { in union() argument
34 unionSet.addAll(set2); in union()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DSetUtils.java32 public static <T> Set<T> union(Set<T> set1, Set<T> set2) { in union() argument
34 unionSet.addAll(set2); in union()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DGroupExpansionManagerImpl.java162 Set<NotificationEntry> set2) { in setDifference() argument
166 if (set2 == null || set2.isEmpty()) { in setDifference()
172 if (!set2.contains(e)) { in setDifference()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfileVectorHelper.cpp420 std::set<typename T::value_type> set2{input2.begin(), input2.end()}; in intersectFilterAndOrder() local
422 std::set_intersection(set1.begin(), set1.end(), set2.begin(), set2.end(), in intersectFilterAndOrder()
438 std::set<typename T::value_type, Compare> set2{input2.begin(), input2.end(), comp}; in intersectAndOrder() local
440 std::set_intersection(set1.begin(), set1.end(), set2.begin(), set2.end(), in intersectAndOrder()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobSetTest.java110 final ArraySet<JobStatus> set2 = new ArraySet<>(); in assertHaveSameJobs() local
122 set2.addAll(jobs); in assertHaveSameJobs()
124 if (size1 != 0 || !set1.equals(set2)) { in assertHaveSameJobs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java437 AnimatorSet set2 = new AnimatorSet();
438 set2.playTogether(
443 set2.setInterpolator(new DecelerateInterpolator());
444 set2.setDuration(DURATION);
449 set2.start();
/frameworks/base/core/java/android/webkit/
DWebViewFactory.java397 ArraySet<Signature> set2 = new ArraySet<>(); in signaturesEquals() local
399 set2.add(signature); in signaturesEquals()
401 return set1.equals(set2); in signaturesEquals()
/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerStatsProcessor.java273 private static boolean containsAny(ArraySet<Integer> set1, ArraySet<Integer> set2) { in containsAny() argument
274 for (int i = 0; i < set2.size(); i++) { in containsAny()
275 if (set1.contains(set2.valueAt(i))) { in containsAny()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java419 ArraySet<Signature> set2 = new ArraySet<Signature>(); in compareSignatureArrays() local
421 set2.add(sig); in compareSignatureArrays()
424 if (set1.equals(set2)) { in compareSignatureArrays()