Home
last modified time | relevance | path

Searched refs:profileName (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dpower_manager.cpp83 …void PowerProcess(const RequestStatus status, const std::string &profileName, const RawAddress raw…
84 …void UpdatePowerDevicesInfo(const RawAddress rawAddr, const std::string &profileName, const Reques…
137 const RequestStatus status, const std::string &profileName, const RawAddress &addr) const in StatusUpdate() argument
139 …HILOGI("profileName: %{public}s, status: %{public}u, addr: %{public}s", profileName.c_str(), stat… in StatusUpdate()
144 std::bind(&PowerManager::impl::PowerProcess, pimpl.get(), status, profileName, addr)); in StatusUpdate()
159 const RequestStatus status, const std::string &profileName, const RawAddress rawAddr) in PowerProcess() argument
161 HILOGI("status: %{public}u, profileName: %{public}s", status, profileName.c_str()); in PowerProcess()
163 UpdatePowerDevicesInfo(rawAddr, profileName, status); in PowerProcess()
171 const RawAddress rawAddr, const std::string &profileName, const RequestStatus status) in UpdatePowerDevicesInfo() argument
182 its->second->DeleteRequestPower(profileName); in UpdatePowerDevicesInfo()
[all …]
H A Dprofile_service_manager.cpp307 std::string profileName = name; in EnableCompleteProcess() local
310 if ((pimpl->profilesState_.Find(BTTransport::ADAPTER_BREDR, profileName, state)) && in EnableCompleteProcess()
319 if ((pimpl->profilesState_.Find(BTTransport::ADAPTER_BLE, profileName, state)) && in EnableCompleteProcess()
322 pimpl->profilesState_.SetProfile(BTTransport::ADAPTER_BLE, profileName, newState); in EnableCompleteProcess()
459 std::string profileName = name; in DisableCompleteProcess() local
462 if ((pimpl->profilesState_.Find(BTTransport::ADAPTER_BREDR, profileName, state)) && in DisableCompleteProcess()
469 CheckWaitEnableProfiles(profileName, BTTransport::ADAPTER_BLE); in DisableCompleteProcess()
471 if ((pimpl->profilesState_.Find(BTTransport::ADAPTER_BLE, profileName, state)) && in DisableCompleteProcess()
478 CheckWaitEnableProfiles(profileName, BTTransport::ADAPTER_BREDR); in DisableCompleteProcess()
543 std::string profileName = SupportProfilesInfo::IdToName(profileID); in GetProfileServiceConnectState() local
[all …]
H A Dpower_manager.h101 … const RequestStatus status, const std::string &profileName, const RawAddress &addr) const = 0;
185 …void StatusUpdate(RequestStatus status, const std::string &profileName, const RawAddress &addr) co…
H A Dpower_device.h63 void SetRequestPower(const std::string &profileName, const RequestStatus status) const;
71 void DeleteRequestPower(const std::string &profileName) const;
H A Dpower_device.cpp68 void PowerDevice::SetRequestPower(const std::string &profileName, const RequestStatus status) const in SetRequestPower() argument
70 pimpl->requestPower_[profileName] = status; in SetRequestPower()
73 void PowerDevice::DeleteRequestPower(const std::string &profileName) const in DeleteRequestPower()
75 pimpl->requestPower_.erase(profileName); in DeleteRequestPower()
H A Dpower_spec.cpp222 PowerInfo PowerSpec::GetPowerSpec(const std::string &profileName, RequestStatus status) in GetPowerSpec() argument
224 auto profileIts = POWER_MODE_SPEC.find(profileName); in GetPowerSpec()
243 PowerSsrLevel PowerSpec::GetPowerSsrLevel(const std::string &profileName, RequestStatus status) in GetPowerSsrLevel() argument
245 auto profileIts = SSR_SPEC.find(profileName); in GetPowerSsrLevel()
H A Dpower_spec.h209 static PowerInfo GetPowerSpec(const std::string &profileName, RequestStatus status);
228 static PowerSsrLevel GetPowerSsrLevel(const std::string &profileName, RequestStatus status);
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/
H A Ddata_share_profile_config.cpp180 std::string profileName = resName.substr(pos + PROFILE_PREFIX_LEN); in GetResFromResMgr() local
186 RState ret = resMgr.GetProfileDataByName(profileName.c_str(), len, fileContent); in GetResFromResMgr()
188 ZLOGE("failed, ret is %{public}d, profileName is %{public}s", ret, profileName.c_str()); in GetResFromResMgr()
192 ZLOGE("fileContent is empty, profileName is %{public}s", profileName.c_str()); in GetResFromResMgr()
197 ZLOGE("rawData is not json, profileName is %{public}s", profileName.c_str()); in GetResFromResMgr()
204 RState ret = resMgr.GetProfileByName(profileName.c_str(), resPath); in GetResFromResMgr()
206 …E("profileName not found, ret is %{public}d, profileName is %{public}s", ret, profileName.c_str()); in GetResFromResMgr()
/ohos5.0/foundation/systemabilitymgr/safwk/services/safwk/src/
H A Dmain.cpp93 string profileName = fileName.substr(0, dotPos); in SetProcName() local
94 setProcessName(profileName); in SetProcName()
98 profileName = fileName.substr(0, dotPos); in SetProcName()
99 int32_t ret = prctl(PR_SET_NAME, profileName.c_str()); in SetProcName()
103 StartMemoryHook(profileName); in SetProcName()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_ipc_interface_test/
H A Dams_ipc_appscheduler_interface_test.cpp194 std::string profileName("mockProfile"); variable
195 Profile profile(profileName);
251 std::string profileName("mockProfile"); variable
252 Profile profile(profileName);
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/common/ams/ipc_app_scheduler_test/
H A Dams_ipc_app_scheduler_module_test.cpp193 std::string profileName("mockProfile"); variable
194 Profile profile(profileName);
223 std::string profileName("mockProfile"); variable
224 Profile profile(profileName);
/ohos5.0/foundation/deviceprofile/device_info_manager/common/include/utils/
H A Dprofile_utils.h87 static bool IsNeedAddOhSuffix(const std::string& profileName, bool isSvr);
88 static std::string CheckAndAddOhSuffix(const std::string& profileName, bool isSvr);
89 static std::string CheckAndRemoveOhSuffix(const std::string& profileName);
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp248 bool ProfileUtils::IsNeedAddOhSuffix(const std::string& profileName, bool isSvr) in IsNeedAddOhSuffix() argument
250 if (profileName.length() == 0 || profileName.length() > MAX_STRING_LEN) { in IsNeedAddOhSuffix()
253 if (isSvr && NEED_ADD_OH_SUFFIX_SVR_NAMES.count(profileName) > 0) { in IsNeedAddOhSuffix()
256 if (!isSvr && NEED_ADD_OH_SUFFIX_DEV_PROFILES.count(profileName) > 0) { in IsNeedAddOhSuffix()
262 std::string ProfileUtils::CheckAndAddOhSuffix(const std::string& profileName, bool isSvr) in CheckAndAddOhSuffix() argument
264 std::string str = profileName; in CheckAndAddOhSuffix()
271 std::string ProfileUtils::CheckAndRemoveOhSuffix(const std::string& profileName) in CheckAndRemoveOhSuffix() argument
273 std::string str = profileName; in CheckAndRemoveOhSuffix()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/app/
H A Djs_ability_stage.cpp549 std::string profileName = module.at(RUN_ON_THREAD).get<std::string>(); in SetOptionalParameters() local
550 if (profileName == TASKPOOL || profileName == TASKPOOL_LOWER) { in SetOptionalParameters()
740 std::string profileName = resName.substr(pos + strlen(PROFILE_FILE_PREFIX)); in GetResFromResMgr() local
746 …if (resMgr->GetProfileDataByName(profileName.c_str(), len, fileContentPtr) != Global::Resource::SU… in GetResFromResMgr()
765 if (resMgr->GetProfileByName(profileName.c_str(), resPath) != Global::Resource::SUCCESS) { in GetResFromResMgr()
/ohos5.0/base/telephony/telephony_data/interfaces/innerkits/include/
H A Dpdp_profile_data.h123 std::string profileName = ""; member
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_client_impl.cpp341 std::string profileName = resName.substr(pos + strlen(PROFILE_FILE_PREFIX)); in GetResFromResMgr() local
347 if (resMgr->GetProfileDataByName(profileName.c_str(), len, fileContentPtr) != SUCCESS) { in GetResFromResMgr()
366 if (resMgr->GetProfileByName(profileName.c_str(), resPath) != SUCCESS) { in GetResFromResMgr()
/ohos5.0/base/telephony/cellular_data/services/src/apn_manager/
H A Dapn_item.cpp123 …if (strcpy_s(apnItem->attr_.apnName_, ALL_APN_ITEM_CHAR_LENGTH, apnData.profileName.c_str()) != EO… in MakeApn()
H A Dapn_manager.cpp375 apnData.profileId, apnData.profileName.c_str(), apnData.mvnoType.c_str()); in MakeSpecificApnItem()
/ohos5.0/base/telephony/telephony_data/common/src/
H A Dparser_util.cpp153 bean.profileName = ParseString(cJSON_GetObjectItem(itemRoot, ITEM_OPERATOR_NAME)); in ParserPdpProfileInfos()
193 value.PutString(PdpProfileData::PROFILE_NAME, bean.profileName); in ParserPdpProfileToValuesBucket()
/ohos5.0/base/telephony/cellular_data/services/src/utils/
H A Dcellular_data_rdb_helper.cpp220 result->GetString(index, apnBean.profileName); in MakePdpProfile()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-telephony-kit/
H A Djs-apis-esim-sys.md872 | profileName | string | 是 | 配置文件名称。 |
946 | profileName | string | 是 | 配置文件名称。 |
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_data_mgr.h1221 std::string TryGetRawDataByExtractor(const std::string &hapPath, const std::string &profileName,
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_data_mgr.cpp4810 …BundleDataMgr::TryGetRawDataByExtractor(const std::string &hapPath, const std::string &profileName, in TryGetRawDataByExtractor() argument
4814 GetJsonProfileByExtractor(hapPath, profileName, rawData); in TryGetRawDataByExtractor()
4850 …std::string profileName = PROFILE_PATH + resName.substr(pos + strlen(PROFILE_PREFIX)) + JSON_SUFFI… in GetShortcutInfosByInnerBundleInfo() local
4851 rawData = TryGetRawDataByExtractor(hapPath, profileName, abilityInfo); in GetShortcutInfosByInnerBundleInfo()