Home
last modified time | relevance | path

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

12345678910>>...19

/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.cpp40 void UidEntity::UpdateUidMap(int32_t uid) in UpdateUidMap()
64 double UidEntity::CalculateForConnectivity(int32_t uid) in CalculateForConnectivity()
78 double UidEntity::CalculateForCommon(int32_t uid) in CalculateForCommon()
121 void UidEntity::Calculate(int32_t uid) in Calculate()
134 int32_t uid = iter.first; in Calculate() local
142 void UidEntity::AddtoStatsList(int32_t uid, double power) in AddtoStatsList()
167 double UidEntity::GetPowerForConnectivity(StatsUtils::StatsType statsType, int32_t uid) in GetPowerForConnectivity()
182 double UidEntity::GetPowerForCommon(StatsUtils::StatsType statsType, int32_t uid) in GetPowerForCommon()
222 double UidEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
263 void UidEntity::DumpForBluetooth(int32_t uid, std::string& result) in DumpForBluetooth()
[all …]
Dcpu_entity.cpp36 int64_t CpuEntity::GetCpuTimeMs(int32_t uid) in GetCpuTimeMs()
61 void CpuEntity::Calculate(int32_t uid) in Calculate()
102 double CpuEntity::CalculateCpuActivePower(int32_t uid) in CalculateCpuActivePower()
123 double CpuEntity::CalculateCpuClusterPower(int32_t uid) in CalculateCpuClusterPower()
146 double CpuEntity::CalculateCpuSpeedPower(int32_t uid) in CalculateCpuSpeedPower()
187 double CpuEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
253 void CpuEntity::DumpInfo(std::string& result, int32_t uid) in DumpInfo()
Dwifi_entity.cpp33 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()
Dsensor_entity.cpp33 int64_t SensorEntity::GetActiveTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t level) in GetActiveTimeMs()
65 double SensorEntity::CalculateGravity(int32_t uid) in CalculateGravity()
85 double SensorEntity::CalculateProximity(int32_t uid) in CalculateProximity()
105 void SensorEntity::Calculate(int32_t uid) in Calculate()
138 double SensorEntity::GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid) in GetStatsPowerMah()
165 std::shared_ptr<StatsHelper::ActiveTimer> SensorEntity::GetOrCreateTimer(int32_t uid, StatsUtils::S… 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
144 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/runninglock/
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/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.cpp43 bool DataShareDao::IsUidExists(int32_t uid) in IsUidExists()
62 int DataShareDao::SaveSubscriberInfo(int32_t uid, const std::string& events) in SaveSubscriberInfo()
98 int DataShareDao::DeleteSubscriberInfo(int32_t uid) in DeleteSubscriberInfo()
117 int DataShareDao::GetEventListByUid(int32_t uid, std::string& events) in GetEventListByUid()
142 int DataShareDao::GetUidByBundleName(const std::string& bundleName, int32_t& uid) in GetUidByBundleName()
186 int uid = 0; in GetTotalSubscriberInfo() local
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/test/unittest/src/
Ddlp_permission_kit_test.cpp104 int32_t uid = getuid(); in TestSetSelfTokenId() local
133 int32_t uid = getuid(); in TestGetTokenId() local
144 …c bool TestGetAppUid(const std::string& bundleName, int32_t appIndex, int32_t userId, int32_t& uid) in TestGetAppUid()
200 int32_t uid; in TestMockApp() local
205 static void TestRecoverProcessInfo(int32_t uid, AccessTokenID tokenId) in TestRecoverProcessInfo()
319 int32_t uid = getuid(); variable
364 int32_t uid = getuid(); variable
397 int32_t uid = getuid(); variable
592 int32_t uid = getuid(); variable
701 int32_t uid = getuid(); variable
[all …]
/base/security/huks/services/huks_standard/huks_service/main/upgrade/file_transfer/src/
Dhks_config_parser.c36 static int32_t ParseOwnerIdFromParamSet(const struct HksParamSet *paramSet, uint32_t *uid, uint64_t… in ParseOwnerIdFromParamSet()
78 static int32_t ParseOwnerIdFromFileContent(const struct HksBlob *fileContent, uint32_t *uid, uint64… in ParseOwnerIdFromFileContent()
97 static int32_t MatchSaConfig(uint32_t uid, uint32_t userId, struct HksUpgradeFileTransferInfo *info) in MatchSaConfig()
122 static int32_t MatchHapConfig(uint32_t uid, uint32_t userId, uint64_t accessTokenId, in MatchHapConfig()
158 int32_t HksMatchConfig(uint32_t uid, uint32_t userId, uint64_t accessTokenId, struct HksUpgradeFile… in HksMatchConfig()
172 uint32_t uid = 0; in HksParseConfig() 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()
640 int64_t BatteryStatsCore::GetTotalTimeMs(int32_t uid, StatsUtils::StatsType statsType, int16_t leve… in GetTotalTimeMs()
[all …]
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/storage/src/
Dhks_storage_manager_test.cpp81 uint32_t uid = 1; variable
135 uint32_t uid = 2; variable
186 uint32_t uid = 3; variable
238 uint32_t uid = 0; variable
289 uint32_t uid = 0; variable
341 uint32_t uid = 6; variable
/base/security/asset/test/unittest/module_test/src/
Dbms_wrapper_test.cpp65 uint64_t uid = 6226; variable
81 uint64_t uid = 6226; variable
97 uint64_t uid = 6226; variable
113 uint64_t uid = 6226; variable
/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
142 int32_t uid = IPCSkeleton::GetCallingUid(); in QuerySelfFaultLog() local
173 int32_t uid = IPCSkeleton::GetCallingUid(); in Destroy() 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

12345678910>>...19