|
LunaSysMgr
|
#include "Common.h"#include "ApplicationInstaller.h"#include "ApplicationInstallerErrors.h"#include "ApplicationManager.h"#include "EventReporter.h"#include "WebAppMgrProxy.h"#include "ApplicationDescription.h"#include "BootupAnimation.h"#include "HostBase.h"#include "JSONUtils.h"#include "Logging.h"#include "Settings.h"#include "SystemService.h"#include "Time.h"#include "Preferences.h"#include "Utils.h"#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/wait.h>#include <sys/resource.h>#include <sys/mount.h>#include <unistd.h>#include "cjson/json.h"#include "cjson/json_util.h"#include <errno.h>#include <ftw.h>#include <dirent.h>#include <regex.h>#include <glib.h>#include <fcntl.h>#include <algorithm>#include <QUrl>#include <PIpcChannel.h>#include <PIpcMessageMacros.h>#include "PackageDescription.h"Macros | |
| #define | MESSAGES_INTERNAL_FILE "SysMgrMessagesInternal.h" |
| #define | REMOVER_RETURNC__FAILEDIPKGREMOVE 1 |
| #define | REMOVER_RETURNC__SUCCESS 0 |
| #define | INSTALLER_DEFV__MIN_FREE_MULT 2 |
| #define | INSTALLER_DEFV__APPDB_RESERVE_SPACE_BYTES (1*1024*1024) |
| #define | INSTALLER_DEFV__DEFAULT_TOTAL_APP_RESERVE_BYTES ((uint64_t)(100*1024*1024)) |
| #define | INSTALLER_DEFV__MIN_FREE_TO_DL_ON_MEDIA_BYTES ((uint64_t)(5*1024*1024)) |
| #define | LINEBUFFERSIZE 4*1024 |
| #define | INSTALLER_DEFV__RC_QUERYINSTALLCAP_DOWNLOADSPACEINSUFFICIENT 1 |
| WARNING! these are tied to the app catalog's notion of what the various codes mean. Don't change arbitrarily. More... | |
| #define | INSTALLER_DEFV__RC_QUERYINSTALLCAP_INSTALLSPACEINSUFFICIENT 2 |
| #define INSTALLER_DEFV__APPDB_RESERVE_SPACE_BYTES (1*1024*1024) |
| #define INSTALLER_DEFV__DEFAULT_TOTAL_APP_RESERVE_BYTES ((uint64_t)(100*1024*1024)) |
| #define INSTALLER_DEFV__MIN_FREE_MULT 2 |
| #define INSTALLER_DEFV__MIN_FREE_TO_DL_ON_MEDIA_BYTES ((uint64_t)(5*1024*1024)) |
| #define INSTALLER_DEFV__RC_QUERYINSTALLCAP_DOWNLOADSPACEINSUFFICIENT 1 |
WARNING! these are tied to the app catalog's notion of what the various codes mean. Don't change arbitrarily.
| #define INSTALLER_DEFV__RC_QUERYINSTALLCAP_INSTALLSPACEINSUFFICIENT 2 |
| #define LINEBUFFERSIZE 4*1024 |
| #define MESSAGES_INTERNAL_FILE "SysMgrMessagesInternal.h" |
| #define REMOVER_RETURNC__FAILEDIPKGREMOVE 1 |
| #define REMOVER_RETURNC__SUCCESS 0 |