/base/powermgr/battery_statistics/services/native/src/entities/ |
D | battery_stats_entity.cpp | 29 void BatteryStatsEntity::Calculate(int32_t uid) in Calculate() 34 int64_t BatteryStatsEntity::GetTrafficByte(StatsUtils::StatsType statsType, int32_t uid) in GetTrafficByte() 40 int64_t BatteryStatsEntity::GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid) in GetConsumptionCount() 56 int64_t BatteryStatsEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t l… in GetActiveTimeMs() 68 void BatteryStatsEntity::DumpInfo(std::string& result, int32_t uid) in DumpInfo() 73 void BatteryStatsEntity::UpdateUidMap(int32_t uid) in UpdateUidMap() 85 int64_t BatteryStatsEntity::GetCpuTimeMs(int32_t uid) in GetCpuTimeMs() 96 double BatteryStatsEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah() 109 std::shared_ptr<StatsHelper::ActiveTimer> BatteryStatsEntity::GetOrCreateTimer(int32_t uid, in GetOrCreateTimer() 116 …Helper::ActiveTimer> BatteryStatsEntity::GetOrCreateTimer(const std::string& deviceId, int32_t uid, in GetOrCreateTimer() [all …]
|
D | uid_entity.cpp | 39 void UidEntity::UpdateUidMap(int32_t uid) in UpdateUidMap() 61 double UidEntity::CalculateForConnectivity(int32_t uid) in CalculateForConnectivity() 74 double UidEntity::CalculateForCommon(int32_t uid) in CalculateForCommon() 116 void UidEntity::Calculate(int32_t uid) in Calculate() 127 int32_t uid = iter.first; in Calculate() local 135 void UidEntity::AddtoStatsList(int32_t uid, double power) in AddtoStatsList() 159 double UidEntity::GetPowerForConnectivity(StatsUtils::StatsType statsType, int32_t uid) in GetPowerForConnectivity() 173 double UidEntity::GetPowerForCommon(StatsUtils::StatsType statsType, int32_t uid) in GetPowerForCommon() 212 double UidEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah() 252 void UidEntity::DumpForBluetooth(int32_t uid, std::string& result) in DumpForBluetooth() [all …]
|
D | cpu_entity.cpp | 37 int64_t CpuEntity::GetCpuTimeMs(int32_t uid) in GetCpuTimeMs() 62 void CpuEntity::Calculate(int32_t uid) in Calculate() 103 double CpuEntity::CalculateCpuActivePower(int32_t uid) in CalculateCpuActivePower() 123 double CpuEntity::CalculateCpuClusterPower(int32_t uid) in CalculateCpuClusterPower() 145 double CpuEntity::CalculateCpuSpeedPower(int32_t uid) in CalculateCpuSpeedPower() 185 double CpuEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah() 251 void CpuEntity::DumpInfo(std::string& result, int32_t uid) in DumpInfo()
|
D | wifi_entity.cpp | 34 void WifiEntity::Calculate(int32_t uid) in Calculate() 79 double WifiEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah() 84 int64_t WifiEntity::GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid) in GetConsumptionCount() 125 …<StatsHelper::Counter> WifiEntity::GetOrCreateCounter(StatsUtils::StatsType statsType, int32_t uid) in GetOrCreateCounter() 163 void WifiEntity::DumpInfo(std::string& result, int32_t uid) in DumpInfo()
|
D | sensor_entity.cpp | 34 int64_t SensorEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs() 66 double SensorEntity::CalculateGravity(int32_t uid) in CalculateGravity() 85 double SensorEntity::CalculateProximity(int32_t uid) in CalculateProximity() 104 void SensorEntity::Calculate(int32_t uid) in Calculate() 137 double SensorEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah() 164 std::shared_ptr<StatsHelper::ActiveTimer> SensorEntity::GetOrCreateTimer(int32_t uid, StatsUtils::S… in GetOrCreateTimer()
|
D | alarm_entity.cpp | 34 int64_t AlarmEntity::GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid) in GetConsumptionCount() 54 void AlarmEntity::Calculate(int32_t uid) in Calculate() 86 double AlarmEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah() 103 …StatsHelper::Counter> AlarmEntity::GetOrCreateCounter(StatsUtils::StatsType statsType, int32_t uid) in GetOrCreateCounter()
|
D | flashlight_entity.cpp | 34 int64_t FlashlightEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t lev… in GetActiveTimeMs() 55 void FlashlightEntity::Calculate(int32_t uid) in Calculate() 88 double FlashlightEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah() 105 std::shared_ptr<StatsHelper::ActiveTimer> FlashlightEntity::GetOrCreateTimer(int32_t uid, in GetOrCreateTimer()
|
D | wakelock_entity.cpp | 34 int64_t WakelockEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs() 55 void WakelockEntity::Calculate(int32_t uid) in Calculate() 88 double WakelockEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah() 105 std::shared_ptr<StatsHelper::ActiveTimer> WakelockEntity::GetOrCreateTimer(int32_t uid, StatsUtils:… in GetOrCreateTimer()
|
D | gnss_entity.cpp | 34 int64_t GnssEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs() 55 void GnssEntity::Calculate(int32_t uid) in Calculate() 87 double GnssEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah() 104 std::shared_ptr<StatsHelper::ActiveTimer> GnssEntity::GetOrCreateTimer(int32_t uid, StatsUtils::Sta… in GetOrCreateTimer()
|
D | audio_entity.cpp | 34 int64_t AudioEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs() 55 void AudioEntity::Calculate(int32_t uid) in Calculate() 87 double AudioEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah() 104 std::shared_ptr<StatsHelper::ActiveTimer> AudioEntity::GetOrCreateTimer(int32_t uid, StatsUtils::St… in GetOrCreateTimer()
|
D | camera_entity.cpp | 32 int64_t CameraEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs() 49 void CameraEntity::Calculate(int32_t uid) in Calculate() 81 double CameraEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah() 98 …<StatsHelper::ActiveTimer> CameraEntity::GetOrCreateTimer(const std::string& deviceId, int32_t uid, in GetOrCreateTimer()
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
D | notification_bundle_option_test.cpp | 45 int32_t uid = 10; variable 60 int32_t uid = 10; variable 76 int32_t uid = 10; variable 92 int32_t uid = 10; variable 108 int32_t uid = 10; variable 130 int32_t uid = 10; variable
|
D | enabled_notification_callback_data_test.cpp | 44 uid_t uid = 10; variable 60 uid_t uid = 10; variable 76 uid_t uid = 10; variable 92 uid_t uid = 10; variable 108 uid_t uid = 10; variable 124 uid_t uid = 10; variable 146 uid_t uid = 10; variable
|
/base/powermgr/battery_statistics/services/native/test/unittest/src/ |
D | stats_bluetooth_test.cpp | 29 static void WriteBluetoothEvent(int32_t pid, int32_t uid, long time) in WriteBluetoothEvent() 96 int32_t uid = 10003; variable 126 int32_t uid = 10003; variable 158 int32_t uid = 10003; variable 188 int32_t uid = 10003; variable 225 int32_t uid = 10003; variable 264 int32_t uid = 10003; variable 298 int32_t uid = 10003; variable 328 int32_t uid = 10003; variable 366 int32_t uid = 10003; variable [all …]
|
D | stats_camera_test.cpp | 62 int32_t uid = 10003; variable 91 int32_t uid = 10003; variable 119 int32_t uid = 10003; variable 145 int32_t uid = 10003; variable 179 int32_t uid = 10003; variable 212 int32_t uid = 10003; variable 243 int32_t uid = 10003; variable 278 int32_t uid = 10003; variable 312 int32_t uid = 10003; variable 346 int32_t uid = 10003; variable [all …]
|
D | stats_location_test.cpp | 64 int32_t uid = 10003; variable 95 int32_t uid = 10003; variable 125 int32_t uid = 10003; variable 155 int32_t uid = 10003; variable 191 int32_t uid = 10003; variable 221 int32_t uid = 10003; variable 261 int32_t uid = 10003; variable 335 int32_t uid = 10003; variable 366 int32_t uid = 10003; variable
|
D | stats_powermgr_test.cpp | 69 int32_t uid = 10003; variable 96 int32_t uid = 10003; variable 125 int32_t uid = 10003; variable 153 int32_t uid = 10003; variable 200 int32_t uid = 10003; variable 227 int32_t uid = 10003; variable 256 int32_t uid = 10003; variable 284 int32_t uid = 10003; variable 329 int32_t uid = 1004; variable
|
D | stats_alarm_test.cpp | 62 int32_t uid = 10003; variable 92 int32_t uid = 10003; variable 121 int32_t uid = 10003; variable 149 int32_t uid = 10003; variable
|
D | stats_audio_test.cpp | 61 int32_t uid = 10003; variable 91 int32_t uid = 10003; variable 120 int32_t uid = 10003; variable 149 int32_t uid = 10003; variable 193 int32_t uid = 10003; variable 231 int32_t uid = 10003; variable
|
/base/powermgr/battery_statistics/services/native/test/unittest/src/mock/ |
D | stats_mock_parcel_test.cpp | 45 int32_t uid = 1004; variable 72 int32_t uid = 1004; variable 100 int32_t uid = 1004; variable 124 int32_t uid = 1004; variable
|
/base/powermgr/battery_statistics/services/native/src/ |
D | battery_stats_core.cpp | 208 …eryStatsCore::UpdateStats(StatsUtils::StatsType statsType, int64_t time, int64_t data, int32_t uid) in UpdateStats() 231 int32_t uid) in UpdateConnectivityStats() 250 …Core::UpdateCommonStats(StatsUtils::StatsType statsType, StatsUtils::StatsState state, int32_t uid) in UpdateCommonStats() 277 int32_t uid, const std::string& deviceId) in UpdateStats() 337 int32_t uid, const std::string& deviceId) in UpdateCameraStats() 387 StatsUtils::StatsState state, int32_t uid) in UpdateTimer() 420 int64_t time, int32_t uid) in UpdateTimer() 442 void BatteryStatsCore::UpdateCameraTimer(StatsUtils::StatsState state, int32_t uid, const std::stri… in UpdateCameraTimer() 536 int64_t data, int32_t uid) in UpdateCounter() 637 int64_t BatteryStatsCore::GetTotalTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t leve… in GetTotalTimeMs() [all …]
|
D | cpu_time_reader.cpp | 43 int64_t CpuTimeReader::GetUidCpuActiveTimeMs(int32_t uid) in GetUidCpuActiveTimeMs() 57 void CpuTimeReader::DumpInfo(std::string& result, int32_t uid) in DumpInfo() 84 int64_t CpuTimeReader::GetUidCpuClusterTimeMs(int32_t uid, uint32_t cluster) in GetUidCpuClusterTimeMs() 103 int64_t CpuTimeReader::GetUidCpuFreqTimeMs(int32_t uid, uint32_t cluster, uint32_t speed) in GetUidCpuFreqTimeMs() 129 std::vector<int64_t> CpuTimeReader::GetUidCpuTimeMs(int32_t uid) in GetUidCpuTimeMs() 168 bool CpuTimeReader::ReadUidCpuActiveTimeImpl(std::string& line, int32_t uid) in ReadUidCpuActiveTimeImpl() 220 int32_t uid = StatsUtils::INVALID_VALUE; in ReadUidCpuActiveTime() local 259 int32_t uid, std::vector<uint16_t>& clusters, std::string& timeLine) in ReadClusterTimeIncrement() 300 int32_t uid = -1; in ReadUidCpuClusterTime() local 342 …4_t>>& increments, std::map<uint32_t, std::vector<int64_t>>& speedTime, int32_t index, int32_t uid) in ProcessFreqTime() [all …]
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/ |
D | faultlogger_service_ohos.cpp | 40 void FaultloggerServiceOhos::ClearQueryStub(int32_t uid) in ClearQueryStub() 48 int32_t uid = IPCSkeleton::GetCallingUid(); in Dump() local 101 int32_t uid = IPCSkeleton::GetCallingUid(); in AddFaultLog() local 129 int32_t uid = IPCSkeleton::GetCallingUid(); in QuerySelfFaultLog() local 160 int32_t uid = IPCSkeleton::GetCallingUid(); in Destroy() local
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_auth_list_mgr.c | 58 uint32_t uid; in IsUidExist() local 86 static int32_t InsertUid(const struct CmBlob *originList, uint32_t uid, struct CmBlob *addedList) in InsertUid() 140 static int32_t RemoveUid(const struct CmBlob *originList, uint32_t uid, struct CmBlob *removedList) in RemoveUid() 196 static int32_t RefreshAuthListBuf(const char *path, const char *fileName, uint32_t uid, bool isAdd, in RefreshAuthListBuf() 219 static int32_t InitAuthListBuf(uint32_t uid, struct CmBlob *authList) in InitAuthListBuf() 264 static int32_t RefreshAuthList(const char *path, const char *fileName, uint32_t uid, bool isAdd) in RefreshAuthList() 328 int32_t CmAddAuthUid(const struct CmContext *context, const struct CmBlob *uri, uint32_t uid) in CmAddAuthUid() 348 int32_t CmRemoveAuthUid(const struct CmContext *context, const struct CmBlob *uri, uint32_t uid) in CmRemoveAuthUid() 448 uint32_t uid = 0; in CmRemoveAuthUidByUserId() local 460 uint32_t uid = 0; in CmGetAuthListByUserId() local [all …]
|
/base/notification/distributed_notification_service/services/distributed/src/ |
D | distributed_preferences_info.cpp | 38 …referencesInfo::SetDistributedBundleEnable(const std::string &bundleName, int32_t uid, bool enable) in SetDistributedBundleEnable() 43 … DistributedPreferencesInfo::GetDistributedBundleEnable(const std::string &bundleName, int32_t uid) in GetDistributedBundleEnable() 54 …DistributedPreferencesInfo::DeleteDistributedBundleInfo(const std::string &bundleName, int32_t uid) in DeleteDistributedBundleInfo()
|