/base/useriam/user_auth_framework/frameworks/native/ipc/src/ |
H A D | user_auth_event_listener_stub.cpp | 61 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 D | user_auth_event_listener_proxy.cpp | 45 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 D | mock_auth_event_listener.h | 29 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 D | mock_ipc_common.cpp | 143 bool IpcCommon::GetCallerName(IPCObjectStub &stub, std::string &callerName, int32_t &callerType) in GetCallerName() argument 146 callerType = 0; in GetCallerName()
|
H A D | mock_ipc_common.h | 50 static bool GetCallerName(IPCObjectStub &stub, std::string &callerName, int32_t &callerType);
|
/base/useriam/user_auth_framework/services/ipc/src/ |
H A D | user_idm_service.cpp | 240 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 D | user_auth_service.cpp | 376 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 D | user_auth_event_listener_stub_test.cpp | 62 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 D | setmutepolicystub_fuzzer.cpp | 72 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 D | data_validator.cpp | 163 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 D | user_auth_event_listener_proxy.h | 32 void OnNotifyAuthSuccessEvent(int32_t userId, AuthType authType, int32_t callerType,
|
/base/useriam/user_auth_framework/test/fuzztest/dummy/ |
H A D | mock_ipc_common.cpp | 143 bool IpcCommon::GetCallerName(IPCObjectStub &stub, std::string &callerName, int32_t &callerType) in GetCallerName() argument 146 callerType = 0; in GetCallerName()
|
H A D | mock_ipc_common.h | 50 static bool GetCallerName(IPCObjectStub &stub, std::string &callerName, int32_t &callerType);
|
/base/useriam/user_auth_framework/test/fuzztest/services/context/contextcallbackimpl_fuzzer/ |
H A D | context_callback_impl_fuzzer.cpp | 109 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 D | mock_user_auth_callback_service.h | 45 MOCK_METHOD4(OnNotifyAuthSuccessEvent, void(int32_t userId, AuthType authtype, int32_t callerType,
|
/base/useriam/user_auth_framework/services/core/src/ |
H A D | auth_event_listener_manager.cpp | 111 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 D | authentication_impl.cpp | 105 .callerType = authPara_.callerType, in Start()
|
/base/useriam/user_auth_framework/services/context/src/ |
H A D | trace.cpp | 121 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 D | context_callback_impl.cpp | 171 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 D | enrollment.h | 41 int32_t callerType; member
|
/base/useriam/user_auth_framework/interfaces/inner_api/ |
H A D | user_auth_client_callback.h | 103 * @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 D | context_callback.h | 49 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 D | privacy_kit.cpp | 226 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 D | i_privacy_manager.h | 60 virtual int32_t SetMutePolicy(uint32_t policyType, uint32_t callerType, bool isMute) = 0;
|
/base/security/access_token/interfaces/inner_api/privacy/include/ |
H A D | privacy_kit.h | 192 static int32_t SetMutePolicy(uint32_t policyType, uint32_t callerType, bool isMute);
|