Home
last modified time | relevance | path

Searched refs:fields (Results 1 – 25 of 83) sorted by relevance

1234

/hardware/qcom/sm8150/vr/
Dvr.c69 ALOGI("\tfield_name = %s", instance->fields[i].field_name); in log_config_instance()
70 ALOGI("\tdata_type = %u", instance->fields[i].data_type); in log_config_instance()
71 ALOGI("\tnum_data = %u", instance->fields[i].num_data); in log_config_instance()
72 switch (instance->fields[i].data_type){ in log_config_instance()
73 case FIELD_INT: ALOGI("\tdata = %d", *(int*)(instance->fields[i].data)); in log_config_instance()
75 case FIELD_STR: ALOGI("\tdata = %s", (char*)(instance->fields[i].data)); in log_config_instance()
77 default: ALOGI("\tdata = 0x%p", instance->fields[i].data); in log_config_instance()
166 if (config->fields) { in free_config_instance()
167 free(config->fields[0].data); in free_config_instance()
168 free(config->fields[0].field_name); in free_config_instance()
[all …]
/hardware/qcom/sdm845/vr/
Dvr.c69 ALOGI("\tfield_name = %s", instance->fields[i].field_name); in log_config_instance()
70 ALOGI("\tdata_type = %u", instance->fields[i].data_type); in log_config_instance()
71 ALOGI("\tnum_data = %u", instance->fields[i].num_data); in log_config_instance()
72 switch (instance->fields[i].data_type){ in log_config_instance()
73 case FIELD_INT: ALOGI("\tdata = %d", *(int*)(instance->fields[i].data)); in log_config_instance()
75 case FIELD_STR: ALOGI("\tdata = %s", (char*)(instance->fields[i].data)); in log_config_instance()
77 default: ALOGI("\tdata = 0x%p", instance->fields[i].data); in log_config_instance()
166 if (config->fields) { in free_config_instance()
167 free(config->fields[0].data); in free_config_instance()
168 free(config->fields[0].field_name); in free_config_instance()
[all …]
/hardware/google/pixel/perfstatsd/
Dcpu_usage.cpp37 std::vector<std::string> fields = android::base::Split(line, " "); in CpuUsage() local
38 if (fields[0].find("cpu") != std::string::npos && fields[0] != "cpu") { in CpuUsage()
89 std::vector<std::string> fields = android::base::Split(pidStat, " "); in profileProcess() local
96 if (!base::ParseUint(fields[0], &pid) || in profileProcess()
97 !base::ParseUint(fields[13], &utime) || in profileProcess()
98 !base::ParseUint(fields[14], &stime) || in profileProcess()
99 !base::ParseUint(fields[15], &cutime) || in profileProcess()
100 !base::ParseUint(fields[16], &cstime)) { in profileProcess()
104 std::string proc = fields[1]; in profileProcess()
164 std::vector<std::string> fields = android::base::Split(line, " "); in getOverallUsage() local
[all …]
Dio_usage.cpp378 std::vector<std::string> fields = android::base::Split(line, " "); in loadDataFromLine() local
379 if (fields.size() < 11 || !android::base::ParseUint(fields[0], &data.uid) || in loadDataFromLine()
380 !android::base::ParseUint(fields[3], &data.fgRead) || in loadDataFromLine()
381 !android::base::ParseUint(fields[4], &data.fgWrite) || in loadDataFromLine()
382 !android::base::ParseUint(fields[7], &data.bgRead) || in loadDataFromLine()
383 !android::base::ParseUint(fields[8], &data.bgWrite) || in loadDataFromLine()
384 !android::base::ParseUint(fields[9], &data.fgFsync) || in loadDataFromLine()
385 !android::base::ParseUint(fields[10], &data.bgFsync)) { in loadDataFromLine()
/hardware/google/av/codec2/tests/
DC2Param_test.cpp144 std::vector<C2FieldDescriptor> fields = GetParam(), expected = C2TestStruct_A::_FIELD_LIST; in TEST_P() local
147 EXPECT_EQ(FD::INT32, fields[0].type()); in TEST_P()
148 EXPECT_STREQ("s32", fields[0].name().c_str()); in TEST_P()
149 EXPECT_EQ(1u, fields[0].extent()); in TEST_P()
150 EXPECT_EQ(_C2FieldId(0, 4), fields[0]._mFieldId); in TEST_P()
152 EXPECT_EQ(expected[0], fields[0]); in TEST_P()
153 EXPECT_EQ(expected[1], fields[1]); in TEST_P()
154 EXPECT_EQ(expected[2], fields[2]); in TEST_P()
155 EXPECT_EQ(expected[3], fields[3]); in TEST_P()
156 EXPECT_EQ(expected[4], fields[4]); in TEST_P()
[all …]
/hardware/google/av/codec2/vndk/internal/
DC2ParamInternal.h97 std::vector<C2FieldDescriptor> &&fields) { in CreateStructDescriptor()
98 return C2StructDescriptor(index, std::move(fields)); in CreateStructDescriptor()
/hardware/qcom/msm8998/thermal-engine/
Dthermal_client.h79 struct field_data *fields; member
/hardware/interfaces/tests/memory/2.0/
DIMemoryInterface.hal8 // Given two memory regions of the same size, returns two memory fields of
/hardware/interfaces/gnss/1.1/
DIGnssMeasurementCallback.hal39 * In this version of the HAL, these fields of the
47 * fields of @1.0::IGnssMeasurementCallback.GnssMeasurement v1_0:
/hardware/google/interfaces/media/c2/1.0/
DIConfigurable.hal132 * Retrieves the supported values for the queried fields.
135 * values for the fields listed as well as a status for each field.
136 * Object shall process all fields queried even if some queries fail.
150 * for the selected fields.
/hardware/interfaces/drm/1.1/
Dtypes.hal67 * A detail about the metric being captured. The fields of an Attribute
84 * one value for the given metric. The fields of the Value are
100 * value. A metric may have 0 or more attributes. The fields of a Metric
/hardware/interfaces/radio/1.2/
Dtypes.hal104 * insignificant fields. Modem must invoke IRadioIndication.networkStateChanged() when
105 * significant fields are updated regardless of whether this bit is set.
107 * The following fields are considered significant: VoiceRegStateResult.regState,
468 * all fields should be set to INT_MAX to mark them as invalid.
473 * all fields should be set to INT_MAX to mark them as invalid.
478 * all fields should be set to INT_MAX to mark them as invalid.
483 * all fields should be set to INT_MAX to mark them as invalid.
488 * otherwise all fields should be set to INT_MAX to mark them as invalid.
493 * all fields should be set to INT_MAX to mark them as invalid.
/hardware/google/av/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DConfigurableC2Intf.h63 std::vector<C2FieldSupportedValuesQuery>& fields, c2_blocking_t mayBlock) const = 0;
/hardware/interfaces/nfc/1.1/
Dtypes.hal32 * discovery* fields map to "RF Technology and Mode" in NCI Spec
33 * protocol* fields map to "RF protocols" in NCI Spec
/hardware/google/av/codec2/include/
DC2Component.h328 std::vector<C2FieldSupportedValuesQuery> &fields, c2_blocking_t mayBlock) const = 0;
967 std::vector<C2FieldSupportedValuesQuery> &fields) const = 0;
/hardware/google/av/codec2/hidl/1.0/utils/
DComponentStore.cpp102 std::vector<C2FieldSupportedValuesQuery> &fields, in querySupportedValues()
106 if (mayBlock == C2_DONT_BLOCK && fields.size() != 0) { in querySupportedValues()
109 return mStore->querySupportedValues_sm(fields); in querySupportedValues()
DInputSurface.cpp109 std::vector<C2FieldSupportedValuesQuery>& fields, in querySupportedValues() argument
111 return mImpl->querySupportedValues(fields, mayBlock); in querySupportedValues()
DComponent.cpp80 std::vector<C2FieldSupportedValuesQuery>& fields, in querySupportedValues()
83 return mIntf->querySupportedValues_vb(fields, mayBlock); in querySupportedValues()
570 std::vector<C2FieldSupportedValuesQuery>& fields, in querySupportedValues()
572 (void)fields; in querySupportedValues()
/hardware/google/av/codec2/vndk/util/
DC2InterfaceHelper.cpp174 void setFields(std::vector<C2ParamFieldValues> &&fields) { in setFields() argument
182 for (C2ParamFieldValues &pfv : fields) { in setFields()
321 void C2InterfaceHelper::ParamHelper::setFields(std::vector<C2ParamFieldValues> &&fields) { in setFields() argument
322 return mImpl->setFields(std::move(fields)); in setFields()
786 std::vector<C2FieldSupportedValuesQuery> &fields, c2_blocking_t mayBlock __unused) const { in querySupportedValues() argument
788 for (C2FieldSupportedValuesQuery &query : fields) { in querySupportedValues()
/hardware/google/av/codec2/hidl/client/
Dclient.cpp285 std::vector<C2FieldSupportedValuesQuery>& fields, in querySupportedValues() argument
287 hidl_vec<FieldSupportedValuesQuery> inFields(fields.size()); in querySupportedValues()
288 for (size_t i = 0; i < fields.size(); ++i) { in querySupportedValues()
289 Status hidlStatus = objcpy(&inFields[i], fields[i]); in querySupportedValues()
300 [&status, &inFields, &fields]( in querySupportedValues()
309 if (r.size() != fields.size()) { in querySupportedValues()
315 for (size_t i = 0; i < fields.size(); ++i) { in querySupportedValues()
316 status = objcpy(&fields[i], inFields[i], r[i]); in querySupportedValues()
/hardware/google/av/media/codecs/base/include/
DSimpleC2Interface.h66 std::vector<C2FieldSupportedValuesQuery> &fields, in querySupportedValues_vb() argument
68 return mImpl->querySupportedValues(fields, mayBlock); in querySupportedValues_vb()
/hardware/interfaces/usb/1.1/
Dtypes.hal46 * The supportedModes and the currentMode fields of the status
/hardware/interfaces/camera/common/1.0/
Dtypes.hal324 * the conflicting_devices fields), but usage of these devices may fail in
351 * Based on the conflicting_devices fields, the camera service guarantees
355 * Based on the resourceCost fields, if a high-priority foreground
385 * Based on the conflicting_devices fields, the camera service guarantees
389 * Based on the resourceCost fields, only the highest priority application
/hardware/interfaces/health/1.0/
DIHealth.hal26 * fields of the config parameter.
/hardware/interfaces/media/c2/1.0/
DIConfigurable.hal193 * Retrieves the supported values for the queried fields.
195 * The object must process all fields queried even if some queries fail.
223 * - `BLOCKING` - Querying some fields requires blocking, but @p mayblock

1234