INSTALL_CONF(conf power-profile-mobile)
INSTALL_CONF(conf power-profile-wearable)
INSTALL_CONF(conf power-profile-tv)
- INSTALL_CONF(conf power-profile-iot-headed)
ENDIF()
# USB connection
INSTALL_CONF(conf display-profile-mobile)
INSTALL_CONF(conf display-profile-wearable)
INSTALL_CONF(conf display-profile-tv)
-INSTALL_CONF(conf display-profile-iot-headed)
# Tests
ADD_SUBDIRECTORY(tests/deviced-common-private-test)
+++ /dev/null
-[Display]
-# deviced is pending lcd on until lock screen shows.
-# This is the maximum pending time.
-# LockScreenWaitingTime=0.3 (second)
-
-# Power-off popup is launched when power key is long pressed.
-# This is duration of pressing power key.
-# LongPressInterval=2 (second)
-
-# This is polling time of auto brightness.
-# LightSensorSamplingInterval=1 (second)
-
-# display state is changed to SLEEP state after this time.
-# If this value is large, it causes power consumption problem.
-# LCDOffTimeout=500 (milli second)
-
-# This is n step of auto brightness.
-# If brightness is change from a to b, brightness's changed n times from a to b.
-# BrightnessChangeStep=10
-
-# Just below application only allow to change display frame rate.
-# refer to enum refresh_app
-# ChangedFrameRateAllowed=setting (setting or all)
-# ControlDisplay=(yes or no)
-
-# LCD is not turned off when this value is yes and key double pressed
-# PowerKeyDoublePressSupport=(yes or no)
-
-# If this value is yes, LCD is always on except pressing power key.
-# Default value is no, LCD is turned off by lcd timeout.
-# LCDAlwaysOn=(yes or no)
-
-# If this value is yes, LCD is turned off by lcd timeout.
-# If this value is no, LCD is turned off just by external requests.
-# TimeoutEnable=(yes or no)
-
-# Turn on display on changing usbhost state
-# Default: yes
-# DisplayOnUsbConnChanged=(yes or no)
-
-# Display direction is horizontal or vertical when there is no rotation.
-# Default: horizontal
-# DisplayInitDirection=(horizontal or vertical)
-
-# This is the type of DPMS.
-# If DPMS type is window_manager, turning display on or off, it uses window manager DPMS.
-# If DPMS type is none, when the DPMS function is called, it does nothing just returns true.
-# Default value is window_manager.
-# DisplayDPMSType=(window_manager or none)
-
-LCDAlwaysOn=no
-TimeoutEnable=yes
-SleepSupport=no
-DisplayOnUsbConnChanged=yes
%description plugin-profile-tv
Plugin libraries for TV devices
-%package plugin-profile-iot-headed
-Summary: Plugin libraries for IoT devices
-Group: System/Management
-Requires: %{name} = %{version}-%{release}
-
-%description plugin-profile-iot-headed
-Plugin libraries for IoT devices
-
%isu_package
%prep
mkdir -p %{_libdir}/deviced
mv %{_libdir}/tv-display.so %{_libdir}/deviced/display.so
-%post plugin-profile-iot-headed
-mv %{_sysconfdir}/deviced/display-profile-iot-headed.conf %{_sysconfdir}/deviced/display.conf
-mv %{_sysconfdir}/deviced/power-profile-iot-headed.conf %{_sysconfdir}/deviced/power.conf
-mkdir -p %{_libdir}/deviced
-
%files
%manifest %{name}.manifest
%license LICENSE.Apache-2.0
%{_libdir}/tv-display.so
%{_unitdir}/rndis.service
%{_bindir}/rndis.sh
-
-%files plugin-profile-iot-headed
-%manifest deviced.manifest
-%license LICENSE.Apache-2.0
-%defattr(-,root,root,-)
-%config %{_sysconfdir}/deviced/display-profile-iot-headed.conf
-%config %{_sysconfdir}/deviced/power-profile-iot-headed.conf
-%{_unitdir}/rndis.service
-%{_bindir}/rndis.sh