Home
last modified time | relevance | path

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

12345678910>>...13

/foundation/communication/wifi/services/wifi_standard/wifi_framework/wifi_manage/
Dwifi_auth_center.cpp39 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/
Dwifi_permission_helper.cpp53 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/
Dnet_settings.cpp33 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/
Dpermission_helper.cpp25 …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()
Dauth_center.cpp36 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/
Dreclaim_priority_manager_test.cpp82 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/
Dmem_mgr_bg_task_subscriber.cpp44 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/
Dcgroup_event_handler.cpp118 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 …]
Dapp_state_observer.cpp39 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
Dbackground_task_observer.cpp48 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
Dwindow_state_observer.cpp34 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/
Dnet_policy_firewall.cpp27 bool NetPolicyFirewall::GetBackgroundPolicyByUid(uint32_t uid) in GetBackgroundPolicyByUid()
74 uint32_t uid = static_cast<uint32_t>(IPCSkeleton::GetCallingUid()); in GetCurrentBackgroundPolicy() local
Dnet_policy_traffic.cpp80 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/
Dclient_permission_validator.cpp25 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/
Dwork_policy_manager.cpp88 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()
Dwork_scheduler_service.cpp239 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/
Dnet_policy_client.cpp28 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/
Dfile_utils_test.cpp118 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/
Dnet_stats_listener.cpp53 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/
Dbluetooth_permission.cpp29 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/
Dsystem_checker.cpp42 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/
Dbgtask_observer.cpp30 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/
Ddata_flow_statistics.cpp46 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/
Dpermission_utils.cpp22 extern "C" int32_t IsValidPkgName(int32_t uid, const char *pkgName) in IsValidPkgName()
/foundation/communication/dsoftbus/core/common/security/permission/small_system/
Dpermission_utils.c20 int32_t IsValidPkgName(int32_t uid, const char *pkgName) in IsValidPkgName()

12345678910>>...13