display: Make diaplay lock data private 12/294112/5
authorYoungjae Cho <y0.cho@samsung.com>
Tue, 13 Jun 2023 07:50:59 +0000 (16:50 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Fri, 16 Jun 2023 01:40:02 +0000 (10:40 +0900)
commit333653e09525d784bb161a460694412d6e2a1efc
tree368bd2b3da3694e292dcea6ded071185b7553f0f
parent9f9ed65f7211990425d03b5a79719a7e0efe5869
display: Make diaplay lock data private

Changed list name 'cond_head' to 'g_display_lock_list'. Previously, the
list had been exposed to another module using get_cond_head(). Remove
the function to protect the data from being accessed oustide of the
display-lock.c. Instead, the display-lock.c now provides services that
the other module has done using get_cond_head(). Currently, the only
below function has been added for display-misc.c.
 - display_lock_print_lock_info()

All existing get_cond_head() has been replaced by proper functions.

Change-Id: I4e4603f44c6613d71bb0b1e05abe6d45ae4a39c5
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/display/display-lock.c
src/display/display-lock.h
src/display/display-misc.c
src/time/time-handler.c