Home
last modified time | relevance | path

Searched refs:callerUid (Results 1 - 25 of 36) sorted by relevance

12

/base/time/time_service/services/dfx/src/
H A Dtime_sysevent.cpp29 int32_t callerUid = timer->uid; in StatisticReporter() local
35 HiSysEventNameSpace::EventType::STATISTIC, "CALLER_PID", callerPid, "CALLER_UID", callerUid, in StatisticReporter()
40 "hisysevent Statistic failed! pid %{public}d,uid %{public}d,timer type %{public}d", callerPid, callerUid, in StatisticReporter()
/base/print/print_fwk/services/print_service/src/
H A Dprint_bms_helper.cpp64 int32_t callerUid = IPCSkeleton::GetCallingUid(); in QueryCallerBundleName() local
66 helper_->QueryNameForUid(sptrBundleMgr_, callerUid, bundleName); in QueryCallerBundleName()
67 PRINT_HILOGD("callerUid = %{public}d, bundleName = %{public}s", callerUid, bundleName.c_str()); in QueryCallerBundleName()
/base/account/os_account/dfx/hisysevent_adapter/
H A Daccount_hisysevent_adapter.cpp44 void ReportPermissionFail(int32_t callerUid, int32_t callerPid, const std::string& permName) in ReportPermissionFail() argument
49 "CALLER_UID", callerUid, in ReportPermissionFail()
54 ret, callerUid, callerPid, permName.c_str()); in ReportPermissionFail()
57 (void)callerUid; in ReportPermissionFail()
H A Daccount_hisysevent_adapter.h24 void ReportPermissionFail(int32_t callerUid, int32_t callerPid, const std::string& permName);
/base/hiviewdfx/hiview/plugins/performance/monitor/converter/
H A DAppMonitorDataConverter.h51 appEvtData.callerUid = evt.callerUid; in ConvertXperfEvtToAppEvtData()
H A DAppLaunchMonitorConverter.h60 checkPointData.callerUid = appEvtData.callerUid; in ConvertAppEvtDataToCheckPointData()
/base/account/os_account/services/accountmgr/src/appaccount/
H A Dapp_account_manager_service.cpp66 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in AddAccountImplicitly()
77 request.options.SetParam(Constants::KEY_CALLER_UID, request.callerUid); in AddAccountImplicitly()
98 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in CreateAccountImplicitly()
318 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in Authenticate()
330 request.options.SetParam(Constants::KEY_CALLER_UID, request.callerUid); in Authenticate()
338 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in GetOAuthToken()
352 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in GetAuthToken()
366 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in SetOAuthToken()
381 ErrCode ret = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in DeleteOAuthToken()
396 ErrCode result = GetCallingInfo(request.callerUid, reques in DeleteAuthToken()
[all...]
H A Dapp_account_authenticator_session.cpp106 userId_ = request_.callerUid / UID_TRANSFORM_DIVISOR; in Init()
284 newRequest.SetParam(Constants::KEY_CALLER_UID, request_.callerUid); in OnRequestRedirected()
336 if ((request.callerUid != ownerUid_) || (request.callerBundleName != request_.owner)) { in GetAuthenticatorCallback()
H A Dapp_account_authorization_extension_proxy.cpp57 if (!data.WriteInt32(request.callerUid)) { in WriteRequest()
58 ACCOUNT_LOGE("failed to write request callerUid"); in WriteRequest()
H A Dapp_account_control_manager.cpp661 GetDataStorage(request.callerUid, false, DistributedKv::SecurityLevel::S4); in GetOAuthToken()
681 GetDataFromAsset(request.callerUid / UID_TRANSFORM_DIVISOR, alias, token); in GetOAuthToken()
695 GetDataStorage(request.callerUid, false, DistributedKv::SecurityLevel::S4); in SetOAuthToken()
706 result = SaveAccountInfoIntoDataStorage(appAccountInfo, dataStoragePtr, request.callerUid); in SetOAuthToken()
715 int32_t localId = request.callerUid / UID_TRANSFORM_DIVISOR; in SetOAuthToken()
727 std::shared_ptr<AppAccountDataStorage> dataStoragePtr = GetDataStorage(request.callerUid); in DeleteOAuthToken()
746 GetDataFromAsset(request.callerUid / UID_TRANSFORM_DIVISOR, alias, token); in DeleteOAuthToken()
750 RemoveDataFromAsset(request.callerUid / UID_TRANSFORM_DIVISOR, alias); in DeleteOAuthToken()
765 ret = SaveAccountInfoIntoDataStorage(appAccountInfo, dataStoragePtr, request.callerUid); in DeleteOAuthToken()
779 std::shared_ptr<AppAccountDataStorage> dataStoragePtr = GetDataStorage(request.callerUid); in SetOAuthTokenVisibility()
[all...]
H A Dapp_account_authenticator_session_manager.cpp167 std::string key = request.callerAbilityName + std::to_string(request.callerUid); in OpenSession()
288 std::string key = request.callerAbilityName + std::to_string(request.callerUid); in CloseSession()
/base/account/os_account/interfaces/innerkits/domain_account/native/include/
H A Ddomain_plugin.h60 int32_t callerUid; member
72 int32_t callerUid; member
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
H A Dapp_account_control_manager_module_test.cpp206 request.callerUid = 0; in HWTEST_F()
223 auto dataStoragePtr = AppAccountControlManager::GetInstance().GetDataStorage(request.callerUid, false); in HWTEST_F()
226 appAccountInfo, dataStoragePtr, request.callerUid); in HWTEST_F()
/base/hiviewdfx/hiview/plugins/performance/monitor/gateway/executor/
H A DIAppThrExecutor.h46 int32_t callerUid{0};
/base/notification/common_event_service/services/include/
H A Dcommon_event_sticky_manager.h72 * @param callerUid caller uid.
75 int32_t RemoveStickyCommonEvent(const std::string &event, uint32_t callerUid);
H A Dinner_common_event_manager.h147 * @param callerUid caller uid.
150 int32_t RemoveStickyCommonEvent(const std::string &event, uint32_t callerUid);
/base/account/os_account/frameworks/appaccount/native/include/
H A Dapp_account_common.h99 pid_t callerUid; member
123 int32_t callerUid = -1; member
/base/account/os_account/frameworks/appaccount/native/src/
H A Dapp_account_authorization_extension_stub.cpp57 if (!data.ReadInt32(request.callerUid)) { in ReadRequest()
58 ACCOUNT_LOGE("failed to write request callerUid"); in ReadRequest()
/base/hiviewdfx/faultloggerd/services/
H A Dfault_logger_daemon.cpp100 static bool CheckCallerUID(uint32_t callerUid) in CheckCallerUID() argument
103 if ((callerUid == BMS_UID) || in CheckCallerUID()
104 (callerUid == ROOT_UID) || in CheckCallerUID()
105 (callerUid == HIVIEW_UID) || in CheckCallerUID()
106 (callerUid == HIDUMPER_SERVICE_UID) || in CheckCallerUID()
107 (callerUid == FOUNDATION_UID)) { in CheckCallerUID()
111 FAULTLOGGERD_TAG.c_str(), callerUid); in CheckCallerUID()
201 bool FaultLoggerDaemon::HandleStaticForFuzzer(int32_t type, uint32_t callerUid) in HandleStaticForFuzzer() argument
204 bool ret = CheckCallerUID(callerUid); in HandleStaticForFuzzer()
H A Dfault_logger_daemon.h53 bool HandleStaticForFuzzer(int32_t type, uint32_t callerUid);
/base/hiviewdfx/hiview/plugins/performance/monitor/gateway/
H A DIAppLaunchSceneDataProcessor.h45 int32_t callerUid{0};
/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/
H A DAppLaunchConverter.h90 point.callerUid = data.callerUid; in ConvertToProcessStart()
/base/notification/common_event_service/services/src/
H A Dcommon_event_sticky_manager.cpp237 int32_t CommonEventStickyManager::RemoveStickyCommonEvent(const std::string &event, uint32_t callerUid) in RemoveStickyCommonEvent() argument
243 if (it->second->eventRecordInfo.uid == callerUid) { in RemoveStickyCommonEvent()
/base/print/print_fwk/interfaces/kits/napi/print_napi/src/
H A Dprint_task.cpp258 int32_t callerUid = IPCSkeleton::GetCallingUid(); in StartUIExtensionAbility() local
260 std::string callerPkg = PrintUtils::GetBundleNameForUid(callerUid); in StartUIExtensionAbility()
262 want.SetParam(AAFwk::Want::PARAM_RESV_CALLER_UID, callerUid); in StartUIExtensionAbility()
/base/update/updateservice/services/engine/src/
H A Dupdate_service_stub.cpp401 pid_t callerUid = IPCSkeleton::GetCallingUid(); in IsCallerValid() local
403 return callerUid == ROOT_UID || callerUid == EDM_UID; in IsCallerValid()

Completed in 16 milliseconds

12