/system/extras/simpleperf/ |
D | command_test.cpp | 100 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 …]
|
D | command.h | 74 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/ |
D | class_of_device.cc | 52 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/ |
D | DwarfCfaTest.cpp | 114 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 …]
|
D | MemoryFake.h | 57 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/ |
D | README.md | 97 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/ |
D | Annotation.cpp | 60 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/ |
D | AidlNamedType.cpp | 50 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/ |
D | class_of_device.cc | 61 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/ |
D | metadata.py | 65 values = locals() 66 args = {arg: values[arg] for arg in inspect.getfullargspec(metadata).args} 70 if not any(args.values()):
|
/system/unwinding/libunwindstack/tools/ |
D | unwind_reg_info.cpp | 104 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/ |
D | cmd_utils.h | 90 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/ |
D | init_flags.rs | 22 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/ |
D | report_html.py | 99 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/ |
D | DwarfCfa.cpp | 91 .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 …]
|
D | RegsMips.cpp | 154 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/ |
D | SensorDatapoint.java | 28 public float[] values; field in SensorDatapoint 36 for (float val : values) { in toString()
|
D | ApSensorDatapoint.java | 35 values = sensorEvent.values.clone(); in ApSensorDatapoint()
|
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
D | Utils.java | 90 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/ |
D | bluetooth_avrcp_target_binder_server.cc | 138 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/ |
D | configwriter.cc | 27 const std::vector<std::string>& values) { in WriteVars() argument 29 for (const auto& value : values) { in WriteVars()
|
/system/bt/service/ |
D | avrcp_target.cc | 158 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/ |
D | metadata_helpers_test.py | 75 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/ |
D | IBluetoothAvrcpTargetCallback.aidl | 29 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/ |
D | chre_power_test.fbs | 50 /// 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
|