display: Add set attribute for current state 28/297228/1
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 14 Aug 2023 07:55:14 +0000 (16:55 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 14 Aug 2023 07:55:14 +0000 (16:55 +0900)
commit2f51df8a2f659e2c8a9300e7f988b876734315eb
tree6b3034e68fc3ad4bd14bdff9f89b97bb0f35cc11
parentc9dccb1b66ac7c75cd83a9942d348d97afdd24a4
display: Add set attribute for current state

New attribute:
 - id: DEVICED_DISPLAY_ATTR_TUPLE2_SET_CURRENT_STATE
 - type: SYSCOMMON_RESMAN_DATA_TYPE_UIN64_UINT64
 - setter: O
 - getter: X

It sets display current state. It receives two parameters,
 - enum deviced_display_state
  : next state to be changed
 - enum deviced_event
  : reason why the state changed

Change-Id: I9e3bca655b85f0639fa50ea6d21cee62e2dc909d
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/display/display-panel.c
src/display/display-state-transition.c
src/display/display-state-transition.h
src/display/resource-display.c