Lines Matching refs:logoPath
57 static void WriteLogoContent(int fd, const std::string &logoPath, uint32_t size)
63 FILE *rgbFile = fopen(logoPath.c_str(), "rb");
89 static int WriteLogo(int fd, const std::string &logoPath)
93 BSH_LOGI("Failed lseek logoPath %s errno %d ", logoPath.c_str(), errno);
99 BSH_LOGI("Failed magic logoPath %s errno %d ", logoPath.c_str(), errno);
116 if (stat(logoPath.c_str(), &st) < 0) {
118 BSH_LOGI("%s is not exist", logoPath.c_str());
120 BSH_LOGI("Failed to get %s stat", logoPath.c_str());
139 WriteLogoContent(fd, logoPath, logoSize);
143 static void WriteLogoToMisc(const std::string &logoPath)
145 if (logoPath.empty()) {
155 if (WriteLogo(fd, logoPath) < 0) {