/foundation/multimedia/audio_framework/services/audio_policy/client/src/ |
H A D | audio_policy_manager.cpp | 46 pid_t uid = 0; in RegisterDeathRecipientInner() local 47 sptr<AudioServerDeathRecipient> deathRecipient = new(std::nothrow) AudioServerDeathRecipient(pid, uid); in RegisterDeathRecipientInner() 50 [] (pid_t pid, pid_t uid) { AudioPolicyManager::AudioPolicyServerDied(pid, uid); }); in RegisterDeathRecipientInner() 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 398 return gsp->GetSelectedDeviceInfo(uid, pid, streamType); in GetSelectedDeviceInfo() 2098 bool AudioPolicyManager::IsAllowedPlayback(const int32_t &uid, const int32_t &pid) in IsAllowedPlayback() argument 2102 return gsp->IsAllowedPlayback(uid, pid); in IsAllowedPlayback()
|
/third_party/NuttX/fs/nfs/ |
H A D | nfs_adapter.c | 709 unsigned int uid, unsigned int gid) in nfs_mount() 720 rpcclnt_setuidgid(uid, gid); in nfs_mount() 782 PRINTK("Mount nfs on %s:%s, uid:%d, gid:%d\n", server_ip_addr, server_nfs_path, uid, gid); in nfs_mount() 841 nmp->nm_uid = mnt->vnodeBeCovered->uid; in vfs_nfs_mount() 844 vp->uid = nmp->nm_uid; in vfs_nfs_mount() 897 (*vpp)->uid = nmp->nm_uid; in vfs_nfs_lookup() 910 buf->st_uid = node->uid; in vfs_nfs_stat() 1547 (*vpp)->uid = nmp->nm_uid; in vfs_nfs_mkdir() 2521 (*vpp)->uid in vfs_nfs_create() 708 nfs_mount(const char *server_ip_and_path, const char *mount_path, unsigned int uid, unsigned int gid) nfs_mount() argument [all...] |
/foundation/ability/ability_runtime/test/unittest/ams_app_running_record_test/ |
H A D | ams_app_running_record_test.cpp | 92 // a valid inner uid value which is not border value. in GetTestUid() 194 appInfo->name, GetTestProcessName(), appInfo->uid, bundleInfo); in StartLoadAbility() 252 abilityInfo->applicationInfo.uid = 1010; in HWTEST_F() 253 appInfo->uid = 1010; in HWTEST_F() 289 abilityInfo->applicationInfo.uid = 1010; in HWTEST_F() 290 appInfo->uid = 1010; in HWTEST_F() 305 anotherAbilityInfo->applicationInfo.uid = 1010; in HWTEST_F() 2033 int32_t uid = 1; in HWTEST_F() local 2034 renderRecord->SetUid(uid); in HWTEST_F() 2035 EXPECT_EQ(renderRecord->GetUid(), uid); in HWTEST_F() 2054 int32_t uid = 1; HWTEST_F() local [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | inode.c | 306 kuid_t uid = make_kuid(&init_user_ns, id); in cifs_unix_basic_to_fattr() local 307 if (uid_valid(uid)) in cifs_unix_basic_to_fattr() 308 fattr->cf_uid = uid; in cifs_unix_basic_to_fattr() 1941 args.uid = current_fsuid(); 1947 args.uid = INVALID_UID; /* no change */ 2012 * need to set uid/gid. 2694 stat->uid = current_fsuid(); 2936 args->uid = attrs->ia_uid; 2938 args->uid = INVALID_UID; /* no change */ 3013 kuid_t uid local [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_ipv4.c | 823 arg.uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_reset() 929 arg.uid = sock_net_uid(net, sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_ack() 2745 "rx_queue tr tm->when retrnsmt uid timeout " in tcp4_seq_show() 2775 uid_t uid __aligned(8); 2779 struct sock_common *sk_common, uid_t uid) in tcp_prog_seq_show() 2786 ctx.uid = uid; in tcp_prog_seq_show() 2975 uid_t uid; in bpf_iter_tcp_seq_show() local 2990 uid = 0; in bpf_iter_tcp_seq_show() 2994 uid in bpf_iter_tcp_seq_show() 2778 tcp_prog_seq_show(struct bpf_prog *prog, struct bpf_iter_meta *meta, struct sock_common *sk_common, uid_t uid) tcp_prog_seq_show() argument [all...] |
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
H A D | vendor.cpp | 203 FreezeJsonUtil::WriteKeyValue(jsonFd, "uid", watchPoint.GetUid()); in MergeFreezeJsonFile() 226 long uid = watchPoint.GetUid(); in InitLogInfo() local 237 std::string pubLogPathName = type + std::string(HYPHEN) + processName + std::string(HYPHEN) + std::to_string(uid) + in InitLogInfo()
|
/base/hiviewdfx/hisysevent/interfaces/rust/innerkits/src/ |
H A D | sys_event_manager.rs | 115 uid: c_longlong, 187 self.uid in get_uid()
|
/base/inputmethod/imf/common/src/ |
H A D | itypes_util.cpp | 251 if (!Marshal(data, input.pid, input.uid, input.userID, input.isShowKeyboard, input.eventFlag, input.config, in Marshalling() 261 if (!Unmarshal(data, output.pid, output.uid, output.userID, output.isShowKeyboard, output.eventFlag, output.config, in Unmarshalling()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/ |
H A D | dfx_dumprequest.c | 117 exception.uid = (int32_t)(g_request->uid); in FillCrashExceptionAndReport()
|
/base/powermgr/power_manager/frameworks/native/ |
H A D | power_mgr_client.cpp | 317 bool PowerMgrClient::ProxyRunningLock(bool isProxied, pid_t pid, pid_t uid) in ProxyRunningLock() argument 320 return proxy_->ProxyRunningLock(isProxied, pid, uid); in ProxyRunningLock()
|
/base/powermgr/power_manager/services/native/include/ |
H A D | power_mgr_service.h | 104 virtual bool ProxyRunningLock(bool isProxied, pid_t pid, pid_t uid) override; 328 std::string GetBundleNameByUid(const int32_t uid);
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_stub_test/ |
H A D | ans_subscriber_stub_unit_test.cpp | 567 int32_t uid = 123456; in HWTEST_F() local 569 sptr<EnabledNotificationCallbackData> callbackData = new EnabledNotificationCallbackData(bundleName, uid, enabled); in HWTEST_F()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_preferences_info.cpp | 215 void NotificationPreferencesInfo::BundleInfo::SetBundleUid(const int32_t &uid) in SetBundleUid() argument 217 uid_ = uid; in SetBundleUid()
|
/base/notification/common_event_service/frameworks/core/test/unittest/ |
H A D | common_event_stub_test.cpp | 366 int32_t uid = -1; in HWTEST_F() local 367 bool ret = commonEvent.Unfreeze(uid); in HWTEST_F()
|
/base/notification/common_event_service/services/test/unittest/ |
H A D | inner_common_event_manager_test.cpp | 246 uid_t uid = 1;
in HWTEST_F() local 249 innerCommonEventManager->Unfreeze(uid);
in HWTEST_F()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_request.h | 1021 * @param uid Indicates the UID of the notification creator. 1023 void SetCreatorUid(int32_t uid); 1035 * @param uid the UID of the notification owner. 1037 void SetOwnerUid(int32_t uid);
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences_database.h | 38 * @param bundleUid Indicates bundle uid. 177 * @param bundleId Indicates to bundle uid. 187 * @param bundleId Indicates to bundle uid. 205 * @param bundleUid Indicates to the bundle uid. 220 bool RemoveAnsBundleDbInfo(std::string bundleName, int32_t uid); 325 bool CheckApiCompatibility(const std::string &bundleName, const int32_t &uid);
|
/base/request/request/services/src/service/client/ |
H A D | mod.rs | 68 pub(crate) fn subscribe(&self, tid: u32, pid: u64, uid: u64, token_id: u64) -> ErrorCode { 70 let event = ClientEvent::Subscribe(tid, pid, uid, token_id, tx); 139 // uid and token_id will be used later
|
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/ |
H A D | sandbox_json_manager.cpp | 319 int32_t uid = IPCSkeleton::GetCallingUid();
in GetUserIdByUid() local 320 return GetUserIdFromUid(uid, &userId) == 0;
in GetUserIdByUid()
|
/base/startup/appspawn/standard/ |
H A D | appspawn_appmgr.c | 151 node->uid = 0; in AddSpawnedProcess() 378 APPSPAPWN_DUMP("App info uid: %{public}u pid: %{public}x", appInfo->uid, appInfo->pid); in DumpAppQueue()
|
/base/time/time_service/services/ipc/proxy/ |
H A D | time_service_proxy.cpp | 241 bool TimeServiceProxy::ProxyTimer(int32_t uid, bool isProxy, bool needRetrigger) in ProxyTimer() argument 249 if (!data.WriteInt32(uid)) { in ProxyTimer() 250 TIME_HILOGE(TIME_MODULE_CLIENT, "Failed to write uid"); in ProxyTimer()
|
/foundation/ability/form_fwk/services/include/ |
H A D | form_data_mgr.h | 122 * @brief Add form user uid from form record. 124 * @param formUserUid The form user uid. 129 * @brief Delete form user uid from form record. 131 * @param uid calling user id. 134 bool DeleteFormUserUid(const int64_t formId, const int uid); 212 * @brief Check calling uid is valid. 214 * @return Returns true if this user uid is valid; returns false otherwise. 364 * @param uid The caller uid. 368 void GetNoHostTempForms(const int uid, st [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_bms_helper.cpp | 284 int32_t FormBmsHelper::GetBundleNameByUid(const int32_t uid, std::string &bundleName) in GetBundleNameByUid() argument 292 if (IN_PROCESS_CALL(iBundleMgr->GetNameForUid(uid, bundleName)) != ERR_OK) { in GetBundleNameByUid() 293 HILOG_ERROR("fail get bundle name by uid"); in GetBundleNameByUid()
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/ |
H A D | mock_app_mgr_service.h | 133 MOCK_METHOD2(UpdateApplicationInfoInstalled, int(const std::string&, const int uid)); 138 MOCK_METHOD3(KillApplicationByUid, int(const std::string&, const int uid, const std::string&));
|
/foundation/ability/ability_runtime/test/unittest/ability_manager_test/ |
H A D | ability_manager_stub_mock.h | 201 virtual int UninstallApp(const std::string& bundleName, int32_t uid) in UninstallApp() argument 312 int32_t uid));
|