Home
last modified time | relevance | path

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

12

/frameworks/native/cmds/installd/
Dmatchgen.py17 import collections, sys
63collections.defaultdict(lambda: collections.defaultdict(lambda: collections.defaultdict(lambda: co…
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakDetector.java135 TrackedCollections collections = new TrackedCollections(); in create() local
136 return new LeakDetector(collections, new TrackedGarbage(collections), in create()
137 new TrackedObjects(collections)); in create()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
D_parameterized.py148 import collections
177 return (isinstance(obj, collections.Iterable) and not
182 if isinstance(testcase_params, collections.Mapping):
225 if isinstance(testcase_params, collections.Mapping):
294 list(testcases) if not isinstance(testcases, collections.Sequence)
Dcontainers.py44 import collections
109 if not isinstance(other, collections.Mapping):
176 collections.Mapping.register(Mapping)
177 collections.MutableMapping.register(MutableMapping)
182 MutableMapping = collections.MutableMapping
340 collections.MutableSequence.register(BaseContainer)
Dproto_builder_test.py36 from collections import OrderedDict
Dmessage_test.py47 import collections
559 self.assertIsInstance(m.repeated_int32, collections.MutableSequence)
561 collections.MutableSequence)
1708 self.assertIsInstance(msg.map_int32_int32, collections.Mapping)
1709 self.assertIsInstance(msg.map_int32_int32, collections.MutableMapping)
1710 self.assertIsInstance(msg.map_int32_foreign_message, collections.Mapping)
1712 collections.MutableMapping)
/frameworks/native/services/inputflinger/host/
DInputDriver.cpp85 … std::unordered_map<input_collection_id_t, input_collection, InputCollectionIdHasher> collections; member
162 report->collections[id] = {.arity = arity}; in inputReportDefinitionAddCollection()
168 if (report->collections.find(id) != report->collections.end()) { in inputReportDefinitionDeclareUsageInt()
169 report->collections[id].intUsages.push_back({ in inputReportDefinitionDeclareUsageInt()
176 if (report->collections.find(id) != report->collections.end()) { in inputReportDefinitionDeclareUsagesBool()
178 report->collections[id].boolUsages.push_back(usage[i]); in inputReportDefinitionDeclareUsagesBool()
/frameworks/ml/nn/runtime/test/specs/V1_2/
Dtopk_v2.mod.py16 import collections
18 TestCase = collections.namedtuple("TestCase", [
Dcast.mod.py18 import collections
20 Operand = collections.namedtuple(
Dslice.mod.py16 import collections
18 TestCase = collections.namedtuple("TestCase", [
/frameworks/base/tools/localedata/
Dextract_icu_data.py20 import collections
263 script_organized_dict = collections.defaultdict(dict)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/jenkins/
Dmake_test_output.py23 from collections import defaultdict
/frameworks/native/opengl/tools/glgen2/
Dglgen.py19 import collections
144 self.enums = collections.OrderedDict()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Dproto_builder.py34 from collections import OrderedDict
Djson_format.py46 from collections import OrderedDict
/frameworks/base/tests/JankBench/scripts/external/
Dstatistics.py102 import collections
296 table = collections.Counter(iter(data)).most_common()
/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DbuildStrategiesStructureFile.py29 from collections import OrderedDict
DbuildPolicyCriterionTypes.py29 from collections import OrderedDict
/frameworks/base/tools/fonts/
Dfontchain_linter.py3 import collections
214 _script_to_font_map = collections.defaultdict(set)
393 output_dict = collections.defaultdict(set)
/frameworks/rs/tests/lldb/tests/harness/
Dutil_android.py24 import collections
47 self._prop_stacks = collections.defaultdict(list)
/frameworks/base/tools/hiddenapi/
Dgenerate_hiddenapi_lists.py20 from collections import defaultdict
/frameworks/rs/tests/lldb/
Drun_tests.py26 import collections
530 status_handlers = collections.defaultdict(lambda: ('error', log.error), (
/frameworks/base/tools/apilint/
Dapilint.py29 import re, sys, collections, traceback, argparse, itertools
1310 known = collections.defaultdict(int)
1436 overloads = collections.defaultdict(list)
1446 count = collections.defaultdict(int)
1499 by_name = collections.defaultdict(list)
2183 stats = collections.defaultdict(int)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/
Dmox.py62 from collections import deque
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Dmessage.cc2925 ScopedPyObjectPtr collections(PyImport_ImportModule("collections")); in CheckAndGetInteger() local
2926 if (collections == NULL) { in CheckAndGetInteger()
2930 PyObject_GetAttrString(collections.get(), "MutableSequence")); in CheckAndGetInteger()

12