Home
last modified time | relevance | path

Searched refs:SYSTEM_APP (Results 1 - 25 of 32) sorted by relevance

12

/foundation/communication/dsoftbus/tests/core/common/security/permission/common/unittest/
H A Dpermission_entry_static_test.cpp155 pItem->permType = SYSTEM_APP; in HWTEST_F()
157 EXPECT_EQ(SYSTEM_APP, ret); in HWTEST_F()
163 appInfo->type = SYSTEM_APP; in HWTEST_F()
164 pItem->permType = SYSTEM_APP; in HWTEST_F()
166 EXPECT_EQ(SYSTEM_APP, ret); in HWTEST_F()
174 pItem->permType = SYSTEM_APP; in HWTEST_F()
176 EXPECT_EQ(SYSTEM_APP, ret); in HWTEST_F()
215 pItem->permType = SYSTEM_APP; in HWTEST_F()
217 EXPECT_EQ(SYSTEM_APP, ret); in HWTEST_F()
H A Dpermission_entry_mock_test.cpp121 validParam2.permType = SYSTEM_APP; in HWTEST_F()
166 .permType = SYSTEM_APP, in HWTEST_F()
174 EXPECT_EQ(ret, SYSTEM_APP); in HWTEST_F()
179 EXPECT_EQ(ret, SYSTEM_APP); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dpre_install_bundle_info.cpp32 constexpr const char* SYSTEM_APP = "systemApp"; member
47 jsonObject[SYSTEM_APP] = systemApp_; in ToJson()
73 BMSJsonUtil::GetBoolValueIfFindKey(jsonObject, jsonObjectEnd, SYSTEM_APP, in FromJson()
92 jsonObject[SYSTEM_APP] = systemApp_; in ToString()
H A Dhmp_bundle_installer.cpp105 ErrCode ret = InstallBundle(bundleDir, installParam, Constants::AppType::SYSTEM_APP); in InstallNormalAppInHmp()
124 ret = InstallBundle(bundleDir, installParam, Constants::AppType::SYSTEM_APP); in InstallNormalAppInHmp()
H A Dbundle_mgr_service_event_handler.cpp503 filePaths, Constants::AppType::SYSTEM_APP, removable)) { in ReInstallAllInstallDirApps()
882 ProcessSystemBundleInstall(item, Constants::AppType::SYSTEM_APP, userId); in ProcessBootBundleInstallFromScan()
981 ProcessSystemSharedBundleInstall(hspDir, Constants::AppType::SYSTEM_APP); in InnerProcessBootPreBundleProFileInstall()
1027 BMSEventHandler::ProcessSystemBundleInstall(installInfo, Constants::AppType::SYSTEM_APP, userId); in AddTaskParallel()
1033 BMSEventHandler::ProcessSystemBundleInstall(installInfo, Constants::AppType::SYSTEM_APP, userId); in AddTaskParallel()
1668 InnerProcessRebootSharedBundleInstall(sharedBundleDirs, Constants::AppType::SYSTEM_APP); in ProcessReBootPreBundleProFileInstall()
1669 InnerProcessRebootBundleInstall(bundleDirs, Constants::AppType::SYSTEM_APP); in ProcessReBootPreBundleProFileInstall()
1679 InnerProcessRebootBundleInstall(bundleDirs, Constants::AppType::SYSTEM_APP); in ProcessRebootBundleInstallFromScan()
2906 if (!OTAInstallSystemBundle(filePaths, Constants::AppType::SYSTEM_APP, removable)) { in HandlePreInstallAppPathsException()
2959 Constants::AppType::SYSTEM_APP, preInstallBundleInf in HandlePreInstallBundleNamesException()
[all...]
H A Dbundle_install_checker.cpp351 newInfo.SetAppType(Constants::AppType::SYSTEM_APP); in ParseHapFiles()
825 if ((appType == Constants::AppType::SYSTEM_APP) && in CheckSystemSize()
H A Dbundle_profile.cpp2288 applicationInfo.isSystemApp = innerBundleInfo.GetAppType() == Constants::AppType::SYSTEM_APP; in ToInnerBundleInfo()
2329 if (innerBundleInfo.GetAppType() == Constants::AppType::SYSTEM_APP) { in ToInnerBundleInfo()
H A Dbundle_mgr_host_impl.cpp45 constexpr const char* SYSTEM_APP = "system"; member
2795 std::string appType = isSystemApp ? SYSTEM_APP : THIRD_PARTY_APP; in GetAppType()
4134 info.SetAppType(isSystemApp ? Constants::AppType::SYSTEM_APP : Constants::AppType::THIRD_PARTY_APP); in SetProvisionInfoToInnerBundleInfo()
/foundation/communication/dsoftbus/core/common/security/permission/small/
H A Dsoftbus_permission.c55 return SYSTEM_APP; in GetPermType()
87 if (ret >= SYSTEM_APP) { in CheckTransPermission()
/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Dbundle_constants.h34 SYSTEM_APP = 0, member in OHOS::AppExecFwk::Constants::AppType
/foundation/communication/dsoftbus/core/common/include/
H A Dsoftbus_permission.h33 SYSTEM_APP = 0, enumerator
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerinstallbundlevector_fuzzer/
H A Dbasebundleinstallerinstallbundlevector_fuzzer.cpp33 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerprocessbundleinstall_fuzzer/
H A Dbasebundleinstallerprocessbundleinstall_fuzzer.cpp33 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerinstallbundle_fuzzer/
H A Dbasebundleinstallerinstallbundle_fuzzer.cpp33 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in DoSomethingInterestingWithMyAPI()
/foundation/communication/dsoftbus/core/common/security/permission/standard/
H A Dsoftbus_permission.cpp74 return SYSTEM_APP; in CalcPermType()
96 if (ret >= SYSTEM_APP) { in CheckTransPermission()
/foundation/communication/dsoftbus/core/common/security/permission/common/
H A Dpermission_entry.c92 {SYSTEM_APP_STR, SYSTEM_APP},
322 case SYSTEM_APP: in GetPermType()
323 if (pItem->permType == SYSTEM_APP || in GetPermType()
330 if (pItem->permType == SYSTEM_APP || in GetPermType()
342 if (pItem->permType == SYSTEM_APP || in GetPermType()
391 if (appInfo->type == SYSTEM_APP || appInfo->type == NORMAL_APP) { in CheckPermissionAppInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_ota_update_test.cpp141 filePath, installParam, Constants::AppType::SYSTEM_APP) == ERR_OK; in InstallSystemBundle()
158 filePaths, installParam, Constants::AppType::SYSTEM_APP) == ERR_OK; in OTAInstallSystemBundle()
542 bundleFiles, installParam, Constants::AppType::SYSTEM_APP); in HWTEST_F()
553 Constants::AppType::SYSTEM_APP); in HWTEST_F()
H A Dbms_bundle_installer_permission_test.cpp122 filePath, installParam, Constants::AppType::SYSTEM_APP) == ERR_OK; in InstallSystemBundle()
141 filePaths, installParam, Constants::AppType::SYSTEM_APP) == ERR_OK; in OTAInstallSystemBundle()
H A Dbms_bundle_install_checker_test.cpp144 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in HWTEST_F()
203 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in HWTEST_F()
226 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in HWTEST_F()
246 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in HWTEST_F()
948 innerBundleInfo1.SetAppType(Constants::AppType::SYSTEM_APP); in HWTEST_F()
H A Dbms_bundle_installer_test.cpp173 filePath, installParam, Constants::AppType::SYSTEM_APP) == ERR_OK; in InstallSystemBundle()
192 filePaths, installParam, Constants::AppType::SYSTEM_APP) == ERR_OK; in OTAInstallSystemBundle()
4735 info.SetAppType(Constants::AppType::SYSTEM_APP); in HWTEST_F()
6894 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dpre_install_bundle_info.h287 Constants::AppType appType_ = Constants::AppType::SYSTEM_APP;
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dbundle_constants.h77 SYSTEM_APP = 0, member in OHOS::AppExecFwk::Constants::AppType
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/
H A Dbms_event_handler_test.cpp280 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in HWTEST_F()
295 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in HWTEST_F()
311 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in HWTEST_F()
327 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in HWTEST_F()
632 auto appType = Constants::AppType::SYSTEM_APP; in HWTEST_F()
646 auto appType = Constants::AppType::SYSTEM_APP; in HWTEST_F()
811 Constants::AppType appType = Constants::AppType::SYSTEM_APP; in HWTEST_F()
1348 bool ret = handler->InnerMultiProcessBundleInstall(needInstallMap, Constants::AppType::SYSTEM_APP); in HWTEST_F()
1351 ret = handler->InnerMultiProcessBundleInstall(needInstallMap, Constants::AppType::SYSTEM_APP); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/
H A Dapp_service_fwk_installer.cpp59 checkParam.appType = AppExecFwk::Constants::AppType::SYSTEM_APP; in BuildCheckParam()
343 preInstallBundleInfo.SetAppType(Constants::AppType::SYSTEM_APP); in SavePreInstallBundleInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_service_startup_test/
H A Dbms_service_startup_test.cpp366 filePaths, Constants::AppType::SYSTEM_APP, removabl); in HWTEST_F()
452 handler->InnerProcessRebootBundleInstall(scanPathList, Constants::AppType::SYSTEM_APP); in HWTEST_F()

Completed in 49 milliseconds

12