/foundation/communication/wifi/services/wifi_standard/wifi_framework/wifi_manage/ |
D | wifi_auth_center.cpp | 39 int WifiAuthCenter::InitPermission(const int &pid, const int &uid) in InitPermission() 44 …er::ChangePermission(const std::map<std::string, int> &permissions, const int &pid, const int &uid) in ChangePermission() 52 int WifiAuthCenter::VerifySetWifiInfoPermission(const int &pid, const int &uid) in VerifySetWifiInfoPermission() 60 int WifiAuthCenter::VerifyGetWifiInfoPermission(const int &pid, const int &uid) in VerifyGetWifiInfoPermission() 68 int WifiAuthCenter::VerifyGetScanInfosPermission(const int &pid, const int &uid) in VerifyGetScanInfosPermission() 76 int WifiAuthCenter::VerifyGetWifiLocalMacPermission(const int &pid, const int &uid) in VerifyGetWifiLocalMacPermission() 84 int WifiAuthCenter::VerifyWifiConnectionPermission(const int &pid, const int &uid) in VerifyWifiConnectionPermission() 92 int WifiAuthCenter::VerifySetWifiConfigPermission(const int &pid, const int &uid) in VerifySetWifiConfigPermission() 100 int WifiAuthCenter::VerifyGetWifiConfigPermission(const int &pid, const int &uid) in VerifyGetWifiConfigPermission() 108 int WifiAuthCenter::VerifyGetWifiDirectDevicePermission(const int &pid, const int &uid) in VerifyGetWifiDirectDevicePermission() [all …]
|
/foundation/communication/wifi/services/wifi_standard/wifi_framework/wifi_manage/common/ |
D | wifi_permission_helper.cpp | 53 int WifiPermissionHelper::InitPermission(const int &pid, const int &uid) in InitPermission() 73 const std::map<std::string, int> &permissions, const int &pid, const int &uid) in ChangePermission() 93 int WifiPermissionHelper::ClearPermission(const int &pid, const int &uid) in ClearPermission() 101 …sionHelper::MockVerifyPermission(const std::string &permissionName, const int &pid, const int &uid) in MockVerifyPermission() 160 …rmissionHelper::VerifyPermission(const std::string &permissionName, const int &pid, const int &uid) in VerifyPermission() 182 int WifiPermissionHelper::VerifySetWifiInfoPermission(const int &pid, const int &uid) in VerifySetWifiInfoPermission() 191 int WifiPermissionHelper::VerifyGetWifiInfoPermission(const int &pid, const int &uid) in VerifyGetWifiInfoPermission() 199 int WifiPermissionHelper::VerifySetWifiConfigPermission(const int &pid, const int &uid) in VerifySetWifiConfigPermission() 207 int WifiPermissionHelper::VerifyGetWifiConfigPermission(const int &pid, const int &uid) in VerifyGetWifiConfigPermission() 215 int WifiPermissionHelper::VerifyGetScanInfosPermission(const int &pid, const int &uid) in VerifyGetScanInfosPermission() [all …]
|
/foundation/communication/netmanager_base/services/common/src/ |
D | net_settings.cpp | 33 bool NetSettings::IsUidForeground(uint32_t uid) in IsUidForeground() 42 void NetSettings::SetForegroundUid(uint32_t uid) in SetForegroundUid() 47 bool NetSettings::IsSystem(uint32_t uid) in IsSystem() 56 void NetSettings::AddSystemUid(uint32_t uid) in AddSystemUid() 61 void NetSettings::RemoveSystemUid(uint32_t uid) in RemoveSystemUid()
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/permission/ |
D | permission_helper.cpp | 25 …rmissionHelper::VerifyPermission(const std::string &permissionName, const int &pid, const int &uid) in VerifyPermission() 46 int PermissionHelper::VerifyUseBluetoothPermission(const int &pid, const int &uid) in VerifyUseBluetoothPermission() 55 int PermissionHelper::VerifyDiscoverBluetoothPermission(const int &pid, const int &uid) in VerifyDiscoverBluetoothPermission() 64 int PermissionHelper::VerifyManageBluetoothPermission(const int &pid, const int &uid) in VerifyManageBluetoothPermission()
|
D | auth_center.cpp | 36 int AuthCenter::VerifyUseBluetoothPermission(const int &pid, const int &uid) in VerifyUseBluetoothPermission() 45 int AuthCenter::VerifyDiscoverBluetoothPermission(const int &pid, const int &uid) in VerifyDiscoverBluetoothPermission() 53 int AuthCenter::VerifyManageBluetoothPermission(const int &pid, const int &uid) in VerifyManageBluetoothPermission()
|
/foundation/resourceschedule/memmgr/test/unittest/phone/ |
D | reclaim_priority_manager_test.cpp | 82 int uid = 100; variable 121 int uid = 104; variable 143 int uid = 105; variable 166 int uid = 106; variable 188 int uid = 107; variable 207 int uid = 108; variable 233 int uid = 109; variable 263 int uid = 110; variable 289 int uid = 111; variable 320 int uid = 112; variable [all …]
|
/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/ |
D | mem_mgr_bg_task_subscriber.cpp | 44 int uid = ttInfo->GetUid(); in OnTransientTaskStart() local 59 int uid = ttInfo->GetUid(); in OnTransientTaskEnd() local 74 uid_t uid = ctInfo->GetCreatorUid(); in OnContinuousTaskStart() local 91 uid_t uid = ctInfo->GetCreatorUid(); in OnContinuousTaskStop() local
|
/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/sched_controller/ |
D | cgroup_event_handler.cpp | 118 void CgroupEventHandler::HandleForegroundApplicationChanged(uid_t uid, std::string bundleName, int3… in HandleForegroundApplicationChanged() 132 void CgroupEventHandler::HandleApplicationStateChanged(uid_t uid, std::string bundleName, int32_t s… in HandleApplicationStateChanged() 150 void CgroupEventHandler::HandleAbilityStateChanged(uid_t uid, pid_t pid, std::string bundleName, in HandleAbilityStateChanged() 182 void CgroupEventHandler::HandleExtensionStateChanged(uid_t uid, pid_t pid, std::string bundleName, in HandleExtensionStateChanged() 214 void CgroupEventHandler::HandleProcessCreated(uid_t uid, pid_t pid, std::string bundleName) in HandleProcessCreated() 230 void CgroupEventHandler::HandleProcessDied(uid_t uid, pid_t pid, std::string bundleName) in HandleProcessDied() 249 void CgroupEventHandler::HandleTransientTaskStart(uid_t uid, pid_t pid, std::string packageName) in HandleTransientTaskStart() 265 void CgroupEventHandler::HandleTransientTaskEnd(uid_t uid, pid_t pid, std::string packageName) in HandleTransientTaskEnd() 281 void CgroupEventHandler::HandleContinuousTaskStart(uid_t uid, pid_t pid, std::string abilityName) in HandleContinuousTaskStart() 296 void CgroupEventHandler::HandleContinuousTaskCancel(uid_t uid, pid_t pid, std::string abilityName) in HandleContinuousTaskCancel() [all …]
|
D | app_state_observer.cpp | 39 auto uid = appStateData.uid; in OnForegroundApplicationChanged() local 62 auto uid = abilityStateData.uid; in OnAbilityStateChanged() local 92 auto uid = abilityStateData.uid; in OnExtensionStateChanged() local 122 auto uid = processData.uid; in OnProcessCreated() local 146 auto uid = processData.uid; in OnProcessDied() local 171 auto uid = appStateData.uid; in OnApplicationStateChanged() local
|
D | background_task_observer.cpp | 48 auto uid = info->GetUid(); in OnTransientTaskStart() local 72 auto uid = info->GetUid(); in OnTransientTaskEnd() local 97 auto uid = continuousTaskCallbackInfo->GetCreatorUid(); in OnContinuousTaskStart() local 122 auto uid = continuousTaskCallbackInfo->GetCreatorUid(); in OnContinuousTaskStop() local
|
D | window_state_observer.cpp | 34 auto uid = focusChangeInfo->uid_; in OnFocused() local 51 auto uid = focusChangeInfo->uid_; in OnUnfocused() local 73 auto uid = info->uid_; in OnWindowVisibilityChanged() local
|
/foundation/communication/netmanager_base/services/netpolicymanager/src/ |
D | net_policy_firewall.cpp | 27 bool NetPolicyFirewall::GetBackgroundPolicyByUid(uint32_t uid) in GetBackgroundPolicyByUid() 74 uint32_t uid = static_cast<uint32_t>(IPCSkeleton::GetCallingUid()); in GetCurrentBackgroundPolicy() local
|
D | net_policy_traffic.cpp | 80 NetPolicyResultCode NetPolicyTraffic::AddPolicyByUid(uint32_t uid, NetUidPolicy policy) in AddPolicyByUid() 99 NetPolicyResultCode NetPolicyTraffic::SetPolicyByUid(uint32_t uid, NetUidPolicy policy) in SetPolicyByUid() 118 NetPolicyResultCode NetPolicyTraffic::DeletePolicyByUid(uint32_t uid, NetUidPolicy policy) in DeletePolicyByUid() 260 NetPolicyResultCode NetPolicyTraffic::SetIdleTrustlist(uint32_t uid, bool isTrustlist) in SetIdleTrustlist()
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/permission/src/ |
D | client_permission_validator.cpp | 25 ClientPermissionChangedCallback::ClientPermissionChangedCallback(std::int32_t pid, std::int32_t uid) in ClientPermissionChangedCallback() 36 void ClientPermissionChangedCallback::OnChanged(const int32_t uid) in OnChanged() 42 int32_t uid, const std::string &permissionType, bool permissionStatus) in UpdatePermissionStatus()
|
/foundation/resourceschedule/work_scheduler/services/native/src/ |
D | work_policy_manager.cpp | 88 bool WorkPolicyManager::AddWork(shared_ptr<WorkStatus> workStatus, int32_t uid) in AddWork() 110 bool WorkPolicyManager::RemoveWork(shared_ptr<WorkStatus> workStatus, int32_t uid) in RemoveWork() 125 shared_ptr<WorkStatus> WorkPolicyManager::FindWorkStatus(WorkInfo& workInfo, int32_t uid) in FindWorkStatus() 135 void WorkPolicyManager::RemoveFromUidQueue(std::shared_ptr<WorkStatus> workStatus, int32_t uid) in RemoveFromUidQueue() 152 bool WorkPolicyManager::StopWork(std::shared_ptr<WorkStatus> workStatus, int32_t uid, in StopWork() 180 bool WorkPolicyManager::StopAndClearWorks(int32_t uid) in StopAndClearWorks() 198 bool WorkPolicyManager::IsLastWorkTimeout(int32_t workId, int32_t uid) in IsLastWorkTimeout() 366 list<shared_ptr<WorkInfo>> WorkPolicyManager::ObtainAllWorks(int32_t &uid) in ObtainAllWorks() 381 shared_ptr<WorkInfo> WorkPolicyManager::GetWorkStatus(int32_t &uid, int32_t &workId) in GetWorkStatus() 395 list<std::shared_ptr<WorkStatus>> WorkPolicyManager::GetAllWorkStatus(int32_t &uid) in GetAllWorkStatus()
|
D | work_scheduler_service.cpp | 239 bool WorkSchedulerService::CheckWorkInfo(WorkInfo &workInfo, int32_t &uid) in CheckWorkInfo() 289 int32_t uid = IPCSkeleton::GetCallingUid(); in StartWork() local 336 int32_t uid = IPCSkeleton::GetCallingUid(); in StopWork() local 354 int32_t uid = IPCSkeleton::GetCallingUid(); in StopAndCancelWork() local 372 bool WorkSchedulerService::StopWorkInner(std::shared_ptr<WorkStatus> workStatus, int32_t uid, in StopWorkInner() 395 bool WorkSchedulerService::StopAndClearWorksByUid(int32_t uid) in StopAndClearWorksByUid() 423 int32_t uid = IPCSkeleton::GetCallingUid(); in IsLastWorkTimeout() local 432 list<shared_ptr<WorkInfo>> WorkSchedulerService::ObtainAllWorks(int32_t &uid, int32_t &pid) in ObtainAllWorks() 442 shared_ptr<WorkInfo> WorkSchedulerService::GetWorkStatus(int32_t &uid, int32_t &workId) in GetWorkStatus()
|
/foundation/communication/netmanager_base/frameworks/native/netpolicyclient/src/ |
D | net_policy_client.cpp | 28 NetPolicyResultCode NetPolicyClient::SetPolicyByUid(uint32_t uid, NetUidPolicy policy) in SetPolicyByUid() 39 NetUidPolicy NetPolicyClient::GetPolicyByUid(uint32_t uid) in GetPolicyByUid() 63 bool NetPolicyClient::IsUidNetAccess(uint32_t uid, bool metered) in IsUidNetAccess() 74 bool NetPolicyClient::IsUidNetAccess(uint32_t uid, const std::string &ifaceName) in IsUidNetAccess() 255 bool NetPolicyClient::GetBackgroundPolicyByUid(uint32_t uid) in GetBackgroundPolicyByUid() 288 NetPolicyResultCode NetPolicyClient::SetIdleTrustlist(uint32_t uid, bool isTrustlist) in SetIdleTrustlist()
|
/foundation/filemanagement/storage_service/services/storage_daemon/utils/test/ |
D | file_utils_test.cpp | 118 uid_t uid = 00; variable 198 uid_t uid = 00; variable 223 uid_t uid = 00; variable 249 uid_t uid = 00; variable
|
/foundation/communication/netmanager_base/services/netstatsmanager/src/ |
D | net_stats_listener.cpp | 53 uint32_t uid = std::stoi(data.GetWant().GetStringParam(EVENT_DATA_UID_PARAM.c_str())); in OnReceiveEvent() local 59 uint32_t uid = in OnReceiveEvent() local
|
/foundation/communication/bluetooth/services/bluetooth_standard/ipc/src/ |
D | bluetooth_permission.cpp | 29 bool PermissionUtil::CheckCallerPermission(const string &permissionName, pid_t pid, uid_t uid) in CheckCallerPermission() 46 uid_t uid = IPCSkeleton::GetCallingUid(); in FindAppIdInfo() local
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/framework/checker/default/ |
D | system_checker.cpp | 42 std::string SystemChecker::GetAppId(pid_t uid, const std::string &bundleName) in GetAppId() 52 bool SystemChecker::IsValid(pid_t uid, const std::string &bundleName) in IsValid()
|
/foundation/resourceschedule/background_task_mgr/utils/bgtask_observer/src/ |
D | bgtask_observer.cpp | 30 int32_t uid = continuousTaskCallbackInfo->GetCreatorUid(); in OnContinuousTaskStart() local 50 int32_t uid = continuousTaskCallbackInfo->GetCreatorUid(); in OnContinuousTaskStop() local
|
/foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/ |
D | data_flow_statistics.cpp | 46 int64_t DataFlowStatistics::GetUidRxBytes(uint32_t uid) in GetUidRxBytes() 51 int64_t DataFlowStatistics::GetUidTxBytes(uint32_t uid) in GetUidTxBytes()
|
/foundation/communication/dsoftbus/core/common/security/permission/standard_system/ |
D | permission_utils.cpp | 22 extern "C" int32_t IsValidPkgName(int32_t uid, const char *pkgName) in IsValidPkgName()
|
/foundation/communication/dsoftbus/core/common/security/permission/small_system/ |
D | permission_utils.c | 20 int32_t IsValidPkgName(int32_t uid, const char *pkgName) in IsValidPkgName()
|