Lines Matching refs:appBinary
386 const NanoAppBinary& appBinary, in loadNanoApp() argument
404 .app_id.id = htole64(appBinary.appId), in loadNanoApp()
405 .app_version = htole32(appBinary.appVersion), in loadNanoApp()
406 .flags = htole32(appBinary.flags), in loadNanoApp()
408 .target_chre_api_major_version = appBinary.targetChreApiMajorVersion, in loadNanoApp()
409 .target_chre_api_minor_version = appBinary.targetChreApiMinorVersion, in loadNanoApp()
413 std::vector<uint8_t> binaryWithHeader(appBinary.customBinary); in loadNanoApp()
524 static bool readApp(const char *file, NanoAppBinary *appBinary) in readApp() argument
536 appBinary->appId = header->app_id.id; in readApp()
537 appBinary->appVersion = header->app_version; in readApp()
538 appBinary->flags = header->flags; in readApp()
539 appBinary->targetChreApiMajorVersion = header->target_chre_api_major_version; in readApp()
540 appBinary->targetChreApiMinorVersion = header->target_chre_api_minor_version; in readApp()
541 …appBinary->customBinary = std::vector<uint8_t>(static_cast<const uint8_t *>(buf) + sizeof(struct n… in readApp()
569 NanoAppBinary appBinary; in debug() local
570 if (readApp(hh_data[1].c_str(), &appBinary)) in debug()
571 loadNanoApp(0, appBinary, 0); in debug()