Home
last modified time | relevance | path

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

12345678910

/system/extras/simpleperf/
Dcommand_test.cpp100 auto values = options.PullValues("--str-option"); in TEST() local
101 ASSERT_EQ(values.size(), 2); in TEST()
102 ASSERT_EQ(*values[0].str_value, "str1"); in TEST()
103 ASSERT_EQ(*values[1].str_value, "str1_2"); in TEST()
107 values = options.PullValues("--opt-str-option"); in TEST()
108 ASSERT_EQ(values.size(), 2); in TEST()
109 ASSERT_TRUE(values[0].str_value == nullptr); in TEST()
110 ASSERT_EQ(*values[1].str_value, "opt_str"); in TEST()
117 ASSERT_TRUE(options.values.empty()); in TEST()
165 options.values.emplace("--uint-option", value); in TEST()
[all …]
Dcommand.h74 std::multimap<OptionName, OptionValue> values; member
113 if (auto it = values.find(name); it != values.end()) { in PullValue()
115 values.erase(it); in PullValue()
121 auto pair = values.equal_range(name); in PullValues()
127 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/unwinding/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/tools/hidl/hidl2aidl/
DAidlNamedType.cpp50 std::vector<const EnumValue*> values; in emitEnumAidlDefinition() local
57 values.insert(values.end(), type->values().rbegin(), type->values().rend()); in emitEnumAidlDefinition()
64 for (auto it = values.rbegin(); it != values.rend(); ++it) { in emitEnumAidlDefinition()
/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/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/unwinding/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/iorap/src/common/
Dcmd_utils.h90 const std::vector<T>& values) { in AppendArgsRepeatedly() argument
91 for (const T& v : values) { in AppendArgsRepeatedly()
102 const std::vector<T>& values) { in AppendArgsRepeatedly() argument
103 for (const T& v : values) { in AppendArgsRepeatedly()
115 const std::vector<T2>& values) { in AppendNamedArgRepeatedly() argument
116 for (const T2& v :values) { in AppendNamedArgRepeatedly()
/system/bt/gd/rust/common/src/
Dinit_flags.rs22 let values: Vec<&str> = flag.split("=").collect(); localVariable
23 if values.len() != 2 {
28 match values[0] {
29 … $(concat!("INIT_", stringify!($flag)) => $flag = values[1].parse().unwrap_or(false),)*
/system/extras/simpleperf/scripts/
Dreport_html.py99 processes = sorted(self.processes.values(), key=lambda a: a.event_count, reverse=True)
106 for process in self.processes.values():
107 for thread in process.threads.values():
112 for process in self.processes.values():
113 for thread in process.threads.values():
114 for lib in thread.libs.values():
139 threads = sorted(self.threads.values(), key=lambda a: a.event_count, reverse=True)
147 self.threads.values()) + list(process.threads.values())
156 for thread in new_threads.values():
211 for lib in self.libs.values():
[all …]
/system/unwinding/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/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/
DSensorDatapoint.java28 public float[] values; field in SensorDatapoint
36 for (float val : values) { in toString()
DApSensorDatapoint.java35 values = sensorEvent.values.clone(); in ApSensorDatapoint()
/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.cc158 const std::string& str_addr, const std::vector<AvrcpIntValue>& values) { in GetPlayerAppValueResponse() argument
161 if (values.size() >= ARRAY_SIZE(btrc_values.attr_ids)) { in GetPlayerAppValueResponse()
166 btrc_values.num_attr = values.size(); in GetPlayerAppValueResponse()
167 for (size_t i = 0; i < values.size(); ++i) { in GetPlayerAppValueResponse()
168 btrc_values.attr_ids[i] = values[i].id(); in GetPlayerAppValueResponse()
169 btrc_values.attr_values[i] = values[i].value(); in GetPlayerAppValueResponse()
192 const std::string& str_addr, const std::vector<AvrcpStringValue>& values) { in GetPlayerAppValueTextResponse() argument
194 auto btrc_values = StringValueToPlayerSettingsText(values); in GetPlayerAppValueTextResponse()
320 std::vector<AvrcpIntValue> values; in SetPlayerAppValueCallback() local
321 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/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
/system/chre/apps/power_test/common/idl/
Dchre_power_test.fbs50 /// nanoapp. The values used here map directly to values from the CHRE API.
59 /// inside the nanoapp. The values used here map directly to values from the
69 /// nanoapp. The values used here map directly to values from the CHRE API.
111 /// The values used here map directly to values from the CHRE API

12345678910