/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ArrayMapTests.java | 496 ArraySet<Integer> set1 = new ArraySet<Integer>(); 499 if (!compare(set1, set2) || !compare(set1, set3) || !compare(set3, set2)) { 500 Log.e("test", "ArraySet equals failure for empty sets " + set1 + ", " + 506 set1.add(i); 510 if (!compare(set1, set2) || !compare(set1, set3) || !compare(set3, set2)) { 511 Log.e("test", "ArraySet equals failure for populated sets " + set1 + ", " + 516 set1.remove(0); 517 if (compare(set1, set2) || compare(set1, set3) || compare(set3, set1)) { 518 Log.e("test", "ArraSet equals failure for set size " + set1 + ", " + 523 set1.add(-1); [all …]
|
/frameworks/native/services/inputflinger/ |
D | PreferStylusOverTouchBlocker.cpp | 49 static void intersectInPlace(std::set<T>& set1, const std::set<T>& set2) { in intersectInPlace() argument 50 typename std::set<T>::iterator it1 = set1.begin(); in intersectInPlace() 52 while (it1 != set1.end() && it2 != set2.end()) { in intersectInPlace() 57 it1 = set1.erase(it1); in intersectInPlace() 69 set1.erase(it1, set1.end()); in intersectInPlace()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ |
D | GroupExpansionManagerImpl.java | 161 private Set<NotificationEntry> setDifference(Set<NotificationEntry> set1, in setDifference() argument 163 if (set1 == null || set1.isEmpty()) { in setDifference() 167 return new HashSet<>(set1); in setDifference() 171 for (NotificationEntry e : set1) { in setDifference()
|
/frameworks/base/services/core/java/com/android/server/backup/ |
D | SetUtils.java | 32 public static <T> Set<T> union(Set<T> set1, Set<T> set2) { in union() argument 33 Set<T> unionSet = new HashSet<>(set1); in union()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | SetUtils.java | 32 public static <T> Set<T> union(Set<T> set1, Set<T> set2) { in union() argument 33 Set<T> unionSet = new HashSet<>(set1); in union()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioProfileVectorHelper.cpp | 419 std::set<typename T::value_type> set1{input1.begin(), input1.end()}; in intersectFilterAndOrder() local 422 std::set_intersection(set1.begin(), set1.end(), set2.begin(), set2.end(), in intersectFilterAndOrder() 437 std::set<typename T::value_type, Compare> set1{input1.begin(), input1.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/ |
D | JobSetTest.java | 109 final ArraySet<JobStatus> set1 = new ArraySet<>(); in assertHaveSameJobs() local 116 set1.addAll(jobs); in assertHaveSameJobs() 124 if (size1 != 0 || !set1.equals(set2)) { in assertHaveSameJobs()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DessertCaseView.java | 429 AnimatorSet set1 = new AnimatorSet(); 430 set1.playTogether( 434 set1.setInterpolator(new AnticipateOvershootInterpolator()); 435 set1.setDuration(DURATION); 446 set1.addListener(makeHardwareLayerListener(v)); 448 set1.start();
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewFactory.java | 393 ArraySet<Signature> set1 = new ArraySet<>(); in signaturesEquals() 395 set1.add(signature); in signaturesEquals() 401 return set1.equals(set2); in signaturesEquals()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | CpuPowerStatsProcessor.java | 273 private static boolean containsAny(ArraySet<Integer> set1, ArraySet<Integer> set2) { in containsAny() argument 275 if (set1.contains(set2.valueAt(i))) { in containsAny()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerServiceUtils.java | 415 ArraySet<Signature> set1 = new ArraySet<Signature>(); in compareSignatureArrays() local 417 set1.add(sig); in compareSignatureArrays() 424 if (set1.equals(set2)) { in compareSignatureArrays()
|