/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | profile_service_manager.cpp | 307 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 D | power_manager.cpp | 83 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 D | power_manager.h | 96 * @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 D | power_device.h | 59 * @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 D | power_spec.h | 204 * @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 D | power_device.cpp | 68 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 D | power_spec.cpp | 222 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 D | main.cpp | 92 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 D | ams_ipc_app_scheduler_module_test.cpp | 193 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 D | ams_ipc_appscheduler_interface_test.cpp | 194 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 D | data_share_profile_config.cpp | 180 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 D | profile_utils.h | 87 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 D | profile_utils.cpp | 248 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 D | js_ability_stage.cpp | 508 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 D | bundle_mgr_client_impl.cpp | 339 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 D | bundle_data_mgr.cpp | 4861 std::string profileName = PROFILE_PATH + resName.substr(pos + strlen(PROFILE_PREFIX)) + JSON_SUFFIX; in GetShortcutInfosByInnerBundleInfo() local 4862 GetJsonProfileByExtractor(hapPath, profileName, rawData); in GetShortcutInfosByInnerBundleInfo()
|