Home
last modified time | relevance | path

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

1234

/device/google/trout/hal/vehicle/2.0/
DDefaultVehicleHalServer.cpp42 int32_t numAreas = isGlobalProp(cfg.prop) ? 1 : cfg.areaConfigs.size(); in storePropInitialValue()
45 int32_t curArea = isGlobalProp(cfg.prop) ? 0 : cfg.areaConfigs[i].areaId; in storePropInitialValue()
48 VehiclePropValue prop = { in storePropInitialValue() local
50 .prop = cfg.prop, in storePropInitialValue()
54 prop.value = config.initialValue; in storePropInitialValue()
57 prop.value = valueForAreaIt->second; in storePropInitialValue()
60 << " prop 0x" << std::hex << cfg.prop << " area 0x" << std::hex << curArea; in storePropInitialValue()
61 prop.status = VehiclePropertyStatus::UNAVAILABLE; in storePropInitialValue()
64 mServerSidePropStore.writeValue(prop, true); in storePropInitialValue()
206 req->prop = toInt(VehicleProperty::AP_POWER_STATE_REQ); in createApPowerStateReq()
[all …]
/device/generic/car/emulator/vhal_aidl/VehicleEmulator/
DVehicleEmulator.cpp97 vhal_proto::VehiclePropGet getProp = rxMsg.prop(0); in doGetConfig()
99 int32_t propId = getProp.prop(); in doGetConfig()
135 vhal_proto::VehiclePropGet getProp = rxMsg.prop(0); in doGetProperty()
136 int32_t propId = getProp.prop(); in doGetProperty()
148 .prop = propId, in doGetProperty()
170 for (const auto& prop : mHal->getAllProperties()) { in doGetPropertyAll() local
172 populateProtoVehiclePropValue(*prop, protoVal); in doGetPropertyAll()
191 .prop = protoVal.prop(), in doSetProperty()
195 ALOGD("set property: %d", protoVal.prop()); in doSetProperty()
268 protoCfg->set_prop(cfg.prop); in populateProtoVehicleConfig()
[all …]
/device/generic/car/emulator/vhal_v2_0/
DVehicleEmulator.cpp82 vhal_proto::VehiclePropGet getProp = rxMsg.prop(0); in doGetConfig()
89 if (config.prop == getProp.prop()) { in doGetConfig()
114 vhal_proto::VehiclePropGet getProp = rxMsg.prop(0); in doGetProperty()
115 int32_t propId = getProp.prop(); in doGetProperty()
127 .prop = propId, in doGetProperty()
147 for (const auto& prop : mHal->getAllProperties()) { in doGetPropertyAll() local
149 populateProtoVehiclePropValue(protoVal, &prop); in doGetPropertyAll()
160 .prop = protoVal.prop(), in doSetProperty()
DEmulatedVehicleHalServer.cpp47 if (mInQEMU && value.prop == toInt(VehicleProperty::DISPLAY_BRIGHTNESS)) { in onSetProperty()
77 auto prop = mServerSidePropStore.readValueOrNull(requestedPropValue); in get() local
78 if (prop != nullptr) { in get()
79 v = getValuePool()->obtain(*prop); in get()
132 hidlPropValue.prop = aidlPropValue.prop; in makeHidlVehiclePropValue()
/device/generic/car/emulator/usbpt/protocan/protocanbus/
DExtraCanClient.cpp58 VehiclePropValue prop = {}; in appendKeyInput() local
60 prop.areaId = toInt(VehicleArea::GLOBAL); in appendKeyInput()
61 prop.prop = toInt(VehicleProperty::HW_KEY_INPUT); in appendKeyInput()
62 prop.status = VehiclePropertyStatus::AVAILABLE; in appendKeyInput()
63 prop.value.int32Values = { in appendKeyInput()
70 props.push_back(prop); in appendKeyInput()
/device/linaro/dragonboard-kernel/android-5.10/
Dgki-info.txt1 certify_bootimg_extra_args=--prop ARCH:arm64 --prop BRANCH:android13-5.10 --prop BUILD_NUMBER:92784…
/device/generic/car/emulator/vhal_aidl/VehicleEmulator/test/
DVehicleEmulatorTest.cpp171 ASSERT_EQ(config.prop(), propId); in TEST_F()
247 ASSERT_EQ(gotValue.prop(), propId); in TEST_F()
327 ASSERT_EQ(gotValue.prop(), propId); in TEST_F()
377 .prop = toInt(VehicleProperty::DISPLAY_BRIGHTNESS), in TEST_F()
403 .prop = propId, in TEST_F()
436 ASSERT_EQ(gotValue.prop(), propId); in TEST_F()
445 ASSERT_EQ(gotValue.prop(), propId); in TEST_F()
/device/linaro/dragonboard-kernel/android-6.1/
Dgki-info.txt1 certify_bootimg_extra_args=--prop ARCH:arm64 --prop BRANCH: --prop KERNEL_RELEASE:6.1.68-android14-…
/device/linaro/dragonboard-kernel/android-mainline/
Dgki-info.txt1 certify_bootimg_extra_args=--prop ARCH:arm64 --prop BRANCH: --prop KERNEL_RELEASE:6.8.0-mainline-g8…
/device/linaro/dragonboard-kernel/android-5.15/
Dgki-info.txt1 certify_bootimg_extra_args=--prop ARCH:arm64 --prop BRANCH: --prop KERNEL_RELEASE:5.15.144-android1…
/device/linaro/dragonboard-kernel/android-6.6/
Dgki-info.txt1 certify_bootimg_extra_args=--prop ARCH:arm64 --prop BRANCH: --prop KERNEL_RELEASE:6.6.30-android15-…
/device/generic/goldfish-opengl/system/hwc3/
DDrmAtomicRequest.cpp36 bool DrmAtomicRequest::Set(uint32_t objectId, const DrmProperty& prop, uint64_t value) { in Set() argument
37 int ret = drmModeAtomicAddProperty(mRequest, objectId, prop.getId(), value); in Set()
40 prop.getName().c_str(), value, strerror(errno)); in Set()
/device/generic/goldfish/qemu-props/
Dqemu-props.cpp65 bool need_prepend_prefix(const char* prop, const std::string_view prefix) { in need_prepend_prefix() argument
66 return strncmp(prefix.data(), prop, prefix.size()) && in need_prepend_prefix()
67 !check_if_property_in_list(prop, k_system_properties); in need_prepend_prefix()
/device/generic/goldfish-opengl/system/codecs/omx/plugin/
DGoldfishOMXPlugin.cpp50 AString prop = "debug.stagefright.ccodec"; in useOmxCodecs() local
51 bool myret = property_get(prop.c_str(), propValue, "") > 0 && in useOmxCodecs()
54 ALOGD("%s %d found prop %s val %s", __func__, __LINE__, prop.c_str(), propValue); in useOmxCodecs()
/device/generic/common/mgsi/
DBoardConfigMgsiCommon.mk46 TARGET_SYSTEM_PROP := device/generic/common/mgsi/mgsi_system.prop
48 TARGET_SYSTEM_PROP := device/generic/common/mgsi/mgsi_system_user.prop
/device/google/cuttlefish/shared/chd/
DAndroid.bp21 name: "chd_debug.prop",
22 src: "chd_debug.prop",
/device/google/gs-common/insmod/4k/
Dinsmod.sh70 prop=$(echo $arg | cut -d '|' -f 1)
73 value=$(getprop $prop)
/device/google/gs-common/insmod/16k/
Dinsmod.sh87 prop=$(echo $arg | cut -d '|' -f 1)
90 value=$(getprop $prop)
/device/generic/car/tools/
Dpack_avd_img.sh72 cp $ANDROID_PRODUCT_OUT/system/build.prop $OUT_DIR/build.prop
/device/google/raviole/
DCleanSpec.mk53 $(call add-clean-step, rm -f $(PRODUCT_OUT)/root/default.prop)
54 $(call add-clean-step, rm -f $(TARGET_OUT)/build.prop)
/device/google/bluejay/
DCleanSpec.mk53 $(call add-clean-step, rm -f $(PRODUCT_OUT)/root/default.prop)
54 $(call add-clean-step, rm -f $(TARGET_OUT)/build.prop)
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp1593 char prop[PROPERTY_VALUE_MAX]; in fallback_init() local
1598 property_get("ro.boot.hardware", prop, ""); in fallback_init()
1600 bool isValid = prop[0] != '\0'; in fallback_init()
1602 if (isValid && !strcmp(prop, "cutf_cvm")) { in fallback_init()
1609 property_get("ro.boot.qemu.gles", prop, "999"); in fallback_init()
1612 switch (atoi(prop)) { in fallback_init()
/device/google/cuttlefish/shared/phone/
Ddevice_vendor.mk50 TARGET_PRODUCT_PROP := $(LOCAL_PATH)/product.prop
51 TARGET_VENDOR_PROP := $(LOCAL_PATH)/vendor.prop
/device/google/gs201/
DCleanSpec.mk53 $(call add-clean-step, rm -f $(PRODUCT_OUT)/root/default.prop)
54 $(call add-clean-step, rm -f $(TARGET_OUT)/build.prop)
/device/google/zuma/
DCleanSpec.mk53 $(call add-clean-step, rm -f $(PRODUCT_OUT)/root/default.prop)
54 $(call add-clean-step, rm -f $(TARGET_OUT)/build.prop)

1234