/ohos5.0/base/location/services/location_gnss/gnss/source/ |
H A D | gnss_ability_skeleton.cpp | 133 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in SendLocationRequestInner() 143 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in SetMockLocationsInner() 153 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in SetEnableInner() 163 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in RefreshRequirementsInner() 172 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in RegisterGnssStatusCallbackInner() 185 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in UnregisterGnssStatusCallbackInner() 195 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in RegisterNmeaMessageCallbackInner() 208 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in UnregisterNmeaMessageCallbackInner() 218 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in RegisterCachedCallbackInner() 231 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in UnregisterCachedCallbackInner() [all …]
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/transient_task/include/ |
H A D | key_info.h | 30 return (pkg_ < o.GetPkg()) || ((pkg_ == o.GetPkg()) && (uid_ < o.GetUid())); 35 return (other.GetPkg() == pkg_ && other.GetUid() == uid_); in IsEqual() 48 inline int32_t GetUid() const in GetUid() function 75 …eturn (x->GetPkg() < y->GetPkg()) || ((x->GetPkg() == y->GetPkg()) && (x->GetUid() < y->GetUid())); in operator()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_preferences.cpp | 630 if (item.GetUid() == bundle.GetUid()) { in UpdateProfilesUtil() 682 bundleOption->SetUid(cloneBundleInfo.GetUid()); in UpdateCloneBundleInfo() 687 bundleInfo.SetBundleUid(cloneBundleInfo.GetUid()); in UpdateCloneBundleInfo() 717 cloneBundleInfo.GetUid(), slots)) { in UpdateCloneBundleInfo() 794 int32_t uid = bundleOption->GetUid(); in RemoveDoNotDisturbProfileTrustList() 810 if (it->GetUid() == uid) { in RemoveDoNotDisturbProfileTrustList() 839 bundleInfo.SetBundleUid(bundleOption->GetUid()); in CheckSlotForCreateSlot() 881 bundleInfo.SetBundleUid(bundleOption->GetUid()); in CheckSlotForUpdateSlot() 904 bundleInfo.SetBundleUid(bundleOption->GetUid()); in SetBundleProperty() 1044 bundleInfo.SetBundleUid(bundleOption->GetUid()); in SetDistributedEnabledByBundle() [all …]
|
H A D | advanced_notification_event_service.cpp | 113 eventInfo.uid = bundleOption->GetUid(); in SendCancelHiSysEvent() 128 eventInfo.uid = bundleOption->GetUid(); in SendRemoveHiSysEvent() 141 eventInfo.uid = bundleOption->GetUid(); in SendEnableNotificationHiSysEvent() 161 eventInfo.uid = bundleOption->GetUid(); in SendEnableNotificationSlotHiSysEvent() 181 eventInfo.uid = record->bundleOption->GetUid(); in SendFlowControlOccurHiSysEvent()
|
H A D | notification_dialog_manager.cpp | 103 bundle->GetUid(), in RequestEnableNotificationDailog() 160 int32_t uid = bundle->GetUid(); in AddDialogInfoIfNotExist() 163 …urn dialogInfo->bundleOption->GetBundleName() == name && dialogInfo->bundleOption->GetUid() == uid; in AddDialogInfoIfNotExist() 181 …alogInfo->bundleOption->GetBundleName() == bundleName && dialogInfo->bundleOption->GetUid() == uid; in GetBundleOptionByBundleName() 195 int32_t uid = bundle->GetUid(); in RemoveDialogInfoByBundleOption() 198 …urn dialogInfo->bundleOption->GetBundleName() == name && dialogInfo->bundleOption->GetUid() == uid; in RemoveDialogInfoByBundleOption()
|
H A D | advanced_notification_publish_service.cpp | 420 uid = bundleOption->GetUid(); in CancelAsBundle() 440 if (bundleOption->GetUid() != 0) { in CancelAsBundle() 487 uid = bundleOption->GetUid(); in CancelAsBundleWithAgent() 1177 bundleOption->GetUid()); in RemoveEnableNotificationDialog() 1491 (record->request->GetAgentBundle()->GetUid() == bundle->GetUid()) && in TriggerLocalLiveView() 1499 (record->bundleOption->GetUid() == bundle->GetUid()) && in TriggerLocalLiveView() 1565 (record->bundleOption->GetUid() == bundle->GetUid()) && in RemoveNotification() 1686 (record->bundleOption->GetUid() == bundle->GetUid()) in RemoveAllNotificationsInner() 1817 ((*it)->bundleOption->GetUid() == bundle->GetUid()) && in RemoveNotificationBySlot() 1957 (record->bundleOption->GetUid() == bundleOption->GetUid()) && in ExcuteCancelGroupCancel() [all …]
|
H A D | reminder_data_manager_inner.cpp | 102 if (reminder->GetUid() != uid || notificationId != reminder->GetNotificationId() || in HandleAutoDeleteReminder() 128 soundResource_ = GetResourceMgr(reminder->GetBundleName(), reminder->GetUid()); in GetCustomRingFileDesc() 161 int32_t uid = reminder->GetUid(); in ReportSysEvent() 180 …std::string key = std::to_string(reminder->GetUid()) + "_" + std::to_string(reminder->GetTriggerTi… in CheckShowLimit()
|
/ohos5.0/base/location/services/location_geocode/geocode/source/ |
H A D | geo_convert_skeleton.cpp | 81 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in IsGeoConvertAvailableInner() 90 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in GetAddressByCoordinateInner() 100 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in GetAddressByLocationNameInner() 110 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in EnableReverseGeocodingMockInner() 121 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in DisableReverseGeocodingMockInner() 132 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in SetGeocodingMockInfoInner()
|
/ohos5.0/foundation/resourceschedule/device_standby/plugins/message_listener/src/ |
H A D | background_task_listener.cpp | 64 info->GetUid(), info->GetPackageName().c_str()); in OnAppTransientTaskStart() 65 … OnTaskStatusChanged(TRANSIENT_TASK, true, info->GetUid(), info->GetPid(), info->GetPackageName()); in OnAppTransientTaskStart() 72 info->GetUid(), info->GetPackageName().c_str()); in OnAppTransientTaskEnd() 73 …OnTaskStatusChanged(TRANSIENT_TASK, false, info->GetUid(), info->GetPid(), info->GetPackageName()); in OnAppTransientTaskEnd()
|
/ohos5.0/base/location/services/location_network/network/source/ |
H A D | network_ability_skeleton.cpp | 69 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in SendLocationRequestInner() 79 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in SetMockLocationsInner() 89 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in SetEnableInner() 98 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in EnableMockInner() 107 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in DisableMockInner()
|
/ohos5.0/base/location/services/location_passive/passive/source/ |
H A D | passive_ability_skeleton.cpp | 67 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in SendLocationRequestInner() 77 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in SetEnableInner() 86 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in EnableMockInner() 95 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in DisableMockInner() 104 if (!PermissionManager::CheckCallingPermission(identity.GetUid(), identity.GetPid(), reply)) { in SetMockedLocationsInner()
|
/ohos5.0/foundation/multimedia/av_session/services/session/server/remote/ |
H A D | remote_session_source_impl.cpp | 63 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in CastSessionToRemote() 144 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in SetAVMetaData() 169 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in SetAVPlaybackState() 192 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in SetSessionEventRemote() 214 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in SetAVQueueItems() 236 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in SetAVQueueTitle() 258 "AUDIO_STATUS", HISYSEVENT_GET_AUDIO_STATUS(session_->GetUid()), in SetExtrasRemote()
|
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | background_task_observer.cpp | 67 efficiencyUids_.push_back(resourceInfo->GetUid()); in OnProcEfficiencyResourcesApply() 77 efficiencyUids_.remove(resourceInfo->GetUid()); in OnProcEfficiencyResourcesReset() 123 efficiencyUids_.push_back(info->GetUid()); in GetEfficiencyResourcesTaskApps() 131 efficiencyUids_.push_back(info->GetUid()); in GetEfficiencyResourcesTaskApps()
|
/ohos5.0/base/location/services/location_locator/locator/source/ |
H A D | request_manager.cpp | 442 …UEST_MANAGER, "add pid:%{public}d uid:%{public}d %{public}s", request->GetPid(), request->GetUid(), in HandleRequest() 484 identity.SetUid(request->GetUid()); in IsRequestAvailable() 488 request->GetUid()); in IsRequestAvailable() 543 pid_t uid = request->GetUid(); in AddRequestToWorkRecord() 653 auto uid = request->GetUid(); in UpdateRunningUids() 710 locatorErrRequest->SetUid(identity.GetUid()); in RegisterLocationErrorCallback() 743 (request->GetUid() != 0 && (request->GetUid() != locatorErrRequest->GetUid()))) { in ReportLocationError() 764 if (request->GetUid() != 0 && (request->GetUid() == locatorErrRequest->GetUid())) { in UpdateLocationError() 827 pid_t LocationErrRequest::GetUid() in GetUid() function in OHOS::Location::LocationErrRequest
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/transient_task/src/ |
H A D | suspend_controller.cpp | 31 …BGTASK_LOGD("Add delayed suspend app uid: %{public}d, name: %{public}s", key->GetUid(), key->GetPk… in RequestSuspendDelay() 41 …BGTASK_LOGD("Remove delayed suspend app uid: %{public}d, name: %{public}s", key->GetUid(), key->Ge… in CancelSuspendDelay()
|
H A D | decision_maker.cpp | 200 int32_t uid = key->GetUid(); in Decide() 226 … HiviewDFX::HiSysEvent::EventType::STATISTIC, "APP_UID", key->GetUid(), "APP_PID", key->GetPid(), in Decide() 286 … auto appInfo = make_shared<TransientTaskAppInfo>(key->GetPkg(), key->GetUid(), key->GetPid()); in RemoveRequest() 291 auto info = make_shared<TransientTaskAppInfo>(key->GetPkg(), key->GetUid()); in RemoveRequest() 297 … HiviewDFX::HiSysEvent::EventType::STATISTIC, "APP_UID", key->GetUid(), "APP_PID", key->GetPid(), in RemoveRequest() 365 if (fgApp.bundleName == pkgInfo->GetPkg() && fgApp.uid == pkgInfo->GetUid()) { in CanStartAccountingLocked() 456 return pkgInfo->GetUid() == target; in HandleScreenOff()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ecs/ |
H A D | intf_component_manager.h | 71 virtual BASE_NS::Uid GetUid() const = 0; 200 inline constexpr BASE_NS::Uid GetUid() in GetUid() function 202 return GetUid((const T*)nullptr); in GetUid()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | bg_efficiency_resources_mgr.cpp | 386 "isPersist: %{public}d, timeOut: %{public}u, isProcess: %{public}d", callbackInfo->GetUid(), in ApplyEfficiencyResourcesInner() 389 int32_t mapKey = resourceInfo->IsProcess() ? callbackInfo->GetPid() : callbackInfo->GetUid(); in ApplyEfficiencyResourcesInner() 394 infoMap.emplace(mapKey, std::make_shared<ResourceApplicationRecord>(callbackInfo->GetUid(), in ApplyEfficiencyResourcesInner() 414 callbackInfo->GetUid(), callbackInfo->GetBundleName().c_str()); in ApplyEfficiencyResourcesInner() 460 int32_t mapKey = isProcess ? callbackInfo->GetPid() : callbackInfo->GetUid(); in UpdateResourcesEndtime() 504 callbackInfo->GetUid(), callbackInfo->GetBundleName().c_str()); in ResetTimeOutResource() 570 " resource number: %{public}u, isProcess: %{public}d", callbackInfo->GetUid(), in ResetEfficiencyResourcesInner() 576 RemoveTargetResourceRecord(appResourceApplyMap_, callbackInfo->GetUid(), in ResetEfficiencyResourcesInner() 578 RemoveRelativeProcessRecord(callbackInfo->GetUid(), callbackInfo->GetResourceNumber()); in ResetEfficiencyResourcesInner() 665 stream << "\t\tuid: " << iter->second->GetUid() << "\n"; in DumpApplicationInfoMap() [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_bundle_option_test.cpp | 64 EXPECT_EQ(rrc->GetUid(), uid1); 150 EXPECT_EQ(rrcNew->GetUid(), rrc->GetUid());
|
/ohos5.0/base/location/test/location_manager/source/ |
H A D | request_manager_test.cpp | 110 EXPECT_EQ(SYSTEM_UID, request->GetUid()); in VerifyRequestField() 186 request_->GetUid(), state1); 189 request_->GetUid(), state2); 204 request_->GetUid(), state1); 207 request_->GetUid(), state2); 222 request_->GetUid(), state1); 225 request_->GetUid(), state2); 240 request_->GetUid() + 1, state1); 243 request_->GetUid() + 1, state2);
|
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | scheduler_bg_task_subscriber.cpp | 33 int32_t uid = resourceInfo->GetUid(); in OnProcEfficiencyResourcesApply() 45 int32_t uid = resourceInfo->GetUid(); in OnProcEfficiencyResourcesReset()
|
/ohos5.0/base/notification/distributed_notification_service/services/distributed/src/ |
H A D | distributed_preferences.cpp | 73 std::to_string(bundleOption->GetUid()); in GetDistributedBundleKey() 182 …Info_->SetDistributedBundleEnable(bundleOption->GetBundleName(), bundleOption->GetUid(), isEnable); in SetDistributedBundleEnable() 200 …referencesInfo_->GetDistributedBundleEnable(bundleOption->GetBundleName(), bundleOption->GetUid()); in GetDistributedBundleEnable() 225 …eferencesInfo_->DeleteDistributedBundleInfo(bundleOption->GetBundleName(), bundleOption->GetUid()); in DeleteDistributedBundleInfo()
|
/ohos5.0/foundation/multimodalinput/input/intention/ipc/socket/include/ |
H A D | socket_session.h | 36 int32_t GetUid() const override; 56 inline int32_t SocketSession::GetUid() const in GetUid() function
|
/ohos5.0/base/msdp/device_status/intention/ipc/socket/include/ |
H A D | socket_session.h | 36 int32_t GetUid() const override; 56 inline int32_t SocketSession::GetUid() const in GetUid() function
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/sched_controller/ |
H A D | background_task_observer.cpp | 34 payload["uid"] = std::to_string(info->GetUid()); in MarshallingTransientTaskAppInfo() 46 auto uid = info->GetUid(); in OnTransientTaskStart() 69 auto uid = info->GetUid(); in OnTransientTaskEnd() 198 payload["uid"] = resourceInfo->GetUid(); in MarshallingResourceInfo()
|