Searched refs:headerBuffer (Results 1 – 6 of 6) sorted by relevance
/system/chre/host/common/ |
D | preloaded_nanoapp_loader.cc | 39 std::vector<uint8_t> &headerBuffer) { in getNanoappHeaderFromFile() argument 40 if (!readFileContents(headerFileName, headerBuffer)) { in getNanoappHeaderFromFile() 44 if (headerBuffer.size() != sizeof(NanoAppBinaryHeader)) { in getNanoappHeaderFromFile() 70 std::vector<uint8_t> headerBuffer; in getPreloadedNanoappIds() local 71 if (!getNanoappHeaderFromFile(headerFileName.c_str(), headerBuffer)) { in getPreloadedNanoappIds() 76 reinterpret_cast<const NanoAppBinaryHeader *>(headerBuffer.data()); in getPreloadedNanoappIds() 99 std::vector<uint8_t> headerBuffer; in loadPreloadedNanoapps() local 100 if (!getNanoappHeaderFromFile(headerFilename.c_str(), headerBuffer)) { in loadPreloadedNanoapps() 106 reinterpret_cast<const NanoAppBinaryHeader *>(headerBuffer.data()); in loadPreloadedNanoapps()
|
D | daemon_base.cc | 108 std::vector<uint8_t> headerBuffer; in loadPreloadedNanoapp() local 116 if (!readFileContents(headerFile.c_str(), headerBuffer) || in loadPreloadedNanoapp() 117 !loadNanoapp(headerBuffer, nanoappFilename, transactionId)) { in loadPreloadedNanoapp()
|
/system/chre/host/exynos/ |
D | exynos_daemon.cc | 168 std::vector<uint8_t> headerBuffer; in loadPreloadedNanoapp() local 174 if (readFileContents(headerFilename.c_str(), headerBuffer) && in loadPreloadedNanoapp() 176 !loadNanoapp(headerBuffer, nanoappBuffer, transactionId)) { in loadPreloadedNanoapp()
|
/system/chre/host/common/test/ |
D | chre_test_client.cc | 273 std::vector<uint8_t> headerBuffer; in sendLoadNanoappRequest() local 275 if (readFileContents(headerPath, headerBuffer) && in sendLoadNanoappRequest() 277 if (headerBuffer.size() != sizeof(NanoAppBinaryHeader)) { in sendLoadNanoappRequest() 282 reinterpret_cast<const NanoAppBinaryHeader *>(headerBuffer.data()); in sendLoadNanoappRequest()
|
/system/chre/host/common/test/power_test/ |
D | chre_power_test_client.cc | 386 std::vector<uint8_t> headerBuffer; in sendLoadNanoappRequest() local 390 if (readFileContents(headerName.c_str(), headerBuffer) && in sendLoadNanoappRequest() 392 if (headerBuffer.size() != sizeof(NanoAppBinaryHeader)) { in sendLoadNanoappRequest() 397 reinterpret_cast<const NanoAppBinaryHeader *>(headerBuffer.data()); in sendLoadNanoappRequest()
|
/system/chre/host/hal_generic/aidl/ |
D | generic_context_hub_aidl.cc | 741 std::vector<uint8_t> headerBuffer; in getPreloadedNanoappIdsFromConfigFile() local 742 if (!readFileContents(headerFile.c_str(), headerBuffer)) { in getPreloadedNanoappIdsFromConfigFile() 747 if (headerBuffer.size() != sizeof(NanoAppBinaryHeader)) { in getPreloadedNanoappIdsFromConfigFile() 753 reinterpret_cast<const NanoAppBinaryHeader *>(headerBuffer.data()); in getPreloadedNanoappIdsFromConfigFile()
|