Searched refs:isOpen (Results 1 - 3 of 3) sorted by relevance
/base/powermgr/battery_manager/charger/src/ |
H A D | battery_config.cpp | 117 bool isOpen = false; in OpenFile() local 120 isOpen = ifsConf.is_open(); in OpenFile() 121 BATTERY_HILOGD(FEATURE_CHARGING, "open configPath file is %{public}d", isOpen); in OpenFile() 123 if (isOpen) { in OpenFile() 128 isOpen = ifsConf.is_open(); in OpenFile() 129 BATTERY_HILOGI(FEATURE_CHARGING, "open then vendor battery_config.json is %{public}d", isOpen); in OpenFile() 131 if (isOpen) { in OpenFile() 136 isOpen = ifsConf.is_open(); in OpenFile() 137 BATTERY_HILOGI(FEATURE_CHARGING, "open then system battery_config.json is %{public}d", isOpen); in OpenFile() 138 return isOpen; in OpenFile() [all...] |
/base/powermgr/battery_manager/services/native/src/ |
H A D | battery_config.cpp | 112 bool isOpen = false; in OpenFile() local 115 isOpen = ifsConf.is_open(); in OpenFile() 116 BATTERY_HILOGD(COMP_SVC, "open configPath file is %{public}d", isOpen); in OpenFile() 118 RETURN_IF_WITH_RET(isOpen, true); in OpenFile() 121 isOpen = ifsConf.is_open(); in OpenFile() 122 BATTERY_HILOGI(COMP_SVC, "open then vendor battery_config.json is %{public}d", isOpen); in OpenFile() 123 RETURN_IF_WITH_RET(isOpen, true); in OpenFile() 126 isOpen = ifsConf.is_open(); in OpenFile() 127 BATTERY_HILOGI(COMP_SVC, "open then system battery_config.json is %{public}d", isOpen); in OpenFile() 128 return isOpen; in OpenFile() [all...] |
/base/security/access_token/services/privacymanager/src/record/ |
H A D | permission_record_manager.cpp | 1018 bool isOpen = true; in GetGlobalSwitchStatus() local 1021 isOpen = !isMicMixMute_; in GetGlobalSwitchStatus() 1022 ACCESSTOKEN_LOG_INFO(LABEL, "Permission is %{public}s, status is %{public}d", permissionName.c_str(), isOpen); in GetGlobalSwitchStatus() 1024 isOpen = !isCamMixMute_; in GetGlobalSwitchStatus() 1025 ACCESSTOKEN_LOG_INFO(LABEL, "Permission is %{public}s, status is %{public}d", permissionName.c_str(), isOpen); in GetGlobalSwitchStatus() 1027 return isOpen; in GetGlobalSwitchStatus()
|
Completed in 4 milliseconds