/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(), identit in UnregisterCachedCallbackInner() [all...] |
/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()
|
/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()
|
/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()
|
/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 in OHOS::Msdp::DeviceStatus::SocketSession
|
/base/notification/distributed_notification_service/services/ans/src/ |
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 | reminder_data_manager_inner.cpp | 98 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 D | notification_preferences.cpp | 89 (!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 D | notification_dialog_manager.cpp | 104 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 D | advanced_notification_publish_service.cpp | 76 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 D | notification_bundle_option_test.cpp | 64 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 D | request_manager.cpp | 364 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 D | socket.h | 33 uid_t GetUid();
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | enabled_notification_callback_data.h | 50 uid_t GetUid() const;
|
H A D | badge_number_callback_data.h | 59 int32_t GetUid() const;
|
H A D | notification_bundle_option.h | 64 int32_t GetUid() const;
|
/base/msdp/device_status/intention/prototype/include/ |
H A D | i_socket_session.h | 42 virtual int32_t GetUid() const = 0;
|
/base/notification/distributed_notification_service/test/fuzztest/enablednotificationcallbackdata_fuzzer/ |
H A D | enablednotificationcallbackdata_fuzzer.cpp | 41 // test GetUid function
in DoSomethingInterestingWithMyAPI() 42 enabledNotificationCallbackData.GetUid();
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/notificationbundleoption_fuzzer/ |
H A D | notificationbundleoption_fuzzer.cpp | 30 // test GetUid function
in DoSomethingInterestingWithMyAPI() 31 notificationBundleOption->GetUid();
in DoSomethingInterestingWithMyAPI()
|
/base/telephony/call_manager/interfaces/innerkits/ |
H A D | i_voip_call_manager_callback.h | 51 int32_t GetUid() in GetUid() function in OHOS::Telephony::IVoipCallManagerCallback
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_setting_test.cpp | 85 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 D | dumper_parameter.h | 50 int GetUid() const in GetUid() function in OHOS::HiviewDFX::DumperParameter
|
/base/sensors/medical_sensor/utils/src/ |
H A D | medical_channel_info.cpp | 23 int32_t MedicalSensorChannelInfo::GetUid() const in GetUid() function in OHOS::Sensors::MedicalSensorChannelInfo
|
/base/sensors/medical_sensor/utils/include/ |
H A D | medical_sensor_channel_info.h | 28 int32_t GetUid() const;
|
/base/sensors/sensor/utils/common/src/ |
H A D | sensor_channel_info.cpp | 23 int32_t SensorChannelInfo::GetUid() const in GetUid() function in OHOS::Sensors::SensorChannelInfo
|