Home
last modified time | relevance | path

Searched refs:profileName (Results 1 - 16 of 16) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
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()
312 LOG_DEBUG("%{public}s BREDR %{public}s complete ret %{public}d", __PRETTY_FUNCTION__, profileName.c_str(), ret); in EnableCompleteProcess()
313 pimpl->profilesState_.SetProfile(BTTransport::ADAPTER_BREDR, profileName, newState); in EnableCompleteProcess()
319 if ((pimpl->profilesState_.Find(BTTransport::ADAPTER_BLE, profileName, state)) && in EnableCompleteProcess()
321 LOG_DEBUG("%{public}s BLE %{public}s complete ret %{public}d", __PRETTY_FUNCTION__, profileName.c_str(), ret); 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()
464 LOG_DEBUG("%{public}s BREDR %{public}s complete ret %{public}d", __PRETTY_FUNCTION__, profileName in DisableCompleteProcess()
543 std::string profileName = SupportProfilesInfo::IdToName(profileID); GetProfileServiceConnectState() local
[all...]
H A Dpower_manager.cpp83 void PowerProcess(const RequestStatus status, const std::string &profileName, const RawAddress rawAddr);
84 void UpdatePowerDevicesInfo(const RawAddress rawAddr, const std::string &profileName, const RequestStatus status);
137 const RequestStatus status, const std::string &profileName, const RawAddress &addr) const in StatusUpdate()
139 HILOGI("profileName: %{public}s, status: %{public}u, addr: %{public}s", profileName.c_str(), status, 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()
161 HILOGI("status: %{public}u, profileName: %{public}s", status, profileName.c_str()); in PowerProcess()
163 UpdatePowerDevicesInfo(rawAddr, profileName, statu in PowerProcess()
136 StatusUpdate( const RequestStatus status, const std::string &profileName, const RawAddress &addr) const StatusUpdate() argument
158 PowerProcess( const RequestStatus status, const std::string &profileName, const RawAddress rawAddr) PowerProcess() argument
170 UpdatePowerDevicesInfo( const RawAddress rawAddr, const std::string &profileName, const RequestStatus status) UpdatePowerDevicesInfo() argument
[all...]
H A Dpower_manager.h96 * @param profileName Profile Name.
101 const RequestStatus status, const std::string &profileName, const RawAddress &addr) const = 0;
181 * @param profileName Profile Name.
185 void StatusUpdate(RequestStatus status, const std::string &profileName, const RawAddress &addr) const override;
H A Dpower_device.h59 * @param profileName Profile Name.
63 void SetRequestPower(const std::string &profileName, const RequestStatus status) const;
68 * @param profileName Profile Name.
71 void DeleteRequestPower(const std::string &profileName) const;
H A Dpower_spec.h204 * @param profileName Profile name.
209 static PowerInfo GetPowerSpec(const std::string &profileName, RequestStatus status);
223 * @param profileName Profile name.
228 static PowerSsrLevel GetPowerSsrLevel(const std::string &profileName, RequestStatus status);
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()
/foundation/systemabilitymgr/safwk/services/safwk/src/
H A Dmain.cpp92 string profileName = fileName.substr(0, dotPos); in SetProcName() local
93 setProcessName(profileName); in SetProcName()
94 StartMemoryHook(profileName); in SetProcName()
98 profileName = fileName.substr(0, dotPos); in SetProcName()
99 int32_t ret = prctl(PR_SET_NAME, profileName.c_str()); in SetProcName()
/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"); in HWTEST_F()
194 Profile profile(profileName); in HWTEST_F()
223 std::string profileName("mockProfile"); in HWTEST_F()
224 Profile profile(profileName); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/ams_ipc_interface_test/
H A Dams_ipc_appscheduler_interface_test.cpp194 std::string profileName("mockProfile"); in HWTEST_F()
195 Profile profile(profileName); in HWTEST_F()
251 std::string profileName("mockProfile"); in HWTEST_F()
252 Profile profile(profileName); in HWTEST_F()
/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 ZLOGE("profileName no in GetResFromResMgr()
[all...]
/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);
/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()
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/app/
H A Djs_ability_stage.cpp508 std::string profileName = module.at(RUN_ON_THREAD).get<std::string>(); in SetOptionalParameters() local
509 if (profileName == TASKPOOL || profileName == TASKPOOL_LOWER) { in SetOptionalParameters()
700 std::string profileName = resName.substr(pos + strlen(PROFILE_FILE_PREFIX)); in GetResFromResMgr() local
706 if (resMgr->GetProfileDataByName(profileName.c_str(), len, fileContentPtr) != Global::Resource::SUCCESS) { in GetResFromResMgr()
725 if (resMgr->GetProfileByName(profileName.c_str(), resPath) != Global::Resource::SUCCESS) { in GetResFromResMgr()
726 TAG_LOGD(AAFwkTag::APPKIT, "profileName cannot be found."); in GetResFromResMgr()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_client_impl.cpp339 std::string profileName = resName.substr(pos + strlen(PROFILE_FILE_PREFIX)); in GetResFromResMgr() local
345 if (resMgr->GetProfileDataByName(profileName.c_str(), len, fileContentPtr) != SUCCESS) { in GetResFromResMgr()
364 if (resMgr->GetProfileByName(profileName.c_str(), resPath) != SUCCESS) { in GetResFromResMgr()
365 APP_LOGE("GetResFromResMgr profileName cannot be found"); in GetResFromResMgr()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_data_mgr.cpp4861 std::string profileName = PROFILE_PATH + resName.substr(pos + strlen(PROFILE_PREFIX)) + JSON_SUFFIX; in GetShortcutInfosByInnerBundleInfo() local
4862 GetJsonProfileByExtractor(hapPath, profileName, rawData); in GetShortcutInfosByInnerBundleInfo()

Completed in 25 milliseconds