/* * Copyright (c) Hisilicon Technologies Co., Ltd.. 2016-2019. All rights reserved. * Description: bootvideo manager head file */ #ifndef __BOOT_VIDEO_MANAGER_H__ #define __BOOT_VIDEO_MANAGER_H__ #include #include #include #include namespace android { static const std::string SYS_BOOTCOMPLETE = "sys.boot_completed"; int GetPlayTimeInfo(); bool IsBootComplete(); bool IsSTRPlay(); bool CheckPath(std::string path); void BootvideoSetPath(std::string path); // fixed bootvideo path of lib demo int BootvideoInitVolume(); std::string BootvideoGetPath(); // stop play bool StopPlayBootVideo(); bool BootvideoFailProc(); // start play bool StartPlayBootvideo(); // loop play void CheckIfExitPlay(); bool SetDrawTime(int limitMs); // limitMs unit is ms bool CheckIfTimeOut(int limitMs); // limitMs unit is ms }; // namespace android #endif