Searched refs:MountAllHsp (Results 1 - 6 of 6) sorted by relevance
/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
H A D | app_spawn_sandbox_new_mount_test.cpp | 121 int ret = MountAllHsp(nullptr, nullptr);
in HWTEST_F() 123 ret = MountAllHsp(context, nullptr);
in HWTEST_F() 125 ret = MountAllHsp(nullptr, config);
in HWTEST_F() 127 ret = MountAllHsp(context, config);
in HWTEST_F() 143 int ret = MountAllHsp(context, config1); // bundles count != modules
in HWTEST_F() 154 ret = MountAllHsp(context, config2); // bundles count != versions
in HWTEST_F() 165 ret = MountAllHsp(context, config3);
in HWTEST_F() 176 ret = MountAllHsp(context, config4);
in HWTEST_F() 194 int ret = MountAllHsp(&context, config1); // bundles is null
in HWTEST_F() 196 ret = MountAllHsp( in HWTEST_F() [all...] |
H A D | app_spawn_sandbox_test.cpp | 866 int ret = OHOS::AppSpawn::SandboxUtils::MountAllHsp(appProperty, testBundle); in HWTEST_F() 876 int ret = OHOS::AppSpawn::SandboxUtils::MountAllHsp(appProperty, testBundle); in InvalidJsonTest() 888 int ret = OHOS::AppSpawn::SandboxUtils::MountAllHsp(appProperty, testBundle); in NoBundleTest() 901 int ret = OHOS::AppSpawn::SandboxUtils::MountAllHsp(appProperty, testBundle); in NoModulesTest() 913 int ret = OHOS::AppSpawn::SandboxUtils::MountAllHsp(appProperty, testBundle); in NoVersionsTest() 926 int ret = OHOS::AppSpawn::SandboxUtils::MountAllHsp(appProperty, testBundle); in ListSizeNotSameTest() 939 int ret = OHOS::AppSpawn::SandboxUtils::MountAllHsp(appProperty, testBundle); in ValueTypeIsNotArraryTest() 952 int ret = OHOS::AppSpawn::SandboxUtils::MountAllHsp(appProperty, testBundle); in ElementTypeIsNotStringTest() 966 int ret = OHOS::AppSpawn::SandboxUtils::MountAllHsp(appProperty, testBundle); in ElementTypeIsNotSameTestSN() 980 int ret = OHOS::AppSpawn::SandboxUtils::MountAllHsp(appPropert in ElementTypeIsNotSameTestNS() [all...] |
/base/startup/appspawn/test/mock/ |
H A D | app_spawn_stub.h | 65 int MountAllHsp(const SandboxContext *context, const cJSON *hsps);
|
/base/startup/appspawn/modules/sandbox/ |
H A D | sandbox_utils.h | 73 static int32_t MountAllHsp(const AppSpawningCtx *appProperty, std::string &sandboxPackagePath);
|
H A D | sandbox_expand.c | 36 APPSPAWN_STATIC int MountAllHsp(const SandboxContext *context, const cJSON *hsps) in MountAllHsp() function 44 APPSPAWN_CHECK(bundles != NULL && cJSON_IsArray(bundles), return -1, "MountAllHsp: invalid bundles"); in MountAllHsp() 45 APPSPAWN_CHECK(modules != NULL && cJSON_IsArray(modules), return -1, "MountAllHsp: invalid modules"); in MountAllHsp() 46 APPSPAWN_CHECK(versions != NULL && cJSON_IsArray(versions), return -1, "MountAllHsp: invalid versions"); in MountAllHsp() 48 APPSPAWN_CHECK(count == cJSON_GetArraySize(modules), return -1, "MountAllHsp: sizes are not same"); in MountAllHsp() 49 APPSPAWN_CHECK(count == cJSON_GetArraySize(versions), return -1, "MountAllHsp: sizes are not same"); in MountAllHsp() 51 APPSPAWN_LOGI("MountAllHsp app: %{public}s, count: %{public}d", context->bundleName, count); in MountAllHsp() 57 return -1, "MountAllHsp: path error"); in MountAllHsp() 213 int ret = MountAllHsp(context, root); in ProcessHSPListConfig()
|
H A D | sandbox_utils.cpp | 1190 ret = MountAllHsp(appProperty, sandboxPackagePath); in SetCommonAppSandboxProperty() 1226 int32_t SandboxUtils::MountAllHsp(const AppSpawningCtx *appProperty, std::string &sandboxPackagePath) in MountAllHsp() function in OHOS::SandboxUtils 1236 && hsps.contains(g_hspList_key_versions), return -1, "MountAllHsp: json parse failed"); in MountAllHsp() 1242 && bundles.size() == versions.size(), return -1, "MountAllHsp: value is not arrary or sizes are not same"); in MountAllHsp() 1244 APPSPAWN_LOGI("MountAllHsp: app = %{public}s, cnt = %{public}lu", in MountAllHsp() 1249 return -1, "MountAllHsp: element type error"); in MountAllHsp() 1255 return -1, "MountAllHsp: path error"); in MountAllHsp()
|
Completed in 8 milliseconds