/base/powermgr/battery_statistics/ |
D | README.md | 11 …power consumption statistics: collects statistics on power consumption of each application or soft… 12 …power consumption statistics: collects statistics on power consumption of the hardware. Power cons… 16 ![](figures/power-management-subsystem-architecture.png "Architecture of the power management subsy… 31 │ ├── profile # Configuration file for average power consumption 45 [Power Management Subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/power-managem…
|
/base/powermgr/battery_statistics/services/native/src/entities/ |
D | uid_entity.cpp | 66 double power = StatsUtils::DEFAULT_VALUE; in CalculateForConnectivity() local 73 power += bluetoothEntity->GetEntityPowerMah(uid); in CalculateForConnectivity() 74 …HILOGD(COMP_SVC, "Connectivity power consumption: %{public}lfmAh for uid: %{public}d", power, uid); in CalculateForConnectivity() 75 return power; in CalculateForConnectivity() 80 double power = StatsUtils::DEFAULT_VALUE; in CalculateForCommon() local 94 power += cameraEntity->GetEntityPowerMah(uid); in CalculateForCommon() 97 power += flashlightEntity->GetEntityPowerMah(uid); in CalculateForCommon() 100 power += audioEntity->GetEntityPowerMah(uid); in CalculateForCommon() 103 power += sensorEntity->GetEntityPowerMah(uid); in CalculateForCommon() 106 power += gnssEntity->GetEntityPowerMah(uid); in CalculateForCommon() [all …]
|
D | user_entity.cpp | 36 double power = StatsUtils::DEFAULT_VALUE; in GetEntityPowerMah() local 39 power = iter->second; in GetEntityPowerMah() 41 power, uidOrUserId); in GetEntityPowerMah() 46 return power; in GetEntityPowerMah() 49 void UserEntity::AggregateUserPowerMah(int32_t userId, double power) in AggregateUserPowerMah() argument 53 iter->second += power; in AggregateUserPowerMah() 55 power, userId); in AggregateUserPowerMah() 58 power, userId); in AggregateUserPowerMah() 59 userPowerMap_.insert(std::pair<int32_t, double>(userId, power)); in AggregateUserPowerMah()
|
D | alarm_entity.cpp | 67 double power = StatsUtils::DEFAULT_VALUE; in GetEntityPowerMah() local 70 power = iter->second; in GetEntityPowerMah() 72 power, uidOrUserId); in GetEntityPowerMah() 77 return power; in GetEntityPowerMah() 82 double power = StatsUtils::DEFAULT_VALUE; in GetStatsPowerMah() local 86 power = alarmOnIter->second; in GetStatsPowerMah() 88 power, uid); in GetStatsPowerMah() 94 return power; in GetStatsPowerMah()
|
D | gnss_entity.cpp | 70 double power = StatsUtils::DEFAULT_VALUE; in GetEntityPowerMah() local 73 power = iter->second; in GetEntityPowerMah() 75 power, uidOrUserId); in GetEntityPowerMah() 80 return power; in GetEntityPowerMah() 85 double power = StatsUtils::DEFAULT_VALUE; in GetStatsPowerMah() local 89 power = gnssOnIter->second; in GetStatsPowerMah() 91 power, uid); in GetStatsPowerMah() 97 return power; in GetStatsPowerMah()
|
D | flashlight_entity.cpp | 71 double power = StatsUtils::DEFAULT_VALUE; in GetEntityPowerMah() local 74 power = iter->second; in GetEntityPowerMah() 76 power, uidOrUserId); in GetEntityPowerMah() 81 return power; in GetEntityPowerMah() 86 double power = StatsUtils::DEFAULT_VALUE; in GetStatsPowerMah() local 90 power = flashlightOnIter->second; in GetStatsPowerMah() 92 … "Get flashlight on power consumption: %{public}lfmAh for uid: %{public}d", power, uid); in GetStatsPowerMah() 98 return power; in GetStatsPowerMah()
|
D | wakelock_entity.cpp | 71 double power = StatsUtils::DEFAULT_VALUE; in GetEntityPowerMah() local 74 power = iter->second; in GetEntityPowerMah() 76 power, uidOrUserId); in GetEntityPowerMah() 81 return power; in GetEntityPowerMah() 86 double power = StatsUtils::DEFAULT_VALUE; in GetStatsPowerMah() local 90 power = wakelockOnIter->second; in GetStatsPowerMah() 92 power, uid); in GetStatsPowerMah() 98 return power; in GetStatsPowerMah()
|
D | audio_entity.cpp | 74 double power = StatsUtils::DEFAULT_VALUE; in GetEntityPowerMah() local 77 power = iter->second; in GetEntityPowerMah() 79 power, uidOrUserId); in GetEntityPowerMah() 84 return power; in GetEntityPowerMah() 89 double power = StatsUtils::DEFAULT_VALUE; in GetStatsPowerMah() local 93 power = audioOnIter->second; in GetStatsPowerMah() 95 power, uid); in GetStatsPowerMah() 101 return power; in GetStatsPowerMah()
|
D | camera_entity.cpp | 68 double power = StatsUtils::DEFAULT_VALUE; in GetEntityPowerMah() local 71 power = iter->second; in GetEntityPowerMah() 73 power, uidOrUserId); in GetEntityPowerMah() 78 return power; in GetEntityPowerMah() 83 double power = StatsUtils::DEFAULT_VALUE; in GetStatsPowerMah() local 87 power = cameraOnIter->second; in GetStatsPowerMah() 89 power, uid); in GetStatsPowerMah() 95 return power; in GetStatsPowerMah()
|
D | cpu_entity.cpp | 174 double power = StatsUtils::DEFAULT_VALUE; in GetEntityPowerMah() local 177 power = iter->second; in GetEntityPowerMah() 179 power, uidOrUserId); in GetEntityPowerMah() 184 return power; in GetEntityPowerMah() 189 double power = StatsUtils::DEFAULT_VALUE; in GetStatsPowerMah() local 194 power = cpuActiveIter->second; in GetStatsPowerMah() 196 power, uid); in GetStatsPowerMah() 204 power = cpuClusterIter->second; in GetStatsPowerMah() 206 power, uid); in GetStatsPowerMah() 214 power = cpuSpeedIter->second; in GetStatsPowerMah() [all …]
|
D | idle_entity.cpp | 93 double power = StatsUtils::DEFAULT_VALUE; in GetStatsPowerMah() local 95 power = cpuIdlePowerMah_; in GetStatsPowerMah() 96 STATS_HILOGD(COMP_SVC, "Get cpu idle power consumption: %{public}lfmAh", power); in GetStatsPowerMah() 98 power = cpuSuspendPowerMah_; in GetStatsPowerMah() 99 STATS_HILOGD(COMP_SVC, "Get cpu suspend power consumption: %{public}lfmAh", power); in GetStatsPowerMah() 101 return power; in GetStatsPowerMah()
|
D | sensor_entity.cpp | 125 double power = StatsUtils::DEFAULT_VALUE; in GetEntityPowerMah() local 128 power = iter->second; in GetEntityPowerMah() 130 power, uidOrUserId); in GetEntityPowerMah() 135 return power; in GetEntityPowerMah() 140 double power = StatsUtils::DEFAULT_VALUE; in GetStatsPowerMah() local 144 power = gravityOnIter->second; in GetStatsPowerMah() 146 power, uid); in GetStatsPowerMah() 154 power = proximityOnIter->second; in GetStatsPowerMah() 156 power, uid); in GetStatsPowerMah() 162 return power; in GetStatsPowerMah()
|
D | bluetooth_entity.cpp | 235 double power = StatsUtils::DEFAULT_VALUE; in GetEntityPowerMah() local 239 power = iter->second; in GetEntityPowerMah() 241 power, uidOrUserId); in GetEntityPowerMah() 247 power = bluetoothPowerMah_; in GetEntityPowerMah() 248 STATS_HILOGD(COMP_SVC, "Get blueooth power consumption: %{public}lfmAh", power); in GetEntityPowerMah() 250 return power; in GetEntityPowerMah() 255 double power = StatsUtils::DEFAULT_VALUE; in GetStatsPowerMah() local 258 power = bluetoothBrPowerMah_; in GetStatsPowerMah() 259 STATS_HILOGD(COMP_SVC, "Get blueooth Br on power consumption: %{public}lfmAh", power); in GetStatsPowerMah() 263 power = bluetoothBlePowerMah_; in GetStatsPowerMah() [all …]
|
/base/powermgr/power_manager/power_dialog/entry/src/main/ets/pages/ |
D | powerDialog.ets | 17 import power from '@ohos.power'; 114 console.log('power dialog terminateSelf'); 121 console.log('power dialog cancel failed: ' + JSON.stringify(err)); 128 power.shutdown('power_dialog'); 130 console.log('power dialog shutdown failed: ' + JSON.stringify(err)); 137 power.reboot('power_dialog'); 139 console.log('power dialog reboot failed: ' + JSON.stringify(err));
|
/base/security/selinux_adapter/sepolicy/ohos_policy/powermgr/power_manager/system/ |
D | power_shell.te | 14 # avc: denied { map } for pid=4345 comm="power-shell" path="/dev/parameters/u:object_r:debug_param:… 15 # avc: denied { read open } for pid=4345 comm="power-shell" path="/dev/parameters/u:object_r:debug_… 16 # avc: denied { read } for pid=4345 comm="power-shell" path="/dev/parameters/u:object_r:debug_param… 19 # avc: denied { write } for pid=4345 comm="power-shell" path="/dev/kmsg" dev="tmpfs" ino=116 sconte… 22 # avc: denied { search } for pid=4337 comm="power-shell" name="socket" dev="tmpfs" ino=118 scontext… 25 # avc: denied { ioctl } for pid=4337 comm="power-shell" path="/dev/pts/2" dev="devpts" ino=5 ioctlc… 26 # avc: denied { read write } for pid=4345 comm="power-shell" path="/dev/pts/0" dev="devpts" ino=3 s… 27 # avc: denied { write } for pid=4337 comm="power-shell" path="/dev/pts/2" dev="devpts" ino=5 sconte… 30 # avc: denied { call } for pid=4337 comm="power-shell" scontext=u:r:power_shell:s0 tcontext=u:r:pow… 33 # avc: denied { map } for pid=4337 comm="power-shell" path="/dev/parameters/u:object_r:hilog_param:… [all …]
|
/base/powermgr/power_manager/ |
D | README.md | 13 3. Obtaining the power status 17 ![](figures/power-management-subsystem-architecture.png "Architecture of the power management subsy… 46 [Power Management Subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/power-managem…
|
/base/powermgr/powermgr_lite/services/ |
D | BUILD.gn | 47 "src/power/auto_suspend.c", 48 "src/power/running_lock_hub.c", 49 "src/power/suspend_controller.c", 67 "src/power/${system_type}:powermanage_feature_impl",
|
/base/powermgr/battery_manager/ |
D | README.md | 17 ![](figures/power-management-subsystem-architecture.png "Architecture of the power management subsy… 45 [Power Management Subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/power-managem…
|
/base/powermgr/display_manager/ |
D | README.md | 16 ![](figures/power-management-subsystem-architecture.png "Architecture of the power management subsy… 45 [Power Management Subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/power-managem…
|
/base/powermgr/power_manager/frameworks/ |
D | BUILD.gn | 18 "napi/power:power",
|
/base/powermgr/power_manager/frameworks/napi/power/ |
D | BUILD.gn | 16 ohos_shared_library("power") { 22 "power.cpp",
|
/base/startup/init/services/modules/trace/ |
D | init_trace.cfg | 110 "events/power/cpu_frequency/enable", 111 "events/power/clock_set_rate/enable", 112 "events/power/clock_disable/enable", 113 "events/power/clock_enable/enable", 117 "events/power/cpu_frequency_limits/enable" 126 "events/power/cpu_idle/enable" 508 "name" : "power", 509 "description" : "power Manager",
|
/base/powermgr/powermgr_lite/ |
D | README.md | 13 The lite power manager provides the following capabilities: 18 **Figure 1** Lite power manager architecture<a name="fig106301571239"></a> 46 The following table lists the JavaScript APIs provided by the lite power manager. 82 The lite power manager provides APIs to create, obtain, and release **Runninglock** objects. 102 [Power management subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/power-managem…
|
/base/powermgr/battery_statistics/services/native/include/entities/ |
D | user_entity.h | 31 void AggregateUserPowerMah(int32_t userId, double power) override;
|
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest013/ |
D | trace.txt | 9 Error Description: Low power, can not show logo.
|