Home
last modified time | relevance | path

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

123

/frameworks/libs/net/common/hostdevice/com/android/testutils/
DMiscAsserts.kt63 assertEquals(actual.sorted(), expected.sorted(), in assertContainsExactly()
68 assertEquals(actual.sorted(), expected.sorted(), in assertContainsStringsExactly()
/frameworks/base/core/java/android/os/
DBinderProxy.java275 Map.Entry<String, Integer>[] sorted = counts.entrySet().toArray( in getSortedInterfaceCounts() local
278 Arrays.sort(sorted, (Map.Entry<String, Integer> a, Map.Entry<String, Integer> b) in getSortedInterfaceCounts()
281 int returnCount = Math.min(maxToReturn, sorted.length); in getSortedInterfaceCounts()
284 ifaceCounts[i] = new InterfaceCount(sorted[i].getKey(), sorted[i].getValue()); in getSortedInterfaceCounts()
295 final InterfaceCount[] sorted = getSortedInterfaceCounts(MAX_NUM_INTERFACES_TO_DUMP); in dumpProxyInterfaceCounts() local
299 for (int i = 0; i < sorted.length; i++) { in dumpProxyInterfaceCounts()
300 Log.v(Binder.TAG, " #" + (i + 1) + ": " + sorted[i]); in dumpProxyInterfaceCounts()
/frameworks/base/tests/JankBench/scripts/external/
Dstatistics.py172 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/tools/localedata/
Dextract_icu_data.py133 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/
DRSUnitTests.py219 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/native/opengl/tools/glgen/
Dconvert_to_java.py30 for define in sorted(allDefines, key=lambda define: define[1]):
/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DbuildCommonTypesStructureFile.py75 ordered_values = OrderedDict(sorted(values_dict.items(), key=lambda x: x[1]))
84 ordered_values = OrderedDict(sorted(values_dict.items(), key=lambda x: x[1]))
/frameworks/base/cmds/am/src/com/android/commands/am/
DInstrument.java135 private static Collection<String> sorted(Collection<String> list) { in sorted() method in Instrument
170 for (String key : sorted(results.keySet())) { in onInstrumentationStatusLocked()
191 for (String key : sorted(results.keySet())) { in onInstrumentationFinishedLocked()
307 for (final String key: sorted(bundle.keySet())) { in writeBundle()
/frameworks/native/cmds/installd/
Dmatchgen.py76 for k in sorted(target.keys()):
/frameworks/base/core/tests/coretests/src/android/database/
Dprocess_newdb_perf_test_logs.py65 for k in sorted(timings):
/frameworks/base/tools/hiddenapi/
Dmerge_csv.py61 fieldnames = sorted(headers)
Dgenerate_hiddenapi_lists.py275 flags = sorted([self.convert_to_old_flag(flag) for flag in self._dict[api]])
277 return sorted(lines)
/frameworks/base/tools/aapt2/tools/
Dextract_unicode_properties.py58 for char_prop in sorted(chars.values(), key=CharacterProperty.key):
/frameworks/ml/nn/tools/
Dparse_benchmark.py62 for name in sorted(data):
/frameworks/minikin/tools/
Dmk_hyb_file.py202 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/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleData.java325 .sorted(Comparator.comparingLong(Bubble::getLastActivity)) in trim()
605 .sorted(GROUPS_BY_MAX_SORT_KEY_DESCENDING) in repackAll()
615 .sorted(BUBBLES_BY_SORT_KEY_DESCENDING) in repackAll()
/frameworks/rs/tests/lldb/tests/testcases/
Dtest_reduction.py263 for x, _, __ in sorted(coords_range_3d(X_TESTS, Y_TESTS, Z_TESTS)):
/frameworks/base/core/tests/benchmarks/src/android/util/
DStreamsBenchmark.java86 getOpenSessionCallsList(calls).stream().sorted( in timeStreams()
/frameworks/ml/nn/tools/test_generator/
Dexample_generator.py83 for k in sorted(var.keys())
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmGeneratorTest.java322 .sorted() in findClassNames()
329 .sorted() in findFileNames()
/frameworks/base/tools/aapt2/tools/consumers/
Dduplicates.py33 duplicates = sorted(duplicates, key=lambda x: x.start)
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
Dballs.rscript76 // Create the sorted grid cache
/frameworks/native/opengl/specs/
DEGL_ANDROID_framebuffer_target.txt88 EGLConfigs are not sorted with respect to the parameters
/frameworks/rs/tests/lldb/tests/harness/
Dtest_base.py107 for test in sorted(
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java225 ArrayList<Integer> sorted = new ArrayList<Integer>(); in dump() local
227 sorted.add(pidCounts.keyAt(i)); in dump()
229 Collections.sort(sorted, new Comparator<Integer>() { in dump()
243 for (int i=0; i<sorted.size(); i++) { in dump()
244 int pid = sorted.get(i); in dump()

123