Home
last modified time | relevance | path

Searched refs:GetUid (Results 1 - 25 of 134) sorted by relevance

123456

/base/location/services/location_gnss/gnss/source/
H A Dgnss_ability_skeleton.cpp133 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(), identit in UnregisterCachedCallbackInner()
[all...]
/base/location/services/location_network/network/source/
H A Dnetwork_ability_skeleton.cpp69 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()
/base/location/services/location_passive/passive/source/
H A Dpassive_ability_skeleton.cpp67 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()
/base/location/services/location_geocode/geocode/source/
H A Dgeo_convert_skeleton.cpp81 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()
/base/msdp/device_status/intention/ipc/socket/include/
H A Dsocket_session.h36 int32_t GetUid() const override;
56 inline int32_t SocketSession::GetUid() const in GetUid() function in OHOS::Msdp::DeviceStatus::SocketSession
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_event_service.cpp113 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 Dreminder_data_manager_inner.cpp98 if (reminder->GetUid() != uid || notificationId != reminder->GetNotificationId() || in HandleAutoDeleteReminder()
124 soundResource_ = GetResourceMgr(reminder->GetBundleName(), reminder->GetUid()); in GetCustomRingFileDesc()
157 int32_t uid = reminder->GetUid(); in ReportSysEvent()
H A Dnotification_preferences.cpp89 (!preferncesDB_->PutSlotsToDisturbeDB(bundleOption->GetBundleName(), bundleOption->GetUid(), slots))) { in AddNotificationSlots()
136 (!preferncesDB_->RemoveSlotFromDisturbeDB(GenerateBundleKey(bundleOption), slotType, bundleOption->GetUid()))) { in RemoveNotificationSlot()
165 if (!preferncesDB_->RemoveAllSlotsFromDisturbeDB(GenerateBundleKey(bundleOption), bundleOption->GetUid())) { in RemoveNotificationAllSlots()
193 if (!preferncesDB_->RemoveBundleFromDisturbeDB(GenerateBundleKey(bundleOption), bundleOption->GetUid())) { in RemoveNotificationForBundle()
229 (!preferncesDB_->PutSlotsToDisturbeDB(bundleOption->GetBundleName(), bundleOption->GetUid(), slots))) { in UpdateNotificationSlots()
545 int32_t index = BundleManagerHelper::GetInstance()->GetAppIndexByUid(bundleInfo.GetUid()); in AddDoNotDisturbProfiles()
547 ANS_LOGI("Get app index by uid %{public}d %{public}s %{public}d", bundleInfo.GetUid(), in AddDoNotDisturbProfiles()
599 if (item.GetUid() == bundle.GetUid()) { in UpdateProfilesUtil()
651 bundleOption->SetUid(cloneBundleInfo.GetUid()); in UpdateCloneBundleInfo()
[all...]
H A Dnotification_dialog_manager.cpp104 bundle->GetUid(), in RequestEnableNotificationDailog()
161 int32_t uid = bundle->GetUid(); in AddDialogInfoIfNotExist()
164 return dialogInfo->bundleOption->GetBundleName() == name && dialogInfo->bundleOption->GetUid() == uid; in AddDialogInfoIfNotExist()
182 return dialogInfo->bundleOption->GetBundleName() == bundleName && dialogInfo->bundleOption->GetUid() == uid; in GetBundleOptionByBundleName()
196 int32_t uid = bundle->GetUid(); in RemoveDialogInfoByBundleOption()
199 return dialogInfo->bundleOption->GetBundleName() == name && dialogInfo->bundleOption->GetUid() == uid; in RemoveDialogInfoByBundleOption()
H A Dadvanced_notification_publish_service.cpp76 new (std::nothrow) EnabledNotificationCallbackData(bundle->GetBundleName(), bundle->GetUid(), enabled); in SetDefaultNotificationEnabled()
409 if (bundleOption->GetUid() == DEFAULT_UID) { in CancelAsBundle()
415 uid = bundleOption->GetUid(); in CancelAsBundle()
433 ANS_LOGD("%{public}s, uid = %{public}d", __FUNCTION__, bundleOption->GetUid()); in CancelAsBundle()
435 if (bundleOption->GetUid() != 0) { in CancelAsBundle()
436 OHOS::AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(bundleOption->GetUid(), userId); in CancelAsBundle()
469 if (bundleOption->GetUid() != 0) { in CancelAsBundleWithAgent()
470 OHOS::AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(bundleOption->GetUid(), userId); in CancelAsBundleWithAgent()
475 if (bundleOption->GetUid() == DEFAULT_UID) { in CancelAsBundleWithAgent()
482 uid = bundleOption->GetUid(); in CancelAsBundleWithAgent()
[all...]
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_bundle_option_test.cpp64 EXPECT_EQ(rrc->GetUid(), uid1); in HWTEST_F()
151 EXPECT_EQ(rrcNew->GetUid(), rrc->GetUid()); in HWTEST_F()
/base/location/services/location_locator/locator/source/
H A Drequest_manager.cpp364 LBSLOGD(REQUEST_MANAGER, "add pid:%{public}d uid:%{public}d %{public}s", request->GetPid(), request->GetUid(), in HandleRequest()
406 identity.SetUid(request->GetUid()); in IsRequestAvailable()
410 request->GetUid()); in IsRequestAvailable()
465 pid_t uid = request->GetUid(); in AddRequestToWorkRecord()
596 auto uid = request->GetUid(); in UpdateRunningUids()
653 locatorErrRequest->SetUid(identity.GetUid()); in RegisterLocationErrorCallback()
686 (request->GetUid() != 0 && (request->GetUid() != locatorErrRequest->GetUid()))) { in ReportLocationError()
707 if (request->GetUid() ! in UpdateLocationError()
770 pid_t LocationErrRequest::GetUid() GetUid() function in OHOS::Location::LocationErrRequest
[all...]
/base/hiviewdfx/hilog/frameworks/libhilog/socket/include/
H A Dsocket.h33 uid_t GetUid();
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Denabled_notification_callback_data.h50 uid_t GetUid() const;
H A Dbadge_number_callback_data.h59 int32_t GetUid() const;
H A Dnotification_bundle_option.h64 int32_t GetUid() const;
/base/msdp/device_status/intention/prototype/include/
H A Di_socket_session.h42 virtual int32_t GetUid() const = 0;
/base/notification/distributed_notification_service/test/fuzztest/enablednotificationcallbackdata_fuzzer/
H A Denablednotificationcallbackdata_fuzzer.cpp41 // test GetUid function in DoSomethingInterestingWithMyAPI()
42 enabledNotificationCallbackData.GetUid(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/notificationbundleoption_fuzzer/
H A Dnotificationbundleoption_fuzzer.cpp30 // test GetUid function in DoSomethingInterestingWithMyAPI()
31 notificationBundleOption->GetUid(); in DoSomethingInterestingWithMyAPI()
/base/telephony/call_manager/interfaces/innerkits/
H A Di_voip_call_manager_callback.h51 int32_t GetUid() in GetUid() function in OHOS::Telephony::IVoipCallManagerCallback
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_setting_test.cpp85 EXPECT_EQ(CALLING_UID, bundleOption.GetUid()); in HWTEST_F()
105 EXPECT_EQ(CALLING_UID, bundleOption.GetUid()); in HWTEST_F()
/base/hiviewdfx/hidumper/frameworks/native/include/common/
H A Ddumper_parameter.h50 int GetUid() const in GetUid() function in OHOS::HiviewDFX::DumperParameter
/base/sensors/medical_sensor/utils/src/
H A Dmedical_channel_info.cpp23 int32_t MedicalSensorChannelInfo::GetUid() const in GetUid() function in OHOS::Sensors::MedicalSensorChannelInfo
/base/sensors/medical_sensor/utils/include/
H A Dmedical_sensor_channel_info.h28 int32_t GetUid() const;
/base/sensors/sensor/utils/common/src/
H A Dsensor_channel_info.cpp23 int32_t SensorChannelInfo::GetUid() const in GetUid() function in OHOS::Sensors::SensorChannelInfo

Completed in 14 milliseconds

123456