/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/ |
H A D | bundle_mgr_interface.h | 344 virtual bool GetBundleNameForUid(const int uid, std::string &bundleName) in GetBundleNameForUid() argument 354 virtual bool GetBundlesForUid(const int uid, std::vector<std::string> &bundleNames) in GetBundlesForUid() argument 364 GetNameForUid(const int uid, std::string &name) GetNameForUid() argument 375 GetNameAndIndexForUid(const int32_t uid, std::string &bundleName, int32_t &appIndex) GetNameAndIndexForUid() argument 396 GetBundleGidsByUid(const std::string &bundleName, const int &uid, std::vector<int> &gids) GetBundleGidsByUid() argument 414 CheckIsSystemAppByUid(const int uid) CheckIsSystemAppByUid() argument [all...] |
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/ |
H A D | acts_bms_kit_system_test.cpp | 2329 int uid = bundleMgrProxy->GetUidByBundleName(bundleName, USERID); in HWTEST_F() local 2374 int uid = bundleMgrProxy->GetUidByBundleName(bundleName, userId); in HWTEST_F() local 2420 int uid = bundleMgrProxy->GetUidByBundleName(bundleName, userId); in HWTEST_F() local 2461 int uid = bundleMgrProxy->GetUidByBundleName(appName, USERID); HWTEST_F() local 2485 int uid = bundleMgrProxy->GetUidByBundleName(bundleName, USERID); HWTEST_F() local 2504 int uid = bundleMgrProxy->GetUidByBundleName(bundleName, USERID, 0); HWTEST_F() local 5104 int uid = bundleInfo.uid; HWTEST_F() local 5381 int uid = bundleMgrProxy->GetUidByBundleName(appName, USERID); HWTEST_F() local 7575 int uid = bundleInfo.uid; HWTEST_F() local 8137 int uid = 0; HWTEST_F() local 8151 int uid = 0; HWTEST_F() local 8538 int32_t uid = bundleMgrProxy->GetUidByBundleName(bundleName, USERID); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_installer_test.cpp | 1645 int32_t uid = 0; in HWTEST_F() local 1719 int32_t uid = 0; in HWTEST_F() local 1735 int32_t uid = 0; in HWTEST_F() local 1751 int32_t uid = 0; in HWTEST_F() local 1937 int32_t uid in HWTEST_F() local 2031 int32_t uid = USERID; HWTEST_F() local 3949 int32_t uid = 0; HWTEST_F() local 3971 int32_t uid = 100; HWTEST_F() local 4047 int32_t uid = USERID; HWTEST_F() local 4074 int32_t uid = USERID; HWTEST_F() local 4095 int32_t uid = USERID; HWTEST_F() local 4118 int32_t uid = USERID; HWTEST_F() local 4655 int32_t uid = EDM_UID; HWTEST_F() local 4676 int32_t uid = EDM_UID; HWTEST_F() local 5982 int32_t uid = -1; HWTEST_F() local 6001 int32_t uid = -1; HWTEST_F() local 6379 int32_t uid = EDM_UID; HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/ |
H A D | installd_operator.cpp | 655 bool InstalldOperator::ChangeDirOwnerRecursively(const std::string &path, const int uid, const int gid) in ChangeDirOwnerRecursively() argument 703 bool InstalldOperator::ChangeFileAttr(const std::string &filePath, const int uid, const int gid) in ChangeFileAttr() argument 818 MkOwnerDir(const std::string &path, bool isReadByOthers, const int uid, const int gid) MkOwnerDir() argument 826 CheckPathIsSame(const std::string &path, int32_t mode, const int32_t uid, const int32_t gid, bool &isPathExist) CheckPathIsSame() argument 846 MkOwnerDir(const std::string &path, int mode, const int uid, const int gid) MkOwnerDir() argument 998 GetDiskUsageFromQuota(const int32_t uid) GetDiskUsageFromQuota() argument 1226 ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, const std::string &newSoPath, int32_t uid) ApplyDiffPatch() argument 1736 ExtractSoFilesToTmpHapPath(const std::string &hapPath, const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid) ExtractSoFilesToTmpHapPath() argument 1800 ExtractSoFilesToTmpSoPath(const std::string &hapPath, const std::string &realSoFilesPath, const std::string &cpuAbi, const std::string &tmpSoPath, int32_t uid) ExtractSoFilesToTmpSoPath() argument 1864 DecryptSoFile(const std::string &filePath, const std::string &tmpPath, int32_t uid, uint32_t fileSize, uint32_t offset) DecryptSoFile() argument 1930 RemoveEncryptedKey(int32_t uid, const std::vector<std::string> &soList) RemoveEncryptedKey() argument 1953 CallIoctl(int32_t flag, int32_t associatedFlag, int32_t uid, int32_t &fd) CallIoctl() argument 1997 GenerateKeyIdAndSetPolicy(int32_t uid, const std::string &bundleName, const int32_t userId, std::string &keyId) GenerateKeyIdAndSetPolicy() argument [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/server/src/ |
H A D | audio_policy_server.cpp | 976 std::string AudioPolicyServer::GetSelectedDeviceInfo(int32_t uid, int32_t pid, AudioStreamType streamType) in GetSelectedDeviceInfo() argument 1826 pid_t uid = IPCSkeleton::GetCallingUid(); RegisterClientDeathRecipient() local 1852 RegisteredTrackerClientDied(pid_t pid, pid_t uid) RegisteredTrackerClientDied() argument 1866 RegisteredStreamListenerClientDied(pid_t pid, pid_t uid) RegisteredStreamListenerClientDied() argument [all...] |
H A D | audio_policy_manager_stub.cpp | 556 int32_t uid = data.ReadInt32(); in GetSelectedDeviceInfoInternal() local 2165 int32_t uid = data.ReadInt32(); in IsAllowedPlaybackInternal() local
|
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | audio_server.cpp | 1529 const std::string AudioServer::GetBundleNameFromUid(int32_t uid) in GetBundleNameFromUid() argument 1548 bool AudioServer::IsFastBlocked(int32_t uid) in IsFastBlocked() argument 2004 AudioServerDied(pid_t pid, pid_t uid) AudioServerDied() argument 2014 pid_t uid = IPCSkeleton::GetCallingUid(); RegisterPolicyServerDeathRecipient() local [all...] |
/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | capturer_in_client.cpp | 556 void CapturerInClientInner::AudioServerDied(pid_t pid, pid_t uid) in AudioServerDied() argument [all...] |
H A D | audio_process_in_client.cpp | 299 void AudioProcessInClientInner::AudioServerDied(pid_t pid, pid_t uid) in AudioServerDied() argument
|
H A D | renderer_in_client.cpp | 364 void RendererInClientInner::AudioServerDied(pid_t pid, pid_t uid) in AudioServerDied() argument
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | scene_holder.cpp | 135 SceneHolder::SceneHolder(META_NS::InstanceId uid, META_NS::IObjectRegistry& registry, in SceneHolder() argument
|
/foundation/multimedia/audio_framework/services/audio_policy/client/src/ |
H A D | audio_policy_manager.cpp | 46 pid_t uid = 0; in RegisterDeathRecipientInner() local 175 void AudioPolicyManager::AudioPolicyServerDied(pid_t pid, pid_t uid) in AudioPolicyServerDied() argument 394 std::string AudioPolicyManager::GetSelectedDeviceInfo(int32_t uid, int32_t pid, AudioStreamType streamType) in GetSelectedDeviceInfo() argument 2098 bool AudioPolicyManager::IsAllowedPlayback(const int32_t &uid, const int32_t &pid) in IsAllowedPlayback() argument
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_render_service_connection_proxy.cpp | 3254 void RSRenderServiceConnectionProxy::UnregisterSurfaceBufferCallback(pid_t pid, uint64_t uid) in UnregisterSurfaceBufferCallback() argument 352 SetFocusAppInfo( int32_t pid, int32_t uid, const std::string &bundleName, const std::string &abilityName, uint64_t focusNodeId) SetFocusAppInfo() argument 3217 RegisterSurfaceBufferCallback( pid_t pid, uint64_t uid, sptr<RSISurfaceBufferCallback> callback) RegisterSurfaceBufferCallback() argument
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/ |
H A D | camera_manager.cpp | 1393 int uid = IPCSkeleton::GetCallingUid(); in ReportEvent() local 2231 int32_t uid = IPCSkeleton::GetCallingUid(); in SetTorchMode() local
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcapture_session.cpp | 1736 int uid = IPCSkeleton::GetCallingUid(); in CreateMediaLibrary() local 1847 int uid = IPCSkeleton::GetCallingUid(); in CreateMediaLibrary() local [all...] |
H A D | hcamera_service.cpp | 283 int32_t uid = IPCSkeleton::GetCallingUid(); in FillCameras() local 466 int32_t uid = IPCSkeleton::GetCallingUid(); in CreateDeferredPhotoProcessingSession() local 483 int32_t uid = IPCSkeleton::GetCallingUid(); in CreateDeferredVideoProcessingSession() local [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_data_manager.cpp | 1998 uid_t uid = getuid() / BASE_USER_RANGE; in SetStartupParameter() local
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | input_manager_impl.cpp | 2207 int32_t InputManagerImpl::SetNapStatus(int32_t pid, int32_t uid, const std::string &bundleName, int32_t napStatus) in SetNapStatus() argument 2218 void InputManagerImpl::NotifyBundleName(int32_t pid, int32_t uid, const std::string &bundleName, int32_t syncStatus) in NotifyBundleName() argument
|
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_usage_database.cpp | 538 int32_t uid; in UpdateOldDataUid() local 1534 OnPackageUninstalled(const int32_t userId, const string& bundleName, const int32_t uid, const int32_t appIndex) OnPackageUninstalled() argument 1561 DeleteUninstalledInfo(const int32_t userId, const string& bundleName, const int32_t uid, const string& tableName, uint32_t databaseType, const int32_t appIndex) DeleteUninstalledInfo() argument 1702 RemoveFormData(const int32_t userId, const std::string bundleName, const std::string moduleName, const std::string formName, const int32_t formDimension, const int64_t formId, const int32_t uid) RemoveFormData() argument [all...] |
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_session_manager.cpp | 3081 int32_t uid = 0; in OnUpdateDisplayHookInfo() local 3137 int32_t uid = 0; in OnUpdateAppHookDisplayInfo() local
|
/foundation/communication/netmanager_base/services/netsyscontroller/src/ |
H A D | netsys_native_client.cpp | 201 int32_t NetsysNativeClient::SetInternetPermission(uint32_t uid, uint8_t allow) in SetInternetPermission() argument 650 int64_t NetsysNativeClient::GetUidRxBytes(uint32_t uid) in GetUidRxBytes() argument 661 int64_t NetsysNativeClient::GetUidTxBytes(uint32_t uid) in GetUidTxBytes() argument 672 int64_t NetsysNativeClient::GetUidOnIfaceRxBytes(uint32_t uid, const std::string &interfaceName) in GetUidOnIfaceRxBytes() argument 684 GetUidOnIfaceTxBytes(uint32_t uid, const std::string &interfaceName) GetUidOnIfaceTxBytes() argument 1227 BandwidthAddDeniedList(uint32_t uid) BandwidthAddDeniedList() argument 1237 BandwidthRemoveDeniedList(uint32_t uid) BandwidthRemoveDeniedList() argument 1247 BandwidthAddAllowedList(uint32_t uid) BandwidthAddAllowedList() argument 1257 BandwidthRemoveAllowedList(uint32_t uid) BandwidthRemoveAllowedList() argument 1317 GetUidStats(uint64_t &stats, uint32_t type, uint32_t uid) GetUidStats() argument 1347 DeleteSimStatsInfo(uint32_t uid) DeleteSimStatsInfo() argument 1367 DeleteStatsInfo(uint32_t uid) DeleteStatsInfo() argument 1663 SetNetworkAccessPolicy(uint32_t uid, NetworkAccessPolicy policy, bool reconfirmFlag, bool isBroker) SetNetworkAccessPolicy() argument 1675 DeleteNetworkAccessPolicy(uint32_t uid) DeleteNetworkAccessPolicy() argument 1751 CloseSocketsUid(const std::string &ipAddr, uint32_t uid) CloseSocketsUid() argument [all...] |
/foundation/communication/netmanager_base/services/netmanagernative/src/ |
H A D | netsys_native_service_stub.cpp | 333 auto uid = IPCSkeleton::GetCallingUid(); in OnRemoteRequest() local 727 uint32_t uid = data.ReadUint32(); in CmdSetInternetPermission() local 775 sptr<UidRange> uid; in CmdNetworkAddUids() local 804 sptr<UidRange> uid; CmdNetworkDelUids() local 945 int32_t uid = 0; CmdCreateVnic() local 1215 uint32_t uid = data.ReadUint32(); CmdBandwidthAddDeniedList() local 1223 uint32_t uid = data.ReadUint32(); CmdBandwidthRemoveDeniedList() local 1232 uint32_t uid = data.ReadUint32(); CmdBandwidthAddAllowedList() local 1241 uint32_t uid = data.ReadUint32(); CmdBandwidthRemoveAllowedList() local 1255 uint32_t uid = data.ReadUint32(); CmdFirewallSetUidsAllowedListChain() local 1271 uint32_t uid = data.ReadUint32(); CmdFirewallSetUidsDeniedListChain() local 1412 uint32_t uid = data.ReadUint32(); CmdDeleteSimStatsInfo() local 1439 uint32_t uid = data.ReadUint32(); CmdDeleteStatsInfo() local 2011 uint32_t uid = 0; CmdSetNetworkAccessPolicy() local 2047 uint32_t uid = 0; CmdDelNetworkAccessPolicy() local 2208 uint32_t uid = data.ReadUint32(); CmdCloseSocketsUid() local [all...] |
/foundation/distributeddatamgr/pasteboard/services/core/src/ |
H A D | pasteboard_service.cpp | 1807 int uid = static_cast<int>(IPCSkeleton::GetCallingUid()); in Dump() local
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
H A D | distributed_sched_service.cpp | 1570 DecreaseConnectLocked(int32_t uid) DecreaseConnectLocked() argument 2486 int32_t uid = GetUidLocked(sessionsList); DisconnectRemoteAbility() local 2516 DisconnectAbilityFromRemote(const sptr<IRemoteObject>& connect, int32_t uid, const std::string& sourceDeviceId) DisconnectAbilityFromRemote() argument 2588 int32_t uid = GetUidLocked(sessionsList); RemoveConnectAbilityInfo() local [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_mgr_adapter.cpp | 649 int uid = IPCSkeleton::GetCallingUid(); in HandleDeleteTempForm() local 691 ErrCode FormMgrAdapter::HandleDeleteFormCache(FormRecord &dbRecord, const int uid, const int64_t formId) in HandleDeleteFormCache() argument 2410 int uid = IPCSkeleton::GetCallingUid(); GetBundleName() local 3229 auto uid = IPCSkeleton::GetCallingUid(); RegisterFormRouterProxy() local 3277 auto uid = IPCSkeleton::GetCallingUid(); UnregisterFormRouterProxy() local [all...] |