/device/google/contexthub/lib/nanohub/ |
D | nanoapp.c | 46 bool readFile(void *dst, uint32_t len, const char *fileName) in readFile() argument 48 FILE *f = fopen(fileName, "rb"); in readFile() 68 void *loadFile(const char *fileName, uint32_t *size) in loadFile() argument 70 FILE *f = fopen(fileName, "rb"); in loadFile() 76 fprintf(stderr, "couldn't open %s: %s\n", fileName, strerror(errno)); in loadFile() 90 fileName, strerror(errno)); in loadFile()
|
/device/google/sunfish/powerstats/ |
D | RailDataProvider.cpp | 133 std::string fileName = devName + "/energy_value"; in parseIioEnergyNode() local 134 if (!android::base::ReadFileToString(fileName, &data)) { in parseIioEnergyNode() 135 ALOGE("Error reading file: %s", fileName.c_str()); in parseIioEnergyNode() 166 ALOGW("Unexpected format in file: %s", fileName.c_str()); in parseIioEnergyNode()
|
/device/google/redbull/powerstats/ |
D | RailDataProvider.cpp | 124 std::string fileName = devName + "/energy_value"; in parseIioEnergyNode() local 125 if (!android::base::ReadFileToString(fileName, &data)) { in parseIioEnergyNode() 126 ALOGE("Error reading file: %s", fileName.c_str()); in parseIioEnergyNode() 156 ALOGW("Unexpected format in file: %s", fileName.c_str()); in parseIioEnergyNode()
|
/device/google/coral/powerstats/ |
D | RailDataProvider.cpp | 133 std::string fileName = devName + "/energy_value"; in parseIioEnergyNode() local 134 if (!android::base::ReadFileToString(fileName, &data)) { in parseIioEnergyNode() 135 ALOGE("Error reading file: %s", fileName.c_str()); in parseIioEnergyNode() 166 ALOGW("Unexpected format in file: %s", fileName.c_str()); in parseIioEnergyNode()
|
/device/google/contexthub/lib/include/nanohub/ |
D | nanoapp.h | 29 bool readFile(void *dst, uint32_t len, const char *fileName); 30 void *loadFile(const char *fileName, uint32_t *size);
|
/device/google/contexthub/util/nanoapp_postprocess/ |
D | postprocess_elf.c | 619 static bool loadNanoappElfFile(const char *fileName, struct ElfNanoApp *app) in loadNanoappElfFile() argument 629 fd = open(fileName, O_RDONLY, 0); in loadNanoappElfFile() 631 ERR("Failed to open file %s for reading: %s", fileName, strerror(errno)); in loadNanoappElfFile() 792 static int handleAppStatic(const char *fileName, FILE *out, uint32_t layoutFlags, uint64_t appId, u… in handleAppStatic() argument 796 if (!loadNanoappElfFile(fileName, &app) in handleAppStatic()
|
/device/google/barbet/dumpstate/ |
D | DumpstateDevice.cpp | 131 static PosixTarHeader *tarHeader(PosixTarHeader *header, char *fileName, ssize_t fileSize) { in tarHeader() argument 133 strcpy(header->name, fileName); in tarHeader()
|
/device/google/coral/dumpstate/ |
D | DumpstateDevice.cpp | 132 static PosixTarHeader *tarHeader(PosixTarHeader *header, char *fileName, ssize_t fileSize) { in tarHeader() argument 134 strcpy(header->name, fileName); in tarHeader()
|
/device/google/redfin/dumpstate/ |
D | DumpstateDevice.cpp | 129 static PosixTarHeader *tarHeader(PosixTarHeader *header, char *fileName, ssize_t fileSize) { in tarHeader() argument 131 strcpy(header->name, fileName); in tarHeader()
|
/device/google/sunfish/dumpstate/ |
D | DumpstateDevice.cpp | 130 static PosixTarHeader *tarHeader(PosixTarHeader *header, char *fileName, ssize_t fileSize) { in tarHeader() argument 132 strcpy(header->name, fileName); in tarHeader()
|
/device/google/zuma/dumpstate/ |
D | dump_power.cpp | 296 std::string fileName = directory + file + "/" + std::string(tcpcVal[1]); in dumpTcpc() local 298 if (!android::base::ReadFileToString(fileName, &content)) { in dumpTcpc()
|
/device/google/zumapro/dumpstate/ |
D | dump_power.cpp | 289 std::string fileName = directory + file + "/" + std::string(tcpcVal[1]); in dumpTcpc() local 291 if (!android::base::ReadFileToString(fileName, &content)) { in dumpTcpc()
|