Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 59) sorted by relevance

123

/base/usb/usb_manager/interfaces/innerkits/native/include/
Dusb_config.h31 USBConfig(uint32_t id, uint32_t attributes, std::string name, uint32_t maxPower, in USBConfig() argument
35 this->attributes_ = attributes; in USBConfig()
117 void SetAttribute(uint32_t attributes) in SetAttribute() argument
119 this->attributes_ = attributes; in SetAttribute()
Dusb_endpoint.h29 USBEndpoint(uint32_t address, uint32_t attributes, uint32_t interval, uint32_t maxPacketSize) in USBEndpoint() argument
32 this->attributes_ = attributes; in USBEndpoint()
/base/useriam/user_auth_framework/frameworks/native/common/
DBUILD.gn20 ohos_source_set("attributes") {
23 sources = [ "attributes/src/attributes.cpp" ]
/base/useriam/user_auth_framework/frameworks/native/ipc/src/
Dexecutor_messenger_stub.cpp91 std::vector<uint8_t> attributes; in FinishStub() local
105 if (!data.ReadUInt8Vector(&attributes)) { in FinishStub()
109 auto finalResult = Common::MakeShared<Attributes>(attributes); in FinishStub()
Duser_auth_callback_proxy.cpp103 …torPropertyCallbackProxy::OnGetExecutorPropertyResult(int32_t result, const Attributes &attributes) in OnGetExecutorPropertyResult() argument
118 auto buffer = attributes.Serialize(); in OnGetExecutorPropertyResult()
/base/useriam/user_auth_framework/test/fuzztest/executors/userauthexecutor_fuzzer/
Duser_auth_executor_fuzzer.cpp304 void FillIAttributes(std::shared_ptr<Parcel> parcel, Attributes &attributes) in FillIAttributes() argument
311 attributes.SetUint64Value(Attributes::ATTR_TEMPLATE_ID, parcel->ReadUint64()); in FillIAttributes()
312 attributes.SetUint64Value(Attributes::ATTR_CALLER_UID, parcel->ReadUint64()); in FillIAttributes()
313 attributes.SetUint32Value(Attributes::ATTR_PROPERTY_MODE, parcel->ReadUint32()); in FillIAttributes()
316 attributes.GetUint64ArrayValue(Attributes::ATTR_TEMPLATE_ID_LIST, templateIdList); in FillIAttributes()
319 attributes.GetUint64ArrayValue(Attributes::ATTR_EXTRA_INFO, templateIdList); in FillIAttributes()
320 attributes.SetUint64Value(Attributes::ATTR_CALLER_UID, parcel->ReadUint64()); in FillIAttributes()
321 attributes.SetUint32Value(Attributes::ATTR_SCHEDULE_MODE, parcel->ReadUint32()); in FillIAttributes()
/base/useriam/user_auth_framework/frameworks/native/executors/src/async_command/
Dcustom_command.cpp36 CustomCommand::CustomCommand(std::weak_ptr<Executor> executor, const Attributes &attributes) in CustomCommand() argument
38 attributes_(Common::MakeShared<Attributes>(attributes.Serialize())) in CustomCommand()
Didentify_command.cpp29 const Attributes &attributes, std::shared_ptr<ExecutorMessenger> executorMessenger) in IdentifyCommand() argument
31 attributes_(Common::MakeShared<Attributes>(attributes.Serialize())), in IdentifyCommand()
Denroll_command.cpp33 const Attributes &attributes, std::shared_ptr<ExecutorMessenger> executorMessenger) in EnrollCommand() argument
35 attributes_(Common::MakeShared<Attributes>(attributes.Serialize())), in EnrollCommand()
Dauth_command.cpp31 const Attributes &attributes, std::shared_ptr<ExecutorMessenger> executorMessenger) in AuthCommand() argument
33 attributes_(Common::MakeShared<Attributes>(attributes.Serialize())), in AuthCommand()
/base/useriam/user_auth_framework/frameworks/native/ipc/common_defines/
Duser_auth_callback_interface.h41 virtual void OnGetExecutorPropertyResult(int32_t result, const Attributes &attributes) = 0;
Duser_auth_interface.h40 virtual void SetProperty(int32_t userId, AuthType authType, const Attributes &attributes,
/base/account/os_account/services/accountmgr/src/account_iam/
Daccount_iam_callback.cpp320 Attributes attributes; in OnResult() local
323 innerCallback_->OnResult(result, attributes); in OnResult()
326attributes.SetInt32Value(Attributes::ATTR_PIN_SUB_TYPE, static_cast<int32_t>(IAMAuthSubType::DOMAI… in OnResult()
327 attributes.SetInt32Value(Attributes::ATTR_REMAIN_TIMES, infoPtr->remainingTimes); in OnResult()
328 attributes.SetInt32Value(Attributes::ATTR_FREEZING_TIME, infoPtr->freezingTime); in OnResult()
329 innerCallback_->OnResult(result, attributes); in OnResult()
/base/usb/usb_manager/interfaces/kits/js/
D@ohos.usbManager.d.ts303 attributes: number;
429 attributes: number; property
/base/useriam/user_auth_framework/test/unittest/inner_api/mocks/
Dmock_user_auth_callback_service.h34 MOCK_METHOD2(OnGetExecutorPropertyResult, void(int32_t result, const Attributes &attributes));
/base/useriam/user_auth_framework/frameworks/native/executors/include/async_command/
Dcustom_command.h28 CustomCommand(std::weak_ptr<Executor> executor, const Attributes &attributes);
/base/useriam/user_auth_framework/frameworks/native/client/src/
Duser_auth_callback_service.cpp105 …rPropertyCallbackService::OnGetExecutorPropertyResult(int32_t result, const Attributes &attributes) in OnGetExecutorPropertyResult() argument
112 getPropCallback_->OnResult(result, attributes); in OnGetExecutorPropertyResult()
/base/useriam/user_auth_framework/test/unittest/inner_api/src/
Duser_auth_callback_proxy_test.cpp102 Attributes attributes; variable
103 proxy->OnGetExecutorPropertyResult(result, attributes);
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_user_auth_callback.h38 MOCK_METHOD2(OnGetExecutorPropertyResult, void(int32_t result, const Attributes &attributes));
Dmock_user_auth_service.h33 MOCK_METHOD4(SetProperty, void(int32_t userId, AuthType authType, const Attributes &attributes,
/base/global/resource_management/frameworks/resmgr/
DBUILD.gn127 "-Wno-ignored-attributes",
159 "-Wno-ignored-attributes",
195 "-Wno-ignored-attributes",
/base/useriam/user_auth_framework/frameworks/native/client/inc/
Duser_auth_callback_service.h45 void OnGetExecutorPropertyResult(int32_t result, const Attributes &attributes) override;
/base/useriam/user_auth_framework/frameworks/native/ipc/inc/
Duser_auth_callback_proxy.h47 void OnGetExecutorPropertyResult(int32_t result, const Attributes &attributes) override;
/base/useriam/user_auth_framework/test/fuzztest/services/userauthservice_fuzzer/
Duser_auth_service_fuzzer.cpp76 void OnGetExecutorPropertyResult(int32_t result, const Attributes &attributes) override in OnGetExecutorPropertyResult() argument
160 Attributes attributes(attributesRaw); in FuzzSetProperty() local
166 g_userAuthService.SetProperty(userId, authType, attributes, callback); in FuzzSetProperty()
/base/useriam/user_auth_framework/test/unittest/services/src/
Duser_auth_stub_test.cpp166 Attributes attributes; variable
169 EXPECT_TRUE(attributes.SetUint64Value(Attributes::ATTR_TEMPLATE_ID, testTemplateId));
178 … const Attributes &attributes, sptr<SetExecutorPropertyCallbackInterface> &callback) { in __anon07b4aaa90302() argument
182 … EXPECT_TRUE(attributes.GetUint64Value(Attributes::ATTR_TEMPLATE_ID, tempTemplateId)); in __anon07b4aaa90302()
199 EXPECT_TRUE(data.WriteUInt8Vector(attributes.Serialize()));

123