/ohos5.0/base/startup/appspawn/interfaces/innerkits/include/ |
H A D | appspawn.h | 38 typedef void *AppSpawnReqMsgHandle; typedef 130 int AppSpawnTerminateMsgCreate(pid_t pid, AppSpawnReqMsgHandle *reqHandle); 137 void AppSpawnReqMsgFree(AppSpawnReqMsgHandle reqHandle); 189 int AppSpawnReqMsgSetAppFlag(AppSpawnReqMsgHandle reqHandle, AppFlagsIndex flagIndex); 198 int AppSpawnReqMsgSetAppDacInfo(AppSpawnReqMsgHandle reqHandle, const AppDacInfo *dacInfo); 208 int AppSpawnReqMsgSetAppDomainInfo(AppSpawnReqMsgHandle reqHandle, uint32_t hapFlags, const char *a… 227 int AppSpawnReqMsgSetAppAccessToken(AppSpawnReqMsgHandle reqHandle, uint64_t accessTokenIdEx); 236 int AppSpawnReqMsgSetAppOwnerId(AppSpawnReqMsgHandle reqHandle, const char *ownerId); 245 int AppSpawnReqMsgAddPermission(AppSpawnReqMsgHandle reqHandle, const char *permission); 290 int AppSpawnReqMsgAddStringInfo(AppSpawnReqMsgHandle reqHandle, const char *name, const char *value… [all …]
|
/ohos5.0/base/startup/appspawn/test/moduletest/ |
H A D | appspawn_test_cmder.h | 70 int CreateOtherMsg(AppSpawnReqMsgHandle &reqHandle, pid_t pid); 71 int CreateMsg(AppSpawnReqMsgHandle &reqHandle, const char *defaultConfig, 84 int AddExtTlv(const cJSON *appInfoConfig, AppSpawnReqMsgHandle reqHandle); 85 int BuildMsgFromJson(const cJSON *appInfoConfig, AppSpawnReqMsgHandle reqHandle); 86 int AddBundleInfoFromJson(const cJSON *appInfoConfig, AppSpawnReqMsgHandle reqHandle); 87 int AddDacInfoFromJson(const cJSON *appInfoConfig, AppSpawnReqMsgHandle reqHandle); 88 … int AddInternetPermissionInfoFromJson(const cJSON *appInfoConfig, AppSpawnReqMsgHandle reqHandle); 89 int AddAccessTokenFromJson(const cJSON *appInfoConfig, AppSpawnReqMsgHandle reqHandle); 90 int AddDomainInfoFromJson(const cJSON *appInfoConfig, AppSpawnReqMsgHandle reqHandle);
|
H A D | appspawn_module_test.cpp | 670 AppSpawnReqMsgHandle reqHandle; 698 AppSpawnReqMsgHandle reqHandle; 726 AppSpawnReqMsgHandle reqHandle; 745 AppSpawnReqMsgHandle reqHandle; 764 AppSpawnReqMsgHandle reqHandle; 793 AppSpawnReqMsgHandle reqHandle; 814 AppSpawnReqMsgHandle reqHandle; 836 AppSpawnReqMsgHandle reqHandle; 858 AppSpawnReqMsgHandle reqHandle; 880 AppSpawnReqMsgHandle reqHandle; [all …]
|
H A D | appspawn_client_test.cpp | 36 static AppSpawnReqMsgHandle CreateMsg(AppSpawnClientHandle handle, const char *bundleName, RunMode … in CreateMsg() 38 AppSpawnReqMsgHandle reqHandle = 0; in CreateMsg() 97 …AppSpawnReqMsgHandle reqHandle = CreateMsg(clientHandle, "ohos.samples.clock", MODE_FOR_APP_SPAWN); 112 …AppSpawnReqMsgHandle reqHandle = CreateMsg(clientHandle, "ohos.samples.clock", MODE_FOR_NATIVE_SPA…
|
H A D | appspawn_test_cmder.cpp | 169 int AppSpawnTestCommander::AddBundleInfoFromJson(const cJSON *appInfoConfig, AppSpawnReqMsgHandle r… in AddBundleInfoFromJson() 181 int AppSpawnTestCommander::AddDacInfoFromJson(const cJSON *appInfoConfig, AppSpawnReqMsgHandle reqH… in AddDacInfoFromJson() 199 const cJSON *appInfoConfig, AppSpawnReqMsgHandle reqHandle) in AddInternetPermissionInfoFromJson() 209 int AppSpawnTestCommander::AddAccessTokenFromJson(const cJSON *appInfoConfig, AppSpawnReqMsgHandle … in AddAccessTokenFromJson() 218 int AppSpawnTestCommander::AddDomainInfoFromJson(const cJSON *appInfoConfig, AppSpawnReqMsgHandle r… in AddDomainInfoFromJson() 230 int AppSpawnTestCommander::AddExtTlv(const cJSON *appInfoConfig, AppSpawnReqMsgHandle reqHandle) in AddExtTlv() 260 int AppSpawnTestCommander::BuildMsgFromJson(const cJSON *appInfoConfig, AppSpawnReqMsgHandle reqHan… in BuildMsgFromJson() 302 int AppSpawnTestCommander::CreateOtherMsg(AppSpawnReqMsgHandle &reqHandle, pid_t pid) in CreateOtherMsg() 335 int AppSpawnTestCommander::CreateMsg(AppSpawnReqMsgHandle &reqHandle, in CreateMsg() 393 AppSpawnReqMsgHandle reqHandle = INVALID_REQ_HANDLE; in SendMsg()
|
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | app_spawn_client.h | 156 int32_t SetDacInfo(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle); 164 int32_t SetMountPermission(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle); 172 int32_t SetStartFlags(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle); 180 int32_t AppspawnSetExtMsg(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle); 188 int32_t AppspawnSetExtMsgMore(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle); 196 …int32_t AppspawnCreateDefaultMsg(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle); 231 …int32_t SetChildProcessTypeStartFlag(const AppSpawnReqMsgHandle &reqHandle, int32_t childProcessTy… 233 …int32_t SetExtMsgFds(const AppSpawnReqMsgHandle &reqHandle, const std::map<std::string, int32_t> &… 235 …int32_t SetIsolationModeFlag(const AppSpawnStartMsg &startMsg, const AppSpawnReqMsgHandle &reqHand…
|
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_client_test/ |
H A D | app_spawn_interface_test.cpp | 163 AppSpawnReqMsgHandle reqHandle = nullptr; 190 AppSpawnReqMsgHandle reqHandle = nullptr; 202 AppSpawnReqMsgHandle reqHandle = nullptr; 241 AppSpawnReqMsgHandle reqHandle = nullptr; 263 AppSpawnReqMsgHandle reqHandle = nullptr; 298 AppSpawnReqMsgHandle reqHandle = nullptr; 318 AppSpawnReqMsgHandle reqHandle = nullptr; 338 AppSpawnReqMsgHandle reqHandle = nullptr; 505 AppSpawnReqMsgHandle reqHandle = 0; 519 AppSpawnReqMsgHandle reqHandle = 0; [all …]
|
H A D | app_spawn_client_test.cpp | 179 AppSpawnReqMsgHandle reqHandle = 0; 226 AppSpawnReqMsgHandle reqHandle = 0; 261 AppSpawnReqMsgHandle reqHandle = 0; 301 AppSpawnReqMsgHandle reqHandle = 0; 341 AppSpawnReqMsgHandle reqHandle = 0; 379 AppSpawnReqMsgHandle reqHandle = 0; 415 AppSpawnReqMsgHandle reqHandle = 0; 451 AppSpawnReqMsgHandle reqHandle = 0; 487 AppSpawnReqMsgHandle reqHandle = 0; 520 AppSpawnReqMsgHandle reqHandle = 0; [all …]
|
/ohos5.0/base/startup/appspawn/test/fuzztest/appspawnclient_fuzzer/ |
H A D | appspawnclient_fuzzer.cpp | 47 AppSpawnReqMsgHandle reqHandle = nullptr; in FuzzAppSpawnReqMsgCreate() 60 AppSpawnReqMsgHandle reqHandle = nullptr; in FuzzAppSpawnReqMsgAddStringInfo() 77 AppSpawnReqMsgHandle reqHandle = nullptr; in FuzzAppSpawnTerminateMsgCreate() 93 AppSpawnReqMsgHandle reqHandle = nullptr; in FuzzAppSpawnClientSendMsg() 109 AppSpawnReqMsgHandle reqHandle = nullptr; in FuzzAppSpawnReqMsgFree() 124 AppSpawnReqMsgHandle reqHandle = nullptr; in FuzzAppSpawnReqMsgSetBundleInfo() 142 AppSpawnReqMsgHandle reqHandle = nullptr; in FuzzAppSpawnReqMsgSetAppFlag() 159 AppSpawnReqMsgHandle reqHandle = nullptr; in FuzzAppSpawnReqMsgSetAppDacInfo() 176 AppSpawnReqMsgHandle reqHandle = nullptr; in FuzzAppSpawnReqMsgSetAppDomainInfo() 194 AppSpawnReqMsgHandle reqHandle = nullptr; in FuzzAppSpawnReqMsgSetAppInternetPermissionInfo() [all …]
|
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
H A D | app_spawn_common_test.cpp | 65 AppSpawnReqMsgHandle reqHandle = 0; 92 AppSpawnReqMsgHandle reqHandle = 0; 119 AppSpawnReqMsgHandle reqHandle = 0; 149 AppSpawnReqMsgHandle reqHandle = 0; 181 AppSpawnReqMsgHandle reqHandle = 0; 213 AppSpawnReqMsgHandle reqHandle = 0; 245 AppSpawnReqMsgHandle reqHandle = 0; 267 AppSpawnReqMsgHandle reqHandle = 0; 289 AppSpawnReqMsgHandle reqHandle = 0; 311 AppSpawnReqMsgHandle reqHandle = 0; [all …]
|
H A D | app_spawn_child_test.cpp | 76 AppSpawnReqMsgHandle reqHandle = 0; 113 AppSpawnReqMsgHandle reqHandle = 0; 150 AppSpawnReqMsgHandle reqHandle = 0; 189 AppSpawnReqMsgHandle reqHandle = 0; 229 AppSpawnReqMsgHandle reqHandle = 0; 270 AppSpawnReqMsgHandle reqHandle = 0; 318 AppSpawnReqMsgHandle reqHandle = 0; 355 AppSpawnReqMsgHandle reqHandle = 0; 396 AppSpawnReqMsgHandle reqHandle = 0; 439 AppSpawnReqMsgHandle reqHandle = 0; [all …]
|
H A D | app_spawn_service_test.cpp | 77 AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_APP_SPAWN, 0); 112 AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_APP_SPAWN, 0); 145 AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_APP_SPAWN, 0); 175 AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_DUMP, 0); 196 … AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_SPAWN_NATIVE_PROCESS, 0); 228 … AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_SPAWN_NATIVE_PROCESS, 0); in __anonae1553f40102() 560 … AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_SPAWN_NATIVE_PROCESS, 0); 572 AppSpawnReqMsgHandle reqHandle2; 606 … AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_SPAWN_NATIVE_PROCESS, 0); 619 AppSpawnReqMsgHandle reqHandle2; [all …]
|
H A D | app_spawn_sandbox_new_test.cpp | 725 AppSpawnReqMsgHandle reqHandle = 0; 765 AppSpawnReqMsgHandle reqHandle = 0; 807 AppSpawnReqMsgHandle reqHandle = 0; 849 AppSpawnReqMsgHandle reqHandle = 0; 1156 AppSpawnReqMsgHandle reqHandle = 0; 1209 AppSpawnReqMsgHandle reqHandle = 0; 1261 AppSpawnReqMsgHandle reqHandle = 0; 1321 AppSpawnReqMsgHandle reqHandle = 0; 1372 AppSpawnReqMsgHandle reqHandle = 0; 1424 AppSpawnReqMsgHandle reqHandle = 0; [all …]
|
H A D | app_spawn_cold_run_test.cpp | 139 AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_APP_SPAWN, 0); 167 AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_APP_SPAWN, 0); 201 AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_APP_SPAWN, 0); 234 AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_APP_SPAWN, 0);
|
H A D | app_spawn_beget_test.cpp | 71 AppSpawnReqMsgHandle reqHandle; in TestSendAppspawnCmdMessage() 118 AppSpawnReqMsgHandle reqHandle = 0; 162 AppSpawnReqMsgHandle reqHandle = 0;
|
H A D | nweb_spawn_service_test.cpp | 74 AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_APP_SPAWN, 0); 108 AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_APP_SPAWN, 0); 141 AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_APP_SPAWN, 0); 171 AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_DUMP, 0); 192 … AppSpawnReqMsgHandle reqHandle = testServer->CreateMsg(clientHandle, MSG_SPAWN_NATIVE_PROCESS, 0);
|
H A D | app_spawn_sandbox_test.cpp | 61 AppSpawnReqMsgHandle reqHandle = g_testHelper.CreateMsg(clientHandle, MSG_APP_SPAWN, 0); in GetTestAppProperty() 71 AppSpawnReqMsgHandle reqHandle = g_testHelper.CreateMsg(clientHandle, MSG_APP_SPAWN, 0); in GetTestAppPropertyWithExtInfo() 1384 AppSpawnReqMsgHandle reqHandle = g_testHelper.CreateMsg(clientHandle, MSG_APP_SPAWN, 0); 1406 AppSpawnReqMsgHandle reqHandle = g_testHelper.CreateMsg(clientHandle, MSG_APP_SPAWN, 0); 1431 AppSpawnReqMsgHandle reqHandle = g_testHelper.CreateMsg(clientHandle, MSG_APP_SPAWN, 0); 1453 AppSpawnReqMsgHandle reqHandle = g_testHelper.CreateMsg(clientHandle, MSG_APP_SPAWN, 0);
|
/ohos5.0/base/startup/appspawn/interfaces/innerkits/client/ |
H A D | appspawn_msg.c | 312 int AppSpawnReqMsgAddFd(AppSpawnReqMsgHandle reqHandle, const char* fdName, int fd) in AppSpawnReqMsgAddFd() 352 *reqHandle = (AppSpawnReqMsgHandle)(reqNode); in AppSpawnReqMsgCreate() 356 void AppSpawnReqMsgFree(AppSpawnReqMsgHandle reqHandle) in AppSpawnReqMsgFree() 363 int AppSpawnReqMsgSetAppDacInfo(AppSpawnReqMsgHandle reqHandle, const AppDacInfo *dacInfo) in AppSpawnReqMsgSetAppDacInfo() 406 int AppSpawnReqMsgSetAppFlag(AppSpawnReqMsgHandle reqHandle, AppFlagsIndex flagIndex) in AppSpawnReqMsgSetAppFlag() 439 int AppSpawnReqMsgAddStringInfo(AppSpawnReqMsgHandle reqHandle, const char *name, const char *value) in AppSpawnReqMsgAddStringInfo() 456 int AppSpawnReqMsgAddPermission(AppSpawnReqMsgHandle reqHandle, const char *permission) in AppSpawnReqMsgAddPermission() 505 int AppSpawnReqMsgSetAppOwnerId(AppSpawnReqMsgHandle reqHandle, const char *ownerId) in AppSpawnReqMsgSetAppOwnerId() 519 int AppSpawnReqMsgSetAppAccessToken(AppSpawnReqMsgHandle reqHandle, uint64_t accessTokenIdEx) in AppSpawnReqMsgSetAppAccessToken() 530 int AppSpawnTerminateMsgCreate(pid_t pid, AppSpawnReqMsgHandle *reqHandle) in AppSpawnTerminateMsgCreate() [all …]
|
/ohos5.0/base/startup/appspawn/test/unittest/devicedebug_test/ |
H A D | devicedebug_stub.c | 58 int AppSpawnReqMsgCreateStub(AppSpawnMsgType msgType, const char *processName, AppSpawnReqMsgHandle… in AppSpawnReqMsgCreateStub() 74 int AppSpawnReqMsgAddExtInfoStub(AppSpawnReqMsgHandle reqHandle, const char *name, const uint8_t *v… in AppSpawnReqMsgAddExtInfoStub() 98 int AppSpawnClientSendMsgStub(AppSpawnClientHandle handle, AppSpawnReqMsgHandle reqHandle, AppSpawn… in AppSpawnClientSendMsgStub()
|
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_spawn_client.cpp | 168 int32_t AppSpawnClient::SetDacInfo(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle) in SetDacInfo() 189 int32_t AppSpawnClient::SetMountPermission(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle r… in SetMountPermission() 203 int32_t AppSpawnClient::SetStartFlags(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHan… in SetStartFlags() 256 int32_t AppSpawnClient::AppspawnSetExtMsg(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle re… in AppspawnSetExtMsg() 311 …pawnClient::AppspawnSetExtMsgMore(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle) in AppspawnSetExtMsgMore() 361 …nClient::AppspawnCreateDefaultMsg(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle) in AppspawnCreateDefaultMsg() 482 AppSpawnReqMsgHandle reqHandle = nullptr; in StartProcess() 527 AppSpawnReqMsgHandle reqHandle = nullptr; in GetRenderProcessTerminationStatus() 558 int32_t AppSpawnClient::SetChildProcessTypeStartFlag(const AppSpawnReqMsgHandle &reqHandle, in SetChildProcessTypeStartFlag() 568 int32_t AppSpawnClient::SetExtMsgFds(const AppSpawnReqMsgHandle &reqHandle, in SetExtMsgFds() [all …]
|
/ohos5.0/base/startup/appspawn/test/unittest/ |
H A D | app_spawn_test_helper.h | 111 …AppSpawnReqMsgHandle CreateMsg(AppSpawnClientHandle handle, uint32_t msgType = MSG_APP_SPAWN, int … 112 AppSpawningCtx *GetAppProperty(AppSpawnClientHandle handle, AppSpawnReqMsgHandle reqHandle); 113 int AddDacInfo(AppSpawnReqMsgHandle &reqHandle); 114 int AddFdInfo(AppSpawnReqMsgHandle &reqHandle); 128 int AppSpawnReqMsgSetFlags(AppSpawnReqMsgHandle reqHandle, uint32_t tlv, uint32_t flags) in AppSpawnReqMsgSetFlags()
|
H A D | app_spawn_test_helper.cpp | 455 int AppSpawnTestHelper::AddDacInfo(AppSpawnReqMsgHandle &reqHandle) in AddDacInfo() 467 int AppSpawnTestHelper::AddFdInfo(AppSpawnReqMsgHandle &reqHandle) in AddFdInfo() 477 AppSpawnReqMsgHandle AppSpawnTestHelper::CreateMsg(AppSpawnClientHandle handle, uint32_t msgType, i… in CreateMsg() 479 AppSpawnReqMsgHandle reqHandle = 0; in CreateMsg() 546 …tx *AppSpawnTestHelper::GetAppProperty(AppSpawnClientHandle handle, AppSpawnReqMsgHandle reqHandle) in GetAppProperty()
|
/ohos5.0/base/startup/init/services/begetctl/ |
H A D | appspawntime_cmd.c | 40 AppSpawnReqMsgHandle reqHandle; in SendAppspawnTimeMessage()
|
/ohos5.0/base/web/webview/sa/src/ |
H A D | app_fwk_update_service.cpp | 181 AppSpawnReqMsgHandle reqHandle = 0; in SendAppSpawnMessage() 207 AppSpawnReqMsgHandle reqHandle = 0; in SendNWebSpawnMesage()
|
/ohos5.0/base/startup/appspawn/service/devicedebug/kill/src/ |
H A D | devicedebug_kill.c | 89 AppSpawnReqMsgHandle reqHandle; in DeviceDebugKill()
|