Home
last modified time | relevance | path

Searched defs:uid (Results 1 – 25 of 367) sorted by relevance

12345678910>>...15

/base/powermgr/battery_statistics/services/native/src/entities/
Dbattery_stats_entity.cpp29 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 …]
Duid_entity.cpp39 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 …]
Dwifi_entity.cpp34 void WifiEntity::Calculate(int32_t uid) in Calculate()
75 double WifiEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
80 int64_t WifiEntity::GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid) in GetConsumptionCount()
109 …<StatsHelper::Counter> WifiEntity::GetOrCreateCounter(StatsUtils::StatsType statsType, int32_t uid) in GetOrCreateCounter()
139 void WifiEntity::DumpInfo(std::string& result, int32_t uid) in DumpInfo()
Dcpu_entity.cpp37 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()
Dsensor_entity.cpp34 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()
Dalarm_entity.cpp34 int64_t AlarmEntity::GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid) in GetConsumptionCount()
48 void AlarmEntity::Calculate(int32_t uid) in Calculate()
80 double AlarmEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
97 …StatsHelper::Counter> AlarmEntity::GetOrCreateCounter(StatsUtils::StatsType statsType, int32_t uid) in GetOrCreateCounter()
Dflashlight_entity.cpp34 int64_t FlashlightEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t lev… in GetActiveTimeMs()
51 void FlashlightEntity::Calculate(int32_t uid) in Calculate()
84 double FlashlightEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
101 std::shared_ptr<StatsHelper::ActiveTimer> FlashlightEntity::GetOrCreateTimer(int32_t uid, in GetOrCreateTimer()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_bundle_option_test.cpp45 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
Denabled_notification_callback_data_test.cpp44 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/power_manager/services/native/src/
Drunning_lock_proxy.cpp23 void RunningLockProxy::AddRunningLock(pid_t pid, pid_t uid, const sptr<IRemoteObject>& remoteObj) in AddRunningLock()
43 void RunningLockProxy::RemoveRunningLock(pid_t pid, pid_t uid, const sptr<IRemoteObject>& remoteObj) in RemoveRunningLock()
65 std::vector<sptr<IRemoteObject>> RunningLockProxy::GetRemoteObjectList(pid_t pid, pid_t uid) in GetRemoteObjectList()
75 bool RunningLockProxy::IsProxied(pid_t pid, pid_t uid) in IsProxied()
85 bool RunningLockProxy::IncreaseProxyCnt(pid_t pid, pid_t uid, const std::function<void(void)>& prox… in IncreaseProxyCnt()
103 bool RunningLockProxy::DecreaseProxyCnt(pid_t pid, pid_t uid, const std::function<void(void)>& unPr… in DecreaseProxyCnt()
155 std::string RunningLockProxy::AssembleProxyKey(pid_t pid, pid_t uid) in AssembleProxyKey()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_camera_test.cpp84 int32_t uid = 10003; variable
117 int32_t uid = 10003; variable
149 int32_t uid = 10003; variable
179 int32_t uid = 10003; variable
219 int32_t uid = 10003; variable
258 int32_t uid = 10003; variable
295 int32_t uid = 10003; variable
336 int32_t uid = 10003; variable
376 int32_t uid = 10003; variable
416 int32_t uid = 10003; variable
[all …]
Dstats_service_bluetooth_test.cpp39 static void WriteBluetoothEvent(int32_t pid, int32_t uid, long time) in WriteBluetoothEvent()
126 int32_t uid = 10003; variable
159 int32_t uid = 10003; variable
194 int32_t uid = 10003; variable
227 int32_t uid = 10003; variable
267 int32_t uid = 10003; variable
311 int32_t uid = 10003; variable
350 int32_t uid = 10003; variable
383 int32_t uid = 10003; variable
426 int32_t uid = 10003; variable
[all …]
Dstats_service_powermgr_test.cpp89 int32_t uid = 10003; variable
120 int32_t uid = 10003; variable
153 int32_t uid = 10003; variable
185 int32_t uid = 10003; variable
238 int32_t uid = 10003; variable
269 int32_t uid = 10003; variable
302 int32_t uid = 10003; variable
334 int32_t uid = 10003; variable
387 int32_t uid = 10003; variable
440 int32_t uid = 10001; variable
[all …]
Dstats_service_location_test.cpp84 int32_t uid = 10003; variable
118 int32_t uid = 10003; variable
151 int32_t uid = 10003; variable
184 int32_t uid = 10003; variable
225 int32_t uid = 10003; variable
258 int32_t uid = 10003; variable
303 int32_t uid = 10003; variable
385 int32_t uid = 10003; variable
419 int32_t uid = 10003; variable
457 int32_t uid = 10003; variable
[all …]
Dstats_service_alarm_test.cpp84 int32_t uid = 10003; variable
115 int32_t uid = 10003; variable
145 int32_t uid = 10003; variable
175 int32_t uid = 10003; variable
206 int32_t uid = 10003; variable
244 int32_t uid = 10003; variable
278 int32_t uid = 10003; variable
/base/powermgr/battery_statistics/test/unittest/src/clienttest/
Dstats_bluetooth_test.cpp30 static void WriteBluetoothEvent(int32_t pid, int32_t uid, long time) in WriteBluetoothEvent()
97 int32_t uid = 10003; variable
127 int32_t uid = 10003; variable
159 int32_t uid = 10003; variable
189 int32_t uid = 10003; variable
226 int32_t uid = 10003; variable
265 int32_t uid = 10003; variable
299 int32_t uid = 10003; variable
329 int32_t uid = 10003; variable
367 int32_t uid = 10003; variable
[all …]
Dstats_camera_test.cpp63 int32_t uid = 10003; variable
92 int32_t uid = 10003; variable
120 int32_t uid = 10003; variable
146 int32_t uid = 10003; variable
180 int32_t uid = 10003; variable
213 int32_t uid = 10003; variable
244 int32_t uid = 10003; variable
279 int32_t uid = 10003; variable
313 int32_t uid = 10003; variable
347 int32_t uid = 10003; variable
[all …]
Dstats_location_test.cpp65 int32_t uid = 10003; variable
96 int32_t uid = 10003; variable
126 int32_t uid = 10003; variable
156 int32_t uid = 10003; variable
192 int32_t uid = 10003; variable
222 int32_t uid = 10003; variable
262 int32_t uid = 10003; variable
336 int32_t uid = 10003; variable
367 int32_t uid = 10003; variable
/base/request/request/test/unittest/rust/src/
Dmain.rs28 let uid: u64 = 10; in create_test1() localVariable
100 let uid: u64 = 10; in create_test3() localVariable
150 let uid: u64 = 1; in start_test1() localVariable
173 let uid: u64 = 1; in pause_test() localVariable
195 let uid: u64 = 1; in resume_test() localVariable
218 let uid: u64 = 1; in stop_test() localVariable
251 let uid: u64 = 1; in remove_test() localVariable
/base/powermgr/battery_statistics/test/unittest/src/clienttest/mock/
Dstats_client_test_mock_parcel.cpp45 int32_t uid = 1004; variable
72 int32_t uid = 1004; variable
100 int32_t uid = 1004; variable
124 int32_t uid = 1004; variable
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Ddata_share_dao.cpp47 bool DataShareDao::IsUidExists(int32_t uid) in IsUidExists()
66 int DataShareDao::SaveSubscriberInfo(int32_t uid, const std::string& events) in SaveSubscriberInfo()
102 int DataShareDao::DeleteSubscriberInfo(int32_t uid) in DeleteSubscriberInfo()
121 int DataShareDao::GetEventListByUid(int32_t uid, std::string& events) in GetEventListByUid()
146 int DataShareDao::GetUidByBundleName(const std::string& bundleName, int32_t& uid) in GetUidByBundleName()
190 int uid = 0; in GetTotalSubscriberInfo() local
/base/powermgr/power_manager/utils/permission/src/
Dpermission.cpp33 pid_t uid = IPCSkeleton::GetCallingUid(); in IsHap() local
55 pid_t uid = IPCSkeleton::GetCallingUid(); in IsSystem() local
86 pid_t uid = IPCSkeleton::GetCallingUid(); in IsPermissionGranted() local
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_core.cpp209 …eryStatsCore::UpdateStats(StatsUtils::StatsType statsType, int64_t time, int64_t data, int32_t uid) in UpdateStats()
232 int32_t uid) in UpdateConnectivityStats()
251 …Core::UpdateCommonStats(StatsUtils::StatsType statsType, StatsUtils::StatsState state, int32_t uid) in UpdateCommonStats()
278 int32_t uid, const std::string& deviceId) in UpdateStats()
338 int32_t uid, const std::string& deviceId) in UpdateCameraStats()
388 StatsUtils::StatsState state, int32_t uid) in UpdateTimer()
421 int64_t time, int32_t uid) in UpdateTimer()
443 void BatteryStatsCore::UpdateCameraTimer(StatsUtils::StatsState state, int32_t uid, const std::stri… in UpdateCameraTimer()
537 int64_t data, int32_t uid) in UpdateCounter()
638 int64_t BatteryStatsCore::GetTotalTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t leve… in GetTotalTimeMs()
[all …]
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/test/unittest/src/
Ddlp_permission_kit_test.cpp91 int32_t uid = getuid(); in TestSetSelfTokenId() local
120 int32_t uid = getuid(); in TestGetTokenId() local
131 …c bool TestGetAppUid(const std::string& bundleName, int32_t appIndex, int32_t userId, int32_t& uid) in TestGetAppUid()
187 int32_t uid; in TestMockApp() local
192 static void TestRecoverProcessInfo(int32_t uid, AccessTokenID tokenId) in TestRecoverProcessInfo()
314 int32_t uid = getuid(); variable
359 int32_t uid = getuid(); variable
392 int32_t uid = getuid(); variable
689 int32_t uid = getuid(); variable
711 int32_t uid = getuid(); variable
[all …]
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/
Dfaultlogger_service_ohos.cpp41 void FaultloggerServiceOhos::ClearQueryStub(int32_t uid) in ClearQueryStub()
49 int32_t uid = IPCSkeleton::GetCallingUid(); in Dump() local
110 int32_t uid = IPCSkeleton::GetCallingUid(); in AddFaultLog() local
140 int32_t uid = IPCSkeleton::GetCallingUid(); in QuerySelfFaultLog() local
171 int32_t uid = IPCSkeleton::GetCallingUid(); in Destroy() local

12345678910>>...15