Home
last modified time | relevance | path

Searched refs:lightType (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/base/sensors/miscdevice/test/unittest/light/
H A Dlight_agent_test.cpp106 …htInfo[i].lightId, g_lightInfo[i].lightName, g_lightInfo[i].lightNumber, g_lightInfo[i].lightType);
108 g_lightType = g_lightInfo[i].lightType;
127 bool GetLightColor(LightColor &color, int32_t lightType) in GetLightColor() argument
129 switch (lightType) { in GetLightColor()
152 MISC_HILOGE("lightType:%{public}d invalid", lightType); in GetLightColor()
/ohos5.0/drivers/peripheral/light/
H A DREADME.md72 ret = g_lightDev->TurnOnLight(g_lightInfo[i].lightType, &effect);
77 ret = g_lightDev->TurnOffLight(g_lightInfo[i].lightType);
87 ret = g_lightDev->TurnOnLight(g_lightInfo[i].lightType, &effect);
92 ret = g_lightDev->TurnOffLight(g_lightInfo[i].lightType);
97 ret = g_lightDev->TurnOffLight(lightType);
/ohos5.0/base/sensors/miscdevice/utils/common/src/
H A Dlight_info_ipc.cpp60 void LightInfoIPC::SetLightType(int32_t lightType) in SetLightType() argument
62 lightType_ = lightType; in SetLightType()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/light_v1_0/cpp_target/light/v1_0/
H A Dlight_types.cpp.txt45 if (!data.WriteInt32(dataBlock.lightType)) {
46 HDF_LOGE("%{public}s: write dataBlock.lightType failed!", __func__);
71 if (!data.ReadInt32(dataBlock.lightType)) {
72 HDF_LOGE("%{public}s: read dataBlock.lightType failed!", __func__);
H A Dlight_types.h.txt72 int32_t lightType;
/ohos5.0/base/sensors/miscdevice/interfaces/inner_api/light/
H A Dlight_agent_type.h49 int32_t lightType; /** Light type. For details, see {@link LightType}. */ member
/ohos5.0/base/sensors/miscdevice/utils/common/include/
H A Dlight_info_ipc.h36 void SetLightType(int32_t lightType);
/ohos5.0/drivers/peripheral/light/interfaces/v1_0/
H A Dilight_type_vdi.h46 int32_t lightType; member
/ohos5.0/drivers/peripheral/light/hdi_impl/
H A Dlight_interface_impl.cpp62 hdfLightInfo.lightType = lightInfo->lightType; in GetLightInfo()
/ohos5.0/drivers/peripheral/light/hdi_service/
H A Dlight_if_service.cpp107 hdfLightInfo.lightType = iter.lightType; in GetLightInfo()
/ohos5.0/drivers/peripheral/light/interfaces/include/
H A Dlight_type.h199 int32_t lightType; /** Light type. For details, see {@link HdfLightType}. */ member
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/hdi_connection/adapter/src/
H A Dcompatible_light_connection.cpp47 light.SetLightType(lightInfo[i].lightType); in GetLightList()
H A Dhdi_light_connection.cpp69 light.SetLightType(lightInfos[i].lightType); in GetLightList()
/ohos5.0/drivers/hdf_core/framework/model/misc/light/driver/include/
H A Dlight_driver.h138 int32_t lightType; member
/ohos5.0/base/powermgr/battery_manager/services/native/src/
H A Dbattery_light.cpp48 lightInfo[i].lightId, lightInfo[i].lightNumber, lightInfo[i].lightType); in InitLight()
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-light-des.md371 lightInfo.lightType = HDF_LIGHT_TYPE_RGB_COLOR;
372 if (!HdfSbufWriteUint32(reply, lightInfo.lightType)) {
373 HDF_LOGE("%s: write lightType failed", __func__);
529 if (!HdfSbufReadInt32(reply, &pos->lightType)) {
530 HDF_LOGE("%{public}s:read lightType failed!", __func__);
/ohos5.0/drivers/peripheral/light/hal/src/
H A Dlight_dump.c67 lightDevice->lightInfoEntry->lightType); in ShowLightInfo()
H A Dlight_controller.c120 if (!HdfSbufReadInt32(reply, &pos->lightType)) { in ReadLightInfo()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/light_v1_0/dump_ast_target/
H A Ddump.txt43 int lightType;
/ohos5.0/base/sensors/miscdevice/frameworks/native/light/src/
H A Dlight_client.cpp206 lightInfo->lightType = lightInfoList_[i].GetLightType(); in ConvertLightInfos()
/ohos5.0/drivers/hdf_core/framework/model/misc/light/driver/src/
H A Dlight_driver.c70 lightInfo.lightType = HDF_LIGHT_TYPE_RGB_COLOR; in GetAllLightInfo()
71 if (!HdfSbufWriteUint32(reply, lightInfo.lightType)) { in GetAllLightInfo()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics3d/
H A Djs-apis-inner-scene.md111 createLight(params: SceneNodeParameters, lightType: LightType): Promise\<Light>
121 | lightType | [LightType](js-apis-inner-scene-nodes.md#lighttype) | 是 | 灯光类型。 |
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-light-des.md373 lightInfo.lightType = HDF_LIGHT_TYPE_RGB_COLOR;
374 if (!HdfSbufWriteUint32(reply, lightInfo.lightType)) {
375 HDF_LOGE("%s: write lightType failed", __func__);
531 if (!HdfSbufReadInt32(reply, &pos->lightType)) {
532 HDF_LOGE("%{public}s:read lightType failed!", __func__);
/ohos5.0/drivers/interface/light/v1_0/
H A DLightTypes.idl72 int lightType; /** Light type. For details, see {@link HdfLightType}. */
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/light_v1_0/foo/light/v1_0/
H A DLightTypes.idl72 int lightType; /** Light type. For details, see {@link HdfLightType}. */

12