/foundation/ability/ability_runtime/test/unittest/app_spawn_client_second_test/ |
H A D | app_spawn_client_second_test.cpp | 56 AppSpawnReqMsgHandle reqHandle = nullptr; in HWTEST_F() local 57 EXPECT_NE(appSpawnClient.SetStartFlags(startMsg, reqHandle), 0); in HWTEST_F() 70 AppSpawnReqMsgHandle reqHandle = nullptr; in HWTEST_F() local 71 EXPECT_NE(appSpawnClient.SetStartFlags(startMsg, reqHandle), 0); in HWTEST_F() 84 AppSpawnReqMsgHandle reqHandle = nullptr; in HWTEST_F() local 85 EXPECT_NE(appSpawnClient.SetStartFlags(startMsg, reqHandle), 0); in HWTEST_F() 98 AppSpawnReqMsgHandle reqHandle = nullptr; in HWTEST_F() local 99 EXPECT_NE(appSpawnClient.SetStartFlags(startMsg, reqHandle), 0); in HWTEST_F() 112 AppSpawnReqMsgHandle reqHandle = nullptr; in HWTEST_F() local 113 EXPECT_NE(appSpawnClient.SetStartFlags(startMsg, reqHandle), in HWTEST_F() 126 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 140 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 151 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 166 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 180 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 195 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 209 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 224 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 239 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 254 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 268 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 283 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 302 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 328 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 339 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 357 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 505 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 520 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 531 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 544 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 557 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 569 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 581 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_spawn_client.cpp | 166 int32_t AppSpawnClient::SetDacInfo(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle) in SetDacInfo() argument 184 return AppSpawnReqMsgSetAppDacInfo(reqHandle, &appDacInfo); in SetDacInfo() 187 int32_t AppSpawnClient::SetMountPermission(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle) in SetMountPermission() argument 192 ret = AppSpawnClientAddPermission(handle_, reqHandle, permission.c_str()); in SetMountPermission() 201 int32_t AppSpawnClient::SetStartFlags(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle) in SetStartFlags() argument 208 ret = AppSpawnReqMsgSetAppFlag(reqHandle, static_cast<AppFlagsIndex>(flagIndex)); in SetStartFlags() 218 ret = AppSpawnReqMsgSetAppFlag(reqHandle, APP_FLAGS_ATOMIC_SERVICE); in SetStartFlags() 225 ret = AppSpawnReqMsgSetAppFlag(reqHandle, APP_FLAGS_ISOLATED_SANDBOX); in SetStartFlags() 232 ret = AppSpawnReqMsgSetAppFlag(reqHandle, APP_FLAGS_EXTENSION_SANDBOX); in SetStartFlags() 239 ret = AppSpawnReqMsgSetAppFlag(reqHandle, APP_FLAGS_CLONE_ENABL in SetStartFlags() 254 AppspawnSetExtMsg(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle) AppspawnSetExtMsg() argument 308 AppspawnSetExtMsgMore(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle) AppspawnSetExtMsgMore() argument 356 AppspawnCreateDefaultMsg(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle) AppspawnCreateDefaultMsg() argument 477 AppSpawnReqMsgHandle reqHandle = nullptr; StartProcess() local 522 AppSpawnReqMsgHandle reqHandle = nullptr; GetRenderProcessTerminationStatus() local 553 SetChildProcessTypeStartFlag(const AppSpawnReqMsgHandle &reqHandle, int32_t childProcessType) SetChildProcessTypeStartFlag() argument 563 SetExtMsgFds(const AppSpawnReqMsgHandle &reqHandle, const std::map<std::string, int32_t> &fds) SetExtMsgFds() argument 579 SetIsolationModeFlag(const AppSpawnStartMsg &startMsg, const AppSpawnReqMsgHandle &reqHandle) SetIsolationModeFlag() argument [all...] |
/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | app_spawn_client.h | 155 * @param reqHandle, handle for request message 157 int32_t SetDacInfo(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle); 163 * @param reqHandle, handle for request message 165 int32_t SetMountPermission(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle); 171 * @param reqHandle, handle for request message 173 int32_t SetStartFlags(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle); 179 * @param reqHandle, handle for request message 181 int32_t AppspawnSetExtMsg(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle); 187 * @param reqHandle, handle for request message 189 int32_t AppspawnSetExtMsgMore(const AppSpawnStartMsg &startMsg, AppSpawnReqMsgHandle reqHandle); [all...] |
/foundation/ability/ability_runtime/test/unittest/app_spawn_client_test/ |
H A D | app_spawn_client_test.cpp | 251 AppSpawnReqMsgHandle reqHandle = nullptr; in HWTEST_F() local 254 ret = AppSpawnReqMsgCreate(static_cast<AppSpawnMsgType>(startMsg.code), startMsg.procName.c_str(), &reqHandle); in HWTEST_F() 256 ret = asc->SetDacInfo(startMsg, reqHandle); in HWTEST_F() 299 AppSpawnReqMsgHandle reqHandle = nullptr; in HWTEST_F() local 302 ret = AppSpawnReqMsgCreate(static_cast<AppSpawnMsgType>(startMsg.code), startMsg.procName.c_str(), &reqHandle); in HWTEST_F() 304 ret = asc->SetMountPermission(startMsg, reqHandle); in HWTEST_F() 347 AppSpawnReqMsgHandle reqHandle = nullptr; in HWTEST_F() local 350 ret = AppSpawnReqMsgCreate(static_cast<AppSpawnMsgType>(startMsg.code), startMsg.procName.c_str(), &reqHandle); in HWTEST_F() 352 ret = asc->SetStartFlags(startMsg, reqHandle); in HWTEST_F() 395 AppSpawnReqMsgHandle reqHandle in HWTEST_F() local 450 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 500 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 550 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 600 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 719 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 744 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 772 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 799 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 824 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local 849 AppSpawnReqMsgHandle reqHandle = nullptr; HWTEST_F() local [all...] |