Searched refs:isOpen (Results 1 – 2 of 2) sorted by relevance
/base/powermgr/battery_manager/services/native/src/ |
D | battery_config.cpp | 86 bool isOpen = false; in OpenFile() local 89 isOpen = ifsConf.is_open(); in OpenFile() 90 BATTERY_HILOGD(COMP_SVC, "open file is %{public}d", isOpen); in OpenFile() 92 RETURN_IF_WITH_RET(isOpen, true); in OpenFile() 95 isOpen = ifsConf.is_open(); in OpenFile() 96 BATTERY_HILOGI(COMP_SVC, "open then vendor battery_config.json is %{public}d", isOpen); in OpenFile() 97 RETURN_IF_WITH_RET(isOpen, true); in OpenFile() 100 isOpen = ifsConf.is_open(); in OpenFile() 101 BATTERY_HILOGI(COMP_SVC, "open then system battery_config.json is %{public}d", isOpen); in OpenFile() 102 return isOpen; in OpenFile()
|
/base/security/access_token/services/privacymanager/src/record/ |
D | permission_record_manager.cpp | 432 bool isOpen = true; in GetGlobalSwitchStatus() local 435 isOpen = !AudioManagerPrivacyClient::GetInstance().IsMicrophoneMute(); in GetGlobalSwitchStatus() 437 isOpen = !CameraManagerPrivacyClient::GetInstance().IsCameraMuted(); in GetGlobalSwitchStatus() 440 …_LOG_INFO(LABEL, "permission is %{public}s, status is %{public}d", permissionName.c_str(), isOpen); in GetGlobalSwitchStatus() 441 return isOpen; in GetGlobalSwitchStatus()
|