Home
last modified time | relevance | path

Searched refs:APPSPAWN_STATIC (Results 1 - 23 of 23) sorted by relevance

/base/startup/appspawn/modules/common/
H A Dappspawn_namespace.c41 APPSPAWN_STATIC pid_t GetPidByName(const char *name);
48 APPSPAWN_STATIC AppSpawnNamespace *GetAppSpawnNamespace(const AppSpawnMgr *content) in GetAppSpawnNamespace()
59 APPSPAWN_STATIC void DeleteAppSpawnNamespace(AppSpawnNamespace *namespace) in DeleteAppSpawnNamespace()
77 APPSPAWN_STATIC void FreeAppSpawnNamespace(struct TagAppSpawnExtData *data) in FreeAppSpawnNamespace()
84 APPSPAWN_STATIC AppSpawnNamespace *CreateAppSpawnNamespace(void) in CreateAppSpawnNamespace()
99 APPSPAWN_STATIC pid_t GetPidByName(const char *name) in GetPidByName()
146 APPSPAWN_STATIC int NsInitFunc() in NsInitFunc()
161 APPSPAWN_STATIC int GetNsPidFd(pid_t pid) in GetNsPidFd()
177 APPSPAWN_STATIC int PreLoadEnablePidNs(AppSpawnMgr *content) in PreLoadEnablePidNs()
238 APPSPAWN_STATIC in
[all...]
H A Dappspawn_begetctl.c26 APPSPAWN_STATIC void SetSystemEnv(void) in SetSystemEnv()
36 APPSPAWN_STATIC void RunAppSandbox(const char *ptyName) in RunAppSandbox()
68 APPSPAWN_STATIC int RunBegetctlBootApp(AppSpawnMgr *content, AppSpawningCtx *property) in RunBegetctlBootApp()
H A Dappspawn_cgroup.c36 APPSPAWN_STATIC int GetCgroupPath(const AppSpawnedProcessInfo *appInfo, char *buffer, uint32_t buffLen) in GetCgroupPath()
51 APPSPAWN_STATIC int WriteToFile(const char *path, int truncated, pid_t pids[], uint32_t count) in WriteToFile()
170 APPSPAWN_STATIC int ProcessMgrRemoveApp(const AppSpawnMgr *content, const AppSpawnedProcessInfo *appInfo) in ProcessMgrRemoveApp()
196 APPSPAWN_STATIC int ProcessMgrAddApp(const AppSpawnMgr *content, const AppSpawnedProcessInfo *appInfo) in ProcessMgrAddApp()
H A Dappspawn_common.c495 APPSPAWN_STATIC int SetFdEnv(AppSpawnMgr *content, AppSpawningCtx *property) in SetFdEnv()
/base/startup/appspawn/modules/nweb_adapter/
H A Dnwebspawn_adapter.cpp39 #define APPSPAWN_STATIC static macro
41 #define APPSPAWN_STATIC macro
61 APPSPAWN_STATIC bool SetSeccompPolicyForRenderer(void *nwebRenderHandle) in SetSeccompPolicyForRenderer()
78 APPSPAWN_STATIC std::string GetArkWebEngineLibName() in GetArkWebEngineLibName()
87 APPSPAWN_STATIC std::string GetArkWebRenderLibName() in GetArkWebRenderLibName()
96 APPSPAWN_STATIC int RunChildProcessor(AppSpawnContent *content, AppSpawnClient *client) in RunChildProcessor()
/base/startup/appspawn/service/devicedebug/base/
H A Ddevicedebug_base.h31 #define APPSPAWN_STATIC static macro
33 #define APPSPAWN_STATIC macro
/base/startup/appspawn/service/devicedebug/kill/src/
H A Ddevicedebug_kill.c34 APPSPAWN_STATIC void DeviceDebugShowKillHelp(void) in DeviceDebugShowKillHelp()
42 APPSPAWN_STATIC char* DeviceDebugJsonStringGeneral(int pid, const char *op, cJSON *args) in DeviceDebugJsonStringGeneral()
59 APPSPAWN_STATIC int DeviceDebugKill(int pid, int signal) in DeviceDebugKill()
/base/startup/appspawn/service/devicedebug/
H A Ddevicedebug_main.c33 APPSPAWN_STATIC int DeviceDebugShowHelp(int argc, char *argv[]) in DeviceDebugShowHelp()
52 APPSPAWN_STATIC DeviceDebugManagerCmdInfo* DeviceDebugCmdCheck(const char *cmd) in DeviceDebugCmdCheck()
/base/startup/appspawn/modules/native_adapter/
H A Dnative_adapter.cpp35 APPSPAWN_STATIC int BuildFdInfoMap(const AppSpawnMsgNode *message, std::map<std::string, int> &fdMap, int isColdRun) in BuildFdInfoMap()
109 APPSPAWN_STATIC int PreLoadNativeSpawn(AppSpawnMgr *content) in PreLoadNativeSpawn()
/base/startup/appspawn/modules/ace_adapter/
H A Dace_adapter.cpp133 APPSPAWN_STATIC void LoadExtendCJLib(void) in LoadExtendCJLib()
142 APPSPAWN_STATIC int BuildFdInfoMap(const AppSpawnMsgNode *message, std::map<std::string, int> &fdMap, int isColdRun) in BuildFdInfoMap()
208 APPSPAWN_STATIC int RunChildByRenderCmd(const AppSpawnMgr *content, const AppSpawningCtx *property) in RunChildByRenderCmd()
255 APPSPAWN_STATIC int PreLoadAppSpawn(AppSpawnMgr *content) in PreLoadAppSpawn()
/base/startup/appspawn/util/include/
H A Dappspawn_utils.h38 #define APPSPAWN_STATIC static macro
40 #define APPSPAWN_STATIC macro
/base/startup/appspawn/service/hnp/base/
H A Dhnp_sal.c56 APPSPAWN_STATIC void HnpRelPath(const char *fromPath, const char *toPath, char *relPath) in HnpRelPath()
H A Dhnp_base.h61 #define APPSPAWN_STATIC static macro
63 #define APPSPAWN_STATIC macro
/base/startup/appspawn/modules/sandbox/
H A Dsandbox_load.c122 APPSPAWN_STATIC unsigned long GetMountModeFromConfig(const cJSON *config, const char *key, unsigned long def) in GetMountModeFromConfig()
184 APPSPAWN_STATIC uint32_t GetFlagIndexFromJson(const cJSON *config) in GetFlagIndexFromJson()
245 APPSPAWN_STATIC int ParseMountPathsConfig(AppSpawnSandboxCfg *sandbox, in ParseMountPathsConfig()
291 APPSPAWN_STATIC int ParseSymbolLinksConfig(AppSpawnSandboxCfg *sandbox, const cJSON *symbolLinkConfigs, in ParseSymbolLinksConfig()
308 APPSPAWN_STATIC int ParseGidTableConfig(AppSpawnSandboxCfg *sandbox, const cJSON *configs, SandboxSection *section) in ParseGidTableConfig()
613 APPSPAWN_STATIC int ParseAppSandboxConfig(const cJSON *root, ParseJsonContext *context) in ParseAppSandboxConfig()
665 APPSPAWN_STATIC const char *GetSandboxNameByMode(RunMode mode) in GetSandboxNameByMode()
H A Dsandbox_cfgvar.c44 APPSPAWN_STATIC int VarPackageNameReplace(const SandboxContext *context, in VarPackageNameReplace()
119 APPSPAWN_STATIC int ReplaceVariableForDepSandboxPath(const SandboxContext *context, in ReplaceVariableForDepSandboxPath()
130 APPSPAWN_STATIC int ReplaceVariableForDepSrcPath(const SandboxContext *context, in ReplaceVariableForDepSrcPath()
141 APPSPAWN_STATIC int ReplaceVariableForDepPath(const SandboxContext *context, in ReplaceVariableForDepPath()
H A Dsandbox_manager.c485 APPSPAWN_STATIC int PreLoadIsoLatedSandboxCfg(AppSpawnMgr *content) in PreLoadIsoLatedSandboxCfg()
509 APPSPAWN_STATIC int PreLoadSandboxCfg(AppSpawnMgr *content) in PreLoadSandboxCfg()
529 APPSPAWN_STATIC int IsolatedSandboxHandleServerExit(AppSpawnMgr *content) in IsolatedSandboxHandleServerExit()
537 APPSPAWN_STATIC int SandboxHandleServerExit(AppSpawnMgr *content) in SandboxHandleServerExit()
679 APPSPAWN_STATIC int SandboxUnmountPath(const AppSpawnMgr *content, const AppSpawnedProcessInfo *appInfo) in SandboxUnmountPath()
H A Dsandbox_expand.c36 APPSPAWN_STATIC int MountAllHsp(const SandboxContext *context, const cJSON *hsps) in MountAllHsp()
84 APPSPAWN_STATIC int MountAllGroup(const SandboxContext *context, const cJSON *groups) in MountAllGroup()
H A Dappspawn_sandbox.c63 APPSPAWN_STATIC inline bool CheckSpawningPermissionFlagSet(const SandboxContext *context, uint32_t index) in CheckSpawningPermissionFlagSet()
70 APPSPAWN_STATIC bool CheckDirRecursive(const char *path) in CheckDirRecursive()
265 APPSPAWN_STATIC int CheckSandboxMountNode(const SandboxContext *context, in CheckSandboxMountNode()
335 APPSPAWN_STATIC void CheckAndCreateSandboxFile(const char *file) in CheckAndCreateSandboxFile()
351 APPSPAWN_STATIC void CreateDemandSrc(const SandboxContext *context, const PathMountNode *sandboxNode, in CreateDemandSrc()
377 APPSPAWN_STATIC const char *GetRealSrcPath(const SandboxContext *context, const char *source, VarExtraData *extraData) in GetRealSrcPath()
/base/startup/appspawn/interfaces/innerkits/permission/
H A Dappspawn_mount_permission.c147 APPSPAWN_STATIC int LoadPermission(AppSpawnClientType type) in LoadPermission()
172 APPSPAWN_STATIC void DeletePermission(AppSpawnClientType type) in DeletePermission()
/base/startup/appspawn/interfaces/innerkits/client/
H A Dappspawn_client.c82 APPSPAWN_STATIC void CloseClientSocket(int socketId) in CloseClientSocket()
92 APPSPAWN_STATIC int CreateClientSocket(uint32_t type, uint32_t timeout) in CreateClientSocket()
145 APPSPAWN_STATIC int UpdateSocketTimeout(uint32_t timeout, int socketFd) in UpdateSocketTimeout()
238 APPSPAWN_STATIC void TryCreateSocket(AppSpawnReqMsgMgr *reqMgr) in TryCreateSocket()
/base/startup/appspawn/standard/
H A Dappspawn_service.c183 APPSPAWN_STATIC void ProcessSignal(const struct signalfd_siginfo *siginfo) in ProcessSignal()
345 APPSPAWN_STATIC bool OnConnectionUserCheck(uid_t uid) in OnConnectionUserCheck()
407 APPSPAWN_STATIC bool MsgDevicedebugCheck(TaskHandle stream, AppSpawnMsgNode *message) in MsgDevicedebugCheck()
511 APPSPAWN_STATIC int WriteMsgToChild(AppSpawningCtx *property, bool isNweb) in WriteMsgToChild()
1109 APPSPAWN_STATIC int AppSpawnColdStartApp(struct AppSpawnContent *content, AppSpawnClient *client) in AppSpawnColdStartApp()
1255 APPSPAWN_STATIC int AppSpawnClearEnv(AppSpawnMgr *content, AppSpawningCtx *property) in AppSpawnClearEnv()
1541 APPSPAWN_STATIC int AppspawpnDevicedebugKill(int pid, cJSON *args) in AppspawpnDevicedebugKill()
1571 APPSPAWN_STATIC int AppspawnDevicedebugDeal(const char* op, int pid, cJSON *args) in AppspawnDevicedebugDeal()
1582 APPSPAWN_STATIC int ProcessAppSpawnDeviceDebugMsg(AppSpawnMsgNode *message) in ProcessAppSpawnDeviceDebugMsg()
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_common_test.cpp42 APPSPAWN_STATIC int BuildFdInfoMap(const AppSpawnMsgNode *message, std::map<std::string, int> &fdMap, int isColdRun);
43 APPSPAWN_STATIC void LoadExtendCJLib(void);
44 APPSPAWN_STATIC int PreLoadAppSpawn(AppSpawnMgr *content);
45 APPSPAWN_STATIC int RunChildByRenderCmd(const AppSpawnMgr *content, const AppSpawningCtx *property);
H A Dnweb_spawn_service_test.cpp41 APPSPAWN_STATIC int RunChildProcessor(AppSpawnContent *content, AppSpawnClient *client);
42 APPSPAWN_STATIC bool SetSeccompPolicyForRenderer(void *nwebRenderHandle);

Completed in 18 milliseconds