Home
last modified time | relevance | path

Searched refs:callerUid (Results 1 – 13 of 13) sorted by relevance

/base/time/time_service/services/dfx/src/
Dtime_sysevent.cpp28 void StatisticReporter(int32_t callerPid, int32_t callerUid, int32_t type, int64_t triggerTime, uin… in StatisticReporter() argument
31 …HiSysEventNameSpace::EventType::STATISTIC, "CALLER_PID", callerPid, "CALLER_UID", callerUid, "TIME… in StatisticReporter()
35 …event Statistic failed! pid %{public}d,uid %{public}d,timer type %{public}d", callerPid, callerUid, in StatisticReporter()
/base/account/os_account/dfx/hisysevent_adapter/
Dhisysevent_adapter.cpp45 void ReportPermissionFail(int32_t callerUid, int32_t callerPid, const std::string& permName) in ReportPermissionFail() argument
50 "CALLER_UID", callerUid, in ReportPermissionFail()
55 ret, callerUid, callerPid, permName.c_str()); in ReportPermissionFail()
58 (void)callerUid; in ReportPermissionFail()
Dhisysevent_adapter.h24 void ReportPermissionFail(int32_t callerUid, int32_t callerPid, const std::string& permName);
/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_manager_service.cpp61 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in AddAccountImplicitly()
72 request.options.SetParam(Constants::KEY_CALLER_UID, request.callerUid); in AddAccountImplicitly()
93 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in CreateAccountImplicitly()
313 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in Authenticate()
325 request.options.SetParam(Constants::KEY_CALLER_UID, request.callerUid); in Authenticate()
333 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in GetOAuthToken()
347 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in GetAuthToken()
361 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in SetOAuthToken()
376 ErrCode ret = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in DeleteOAuthToken()
391 ErrCode result = GetCallingInfo(request.callerUid, request.callerBundleName, request.appIndex); in DeleteAuthToken()
[all …]
Dapp_account_authenticator_session.cpp113 userId_ = request_.callerUid / UID_TRANSFORM_DIVISOR; in Init()
291 newRequest.SetParam(Constants::KEY_CALLER_UID, request_.callerUid); in OnRequestRedirected()
343 if ((request.callerUid != ownerUid_) || (request.callerBundleName != request_.owner)) { in GetAuthenticatorCallback()
Dapp_account_control_manager.cpp428 std::shared_ptr<AppAccountDataStorage> dataStoragePtr = GetDataStorage(request.callerUid); in GetOAuthToken()
449 std::shared_ptr<AppAccountDataStorage> dataStoragePtr = GetDataStorage(request.callerUid); in SetOAuthToken()
460 result = SaveAccountInfoIntoDataStorage(appAccountInfo, dataStoragePtr, request.callerUid); in SetOAuthToken()
474 std::shared_ptr<AppAccountDataStorage> dataStoragePtr = GetDataStorage(request.callerUid); in DeleteOAuthToken()
501 ret = SaveAccountInfoIntoDataStorage(appAccountInfo, dataStoragePtr, request.callerUid); in DeleteOAuthToken()
515 std::shared_ptr<AppAccountDataStorage> dataStoragePtr = GetDataStorage(request.callerUid); in SetOAuthTokenVisibility()
527 ret = SaveAccountInfoIntoDataStorage(appAccountInfo, dataStoragePtr, request.callerUid); in SetOAuthTokenVisibility()
541 std::shared_ptr<AppAccountDataStorage> dataStoragePtr = GetDataStorage(request.callerUid); in CheckOAuthTokenVisibility()
556 std::shared_ptr<AppAccountDataStorage> dataStoragePtr = GetDataStorage(request.callerUid); in GetAllOAuthTokens()
590 std::shared_ptr<AppAccountDataStorage> dataStoragePtr = GetDataStorage(request.callerUid); in GetOAuthList()
[all …]
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()
Dinner_app_account_manager.cpp381 …if (!subscribeManagerPtr_->PublishAccount(appAccountInfo, request.callerUid, request.callerBundleN… in SetOAuthToken()
423 int32_t userId = request.callerUid / UID_TRANSFORM_DIVISOR; in GetAuthenticatorInfo()
/base/time/time_service/services/dfx/include/
Dtime_sysevent.h23 void StatisticReporter(int32_t callerPid, int32_t callerUid, int32_t type, int64_t triggerTime, uin…
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
Dapp_account_control_manager_module_test.cpp236 request.callerUid = 0;
253 auto dataStoragePtr = controlManagerPtr_->GetDataStorage(request.callerUid, false);
256 …ntrolManagerPtr_->AddAccountInfoIntoDataStorage(appAccountInfo, dataStoragePtr, request.callerUid);
Dapp_account_authenticator_session_module_test.cpp335 request.callerUid = ownerUid;
366 request.callerUid = ownerUid;
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_manager_service.cpp794 int callerUid = IPCSkeleton::GetCallingUid(); in PermissionCheck() local
796 int callerUserId = callerUid / UID_TRANSFORM_DIVISOR; in PermissionCheck()
801 ReportPermissionFail(callerUid, IPCSkeleton::GetCallingPid(), constraintName); in PermissionCheck()
807 if (callerUid == ROOT_UID) { in PermissionCheck()
817 ReportPermissionFail(callerUid, IPCSkeleton::GetCallingPid(), permissionName); in PermissionCheck()
/base/account/os_account/frameworks/appaccount/native/include/
Dapp_account_common.h102 pid_t callerUid; member