Home
last modified time | relevance | path

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

123456789

/system/chre/host/common/
Dmetrics_reporter.cc94 std::vector<VendorAtomValue> values(1); in logApWakeupOccurred() local
95 values[0].set<VendorAtomValue::longValue>(nanoappId); in logApWakeupOccurred()
99 .values{std::move(values)}, in logApWakeupOccurred()
108 std::vector<VendorAtomValue> values(3); in logNanoappLoadFailed() local
109 values[0].set<VendorAtomValue::longValue>(nanoappId); in logNanoappLoadFailed()
110 values[1].set<VendorAtomValue::intValue>(type); in logNanoappLoadFailed()
111 values[2].set<VendorAtomValue::intValue>(reason); in logNanoappLoadFailed()
115 .values{std::move(values)}, in logNanoappLoadFailed()
123 std::vector<VendorAtomValue> values(2); in logPalOpenFailed() local
124 values[0].set<VendorAtomValue::intValue>(pal); in logPalOpenFailed()
[all …]
Ddaemon_base.cc181 std::vector<VendorAtomValue> values(2); in handleMetricLog() local
182 values[0].set<VendorAtomValue::intValue>(metric.pal()); in handleMetricLog()
183 values[1].set<VendorAtomValue::intValue>(metric.type()); in handleMetricLog()
186 .values{std::move(values)}, in handleMetricLog()
206 std::vector<VendorAtomValue> values(6); in handleMetricLog() local
207 values[0].set<VendorAtomValue::intValue>( in handleMetricLog()
209 values[1].set<VendorAtomValue::intValue>( in handleMetricLog()
211 values[2].set<VendorAtomValue::intValue>( in handleMetricLog()
213 values[3].set<VendorAtomValue::intValue>(metric.num_dropped_events()); in handleMetricLog()
217 values[4].set<VendorAtomValue::intValue>( in handleMetricLog()
[all …]
Dfbs_daemon_base.cc192 std::vector<VendorAtomValue> values(3); in handleDaemonMessage() local
193 values[0].set<VendorAtomValue::longValue>( in handleDaemonMessage()
195 values[1].set<VendorAtomValue::intValue>( in handleDaemonMessage()
197 values[2].set<VendorAtomValue::intValue>( in handleDaemonMessage()
201 .values{std::move(values)}, in handleDaemonMessage()
/system/extras/simpleperf/
Dcommand_test.cpp104 auto values = options.PullValues("--str-option"); in TEST() local
105 ASSERT_EQ(values.size(), 2); in TEST()
106 ASSERT_EQ(*values[0].str_value, "str1"); in TEST()
107 ASSERT_EQ(*values[1].str_value, "str1_2"); in TEST()
111 values = options.PullValues("--opt-str-option"); in TEST()
112 ASSERT_EQ(values.size(), 2); in TEST()
113 ASSERT_TRUE(values[0].str_value == nullptr); in TEST()
114 ASSERT_EQ(*values[1].str_value, "opt_str"); in TEST()
121 ASSERT_TRUE(options.values.empty()); in TEST()
170 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()
129 auto pair = values.equal_range(name); in PullValues()
135 values.erase(name); in PullValues()
/system/unwinding/libunwindstack/tests/
DDwarfCfaTest.cpp115 ASSERT_EQ(32U, location->second.values[0]); in TYPED_TEST_P()
130 ASSERT_EQ(1056U, location->second.values[0]); in TYPED_TEST_P()
146 ASSERT_EQ(2U, location->second.values[0]); in TYPED_TEST_P()
161 ASSERT_EQ(2306U, location->second.values[0]); in TYPED_TEST_P()
177 ASSERT_EQ(0x80U, location->second.values[0]); in TYPED_TEST_P()
193 ASSERT_EQ(static_cast<uint64_t>(-8), location->second.values[0]); in TYPED_TEST_P()
213 cie_loc_regs[2] = {.type = DWARF_LOCATION_REGISTER, .values = {0, 0}}; in TYPED_TEST_P()
245 cie_loc_regs[258] = {.type = DWARF_LOCATION_REGISTER, .values = {0, 0}}; in TYPED_TEST_P()
378 loc_regs[127] = {.type = DWARF_LOCATION_REGISTER, .values = {0, 0}}; in TYPED_TEST_P()
391 loc_regs[255] = {.type = DWARF_LOCATION_REGISTER, .values = {0, 0}}; in TYPED_TEST_P()
[all …]
/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/core/trusty/stats/test/
Dstats_test.cpp259 ASSERT_EQ(String8(vendorAtom.values[0].get<VendorAtomValue::stringValue>()), in TEST_F()
264 ASSERT_EQ(vendorAtom.values[0].get<VendorAtomValue::intValue>(), 5); in TEST_F()
265 ASSERT_EQ(String8(vendorAtom.values[1].get<VendorAtomValue::stringValue>()), in TEST_F()
267 ASSERT_EQ(String8(vendorAtom.values[2].get<VendorAtomValue::stringValue>()), in TEST_F()
269 ASSERT_EQ(vendorAtom.values[3].get<VendorAtomValue::intValue>(), 1); in TEST_F()
270 ASSERT_EQ(vendorAtom.values[4].get<VendorAtomValue::intValue>(), 3); in TEST_F()
271 ASSERT_EQ(vendorAtom.values[5].get<VendorAtomValue::longValue>(), in TEST_F()
273 ASSERT_EQ(vendorAtom.values[6].get<VendorAtomValue::intValue>(), 4); in TEST_F()
274 ASSERT_EQ(vendorAtom.values[7].get<VendorAtomValue::longValue>(), 1023); in TEST_F()
338 ASSERT_EQ(String8(vendorAtom.values[0].get<VendorAtomValue::stringValue>()), in TEST_F()
[all …]
/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/linkerconfig/modules/
Dconfigwriter.cc31 const std::vector<std::string>& values) { in WriteVars() argument
33 for (const auto& value : values) { in WriteVars()
43 const std::vector<std::string>& values, in WriteVars() argument
46 for (const auto& value : values) { in WriteVars()
/system/unwinding/libunwindstack/tools/
Dunwind_reg_info.cpp111 PrintSignedValue(loc->values[0]); in PrintRegInformation()
117 PrintSignedValue(loc->values[0]); in PrintRegInformation()
122 printf("r%" PRId64 " ", loc->values[0]); in PrintRegInformation()
123 PrintSignedValue(loc->values[1]); in PrintRegInformation()
129 PrintExpression(memory, class_type, loc->values[1], loc->values[0]); in PrintRegInformation()
135 PrintExpression(memory, class_type, loc->values[1], loc->values[0]); in PrintRegInformation()
140 printf("%" PRId64 " (pseudo)\n", loc->values[0]); in PrintRegInformation()
/system/extras/simpleperf/scripts/
Dreport_html.py100 processes = sorted(self.processes.values(), key=lambda a: a.event_count, reverse=True)
107 for process in self.processes.values():
108 for thread in process.threads.values():
113 for process in self.processes.values():
114 for thread in process.threads.values():
115 for lib in thread.libs.values():
141 threads = sorted(self.threads.values(), key=lambda a: a.sample_count, reverse=True)
149 self.threads.values()) + list(process.threads.values())
158 for thread in new_threads.values():
213 for lib in self.libs.values():
[all …]
/system/unwinding/libunwindstack/
DDwarfCfa.cpp91 .values = {static_cast<uint64_t>(signed_offset)}}; in GetLocationInfo()
359 (*loc_regs)[reg] = {.type = DWARF_LOCATION_OFFSET, .values = {operands_[1]}}; in cfa_offset()
398 (*loc_regs)[reg] = {.type = DWARF_LOCATION_REGISTER, .values = {reg_dst}}; in cfa_register()
421 (*loc_regs)[CFA_REG] = {.type = DWARF_LOCATION_REGISTER, .values = {operands_[0], operands_[1]}}; in cfa_def_cfa()
434 cfa_location->second.values[0] = operands_[0]; in cfa_def_cfa_register()
447 cfa_location->second.values[1] = operands_[0]; in cfa_def_cfa_offset()
457 .values = {operands_[0], memory_->cur_offset()}}; in cfa_def_cfa_expression()
465 .values = {operands_[1], memory_->cur_offset()}}; in cfa_expression()
473 (*loc_regs)[reg] = {.type = DWARF_LOCATION_OFFSET, .values = {static_cast<uint64_t>(value)}}; in cfa_offset_extended_sf()
481 .values = {operands_[0], static_cast<uint64_t>(offset)}}; in cfa_def_cfa_sf()
[all …]
/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/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/unwinding/libunwindstack/utils/
DMemoryFake.h48 void SetMemory(uint64_t addr, std::vector<uint8_t> values) { in SetMemory() argument
49 SetMemory(addr, values.data(), values.size()); in SetMemory()
/system/chre/host/hal_generic/common/
Dhal_chre_socket_connection.cc259 std::vector<VendorAtomValue> values(1); in handleNanoappMessage() local
260 values[0].set<VendorAtomValue::longValue>(nanoappId); in handleNanoappMessage()
264 .values{std::move(values)}, in handleNanoappMessage()
401 std::vector<VendorAtomValue> values(3); in sendFragmentedLoadNanoAppRequest() local
402 values[0].set<VendorAtomValue::longValue>(request.appId); in sendFragmentedLoadNanoAppRequest()
403 values[1].set<VendorAtomValue::intValue>( in sendFragmentedLoadNanoAppRequest()
405 values[2].set<VendorAtomValue::intValue>( in sendFragmentedLoadNanoAppRequest()
410 .values{std::move(values)}, in sendFragmentedLoadNanoAppRequest()
/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/linkerconfig/modules/include/linkerconfig/
Dconfigwriter.h28 void WriteVars(const std::string& var, const std::vector<std::string>& values);
29 void WriteVars(const std::string& var, const std::vector<std::string>& values,
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dwriter_v3.h88 const size_t values[] = {4_KiB, 8_KiB, 16_KiB, 32_KiB, 64_KiB, 128_KiB, 256_KiB}; in IsBlockAligned() local
90 auto it = std::lower_bound(std::begin(values), std::end(values), size); in IsBlockAligned()
92 if (it != std::end(values) && *it == size) { in IsBlockAligned()
/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/chre/apps/power_test/common/idl/
Dchre_power_test.fbs56 /// nanoapp. The values used here map directly to values from the CHRE API.
65 /// inside the nanoapp. The values used here map directly to values from the
75 /// nanoapp. The values used here map directly to values from the CHRE API.
117 /// The values used here map directly to values from the CHRE API

123456789