/frameworks/native/libs/ftl/ |
D | small_vector_test.cpp | 315 auto sorted = std::move(strings); in TEST() local 318 EXPECT_TRUE(sorted.dynamic()); in TEST() 321 std::sort(sorted.begin(), sorted.end()); in TEST() 322 EXPECT_EQ(sorted, (SmallVector{"cake"s, "pie"s, "quince"s, "red"s, "tart"s, "velvet"s})); in TEST() 331 EXPECT_GT(sorted, strings); in TEST() 332 swap(sorted, strings); in TEST() 333 EXPECT_LT(sorted, strings); in TEST() 335 EXPECT_FALSE(sorted.dynamic()); in TEST() 340 sorted.emplace_back(str); in TEST() 342 EXPECT_TRUE(sorted.dynamic()); in TEST() [all …]
|
D | static_vector_test.cpp | 285 auto sorted = std::move(strings); in TEST() local 288 std::sort(sorted.begin(), sorted.end()); in TEST() 289 EXPECT_EQ(sorted, (StaticVector{"cake"s, "pie"s, "quince"s, "red"s, "tart"s, "velvet"s})); in TEST() 297 EXPECT_GT(sorted, strings); in TEST() 298 swap(sorted, strings); in TEST() 299 EXPECT_LT(sorted, strings); in TEST() 303 sorted.emplace_back(str); in TEST() 306 EXPECT_NE(sorted, strings); in TEST() 309 const auto it = sorted.begin() + 1; in TEST() 310 EXPECT_EQ(sorted.replace(it, 'p' + it->substr(1)), "pie"); in TEST() [all …]
|
/frameworks/libs/net/common/testutils/hostdevice/com/android/testutils/ |
D | MiscAsserts.kt | 73 assertEquals(actual.sorted(), expected.sorted(), in assertContainsExactly() 78 assertEquals(actual.sorted(), expected.sorted(), in assertContainsStringsExactly()
|
/frameworks/base/tests/JankBench/scripts/external/ |
D | statistics.py | 172 total = sum(Fraction(n, d) for d, n in sorted(partials.items())) 350 data = sorted(data) 373 data = sorted(data) 395 data = sorted(data) 428 data = sorted(data)
|
/frameworks/base/core/java/android/os/ |
D | BinderProxy.java | 313 Map.Entry<String, Integer>[] sorted = counts.entrySet().toArray( in getSortedInterfaceCounts() local 316 Arrays.sort(sorted, (Map.Entry<String, Integer> a, Map.Entry<String, Integer> b) in getSortedInterfaceCounts() 319 int returnCount = Math.min(maxToReturn, sorted.length); in getSortedInterfaceCounts() 322 ifaceCounts[i] = new InterfaceCount(sorted[i].getKey(), sorted[i].getValue()); in getSortedInterfaceCounts() 333 final InterfaceCount[] sorted = getSortedInterfaceCounts(MAX_NUM_INTERFACES_TO_DUMP); in dumpProxyInterfaceCounts() local 337 for (int i = 0; i < sorted.length; i++) { in dumpProxyInterfaceCounts() 338 Log.v(Binder.TAG, " #" + (i + 1) + ": " + sorted[i]); in dumpProxyInterfaceCounts()
|
/frameworks/base/tools/localedata/ |
D | extract_icu_data.py | 133 for locale in sorted(likely_script_dict.keys()): 157 for locale in sorted(representative_locales): 222 sorted_scripts = sorted(script_organized_dict.keys()) 228 for locale in sorted(parent_dict.keys()):
|
/frameworks/rs/tests/java_api/RSUnitTests/ |
D | RSUnitTests.py | 219 tests = sorted(tests) 566 for build_tool_version_name in sorted(BUILD_TOOL_VERSIONS.values()): 573 for build_tool_version in sorted(BUILD_TOOL_VERSIONS.keys()): 642 for version in sorted(UNIT_TEST_PLATFORM_VERSIONS.keys()): 644 tests = sorted(UNIT_TEST_PLATFORM_VERSIONS[version])
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaDataFilter.kt | 126 val sorted = userEntries.toSortedMap(compareBy { in <lambda>() constant 129 val timeSinceActive = timeSinceActiveForMostRecentMedia(sorted) in <lambda>() 139 val lastActiveKey = sorted.lastKey() // most recently active in <lambda>() 146 val mediaData = sorted.get(lastActiveKey)!!.copy(active = true) in <lambda>()
|
/frameworks/native/opengl/tools/glgen/ |
D | convert_to_java.py | 30 for define in sorted(allDefines, key=lambda define: define[1]):
|
/frameworks/base/services/core/java/com/android/server/vcn/ |
D | UnderlyingNetworkTracker.java | 416 TreeSet<UnderlyingNetworkRecord> sorted = in reevaluateNetworks() local 418 UnderlyingNetworkRecord candidate = sorted.isEmpty() ? null : sorted.first(); in reevaluateNetworks() 468 TreeSet<UnderlyingNetworkRecord> sorted = in getSortedUnderlyingNetworks() local 479 sorted.add(builder.build()); in getSortedUnderlyingNetworks() 483 return sorted; in getSortedUnderlyingNetworks()
|
/frameworks/av/services/audiopolicy/engineconfigurable/tools/ |
D | buildCommonTypesStructureFile.py | 81 ordered_values = OrderedDict(sorted(values_dict.items(), key=lambda x: x[1])) 92 ordered_values = OrderedDict(sorted(values_dict.items(), key=lambda x: x[1]))
|
/frameworks/native/cmds/installd/ |
D | matchgen.py | 76 for k in sorted(target.keys()):
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | process_newdb_perf_test_logs.py | 65 for k in sorted(timings):
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
D | PrivacyChipBuilder.kt | 32 types = itemsList.map { it.privacyType }.distinct().sorted() in <lambda>()
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Instrument.java | 137 private static Collection<String> sorted(Collection<String> list) { in sorted() method in Instrument 172 for (String key : sorted(results.keySet())) { in onInstrumentationStatusLocked() 193 for (String key : sorted(results.keySet())) { in onInstrumentationFinishedLocked() 309 for (final String key: sorted(bundle.keySet())) { in writeBundle()
|
/frameworks/native/vulkan/scripts/ |
D | api_generator.py | 173 sorted_command_list = sorted(gencom.command_list) 217 sorted_command_list = sorted(gencom.command_list)
|
D | null_generator.py | 124 sorted_command_list = sorted(gencom.command_list)
|
D | driver_generator.py | 509 sorted_command_list = sorted(gencom.command_list) 603 for key, value in sorted(gencom.promoted_inst_ext_dict.items()):
|
/frameworks/base/tools/aapt2/tools/ |
D | extract_unicode_properties.py | 58 for char_prop in sorted(chars.values(), key=CharacterProperty.key):
|
/frameworks/minikin/tools/ |
D | mk_hyb_file.py | 202 succ = sorted([ch_map[c] + edge_start for c in node.succ.keys()]) 240 for i in sorted(mapped.keys()): 259 for c in sorted(node.succ.keys()): 337 for c, val in sorted(ch_map.items()):
|
/frameworks/rs/tests/lldb/tests/testcases/ |
D | test_reduction.py | 263 for x, _, __ in sorted(coords_range_3d(X_TESTS, Y_TESTS, Z_TESTS)):
|
/frameworks/base/core/tests/benchmarks/src/android/util/ |
D | StreamsBenchmark.java | 86 getOpenSessionCallsList(calls).stream().sorted( in timeStreams()
|
/frameworks/base/cmds/incident_helper/java/com/android/commands/incident/sections/ |
D | PersistLogSection.java | 109 .sorted(Comparator.comparingLong(File::lastModified).reversed())) { in run() 123 .sorted(Comparator.comparingLong(File::lastModified)) in run()
|
/frameworks/base/tools/aapt2/tools/consumers/ |
D | duplicates.py | 33 duplicates = sorted(duplicates, key=lambda x: x.start)
|
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/ |
D | AsmGeneratorTest.java | 322 .sorted() in findClassNames() 329 .sorted() in findFileNames()
|