Home
last modified time | relevance | path

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

12

/system/extras/tests/memtest/
Dbandwidth.cpp67 arg_t *values) { in processBandwidthOptions() argument
80 (*values)[name].int_value = strtol(argv[++i], NULL, 0); in processBandwidthOptions()
82 (*values)[name].char_value = argv[++i]; in processBandwidthOptions()
92 BandwidthBenchmark *createBandwidthBenchmarkObject(arg_t values) { in createBandwidthBenchmarkObject() argument
95 const char *name = values["type"].char_value; in createBandwidthBenchmarkObject()
97 if (values.count("size") > 0) { in createBandwidthBenchmarkObject()
98 size = values["size"].int_value; in createBandwidthBenchmarkObject()
139 if (!bench->setSize(values["size"].int_value)) { in createBandwidthBenchmarkObject()
144 if (values.count("num_warm_loops") > 0) { in createBandwidthBenchmarkObject()
145 bench->set_num_loops(values["num_warm_loops"].int_value); in createBandwidthBenchmarkObject()
[all …]
/system/extras/tests/net_test/
Dcstruct.py78 def _SetValues(self, values): argument
79 super(CStruct, self).__setattr__("_values", list(values))
83 values = list(struct.unpack(self._format, data))
84 self._SetValues(values)
86 def __init__(self, values): argument
88 if isinstance(values, str):
89 if len(values) < self._length:
91 (self._name, self._length, len(values)))
92 self._Parse(values)
95 if len(values) != len(self._fields):
[all …]
/system/media/camera/docs/
Dmetadata_helpers_test.py75 enum_calculate_value_string(list(enum.values)[idx]))
77 plain_enum = Enum(parent=None, values=['ON', 'OFF'])
83 labeled_enum = Enum(parent=None, values=['A', 'B', 'C'], ids={
94 values=['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H'],
DCameraMetadataEnums.mako21 * The enum values below this point are generated from metadata
29 // Enumeration values for ${target_class}#${entry.name | jkey_identifier}
32 % for value in entry.enum.values:
Dmetadata_model.py157 def _dictionary_by_name(values): argument
159 for i in values:
856 kind._namespaces = new_ins_dict.values()
857 kind._entries = new_ent_dict.values()
994 def __init__(self, parent, values, ids={}, deprecateds=[], optionals=[], hiddens=[], notes={}): argument
998 for val in values ]
1004 def values(self): member in Enum
1009 return bool(any(i for i in self.values if i.id))
Dcamera_metadata_tags.mako72 * before the section _END tag to preserve existing enumeration values. In
100 % for val in entry.enum.values:
Dcamera_metadata_tag_info.mako77 % for val in entry.enum.values:
Dmetadata_helpers.py554 enum_value_siblings = list(enum_value.parent.values)
673 for value in entry.enum.values:
DCameraMetadataKeys.mako47 % for value in entry.enum.values:
/system/core/liblog/
Devent.logtags5 # negative values alone for now.)
17 # Multiple values are separated by commas.
19 # The data type is a number from the following values:
/system/core/logd/
Devent.logtags5 # negative values alone for now.)
17 # Multiple values are separated by commas.
19 # The data type is a number from the following values:
/system/core/libutils/
DREADME27 additional resource values (and possibly new configurations) for
29 the system will return values from either the application's original
33 Resource values have the following precedence table, listed in
36 * overlay package, matching config (eg res/values-en-land)
40 * overlay package, no config (eg res/values)
68 values depending on configuration.
70 * res/values: integers, strings, etc. Each resource may have different
71 values depending on configuration.
91 Resource values are specified paired with a set of configuration
92 constraints (the default being the empty set), eg res/values-sv-port
[all …]
/system/core/toolbox/
Dgenerate-input.h-labels.py73 def Dump(struct_name, values): argument
75 for value in values:
/system/core/logcat/
Devent.logtags5 # negative values alone for now.)
17 # Multiple values are separated by commas.
19 # The data type is a number from the following values:
57 # Device boot timings. We include monotonic clock values because the
/system/core/libutils/tests/
DLruCache_test.cpp112 void assertInstanceCount(ssize_t keys, ssize_t values) { in assertInstanceCount() argument
113 if (keys != ComplexKey::instanceCount || values != ComplexValue::instanceCount) { in assertInstanceCount()
114 FAIL() << "Expected " << keys << " keys and " << values << " values " in assertInstanceCount()
DBasicHashtable_test.cpp102 void assertInstanceCount(ssize_t keys, ssize_t values) { in assertInstanceCount() argument
103 if (keys != ComplexKey::instanceCount || values != ComplexValue::instanceCount) { in assertInstanceCount()
104 FAIL() << "Expected " << keys << " keys and " << values << " values " in assertInstanceCount()
286 int values = 0; in TEST_F() local
291 values |= 1 << h.entryAt(index).value; in TEST_F()
293 ASSERT_EQ(values, (1 << (i + 1)) - 1); in TEST_F()
/system/vold/bench/
Dbenchgen.py299 for f in files.values():
310 for f in files.values():
326 size = sum([ f.size for f in files.values() ])
/system/bt/test/bluedroidtest/
DREADME.txt65 Please refer to the BT Core spec pages-1099 to 1102 for possible values for
66 the above parameters. These values need to be provided in Decimal format.
/system/core/adf/libadfhwc/include/adfhwc/
Dadfhwc.h125 uint32_t config, const uint32_t *attributes, int32_t *values);
/system/keymaster/
Dandroid_keymaster_test_utils.h277 bool ResponseContains(const std::vector<T>& expected, const T* values, size_t len) { in ResponseContains() argument
279 std::is_permutation(values, values + len, expected.begin()); in ResponseContains()
282 template <typename T> bool ResponseContains(T expected, const T* values, size_t len) { in ResponseContains() argument
283 return (len == 1 && *values == expected); in ResponseContains()
/system/extras/perfprofd/
Dperfprofdcore.cc136 typedef struct { unsigned minv, maxv; } values; typedef in ConfigReader
137 std::map<std::string, values> u_info;
229 values vals; in addUnsignedEntry()
285 values vals; in parseLine()
/system/core/adf/libadfhwc/
Dadfhwc.cpp146 uint32_t config, const uint32_t *attributes, int32_t *values) in adf_getDisplayAttributes() argument
162 values[i] = adf_display_attribute(data, dev->display_configs[config], in adf_getDisplayAttributes()
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
Devent.h107 struct sample_read_value * values; member
/system/core/adb/tests/
Dtest_adb.py383 for dev_file in temp_files.values():
426 for tf in temp_files.values():
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
Devent.h99 struct sample_read_value *values; member

12