/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/ |
H A D | kv_data_change_listener.cpp | 178 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 D | subscribe_profile_manager.h | 36 int32_t NotifyProfileChange(ProfileType profileType, ChangeType changeType, const std::string& dbKey,
|
/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | profile_utils.cpp | 174 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 D | bundle_mgr_helper_test.cpp | 788 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 D | subscribe_profile_manager.cpp | 71 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 D | bundle_mgr_helper.h | 76 ErrCode GetJsonProfile(ProfileType profileType, const std::string &bundleName,
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/ |
H A D | bms_bundle_manager_test.cpp | 5513 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 D | bundle_mgr_helper.cpp | 838 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 D | bundle_manager.h | 308 napi_value GetProfile(napi_env env, napi_callback_info info, const AbilityProfileType &profileType);
|
H A D | bundle_manager.cpp | 52 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 D | bundle_mgr_interface.h | 1428 virtual ErrCode GetJsonProfile(ProfileType profileType, const std::string &bundleName, in GetJsonProfile() argument
|
H A D | bundle_mgr_proxy.h | 994 virtual ErrCode GetJsonProfile(ProfileType profileType, const std::string &bundleName,
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_mgr_host_impl.cpp | 3750 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 D | bundle_data_mgr.cpp | 7176 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 D | bundle_mgr_host_impl.h | 944 virtual ErrCode GetJsonProfile(ProfileType profileType, const std::string &bundleName,
|
H A D | bundle_data_mgr.h | 913 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 D | bundle_mgr_host.cpp | 3460 ProfileType profileType = static_cast<ProfileType>(data.ReadInt32()); in HandleGetJsonProfile() local 3465 ErrCode ret = GetJsonProfile(profileType, bundleName, moduleName, profile, userId); in HandleGetJsonProfile()
|
H A D | bundle_mgr_proxy.cpp | 4167 ErrCode BundleMgrProxy::GetJsonProfile(ProfileType profileType, const std::string &bundleName, in GetJsonProfile() argument 4182 if (!data.WriteInt32(profileType)) { in GetJsonProfile()
|