Home
last modified time | relevance | path

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

123

/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()
144 if (values.count("num_warm_loops") > 0) { in createBandwidthBenchmarkObject()
145 bench->set_num_loops(values["num_warm_loops"].int_value); in createBandwidthBenchmarkObject()
147 if (values.count("num_loops") > 0) { in createBandwidthBenchmarkObject()
[all …]
/system/extras/tests/net_test/
Dcstruct.py104 def _SetValues(self, values): argument
105 super(CStruct, self).__setattr__("_values", list(values))
109 values = list(struct.unpack(self._format, data))
110 for index, value in enumerate(values):
112 values[index] = self._nested[index](value)
113 self._SetValues(values)
115 def __init__(self, values): argument
117 if isinstance(values, str):
118 if len(values) < self._length:
120 (self._name, self._length, len(values)))
[all …]
/system/connectivity/shill/
Dproperty_store_unittest.cc338 bool values[] = {true, true}; in TEST_F() local
339 store.RegisterWriteOnlyBool(keys[0], &values[0]); in TEST_F()
340 store.RegisterBool(keys[1], &values[1]); in TEST_F()
345 EXPECT_TRUE(values[1] == it.value()); in TEST_F()
355 EXPECT_EQ(values[1], test_value); in TEST_F()
359 int16_t values[] = {127, 128}; in TEST_F() local
360 store.RegisterWriteOnlyInt16(keys[0], &values[0]); in TEST_F()
361 store.RegisterInt16(keys[1], &values[1]); in TEST_F()
366 EXPECT_EQ(values[1], it.value()); in TEST_F()
376 EXPECT_EQ(values[1], test_value); in TEST_F()
[all …]
Dproperty_store.h69 bool GetStringmapProperty(const std::string& name, Stringmap* values,
71 bool GetStringmapsProperty(const std::string& name, Stringmaps* values,
73 bool GetStringsProperty(const std::string& name, Strings* values,
121 const std::map<std::string, std::string>& values,
126 const std::vector<std::map<std::string, std::string>>& values,
130 const std::vector<std::string>& values,
Dproperty_store.cc277 Stringmap* values, in GetStringmapProperty() argument
279 return GetProperty(name, values, error, stringmap_properties_, in GetStringmapProperty()
284 Stringmaps* values, in GetStringmapsProperty() argument
286 return GetProperty(name, values, error, stringmaps_properties_, in GetStringmapsProperty()
291 Strings* values, in GetStringsProperty() argument
293 return GetProperty(name, values, error, strings_properties_, "a string list"); in GetStringsProperty()
365 const map<string, string>& values, in SetStringmapProperty() argument
367 return SetProperty(name, values, error, &stringmap_properties_, in SetStringmapProperty()
373 const vector<map<string, string>>& values, in SetStringmapsProperty() argument
375 return SetProperty(name, values, error, &stringmaps_properties_, in SetStringmapsProperty()
[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:
871 kind._namespaces = new_ins_dict.values()
872 kind._entries = new_ent_dict.values()
1016 def __init__(self, parent, values, ids={}, deprecateds=[], argument
1021 for val in values ]
1027 def values(self): member in Enum
1032 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:
/system/extras/perfprofd/
Dconfigreader.h60 typedef struct { unsigned minv, maxv; } values; typedef
61 std::map<std::string, values> u_info;
Dconfigreader.cc136 values vals; in addUnsignedEntry()
179 values vals; in overrideUnsignedEntry()
207 values vals; in parseLine()
/system/core/init/
Dperfboot.py269 values = get_values(record, tag)
270 if not values:
272 return values[-1]
312 values = get_values(record, tag)
313 if len(values) < values_counter[tag]:
316 values += [0] * (values_counter[tag] - len(values))
317 line.write('\t'.join(str(t) for t in 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/mkbootimg/
Dmkbootimg85 def __call__(self, parser, namespace, values, option_string=None): argument
86 if len(values) > self.maxlen:
88 format(self.maxlen, len(values)))
89 setattr(namespace, self.dest, values)
/system/core/toolbox/
Dgenerate-input.h-labels.py75 def Dump(struct_name, values): argument
77 for value in values:
/system/core/metricsd/uploader/proto/
Dhistogram_event.proto32 // The sum of all the sample values.
33 // Together with the total count of the sample values, this allows us to
34 // compute the average value. The count of all sample values is just the sum
/system/tpm/attestation/common/
Dproto_print.py95 self.values = []
103 self.values.append(value_name)
312 for value_name in enum.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/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/core/adf/libadfhwc/include/adfhwc/
Dadfhwc.h125 uint32_t config, const uint32_t *attributes, int32_t *values);
/system/keymaster/
Dandroid_keymaster_test_utils.h288 bool ResponseContains(const std::vector<T>& expected, const T* values, size_t len) { in ResponseContains() argument
290 std::is_permutation(values, values + len, expected.begin()); in ResponseContains()
293 template <typename T> bool ResponseContains(T expected, const T* values, size_t len) { in ResponseContains() argument
294 return (len == 1 && *values == expected); in ResponseContains()
/system/bt/
D.gn18 # tree and to set startup options. For documentation on the values set in this
/system/core/libutils/tests/
DLruCache_test.cpp131 void assertInstanceCount(ssize_t keys, ssize_t values) { in assertInstanceCount() argument
132 if (keys != ComplexKey::instanceCount || values != ComplexValue::instanceCount) { in assertInstanceCount()
133 FAIL() << "Expected " << keys << " keys and " << values << " values " in assertInstanceCount()

123