Home
last modified time | relevance | path

Searched refs:Comparator (Results 1 – 25 of 157) sorted by relevance

1234567

/frameworks/base/cmds/statsd/src/anomaly/
Dindexed_priority_queue.h43 template <class AA, class Comparator>
87 template <class AA, class Comparator>
88 indexed_priority_queue<AA, Comparator>::indexed_priority_queue() { in indexed_priority_queue()
92 template <class AA, class Comparator>
93 void indexed_priority_queue<AA, Comparator>::push(sp<const AA> a) { in push()
102 template <class AA, class Comparator>
103 bool indexed_priority_queue<AA, Comparator>::remove(sp<const AA> a) { in remove()
130 template <class AA, class Comparator>
131 void indexed_priority_queue<AA, Comparator>::pop() { in pop()
151 template <class AA, class Comparator>
[all …]
/frameworks/compile/mclinker/include/mcld/ADT/
Dilist_sort.h21 template <typename T, typename Alloc, typename Comparator>
22 void sort(llvm::iplist<T, Alloc>& xs, size_t size, Comparator is_less_than) { in sort()
76 template <typename T, typename Alloc, typename Comparator = std::less<T> >
78 Comparator is_less_than = Comparator()) {
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java31 import java.util.Comparator;
51 static final Comparator<Class<? extends TestCase>> SORT_BY_SIMPLE_NAME
54 static final Comparator<Class<? extends TestCase>> SORT_BY_FULLY_QUALIFIED_NAME
59 TestGrouping(Comparator<Class<? extends TestCase>> comparator, ClassLoader classLoader) { in TestGrouping()
162 implements Comparator<Class<? extends TestCase>>, Serializable {
179 implements Comparator<Class<? extends TestCase>>, Serializable {
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTestUtil.java31 import java.util.Comparator;
107 Arrays.sort(expected, Comparator.comparingInt(x -> x.failureReason)); in assertLinkProbeFailureReasonCountsEqual()
108 Arrays.sort(actual, Comparator.comparingInt(x -> x.failureReason)); in assertLinkProbeFailureReasonCountsEqual()
158 Arrays.sort(expected, Comparator.comparingInt(x -> x.deviceMobilityState)); in assertDeviceMobilityStatePnoScanStatsEqual()
159 Arrays.sort(actual, Comparator.comparingInt(x -> x.deviceMobilityState)); in assertDeviceMobilityStatePnoScanStatsEqual()
253 Arrays.sort(expected, Comparator.comparing(x -> x.experimentId)); in assertExperimentProbeCountsEqual()
254 Arrays.sort(actual, Comparator.comparing(x -> x.experimentId)); in assertExperimentProbeCountsEqual()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/
Dmox.py751 class Comparator: class
790 class IsA(Comparator):
828 class IsAlmost(Comparator):
865 class StrContains(Comparator):
904 class Regex(Comparator):
939 class In(Comparator):
971 class ContainsKeyValue(Comparator):
1005 class SameElementsAs(Comparator):
1046 class And(Comparator):
1079 class Or(Comparator):
[all …]
/frameworks/base/core/java/android/gesture/
DInstanceLearner.java21 import java.util.Comparator;
29 private static final Comparator<Prediction> sComparator = new Comparator<Prediction>() {
/frameworks/base/services/core/java/com/android/server/notification/
DGlobalSortKeyComparator.java20 import java.util.Comparator;
25 public class GlobalSortKeyComparator implements Comparator<NotificationRecord> {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScannerImpl.java32 import java.util.Comparator;
72 protected static final Comparator<ScanResult> SCAN_RESULT_SORT_COMPARATOR =
73 new Comparator<ScanResult>() {
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DHsvColorComparator.java21 import java.util.Comparator;
26 public class HsvColorComparator implements Comparator<Integer> {
/frameworks/base/core/java/android/hardware/camera2/utils/
DSizeAreaComparator.java22 import java.util.Comparator;
32 public class SizeAreaComparator implements Comparator<Size> {
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSizeAreaComparator.java22 import java.util.Comparator;
33 public class SizeAreaComparator implements Comparator<Camera.Size> {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraUtils.java24 import java.util.Comparator;
73 public static class LegacySizeComparator implements Comparator<Camera.Size> {
/frameworks/base/tools/preload2/src/com/android/preload/actions/
DReloadListAction.java24 import java.util.Comparator;
52 private static class ClientComparator implements Comparator<Client> {
/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/
DBarViewInfo.java25 import java.util.Comparator;
71 return Comparator.comparingInt((BarViewInfo barViewInfo) -> barViewInfo.mHeight) in compareTo()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanDetailCache.java26 import java.util.Comparator;
122 Collections.sort(list, new Comparator() { in trim()
147 Collections.sort(list, new Comparator() { in sort()
/frameworks/base/core/java/android/net/
DIpPrefix.java32 import java.util.Comparator;
261 public static Comparator<IpPrefix> lengthComparator() { in lengthComparator()
262 return new Comparator<IpPrefix>() { in lengthComparator()
/frameworks/base/services/core/java/com/android/server/wm/
DRunningTasks.java24 import java.util.Comparator;
35 private static final Comparator<TaskRecord> LAST_ACTIVE_TIME_COMPARATOR =
/frameworks/compile/mclinker/include/mcld/LD/
DRelocData.h90 template <class Comparator>
91 void sort(Comparator pComparator) { in sort()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DHwTests.java31 import java.util.Comparator;
116 private final static Comparator<Map<String, Object>> sDisplayNameComparator =
117 new Comparator<Map<String, Object>>() {
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DVectorDrawableTest.java30 import java.util.Comparator;
115 private final static Comparator<Map<String, Object>> sDisplayNameComparator =
116 new Comparator<Map<String, Object>>() {
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
DCameraTooTest.java35 import java.util.Comparator;
43 private <T> void assertComparatorEq(T lhs, T rhs, Comparator<T> rel) { in assertComparatorEq()
49 private <T> void assertComparatorLt(T lhs, T rhs, Comparator<T> rel) { in assertComparatorLt()
60 Comparator<Size> rel = new CameraTooActivity.CompareSizesByArea(); in compareSizesByArea()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DMainActivity.java32 import java.util.Comparator;
140 private final static Comparator<Map<String, Object>> sDisplayNameComparator =
141 new Comparator<Map<String, Object>>() {
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceClientPermissionsTest.java49 import java.util.Comparator;
198 authorities.sort(Comparator.comparing(SliceAuthority::getAuthority)); in testCreation()
234 a1.sort(Comparator.comparing(SliceAuthority::getAuthority)); in assertEquivalent()
235 a2.sort(Comparator.comparing(SliceAuthority::getAuthority)); in assertEquivalent()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutDumpFiles.java33 import java.util.Comparator;
84 Arrays.sort(files, Comparator.comparing(f -> f.getName())); in dumpAll()
/frameworks/base/tests/net/common/java/android/net/metrics/
DIpConnectivityLogTest.java44 import java.util.Comparator;
159 static final Comparator<ConnectivityMetricsEvent> EVENT_COMPARATOR =
160 Comparator.comparingLong((ev) -> ev.timestamp);

1234567