Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 25 of 194) sorted by relevance

12345678

/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/
DVehicleObjectPoolTest.cpp205 auto prop = mValuePool->obtainBoolean(true); in TEST_F() local
207 ASSERT_NE(prop, nullptr); in TEST_F()
208 ASSERT_EQ(*prop, (VehiclePropValue{ in TEST_F()
214 auto prop = mValuePool->obtainInt32(1234); in TEST_F() local
216 ASSERT_NE(prop, nullptr); in TEST_F()
217 ASSERT_EQ(*prop, (VehiclePropValue{ in TEST_F()
223 auto prop = mValuePool->obtainInt64(1234); in TEST_F() local
225 ASSERT_NE(prop, nullptr); in TEST_F()
226 ASSERT_EQ(*prop, (VehiclePropValue{ in TEST_F()
232 auto prop = mValuePool->obtainFloat(1.234); in TEST_F() local
[all …]
DVehicleUtilsTest.cpp69 .prop = int32Prop, in getInvalidPropValuesTestCases()
78 .prop = int32Prop, in getInvalidPropValuesTestCases()
85 .prop = int32Prop, in getInvalidPropValuesTestCases()
93 .prop = int32VecProp, in getInvalidPropValuesTestCases()
102 .prop = int32VecProp, in getInvalidPropValuesTestCases()
109 .prop = int64Prop, in getInvalidPropValuesTestCases()
118 .prop = int64Prop, in getInvalidPropValuesTestCases()
125 .prop = int64Prop, in getInvalidPropValuesTestCases()
133 .prop = int64VecProp, in getInvalidPropValuesTestCases()
142 .prop = int64VecProp, in getInvalidPropValuesTestCases()
[all …]
DVehiclePropertyStoreTest.cpp49 return (a.prop < b.prop) || ((a.prop == b.prop) && (a.value < b.value)) || in operator ()()
50 ((a.prop == b.prop) && (a.value == b.value) && (a.areaId < b.areaId)); in operator ()()
75 .prop = toInt(VehicleProperty::INFO_FUEL_CAPACITY), in SetUp()
80 .prop = toInt(VehicleProperty::TIRE_PRESSURE), in SetUp()
122 .prop = toInt(VehicleProperty::INFO_FUEL_CAPACITY), in getTestPropValues()
127 .prop = toInt(VehicleProperty::TIRE_PRESSURE), in getTestPropValues()
133 .prop = toInt(VehicleProperty::TIRE_PRESSURE), in getTestPropValues()
197 .prop = toInt(VehicleProperty::TIRE_PRESSURE), in TEST_F()
232 v->prop = INVALID_PROP_ID; in TEST_F()
243 v->prop = toInt(VehicleProperty::TIRE_PRESSURE); in TEST_F()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DDefaultConfig.h50 .prop = toInt(VehicleProperty::INFO_FUEL_CAPACITY),
58 .prop = toInt(VehicleProperty::INFO_FUEL_TYPE),
66 .prop = toInt(VehicleProperty::INFO_EV_BATTERY_CAPACITY),
74 .prop = toInt(VehicleProperty::INFO_EV_CONNECTOR_TYPE),
82 .prop = toInt(VehicleProperty::INFO_FUEL_DOOR_LOCATION),
90 .prop = toInt(VehicleProperty::INFO_EV_PORT_LOCATION),
98 .prop = toInt(VehicleProperty::INFO_MULTI_EV_PORT_LOCATIONS),
106 .prop = toInt(VehicleProperty::INFO_MAKE),
113 .prop = toInt(VehicleProperty::INFO_MODEL),
120 .prop = toInt(VehicleProperty::INFO_MODEL_YEAR),
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleHalManager.cpp96 auto prop = properties[i]; in getPropConfigs() local
97 if (mConfigIndex->hasConfig(prop)) { in getPropConfigs()
98 configs.push_back(mConfigIndex->getConfig(prop)); in getPropConfigs()
100 ALOGW("Requested config for undefined property: 0x%x", prop); in getPropConfigs()
112 const auto* config = getPropConfigOrNull(requestedPropValue.prop); in get()
115 requestedPropValue.prop); in get()
134 auto prop = value.prop; in set() local
135 const auto* config = getPropConfigOrNull(prop); in set()
137 ALOGE("Failed to set value: config not found, property: 0x%x", prop); in set()
157 auto prop = ops.propId; in subscribe() local
[all …]
DVehiclePropertyStore.cpp30 return prop == other.prop && area == other.area && token == other.token; in operator ==()
34 return prop < other.prop in operator <()
35 || (prop == other.prop && area < other.area) in operator <()
36 || (prop == other.prop && area == other.area && token < other.token); in operator <()
42 mConfigs.insert({ config.prop, RecordConfig { config, tokenFunc } }); in registerProperty()
46 if (!mConfigs.count(propValue.prop)) return false; in writeValueLocked()
88 .prop = propId, in refreshTimestamp()
145 int32_t prop, int32_t area, int64_t token) const { in readValueOrNull() argument
146 RecordId recId = {prop, isGlobalProp(prop) ? 0 : area, token }; in readValueOrNull()
181 .prop = valuePrototype.prop, in getRecordIdLocked()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/test/
DFakeVehicleHardwareTest.cpp237 .prop = value, in getValue()
255 if (!result.prop.has_value()) { in getValue()
260 return result.prop.value(); in getValue()
301 .propId = value.prop, in onPropertyChangeEvent()
377 request.prop.prop = value.prop; in addGetValueRequest()
378 request.prop.areaId = value.areaId; in addGetValueRequest()
385 result.prop = value; in addGetValueRequest()
392 .prop = toInt(VehicleProperty::ENGINE_OIL_LEVEL), in getTestPropValues()
397 .prop = toInt(VehicleProperty::HVAC_TEMPERATURE_CURRENT), in getTestPropValues()
403 .prop = toInt(VehicleProperty::HVAC_TEMPERATURE_CURRENT), in getTestPropValues()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/
DProtoMessageConverter_test.cpp42 EXPECT_EQ(config.prop, tmpConfig.prop); in CheckPropConfigConversion()
52 auto cfgType = getPropType(config.prop); in CheckPropConfigConversion()
92 VehiclePropValue prop; in TEST() local
93 prop.timestamp = elapsedRealtimeNano(); in TEST()
94 prop.areaId = 123; in TEST()
95 prop.prop = property.config.prop; in TEST()
96 prop.value = property.initialValue; in TEST()
97 prop.status = VehiclePropertyStatus::ERROR; in TEST()
98 CheckPropValueConversion(prop); in TEST()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleUtils.h43 inline constexpr VehiclePropertyType getPropType(int32_t prop) { in getPropType() argument
45 prop & toInt(VehiclePropertyType::MASK)); in getPropType()
48 inline constexpr VehiclePropertyGroup getPropGroup(int32_t prop) { in getPropGroup() argument
50 prop & toInt(VehiclePropertyGroup::MASK)); in getPropGroup()
53 inline constexpr VehicleArea getPropArea(int32_t prop) { in getPropArea() argument
54 return static_cast<VehicleArea>(prop & toInt(VehicleArea::MASK)); in getPropArea()
57 inline constexpr bool isGlobalProp(int32_t prop) { in isGlobalProp() argument
58 return getPropArea(prop) == VehicleArea::GLOBAL; in isGlobalProp()
61 inline constexpr bool isSystemProperty(int32_t prop) { in isSystemProperty() argument
62 return VehiclePropertyGroup::SYSTEM == getPropGroup(prop); in isSystemProperty()
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_physical_device_properties_gen.py267 …pdev_properties = [prop for prop in pdev_properties if prop.name != "limits" and prop.name != "spa…
275 for prop in sparse_properties:
276 prop.name = "sparseProperties." + prop.name
282 for prop in pdev_properties:
283 property_names[prop.actual_name] = prop
284 all_properties.append(prop)
287 for prop in property_struct.properties:
288 if prop.actual_name not in property_names:
289 property_names[prop.actual_name] = prop
290 all_properties.append(prop)
[all …]
/hardware/interfaces/biometrics/fingerprint/aidl/default/
Dfingerprint.sysprop7 prop {
17 prop {
27 prop {
42 prop {
51 prop {
60 prop {
69 prop {
82 prop {
91 prop {
104 prop {
[all …]
/hardware/interfaces/biometrics/face/aidl/default/
Dface.sysprop7 prop {
17 prop {
27 prop {
36 prop {
46 prop {
60 prop {
69 prop {
78 prop {
87 prop {
96 prop {
[all …]
/hardware/interfaces/automotive/vehicle/2.0/utils/tests/
DUserHalHelper_test.cpp81 .prop = INITIAL_USER_INFO, in TEST()
101 .prop = INITIAL_USER_INFO, in TEST()
120 .prop = INITIAL_USER_INFO, in TEST()
141 .prop = INITIAL_USER_INFO, in TEST()
153 .prop = INT32_MAX, in TEST()
165 .prop = INITIAL_USER_INFO, in TEST()
177 .prop = INITIAL_USER_INFO, in TEST()
189 .prop = INITIAL_USER_INFO, in TEST()
199 .prop = INITIAL_USER_INFO, in TEST()
210 .prop = SWITCH_USER, in TEST()
[all …]
/hardware/qcom/display/msm8909/libqdutils/
Dprofiler.cpp52 char prop[PROPERTY_VALUE_MAX]; in Init() local
53 property_get("debug.gr.calcfps", prop, "0"); in Init()
54 debug_fps_level = atoi(prop); in Init()
71 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local
74 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata()
75 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata()
78 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata()
79 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata()
81 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata()
82 debug_fps_metadata.period = atoi(prop); in populate_debug_fps_metadata()
[all …]
/hardware/qcom/display/msm8226/libqdutils/
Dprofiler.cpp51 char prop[PROPERTY_VALUE_MAX]; in Init() local
52 property_get("debug.gr.calcfps", prop, "0"); in Init()
53 debug_fps_level = atoi(prop); in Init()
70 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local
73 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata()
74 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata()
77 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata()
78 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata()
80 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata()
81 debug_fps_metadata.period = atoi(prop); in populate_debug_fps_metadata()
[all …]
/hardware/qcom/display/msm8960/libqdutils/
Dprofiler.cpp50 char prop[PROPERTY_VALUE_MAX]; in Init() local
51 property_get("debug.gr.calcfps", prop, "0"); in Init()
52 debug_fps_level = atoi(prop); in Init()
69 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local
72 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata()
73 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata()
76 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata()
77 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata()
79 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata()
80 debug_fps_metadata.period = atoi(prop); in populate_debug_fps_metadata()
[all …]
/hardware/qcom/display/msm8996/libqdutils/
Dprofiler.cpp51 char prop[PROPERTY_VALUE_MAX]; in Init() local
52 property_get("debug.gr.calcfps", prop, "0"); in Init()
53 debug_fps_level = atoi(prop); in Init()
70 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local
73 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata()
74 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata()
77 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata()
78 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata()
80 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata()
81 debug_fps_metadata.period = atoi(prop); in populate_debug_fps_metadata()
[all …]
/hardware/qcom/display/msm8084/libqdutils/
Dprofiler.cpp51 char prop[PROPERTY_VALUE_MAX]; in Init() local
52 property_get("debug.gr.calcfps", prop, "0"); in Init()
53 debug_fps_level = atoi(prop); in Init()
70 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local
73 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata()
74 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata()
77 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata()
78 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata()
80 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata()
81 debug_fps_metadata.period = atoi(prop); in populate_debug_fps_metadata()
[all …]
/hardware/qcom/display/msm8998/libqdutils/
Dprofiler.cpp52 char prop[PROPERTY_VALUE_MAX]; in Init() local
53 property_get("debug.gr.calcfps", prop, "0"); in Init()
54 debug_fps_level = atoi(prop); in Init()
71 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local
74 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata()
75 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata()
78 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata()
79 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata()
81 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata()
82 debug_fps_metadata.period = atoi(prop); in populate_debug_fps_metadata()
[all …]
/hardware/qcom/display/msm8909w_3100/libqdutils/
Dprofiler.cpp52 char prop[PROPERTY_VALUE_MAX]; in Init() local
53 property_get("debug.gr.calcfps", prop, "0"); in Init()
54 debug_fps_level = atoi(prop); in Init()
71 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local
74 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata()
75 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata()
78 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata()
79 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata()
81 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata()
82 debug_fps_metadata.period = atoi(prop); in populate_debug_fps_metadata()
[all …]
/hardware/qcom/display/msm8994/libqdutils/
Dprofiler.cpp51 char prop[PROPERTY_VALUE_MAX]; in Init() local
52 property_get("debug.gr.calcfps", prop, "0"); in Init()
53 debug_fps_level = atoi(prop); in Init()
70 char prop[PROPERTY_VALUE_MAX]; in populate_debug_fps_metadata() local
73 property_get("debug.gr.calcfps.type", prop, "0"); in populate_debug_fps_metadata()
74 debug_fps_metadata.type = (debug_fps_metadata_t::DfmType) atoi(prop); in populate_debug_fps_metadata()
77 property_get("debug.gr.calcfps.timeperiod", prop, "1000"); in populate_debug_fps_metadata()
78 debug_fps_metadata.time_period = atoi(prop); in populate_debug_fps_metadata()
80 property_get("debug.gr.calcfps.period", prop, "10"); in populate_debug_fps_metadata()
81 debug_fps_metadata.period = atoi(prop); in populate_debug_fps_metadata()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/test/
DUserHalHelper_test.cpp98 .prop = INITIAL_USER_INFO, in TEST()
117 .prop = INITIAL_USER_INFO, in TEST()
135 .prop = INITIAL_USER_INFO, in TEST()
147 .prop = INT32_MAX, in TEST()
159 .prop = INITIAL_USER_INFO, in TEST()
171 .prop = INITIAL_USER_INFO, in TEST()
183 .prop = INITIAL_USER_INFO, in TEST()
193 .prop = INITIAL_USER_INFO, in TEST()
204 .prop = SWITCH_USER, in TEST()
223 .prop = INITIAL_USER_INFO, in TEST()
[all …]
/hardware/interfaces/security/keymint/aidl/default/hal/
Dlib.rs26 let prop = |name| { in attestation_id_info() localVariable
33 brand: prop("ro.product.brand"), in attestation_id_info()
34 device: prop("ro.product.device"), in attestation_id_info()
35 product: prop("ro.product.name"), in attestation_id_info()
36 serial: prop("ro.serialno"), in attestation_id_info()
37 manufacturer: prop("ro.product.manufacturer"), in attestation_id_info()
38 model: prop("ro.product.model"), in attestation_id_info()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/obd2frame/test/
DFakeObd2FrameTest.cpp55 return VehiclePropConfig{.prop = OBD2_LIVE_FRAME, in getObd2LiveFrameConfig()
62 return VehiclePropConfig{.prop = OBD2_FREEZE_FRAME, in getObd2FreezeFrameConfig()
69 return VehiclePropConfig{.prop = OBD2_FREEZE_FRAME_INFO, in getObd2FreezeFrameInfoConfig()
84 for (auto prop : std::vector<int32_t>({ in TEST_F() local
91 .prop = prop, in TEST_F()
98 .prop = toInt(VehicleProperty::INFO_VIN), in TEST_F()
133 EXPECT_EQ(result.value()->prop, OBD2_FREEZE_FRAME_INFO); in TEST_F()
143 ASSERT_EQ(result.value()->prop, OBD2_FREEZE_FRAME_INFO); in TEST_F()
167 ASSERT_EQ(result.value()->prop, OBD2_FREEZE_FRAME_INFO); in TEST_F()
175 EXPECT_EQ(result.value()->prop, OBD2_FREEZE_FRAME_INFO); in TEST_F()
[all …]
/hardware/nxp/nfc/snxxx/halimpl/power-tracker/
DNfcProperties.sysprop8 prop {
15 prop {
22 prop {
29 prop {
36 prop {
43 prop {

12345678