Home
last modified time | relevance | path

Searched defs:appIndex (Results 1 – 25 of 226) sorted by relevance

12345678910

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/sandbox_app/
Dbundle_sandbox_app_helper.cpp24 …id BundleSandboxAppHelper::SaveSandboxAppInfo(const InnerBundleInfo &info, const int32_t &appIndex) in SaveSandboxAppInfo()
38 …undleSandboxAppHelper::DeleteSandboxAppInfo(const std::string &bundleName, const int32_t &appIndex) in DeleteSandboxAppInfo()
53 …const std::string &bundleName, const int32_t &appIndex, const int32_t &userId, BundleInfo &info) c… in GetSandboxAppBundleInfo() argument
83 bool BundleSandboxAppHelper::DeleteSandboxAppIndex(const std::string &bundleName, int32_t appIndex) in DeleteSandboxAppIndex()
116 …const std::string &bundleName, const int32_t &appIndex, int32_t &userId, InnerBundleInfo &info) co… in GetSandboxAppInfo() argument
132 …const AbilityInfo &abilityInfo, int32_t appIndex, int32_t userId, HapModuleInfo &hapModuleInfo) co… in GetSandboxHapModuleInfo()
163 const int32_t &userId, int32_t &appIndex) in InstallSandboxApp()
176 const std::string &bundleName, const int32_t &appIndex, const int32_t &userId) in UninstallSandboxApp()
Dbundle_sandbox_data_mgr.cpp40 void BundleSandboxDataMgr::SaveSandboxAppInfo(const InnerBundleInfo &info, const int32_t &appIndex) in SaveSandboxAppInfo()
54 … BundleSandboxDataMgr::DeleteSandboxAppInfo(const std::string &bundleName, const int32_t &appIndex) in DeleteSandboxAppInfo()
72 …const std::string &bundleName, const int32_t &appIndex, int32_t &userId, InnerBundleInfo &info) co… in GetSandboxAppInfo() argument
111 …const std::string &bundleName, const int32_t &appIndex, const int32_t &userId, BundleInfo &info) c… in GetSandboxAppBundleInfo() argument
178 bool BundleSandboxDataMgr::DeleteSandboxAppIndex(const std::string &bundleName, int32_t appIndex) in DeleteSandboxAppIndex()
211 …boxDataMgr::GetSandboxHapModuleInfo(const AbilityInfo &abilityInfo, int32_t appIndex, int32_t user… in GetSandboxHapModuleInfo()
310 int32_t appIndex = 0; in RestoreSandboxPersistentInnerBundleInfo() local
322 bool BundleSandboxDataMgr::RestoreSandboxAppIndex(const std::string &bundleName, int32_t appIndex) in RestoreSandboxAppIndex()
Dbundle_sandbox_installer.cpp46 const int32_t &userId, int32_t &appIndex) in InstallSandboxApp()
151 const std::string &bundleName, const int32_t &appIndex, const int32_t &userId) in UninstallSandboxApp()
276 auto appIndex = info.GetAppIndex(); in SandboxAppRollBack() local
319 int32_t appIndex = Constants::INITIAL_SANDBOX_APP_INDEX; in UninstallAllSandboxApps() local
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_sandbox_app_test/
Dbms_bundle_sandbox_app_test.cpp167 ErrCode BmsSandboxAppTest::UninstallSandboxApp(const std::string &bundleName, int32_t appIndex, int… in UninstallSandboxApp()
178 … BmsSandboxAppTest::GetSandboxAppBundleInfo(const std::string &bundleName, const int32_t &appIndex, in GetSandboxAppBundleInfo()
187 ErrCode BmsSandboxAppTest::GetSandboxHapModuleInfo(const AbilityInfo &abilityInfo, int32_t appIndex in GetSandboxHapModuleInfo()
205 const std::string &bundleName, const int32_t &appIndex, int32_t &userId, InnerBundleInfo &info) in GetSandboxAppInfo()
210 bool BmsSandboxAppTest::DeleteSandboxAppIndex(const std::string &bundleName, int32_t appIndex) in DeleteSandboxAppIndex()
303 void BmsSandboxAppTest::SaveSandboxAppInfo(const InnerBundleInfo &info, const int32_t &appIndex) in SaveSandboxAppInfo()
308 void BmsSandboxAppTest::DeleteSandboxAppInfo(const std::string &bundleName, const int32_t &appIndex) in DeleteSandboxAppInfo()
313 void BmsSandboxAppTest::CheckPathAreExisted(const std::string &bundleName, int32_t appIndex) in CheckPathAreExisted()
349 void BmsSandboxAppTest::CheckPathAreNonExisted(const std::string &bundleName, int32_t appIndex) in CheckPathAreNonExisted()
397 int32_t appIndex = 0; variable
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_clone_app_test/
Dbms_bundle_clone_app_bundle_logic_test.cpp281 int32_t appIndex = 1; variable
322 int32_t appIndex = 1; variable
365 int32_t appIndex = 0; variable
421 int32_t appIndex = 2; variable
432 int32_t appIndex = 1; variable
443 int32_t appIndex = 3; variable
470 int32_t appIndex = -1; variable
499 int32_t appIndex = 2; variable
534 int32_t appIndex = 3; variable
570 int32_t appIndex = 0; variable
Dbms_bundle_clone_app_ipc_test.cpp122 int32_t appIndex = 0; variable
134 int32_t appIndex = 0; variable
150 int32_t appIndex = 1; variable
178 int32_t appIndex = 1; variable
207 int32_t appIndex = 1; variable
234 int32_t appIndex = 1; variable
255 int32_t appIndex = 1; variable
276 int32_t appIndex = 10; variable
297 int32_t appIndex = 1; variable
314 int32_t appIndex = 0; variable
[all …]
/foundation/ability/ability_runtime/test/unittest/startup_util_test/
Dstartup_util_test.cpp54 int32_t appIndex = 0; variable
68 int32_t appIndex = 0; variable
81 int32_t appIndex = 1001; variable
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
Dbundle_status_callback_interface.h48 …virtual void OnBundleAdded(const std::string &bundleName, const int userId, const int32_t appIndex) in OnBundleAdded()
60 …rtual void OnBundleUpdated(const std::string &bundleName, const int userId, const int32_t appIndex) in OnBundleUpdated()
72 …rtual void OnBundleRemoved(const std::string &bundleName, const int userId, const int32_t appIndex) in OnBundleRemoved()
Dbundle_status_callback_proxy.h48 …d OnBundleAdded(const std::string &bundleName, const int userId, const int32_t appIndex) override … in OnBundleAdded()
55 …OnBundleUpdated(const std::string &bundleName, const int userId, const int32_t appIndex) override … in OnBundleUpdated()
62 …OnBundleRemoved(const std::string &bundleName, const int userId, const int32_t appIndex) override … in OnBundleRemoved()
Dbundle_installer_interface.h137 … virtual ErrCode InstallCloneApp(const std::string &bundleName, int32_t userId, int32_t& appIndex) in InstallCloneApp()
142 … virtual ErrCode UninstallCloneApp(const std::string &bundleName, int32_t userId, int32_t appIndex, in UninstallCloneApp()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
Dinner_bundle_clone_common.h32 static std::string GetCloneDataDir(const std::string &bundleName, const int32_t appIndex) in GetCloneDataDir()
37 static std::string GetCloneBundleIdKey(const std::string &bundleName, const int32_t appIndex) in GetCloneBundleIdKey()
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_sandbox_app_system_test/
Dbundle_mgr_sandbox_app_system_test.cpp251 …BundleMgrSandboxAppSystemTest::CheckPathAreExisted(const std::string &bundleName, int32_t appIndex) in CheckPathAreExisted()
287 …dleMgrSandboxAppSystemTest::CheckPathAreNonExisted(const std::string &bundleName, int32_t appIndex) in CheckPathAreNonExisted()
327 …BundleMgrSandboxAppSystemTest::CheckSandboxAppInfo(const std::string &bundleName, int32_t appIndex) in CheckSandboxAppInfo()
359 int32_t appIndex = 0; variable
391 int32_t appIndex = 0; variable
428 int32_t appIndex = 0; variable
459 int32_t appIndex = 0; variable
496 int32_t appIndex = 0; variable
531 int32_t appIndex = 0; variable
574 int32_t appIndex = 0; variable
[all …]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
Dbundle_mgr_client.cpp156 int32_t &appIndex) in InstallSandboxApp()
165 ErrCode BundleMgrClient::UninstallSandboxApp(const std::string &bundleName, int32_t appIndex, int32… in UninstallSandboxApp()
175 const std::string &bundleName, int32_t appIndex, int32_t userId, BundleInfo &info) in GetSandboxBundleInfo()
184 ErrCode BundleMgrClient::GetSandboxAbilityInfo(const Want &want, int32_t appIndex, int32_t flags, i… in GetSandboxAbilityInfo()
194 ErrCode BundleMgrClient::GetSandboxExtAbilityInfos(const Want &want, int32_t appIndex, int32_t flag… in GetSandboxExtAbilityInfos()
204 ErrCode BundleMgrClient::GetSandboxHapModuleInfo(const AbilityInfo &abilityInfo, int32_t appIndex, … in GetSandboxHapModuleInfo()
214 …ndleMgrClient::GetDirByBundleNameAndAppIndex(const std::string &bundleName, const int32_t appIndex, in GetDirByBundleNameAndAppIndex()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/installer/
Dinstaller_impl.cpp60 int32_t appIndex = want.GetIntParam(SANDBOX_APP_INDEX, 0); in OnReceiveEvent() local
66 …nstallEventSubscriber::OnUninstall(const std::string &bundleName, int32_t userId, int32_t appIndex) in OnUninstall()
95 …d InstallEventSubscriber::OnUpdate(const std::string &bundleName, int32_t userId, int32_t appIndex) in OnUpdate()
115 … InstallEventSubscriber::OnInstall(const std::string &bundleName, int32_t userId, int32_t appIndex) in OnInstall()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/clone/
Dbundle_clone_installer.cpp49 const int32_t userId, int32_t &appIndex) in InstallCloneApp()
80 const std::string &bundleName, const int32_t userId, const int32_t appIndex) in UninstallCloneApp()
151 const int32_t userId, int32_t &appIndex) in ProcessCloneBundleInstall()
258 int32_t userId, int32_t appIndex) in ProcessCloneBundleUninstall()
334 int32_t appIndex, const InnerBundleInfo& innerBundleInfo) in UninstallDebugAppSandbox()
376 …eCloneInstaller::RemoveCloneDataDir(const std::string bundleName, int32_t userId, int32_t appIndex) in RemoveCloneDataDir()
399 int32_t userId, int32_t appIndex, bool isPreInstallApp, bool isFreeInstallMode, in SendBundleSystemEvent()
/foundation/ability/ability_runtime/services/abilitymgr/src/
Dstart_ability_utils.cpp45 …tartAbilityUtils::GetAppIndex(const Want &want, sptr<IRemoteObject> callerToken, int32_t &appIndex) in GetAppIndex()
125 int32_t appIndex = 0; in CheckAppProvisionMode() local
145 StartAbilityInfoWrap::StartAbilityInfoWrap(const Want &want, int32_t validUserId, int32_t appIndex, in StartAbilityInfoWrap()
226 int32_t appIndex) in CreateStartAbilityInfo()
278 int32_t appIndex) in CreateStartExtensionInfo()
318 int32_t appIndex, std::shared_ptr<StartAbilityInfo> abilityInfo) in FindExtensionInfo()
/foundation/bundlemanager/bundle_framework/services/test/mock/src/
Dsystem_ability_helper.cpp58 int SystemAbilityHelper::UninstallApp(const std::string &bundleName, int32_t uid, int32_t appIndex) in UninstallApp()
63 int SystemAbilityHelper::UpgradeApp(const std::string &bundleName, int32_t uid, int32_t appIndex) in UpgradeApp()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/
Dbms_bundle_permission_token_test.cpp129 int32_t appIndex = 1; variable
234 int32_t appIndex = Constants::INITIAL_SANDBOX_APP_INDEX + 1; variable
249 int32_t appIndex = 1 + Constants::INITIAL_SANDBOX_APP_INDEX; variable
264 int32_t appIndex = 1 + Constants::INITIAL_SANDBOX_APP_INDEX; variable
/foundation/ability/ability_runtime/test/unittest/bundle_mgr_helper_test/
Dbundle_mgr_helper_test.cpp521 int32_t appIndex = 1; variable
536 int32_t appIndex = 1; variable
551 int32_t appIndex = 1; variable
564 int32_t appIndex = 1; variable
579 int32_t appIndex = -1; variable
605 int32_t appIndex = -1; variable
620 int32_t appIndex = 10; variable
635 int32_t appIndex = 0; variable
651 int32_t appIndex = FIRST_APP_INDEX; variable
667 int32_t appIndex = SECOND_APP_INDEX; variable
[all …]
/foundation/ability/ability_runtime/test/unittest/app_launch_data_test/
Dapp_launch_data_test.cpp94 int32_t appIndex = 0; variable
129 int32_t appIndex = 0; variable
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
Dsystem_ability_helper.cpp60 int SystemAbilityHelper::UninstallApp(const std::string &bundleName, int32_t uid, int32_t appIndex) in UninstallApp()
65 int SystemAbilityHelper::UpgradeApp(const std::string &bundleName, int32_t uid, int32_t appIndex) in UpgradeApp()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
Dbundle_resource_manager.cpp67 for (const int32_t appIndex : resourceInfos[0].appIndexes_) { in AddResourceInfoByBundleName() local
79 …const std::string &bundleName, const int32_t appIndex, const std::vector<ResourceInfo> &resourceIn… in DeleteNotExistResourceInfo()
142 for (const int32_t appIndex : item.second[0].appIndexes_) { in AddAllResourceInfo() local
396 BundleResourceInfo &bundleResourceInfo, int32_t appIndex) in GetBundleResourceInfo()
415 std::vector<LauncherAbilityResourceInfo> &launcherAbilityResourceInfo, const int32_t appIndex) in GetLauncherAbilityResourceInfo()
567 const int32_t appIndex) in AddCloneBundleResourceInfo()
594 const int32_t appIndex) in DeleteCloneBundleResourceInfo()
605 const int32_t appIndex, std::vector<ResourceInfo> &resourceInfos) in GetBundleResourceInfoForCloneBundle()
638 const int32_t appIndex, in UpdateCloneBundleResourceInfo()
Dbundle_resource_host_impl.cpp30 BundleResourceInfo &bundleResourceInfo, const int32_t appIndex) in GetBundleResourceInfo()
61 std::vector<LauncherAbilityResourceInfo> &launcherAbilityResourceInfo, const int32_t appIndex) in GetLauncherAbilityResourceInfo()
292 …rCode BundleResourceHostImpl::CheckBundleNameValid(const std::string &bundleName, int32_t appIndex) in CheckBundleNameValid()
/foundation/bundlemanager/bundle_tool/test/mock/
Dmock_bundle_mgr_host.cpp40 const sptr<ICleanCacheCallback> cleanCacheCallback, int32_t userId, int32_t appIndex) in CleanBundleCacheFiles()
48 …eMgrHost::CleanBundleDataFiles(const std::string &bundleName, const int userId, const int appIndex) in CleanBundleDataFiles()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/app_control/
Djs_app_control.cpp313 static napi_value InnerDeleteDisposedStatusSync(napi_env env, std::string &appId, int32_t appIndex) in InnerDeleteDisposedStatusSync()
365 int32_t appIndex = Constants::MAIN_APP_INDEX; in DeleteDisposedStatusSync() local
620 static napi_value InnerGetDisposedRule(napi_env env, std::string &appId, int32_t appIndex) in InnerGetDisposedRule()
672 int32_t appIndex = Constants::MAIN_APP_INDEX; in GetDisposedRule() local
687 …_value InnerSetDisposedRule(napi_env env, std::string &appId, DisposedRule &rule, int32_t appIndex) in InnerSetDisposedRule()
744 int32_t appIndex = Constants::MAIN_APP_INDEX; in SetDisposedRule() local
814 int32_t appIndex, int32_t userId) in InnerGetUninstallDisposedRule()
862 int32_t appIndex = Constants::MAIN_APP_INDEX; in GetUninstallDisposedRule() local
879 UninstallDisposedRule &rule, int32_t appIndex, int32_t userId) in InnerSetUninstallDisposedRule()
934 int32_t appIndex = Constants::MAIN_APP_INDEX; in SetUninstallDisposedRule() local
[all …]

12345678910