You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
923 B
35 lines
923 B
/*
|
|
* 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 <string>
|
|
|
|
#include <gui/ISurfaceComposer.h>
|
|
#include <gui/SurfaceComposerClient.h>
|
|
#include <gui/Surface.h>
|
|
|
|
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 |