Home
last modified time | relevance | path

Searched refs:APPSPAWN_SYSTEM_ERROR (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/base/startup/appspawn/interfaces/innerkits/client/
H A Dappspawn_msg.c113 APPSPAWN_CHECK(ret == EOK, return APPSPAWN_SYSTEM_ERROR, "Failed to copy data"); in AddAppDataToBlock()
134 APPSPAWN_CHECK(ret == EOK, return APPSPAWN_SYSTEM_ERROR, "Failed to copy data"); in AddAppDataToTail()
140 APPSPAWN_CHECK(ret == EOK, return APPSPAWN_SYSTEM_ERROR, "Failed to copy data"); in AddAppDataToTail()
145 APPSPAWN_CHECK(block != NULL, return APPSPAWN_SYSTEM_ERROR, "Not enough buffer for data"); in AddAppDataToTail()
162 … APPSPAWN_CHECK(ret == 0, return APPSPAWN_SYSTEM_ERROR, "Failed to add data for %{public}s", name); in AddAppDataEx()
255 …APPSPAWN_CHECK(block != NULL, return APPSPAWN_SYSTEM_ERROR, "Failed to create block for %{public}s… in CreateBaseMsg()
265 …APPSPAWN_CHECK(ret == 0, return APPSPAWN_SYSTEM_ERROR, "Failed to create block for %{public}s", pr… in CreateBaseMsg()
271 …APPSPAWN_CHECK(maxCount > 0, return APPSPAWN_SYSTEM_ERROR, "Invalid max for permission %{public}s"… in CreateBaseMsg()
350 APPSPAWN_CHECK(reqNode != NULL, return APPSPAWN_SYSTEM_ERROR, in AppSpawnReqMsgCreate()
534 APPSPAWN_CHECK(reqNode != NULL, return APPSPAWN_SYSTEM_ERROR, "Failed to create msg node"); in AppSpawnTerminateMsgCreate()
H A Dappspawn_client.c64 return APPSPAWN_SYSTEM_ERROR; in InitClientInstance()
128 ret = APPSPAWN_SYSTEM_ERROR; in CreateClientSocket()
312 APPSPAWN_CHECK(ret == 0, return APPSPAWN_SYSTEM_ERROR, "Failed to create reqMgr"); in AppSpawnClientInit()
320 APPSPAWN_CHECK(reqMgr != NULL, return APPSPAWN_SYSTEM_ERROR, "Invalid reqMgr"); in AppSpawnClientDestroy()
/ohos5.0/base/startup/appspawn/modules/sandbox/
H A Dappspawn_permission.c64 APPSPAWN_CHECK(node != NULL, return APPSPAWN_SYSTEM_ERROR, "Failed to create permission node"); in AddSandboxPermissionNode()
70 APPSPAWN_CHECK(node != NULL, return APPSPAWN_SYSTEM_ERROR, "Failed to create permission node"); in AddSandboxPermissionNode()
75 return APPSPAWN_SYSTEM_ERROR, "Failed to copy name"); in AddSandboxPermissionNode()
H A Dsandbox_load.c320 …APPSPAWN_CHECK(section->gidTable != NULL, return APPSPAWN_SYSTEM_ERROR, "Failed to alloc memory."); in ParseGidTableConfig()
350 …APPSPAWN_CHECK(nameGroups != NULL, return APPSPAWN_SYSTEM_ERROR, "Failed to alloc memory for group… in ParseMountGroupsConfig()
590 APPSPAWN_CHECK(rootPath != NULL, return APPSPAWN_SYSTEM_ERROR, "No root path in config"); in ParseGlobalSandboxConfig()
595 …APPSPAWN_CHECK(sandbox->rootPath != NULL, return APPSPAWN_SYSTEM_ERROR, "Failed to copy root path"… in ParseGlobalSandboxConfig()
608 return APPSPAWN_SYSTEM_ERROR, "Invalid json"); in ParseAppSandboxConfig()
691 …APPSPAWN_CHECK(sandbox->depGroupNodes != NULL, return APPSPAWN_SYSTEM_ERROR, "Failed alloc memory … in LoadAppSandboxConfig()
H A Dsandbox_expand.c268 APPSPAWN_CHECK(node != NULL, return APPSPAWN_SYSTEM_ERROR, "Failed to create sandbox"); in RegisterExpandSandboxCfgHandler()
H A Dsandbox_cfgvar.c332 APPSPAWN_CHECK(node != NULL, return APPSPAWN_SYSTEM_ERROR, "Failed to create sandbox"); in AddVariableReplaceHandler()
H A Dappspawn_sandbox.c862 APPSPAWN_CHECK_ONLY_EXPER(context != NULL, return APPSPAWN_SYSTEM_ERROR); in StagedMountSystemConst()
988 APPSPAWN_CHECK_ONLY_EXPER(context != NULL, return APPSPAWN_SYSTEM_ERROR); in MountSandboxConfigs()
H A Dsandbox_manager.c491 APPSPAWN_CHECK_ONLY_EXPER(sandbox != NULL, return APPSPAWN_SYSTEM_ERROR); in PreLoadSandboxCfg()
/ohos5.0/base/startup/appspawn/standard/
H A Dappspawn_service.c509 APPSPAWN_CHECK(buffer != NULL, return APPSPAWN_SYSTEM_ERROR, in WriteMsgToChild()
520 return APPSPAWN_SYSTEM_ERROR; in WriteMsgToChild()
634 return APPSPAWN_SYSTEM_ERROR, "Failed to watch child %{public}d", property->pid); in AddChildWatcher()
647 return APPSPAWN_SYSTEM_ERROR; in AddChildWatcher()
895 SendResponse(connection, &message->msgHeader, APPSPAWN_SYSTEM_ERROR, 0); in ProcessSpawnReqMsg()
1115 APPSPAWN_CHECK(len > 0, return APPSPAWN_SYSTEM_ERROR, "Invalid to format fd"); in AppSpawnColdStartApp()
1117 APPSPAWN_CHECK(len > 0, return APPSPAWN_SYSTEM_ERROR, "Invalid to format flags"); in AppSpawnColdStartApp()
1119 APPSPAWN_CHECK(len > 0, return APPSPAWN_SYSTEM_ERROR, "Invalid to format shmId "); in AppSpawnColdStartApp()
1121 APPSPAWN_CHECK(len > 0, return APPSPAWN_SYSTEM_ERROR, "Invalid to format shmId "); in AppSpawnColdStartApp()
1154 NotifyResToParent(&content->content, &property->client, APPSPAWN_SYSTEM_ERROR); in GetAppSpawningCtxFromArg()
[all …]
H A Dappspawn_msgmgr.c304 APPSPAWN_CHECK(message != NULL, return APPSPAWN_SYSTEM_ERROR, "Failed to create message"); in GetAppSpawnMsgFromBuffer()
/ohos5.0/base/startup/appspawn/util/src/
H A Dappspawn_utils.c426 …APPSPAWN_CHECK(fd >= 0, return APPSPAWN_SYSTEM_ERROR, "Failed to open file errno %{public}d", errn… in EnableNewNetNamespace()
436 return (ret >= 0) ? 0 : APPSPAWN_SYSTEM_ERROR; in EnableNewNetNamespace()
/ohos5.0/base/startup/appspawn/util/include/
H A Dappspawn_utils.h104 APPSPAWN_SYSTEM_ERROR = 0xD000000, enumerator
/ohos5.0/base/startup/appspawn/test/moduletest/
H A Dappspawn_test_cmder.cpp338 int ret = APPSPAWN_SYSTEM_ERROR; in CreateMsg()
359 return APPSPAWN_SYSTEM_ERROR; in CreateMsg()
/ohos5.0/base/startup/appspawn/modules/common/
H A Dappspawn_cgroup.c55 APPSPAWN_CHECK(fd >= 0, return APPSPAWN_SYSTEM_ERROR, in WriteToFile()
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_client_test/
H A Dapp_spawn_interface_test.cpp100 EXPECT_EQ(APPSPAWN_SYSTEM_ERROR, ret);