Home
last modified time | relevance | path

Searched refs:callerType (Results 1 - 25 of 74) sorted by relevance

123

/base/useriam/user_auth_framework/frameworks/native/ipc/src/
H A Duser_auth_event_listener_stub.cpp61 int32_t callerType = 0; in OnNotifyAuthSuccessEventStub() local
62 if (!data.ReadInt32(callerType)) { in OnNotifyAuthSuccessEventStub()
63 IAM_LOGE("failed to read callerType"); in OnNotifyAuthSuccessEventStub()
66 OnNotifyAuthSuccessEvent(userId, static_cast<AuthType>(authType), callerType, callerName); in OnNotifyAuthSuccessEventStub()
H A Duser_auth_event_listener_proxy.cpp45 void AuthEventListenerProxy::OnNotifyAuthSuccessEvent(int32_t userId, AuthType authType, int32_t callerType, in OnNotifyAuthSuccessEvent() argument
69 if (!data.WriteInt32(callerType)) { in OnNotifyAuthSuccessEvent()
70 IAM_LOGE("write callerType failed"); in OnNotifyAuthSuccessEvent()
/base/useriam/user_auth_framework/test/unittest/services/mocks/
H A Dmock_auth_event_listener.h29 MOCK_METHOD4(OnNotifyAuthSuccessEvent, void(int32_t userId, AuthType authtype, int32_t callerType,
37 MOCK_METHOD4(OnNotifyAuthSuccessEvent, void(int32_t userId, AuthType authtype, int32_t callerType,
H A Dmock_ipc_common.cpp143 bool IpcCommon::GetCallerName(IPCObjectStub &stub, std::string &callerName, int32_t &callerType) in GetCallerName() argument
146 callerType = 0; in GetCallerName()
H A Dmock_ipc_common.h50 static bool GetCallerName(IPCObjectStub &stub, std::string &callerName, int32_t &callerType);
/base/useriam/user_auth_framework/services/ipc/src/
H A Duser_idm_service.cpp240 int32_t callerType = 0; in AddCredential() local
241 static_cast<void>(IpcCommon::GetCallerName(*this, callerName, callerType)); in AddCredential()
243 contextCallback->SetTraceCallerType(callerType); in AddCredential()
263 para.callerType = callerType; in AddCredential()
344 int32_t callerType = 0; in EnforceDelUser() local
345 static_cast<void>(IpcCommon::GetCallerName(*this, callerName, callerType)); in EnforceDelUser()
346 contextCallback->SetTraceCallerType(callerType); in EnforceDelUser()
392 int32_t callerType = 0; in DelUser() local
393 static_cast<void>(IpcCommon::GetCallerName(*this, callerName, callerType)); in DelUser()
446 int32_t callerType = 0; DelCredential() local
583 int32_t callerType = 0; ClearRedundancyCredentialInner() local
[all...]
H A Duser_auth_service.cpp376 int32_t UserAuthService::CheckAuthPermissionAndParam(int32_t authType, const int32_t &callerType, in CheckAuthPermissionAndParam() argument
383 if (callerType == Security::AccessToken::TOKEN_HAP && (!IpcCommon::CheckForegroundApplication(callerName))) { in CheckAuthPermissionAndParam()
409 int32_t callerType = 0; in Auth() local
410 if ((!IpcCommon::GetCallerName(*this, callerName, callerType))) { in Auth()
417 contextCallback->SetTraceCallerType(callerType); in Auth()
418 int32_t checkRet = CheckAuthPermissionAndParam(authType, callerType, callerName, authTrustLevel); in Auth()
441 para.callerType = callerType; in Auth()
532 if ((!IpcCommon::GetCallerName(*this, para.callerName, para.callerType))) { in AuthUser()
539 contextCallback->SetTraceCallerType(para.callerType); in AuthUser()
[all...]
/base/useriam/user_auth_framework/test/unittest/inner_api/src/
H A Duser_auth_event_listener_stub_test.cpp62 int32_t callerType = 0; in HWTEST_F() local
72 EXPECT_TRUE(data.WriteInt32(callerType)); in HWTEST_F()
/base/security/access_token/test/fuzztest/services/privacy/setmutepolicystub_fuzzer/
H A Dsetmutepolicystub_fuzzer.cpp72 uint32_t callerType = fuzzData.GetData<uint32_t>(); in SetMutePolicyStubFuzzTest() local
80 if (!datas.WriteUint32(callerType)) { in SetMutePolicyStubFuzzTest()
/base/security/access_token/frameworks/common/src/
H A Ddata_validator.cpp163 CallerType callerType = static_cast<CallerType>(type); in IsCallerTypeValid() local
164 if ((callerType != MICROPHONE) && (callerType != CAMERA)) { in IsCallerTypeValid()
/base/useriam/user_auth_framework/frameworks/native/ipc/inc/
H A Duser_auth_event_listener_proxy.h32 void OnNotifyAuthSuccessEvent(int32_t userId, AuthType authType, int32_t callerType,
/base/useriam/user_auth_framework/test/fuzztest/dummy/
H A Dmock_ipc_common.cpp143 bool IpcCommon::GetCallerName(IPCObjectStub &stub, std::string &callerName, int32_t &callerType) in GetCallerName() argument
146 callerType = 0; in GetCallerName()
H A Dmock_ipc_common.h50 static bool GetCallerName(IPCObjectStub &stub, std::string &callerName, int32_t &callerType);
/base/useriam/user_auth_framework/test/fuzztest/services/context/contextcallbackimpl_fuzzer/
H A Dcontext_callback_impl_fuzzer.cpp109 int32_t callerType = parcel.ReadInt32(); in FillSet() local
110 g_ContextCallback->SetTraceCallerType(callerType); in FillSet()
/base/useriam/user_auth_framework/test/unittest/inner_api/mocks/
H A Dmock_user_auth_callback_service.h45 MOCK_METHOD4(OnNotifyAuthSuccessEvent, void(int32_t userId, AuthType authtype, int32_t callerType,
/base/useriam/user_auth_framework/services/core/src/
H A Dauth_event_listener_manager.cpp111 void AuthEventListenerManager::OnNotifyAuthSuccessEvent(int32_t userId, AuthType authType, int32_t callerType, in OnNotifyAuthSuccessEvent() argument
118 iter->OnNotifyAuthSuccessEvent(userId, authType, callerType, callerName); in OnNotifyAuthSuccessEvent()
120 "callerType: %{public}d", in OnNotifyAuthSuccessEvent()
121 userId, static_cast<int32_t>(authType), callerName.c_str(), callerType); in OnNotifyAuthSuccessEvent()
H A Dauthentication_impl.cpp105 .callerType = authPara_.callerType, in Start()
/base/useriam/user_auth_framework/services/context/src/
H A Dtrace.cpp121 if (metaData.callerType.has_value()) { in CopyMetaDataToTraceInfo()
122 info.callerType = metaData.callerType.value(); in CopyMetaDataToTraceInfo()
168 static_cast<AuthType>(info.authType), info.callerType, info.callerName); in ProcessUserAuthEvent()
H A Dcontext_callback_impl.cpp171 void ContextCallbackImpl::SetTraceCallerType(int32_t callerType) in SetTraceCallerType() argument
173 metaData_.callerType = callerType; in SetTraceCallerType()
/base/useriam/user_auth_framework/services/core/inc/
H A Denrollment.h41 int32_t callerType; member
/base/useriam/user_auth_framework/interfaces/inner_api/
H A Duser_auth_client_callback.h103 * @param callerType The caller type who initiates authentication.
106 virtual void OnNotifyAuthSuccessEvent(int32_t userId, AuthType authtype, int32_t callerType,
/base/useriam/user_auth_framework/services/context/inc/
H A Dcontext_callback.h49 std::optional<int32_t> callerType; member
91 virtual void SetTraceCallerType(int32_t callerType) = 0;
/base/security/access_token/frameworks/inner_api/privacy/src/
H A Dprivacy_kit.cpp226 int32_t PrivacyKit::SetMutePolicy(uint32_t policyType, uint32_t callerType, bool isMute) in SetMutePolicy() argument
228 if (!DataValidator::IsPolicyTypeValid(policyType) && !DataValidator::IsCallerTypeValid(callerType)) { in SetMutePolicy()
231 return PrivacyManagerClient::GetInstance().SetMutePolicy(policyType, callerType, isMute); in SetMutePolicy()
/base/security/access_token/frameworks/privacy/include/
H A Di_privacy_manager.h60 virtual int32_t SetMutePolicy(uint32_t policyType, uint32_t callerType, bool isMute) = 0;
/base/security/access_token/interfaces/inner_api/privacy/include/
H A Dprivacy_kit.h192 static int32_t SetMutePolicy(uint32_t policyType, uint32_t callerType, bool isMute);

Completed in 9 milliseconds

123