Home
last modified time | relevance | path

Searched refs:widgetCallback (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/useriam/user_auth_framework/test/unittest/inner_api/src/
H A Dwidget_callback_service_test.cpp57 auto widgetCallback = Common::MakeShared<MockIUserAuthWidgetCallback>(); variable
58 EXPECT_NE(widgetCallback, nullptr);
59 EXPECT_CALL(*widgetCallback, SendCommand(_)).Times(1);
60 ON_CALL(*widgetCallback, SendCommand)
67 auto service = Common::MakeShared<WidgetCallbackService>(widgetCallback);
H A Dcallback_manager_impl_test.cpp52 auto widgetCallback = Common::MakeShared<MockIUserAuthWidgetCallback>(); variable
53 EXPECT_NE(widgetCallback, nullptr);
54 auto service = Common::MakeShared<WidgetCallbackService>(widgetCallback);
H A Duser_auth_client_test.cpp615 …int32_t widgetCallback = UserAuthClientImpl::Instance().SetWidgetCallback(apiVersion, testCallback… variable
616 EXPECT_NE(widgetCallback, SUCCESS);
623 …int32_t widgetCallback = UserAuthClientImpl::Instance().SetWidgetCallback(apiVersion, testCallback… variable
624 EXPECT_EQ(widgetCallback, GENERAL_ERROR);
/ohos5.0/base/useriam/user_auth_framework/services/context/src/
H A Dwidget_context.cpp155 if (widgetCallback == nullptr) { in GetAuthContextCallback()
161 widgetCallback->SetTraceCallerName(para_.callerName); in GetAuthContextCallback()
162 widgetCallback->SetTraceCallerType(para_.callerType); in GetAuthContextCallback()
163 widgetCallback->SetTraceRequestContextId(contextId_); in GetAuthContextCallback()
164 widgetCallback->SetTraceAuthTrustLevel(authTrustLevel); in GetAuthContextCallback()
165 widgetCallback->SetTraceAuthType(authType); in GetAuthContextCallback()
166 return widgetCallback; in GetAuthContextCallback()
180 IF_FALSE_LOGE_AND_RETURN_VAL(widgetCallback != nullptr, nullptr); in BuildTask()
198 widgetCallback->OnResult(ResultCode::GENERAL_ERROR, extraInfo); in BuildTask()
201 widgetCallback->SetTraceAuthContextId(context->GetContextId()); in BuildTask()
[all …]
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/
H A Dwidget_client_test.cpp391 … sptr<MockWidgetCallbackInterface> widgetCallback(new (std::nothrow) MockWidgetCallbackInterface);
392 EXPECT_NE(widgetCallback, nullptr);
393 EXPECT_CALL(*widgetCallback, SendCommand);
394 WidgetClient::Instance().SetWidgetCallback(widgetCallback);