Home
last modified time | relevance | path

Searched refs:profileType (Results 1 - 18 of 18) sorted by relevance

/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/
H A Dkv_data_change_listener.cpp178 ProfileType profileType = ProfileUtils::GetProfileType(dbKey); in HandleAddChange() local
179 SubscribeProfileManager::GetInstance().NotifyProfileChange(profileType, ChangeType::ADD, dbKey, dbValue); in HandleAddChange()
189 ProfileType profileType = ProfileUtils::GetProfileType(dbKey); in HandleUpdateChange() local
190 SubscribeProfileManager::GetInstance().NotifyProfileChange(profileType, ChangeType::UPDATE, dbKey, dbValue); in HandleUpdateChange()
200 ProfileType profileType = ProfileUtils::GetProfileType(dbKey); in HandleDeleteChange() local
201 SubscribeProfileManager::GetInstance().NotifyProfileChange(profileType, ChangeType::DELETE, dbKey, dbValue); in HandleDeleteChange()
252 ProfileType profileType = ProfileUtils::GetProfileType(dbKey); in GenerateSwitchNotify() local
253 int32_t res = SubscribeProfileManager::GetInstance().NotifyProfileChange(profileType, changeType, dbKey, in GenerateSwitchNotify()
/foundation/deviceprofile/device_info_manager/services/core/include/subscribeprofilemanager/
H A Dsubscribe_profile_manager.h36 int32_t NotifyProfileChange(ProfileType profileType, ChangeType changeType, const std::string& dbKey,
/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp174 ProfileType profileType = ProfileType::PROFILE_TYPE_MIN; in GetProfileType() local
176 profileType = ProfileType::DEVICE_PROFILE; in GetProfileType()
179 profileType = ProfileType::SERVICE_PROFILE; in GetProfileType()
182 profileType = ProfileType::CHAR_PROFILE; in GetProfileType()
184 return profileType; in GetProfileType()
/foundation/ability/ability_runtime/test/unittest/bundle_mgr_helper_test/
H A Dbundle_mgr_helper_test.cpp788 ProfileType profileType = AppExecFwk::PKG_CONTEXT_PROFILE; in HWTEST_F() local
793 auto ret = bundleMgrHelper->GetJsonProfile(profileType, bundleName, moduleName, profile, userId); in HWTEST_F()
/foundation/deviceprofile/device_info_manager/services/core/src/subscribeprofilemanager/
H A Dsubscribe_profile_manager.cpp71 int32_t SubscribeProfileManager::NotifyProfileChange(ProfileType profileType, ChangeType changeType, in NotifyProfileChange() argument
74 int32_t code = static_cast<int32_t>(profileType) * static_cast<int32_t>(changeType); in NotifyProfileChange()
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.h76 ErrCode GetJsonProfile(ProfileType profileType, const std::string &bundleName,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/
H A Dbms_bundle_manager_test.cpp5513 ProfileType profileType = AppExecFwk::ProfileType::INTENT_PROFILE; in HWTEST_F() local
5517 auto ret = dataMgr->GetJsonProfile(profileType, wrongName, MODULE_NAME, profile, USERID); in HWTEST_F()
5536 ProfileType profileType = AppExecFwk::ProfileType::INTENT_PROFILE; in HWTEST_F() local
5540 auto ret = dataMgr->GetJsonProfile(profileType, BUNDLE_BACKUP_NAME, wrongName, profile, USERID); in HWTEST_F()
5559 ProfileType profileType = AppExecFwk::ProfileType::INTENT_PROFILE; in HWTEST_F() local
5563 auto ret = dataMgr->GetJsonProfile(profileType, BUNDLE_BACKUP_NAME, MODULE_NAME, profile, USERID); in HWTEST_F()
5582 ProfileType profileType = AppExecFwk::ProfileType::INTENT_PROFILE; in HWTEST_F() local
5588 ret = dataMgr->GetJsonProfile(profileType, BUNDLE_BACKUP_NAME, MODULE_NAME, profile, USERID); in HWTEST_F()
5606 ProfileType profileType = AppExecFwk::ProfileType::INTENT_PROFILE; in HWTEST_F() local
5609 auto ret = dataMgr->GetJsonProfile(profileType, BUNDLE_PREVIEW_NAM in HWTEST_F()
5628 ProfileType profileType = AppExecFwk::ProfileType::INTENT_PROFILE; HWTEST_F() local
5650 ProfileType profileType = AppExecFwk::ProfileType::ADDITION_PROFILE; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/
H A Dbundle_mgr_helper.cpp838 ErrCode BundleMgrHelper::GetJsonProfile(ProfileType profileType, const std::string &bundleName, in GetJsonProfile() argument
849 return bundleMgr->GetJsonProfile(profileType, bundleName, moduleName, profile, userId); in GetJsonProfile()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/
H A Dbundle_manager.h308 napi_value GetProfile(napi_env env, napi_callback_info info, const AbilityProfileType &profileType);
H A Dbundle_manager.cpp52 constexpr const char* PROFILE_TYPE = "profileType";
2958 napi_value GetProfile(napi_env env, napi_callback_info info, const AbilityProfileType &profileType) in GetProfile() argument
2969 asyncCallbackInfo->type = profileType; in GetProfile()
4675 int32_t& profileType, std::string& bundleName, std::string& moduleName, int32_t& userId) in ParamsProcessGetJsonProfile()
4683 if (!CommonFunc::ParseInt(env, args[ARGS_POS_ZERO], profileType)) { in ParamsProcessGetJsonProfile()
4684 APP_LOGE("profileType invalid"); in ParamsProcessGetJsonProfile()
4688 if (g_supportedProfileList.find(profileType) == g_supportedProfileList.end()) { in ParamsProcessGetJsonProfile()
4689 APP_LOGE("JS request profile error, type is %{public}d, profile not exist", profileType); in ParamsProcessGetJsonProfile()
4729 int32_t profileType = 0; in GetJsonProfile() local
4733 if (!ParamsProcessGetJsonProfile(env, info, profileType, bundleNam in GetJsonProfile()
4674 ParamsProcessGetJsonProfile(napi_env env, napi_callback_info info, int32_t& profileType, std::string& bundleName, std::string& moduleName, int32_t& userId) ParamsProcessGetJsonProfile() argument
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_interface.h1428 virtual ErrCode GetJsonProfile(ProfileType profileType, const std::string &bundleName, in GetJsonProfile() argument
H A Dbundle_mgr_proxy.h994 virtual ErrCode GetJsonProfile(ProfileType profileType, const std::string &bundleName,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_host_impl.cpp3750 ErrCode BundleMgrHostImpl::GetJsonProfile(ProfileType profileType, const std::string &bundleName, in GetJsonProfile() argument
3753 APP_LOGD("GetJsonProfile profileType: %{public}d, bundleName: %{public}s, moduleName: %{public}s" in GetJsonProfile()
3754 "userId: %{public}d", profileType, bundleName.c_str(), moduleName.c_str(), userId); in GetJsonProfile()
3762 profileType != ProfileType::NETWORK_PROFILE && in GetJsonProfile()
3763 profileType != ProfileType::PKG_CONTEXT_PROFILE) { in GetJsonProfile()
3772 return dataMgr->GetJsonProfile(profileType, bundleName, moduleName, profile, userId); in GetJsonProfile()
H A Dbundle_data_mgr.cpp7176 ErrCode BundleDataMgr::GetJsonProfile(ProfileType profileType, const std::string &bundleName, in GetJsonProfile() argument
7179 APP_LOGD("profileType: %{public}d, bundleName: %{public}s, moduleName: %{public}s", in GetJsonProfile()
7180 profileType, bundleName.c_str(), moduleName.c_str()); in GetJsonProfile()
7185 auto mapItem = PROFILE_TYPE_MAP.find(profileType); in GetJsonProfile()
7187 APP_LOGE("profileType: %{public}d is invalid", profileType); in GetJsonProfile()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_host_impl.h944 virtual ErrCode GetJsonProfile(ProfileType profileType, const std::string &bundleName,
H A Dbundle_data_mgr.h913 ErrCode GetJsonProfile(ProfileType profileType, const std::string &bundleName, const std::string &moduleName,
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_host.cpp3460 ProfileType profileType = static_cast<ProfileType>(data.ReadInt32()); in HandleGetJsonProfile() local
3465 ErrCode ret = GetJsonProfile(profileType, bundleName, moduleName, profile, userId); in HandleGetJsonProfile()
H A Dbundle_mgr_proxy.cpp4167 ErrCode BundleMgrProxy::GetJsonProfile(ProfileType profileType, const std::string &bundleName, in GetJsonProfile() argument
4182 if (!data.WriteInt32(profileType)) { in GetJsonProfile()

Completed in 69 milliseconds