Home
last modified time | relevance | path

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

12345678

/system/extras/simpleperf/
Dcommand_test.cpp110 auto values = options.PullValues("--str-option").value(); in TEST() local
111 ASSERT_EQ(values.size(), 2); in TEST()
112 ASSERT_EQ(*values[0].str_value, "str1"); in TEST()
113 ASSERT_EQ(*values[1].str_value, "str2"); in TEST()
114 values = options.PullValues("--opt-str-option").value(); in TEST()
115 ASSERT_EQ(values.size(), 2); in TEST()
116 ASSERT_TRUE(values[0].str_value == nullptr); in TEST()
117 ASSERT_EQ(*values[1].str_value, "opt_str"); in TEST()
124 ASSERT_TRUE(options.values.empty()); in TEST()
169 options.values.emplace("--uint-option", value); in TEST()
[all …]
Dcommand.h74 std::multimap<OptionName, OptionValue> values; member
108 if (auto it = values.find(name); it != values.end()) { in PullValue()
110 values.erase(it); in PullValue()
116 auto pair = values.equal_range(name); in PullValues()
122 values.erase(name); in PullValues()
/system/bt/types/
Dclass_of_device.cc52 uint16_t values[3]; in FromString() local
58 values[i] = strtol(token.c_str(), &temp, 16); in FromString()
62 new_cod.cod[0] = values[2]; in FromString()
63 new_cod.cod[1] = values[1] | ((values[0] & 0xf) << 4); in FromString()
64 new_cod.cod[2] = values[0] >> 4; in FromString()
/system/core/libunwindstack/tests/
DDwarfCfaTest.cpp114 ASSERT_EQ(32U, location->second.values[0]); in TYPED_TEST_P()
129 ASSERT_EQ(1056U, location->second.values[0]); in TYPED_TEST_P()
145 ASSERT_EQ(2U, location->second.values[0]); in TYPED_TEST_P()
160 ASSERT_EQ(2306U, location->second.values[0]); in TYPED_TEST_P()
176 ASSERT_EQ(0x80U, location->second.values[0]); in TYPED_TEST_P()
192 ASSERT_EQ(static_cast<uint64_t>(-8), location->second.values[0]); in TYPED_TEST_P()
212 cie_loc_regs[2] = {.type = DWARF_LOCATION_REGISTER, .values = {0, 0}}; in TYPED_TEST_P()
243 cie_loc_regs[258] = {.type = DWARF_LOCATION_REGISTER, .values = {0, 0}}; in TYPED_TEST_P()
376 loc_regs[127] = {.type = DWARF_LOCATION_REGISTER, .values = {0, 0}}; in TYPED_TEST_P()
389 loc_regs[255] = {.type = DWARF_LOCATION_REGISTER, .values = {0, 0}}; in TYPED_TEST_P()
[all …]
DMemoryFake.h57 void SetMemory(uint64_t addr, std::vector<uint8_t> values) { in SetMemory() argument
58 SetMemory(addr, values.data(), values.size()); in SetMemory()
/system/tools/xsdc/
DREADME.md97 values: any valid java name
100 values: built-in data type, simpleType or complexType
103 values: another element
106 values: [ 0, maxOccurs ]
109 values: [ 1, unbounded ]
115 values: any valid java name
118 values: built-in data type, simpleType or complexType
121 values: another element
127 values: any valid java name
139 values: built-in data type
[all …]
/system/tools/hidl/
DAnnotation.cpp60 std::vector<std::string>* values) in StringAnnotationParam() argument
61 : AnnotationParam(name), mValues(values) {} in StringAnnotationParam()
111 const std::vector<std::string>& values = param->getValues(); in dump() local
112 if (values.size() > 1) { in dump()
116 out << StringHelper::JoinStrings(values, ", "); in dump()
118 if (values.size() > 1) { in dump()
/system/bt/gd/hci/
Dclass_of_device.cc61 uint16_t values[3]; in FromString() local
77 values[index] = std::strtol(token.c_str(), &temp, 16); in FromString()
89 new_cod.cod[0] = values[2]; in FromString()
90 new_cod.cod[1] = values[1] | ((values[0] & 0xf) << 4); in FromString()
91 new_cod.cod[2] = values[0] >> 4; in FromString()
/system/extras/simpleperf/scripts/
Dreport_html.py85 processes = sorted(self.processes.values(), key=lambda a: a.event_count, reverse=True)
92 for process in self.processes.values():
93 for thread in process.threads.values():
98 for process in self.processes.values():
99 for thread in process.threads.values():
100 for lib in thread.libs.values():
125 threads = sorted(self.threads.values(), key=lambda a: a.event_count, reverse=True)
132 thread_list = list(self.threads.values()) + list(process.threads.values())
141 for thread in new_threads.values():
193 for lib in self.libs.values():
[all …]
/system/bt/gd/cert/
Dmetadata.py65 values = locals()
66 args = {arg: values[arg] for arg in inspect.getfullargspec(metadata).args}
70 if not any(args.values()):
/system/core/libunwindstack/tools/
Dunwind_reg_info.cpp104 PrintSignedValue(loc->values[0]); in PrintRegInformation()
110 PrintSignedValue(loc->values[0]); in PrintRegInformation()
115 printf("r%" PRId64 " ", loc->values[0]); in PrintRegInformation()
116 PrintSignedValue(loc->values[1]); in PrintRegInformation()
122 PrintExpression(memory, class_type, loc->values[1], loc->values[0]); in PrintRegInformation()
128 PrintExpression(memory, class_type, loc->values[1], loc->values[0]); in PrintRegInformation()
133 printf("%" PRId64 " (pseudo)\n", loc->values[0]); in PrintRegInformation()
/system/core/libunwindstack/
DDwarfCfa.cpp91 .values = {static_cast<uint64_t>(signed_offset)}}; in GetLocationInfo()
351 (*loc_regs)[reg] = {.type = DWARF_LOCATION_OFFSET, .values = {operands_[1]}}; in cfa_offset()
390 (*loc_regs)[reg] = {.type = DWARF_LOCATION_REGISTER, .values = {reg_dst}}; in cfa_register()
413 (*loc_regs)[CFA_REG] = {.type = DWARF_LOCATION_REGISTER, .values = {operands_[0], operands_[1]}}; in cfa_def_cfa()
426 cfa_location->second.values[0] = operands_[0]; in cfa_def_cfa_register()
439 cfa_location->second.values[1] = operands_[0]; in cfa_def_cfa_offset()
449 .values = {operands_[0], memory_->cur_offset()}}; in cfa_def_cfa_expression()
457 .values = {operands_[1], memory_->cur_offset()}}; in cfa_expression()
465 (*loc_regs)[reg] = {.type = DWARF_LOCATION_OFFSET, .values = {static_cast<uint64_t>(value)}}; in cfa_offset_extended_sf()
473 .values = {operands_[0], static_cast<uint64_t>(offset)}}; in cfa_def_cfa_sf()
[all …]
DRegsMips.cpp154 uint64_t values[MIPS_REG_LAST]; in StepIfSignalHandler() local
155 if (!process_memory->ReadFully(regs_[MIPS_REG_SP] + offset, values, sizeof(values))) { in StepIfSignalHandler()
160 regs_[MIPS_REG_PC] = values[0]; in StepIfSignalHandler()
164 regs_[MIPS_REG_R0 + i] = values[1 + i]; in StepIfSignalHandler()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DUtils.java90 static <X> boolean allUnique(Collection<X> values) { in allUnique() argument
91 Set<X> set = set(values); in allUnique()
92 return values.size() == set.size(); in allUnique()
101 static <X> Set<X> set(Collection<X> values) { in set() argument
102 return new HashSet<>(values); in set()
/system/bt/service/ipc/binder/
Dbluetooth_avrcp_target_binder_server.cc138 const std::vector<::android::bluetooth::BluetoothAvrcpIntValue>& values, in GetPlayerAppValueResponse() argument
142 non_binder.reserve(values.size()); in GetPlayerAppValueResponse()
143 for (const auto& val : values) { in GetPlayerAppValueResponse()
166 const std::vector<::android::bluetooth::BluetoothAvrcpStringValue>& values, in GetPlayerAppValueTextResponse() argument
170 non_binder.reserve(values.size()); in GetPlayerAppValueTextResponse()
171 for (const auto& val : values) { in GetPlayerAppValueTextResponse()
259 const std::vector<int32_t>& values) { in OnGetPlayerAppValuesText() argument
263 values); in OnGetPlayerAppValuesText()
268 const std::vector<bluetooth::AvrcpIntValue>& values) { in OnSetPlayerAppValue() argument
270 binder_values.reserve(values.size()); in OnSetPlayerAppValue()
[all …]
/system/linkerconfig/modules/
Dconfigwriter.cc27 const std::vector<std::string>& values) { in WriteVars() argument
29 for (const auto& value : values) { in WriteVars()
/system/bt/service/
Davrcp_target.cc157 const std::string& str_addr, const std::vector<AvrcpIntValue>& values) { in GetPlayerAppValueResponse() argument
160 if (values.size() >= arraysize(btrc_values.attr_ids)) { in GetPlayerAppValueResponse()
165 btrc_values.num_attr = values.size(); in GetPlayerAppValueResponse()
166 for (size_t i = 0; i < values.size(); ++i) { in GetPlayerAppValueResponse()
167 btrc_values.attr_ids[i] = values[i].id(); in GetPlayerAppValueResponse()
168 btrc_values.attr_values[i] = values[i].value(); in GetPlayerAppValueResponse()
191 const std::string& str_addr, const std::vector<AvrcpStringValue>& values) { in GetPlayerAppValueTextResponse() argument
193 auto btrc_values = StringValueToPlayerSettingsText(values); in GetPlayerAppValueTextResponse()
319 std::vector<AvrcpIntValue> values; in SetPlayerAppValueCallback() local
320 values.reserve(p_vals->num_attr); in SetPlayerAppValueCallback()
[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'],
/system/extras/libperfmgr/
DNode.cc92 std::vector<std::string> values; in GetValues() local
94 values.emplace_back(value.GetRequestValue()); in GetValues()
96 return values; in GetValues()
/system/bt/service/common/android/bluetooth/
DIBluetoothAvrcpTargetCallback.aidl29 void OnGetPlayerAppValuesText(String addr, int attr_id, in int[] values); in OnGetPlayerAppValuesText() argument
30 void OnSetPlayerAppValue(String addr, in BluetoothAvrcpIntValue[] values); in OnSetPlayerAppValue() argument
DIBluetoothAvrcpTarget.aidl39 in BluetoothAvrcpIntValue[] values); in GetPlayerAppValueResponse() argument
45 in BluetoothAvrcpStringValue[] values); in GetPlayerAppValueTextResponse() argument
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DUtilsTest.java132 private static <X> List<X> list(X... values) { in list() argument
133 return Arrays.asList(values); in list()
136 private static <X> Set<X> set(X... values) { in set() argument
137 return new HashSet<>(Arrays.asList(values)); in set()
/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/bt/
DEventLogTags.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/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:

12345678