Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 54) 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/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/frameworks/native/common/
DBUILD.gn20 ohos_source_set("attributes") {
23 sources = [ "attributes/src/attributes.cpp" ]
/base/useriam/user_auth_framework/test/fuzztest/executors/userauthexecutor_fuzzer/
Duser_auth_executor_fuzzer.cpp272 void FillIAttributes(std::shared_ptr<Parcel> parcel, Attributes &attributes) in FillIAttributes() argument
279 attributes.SetUint64Value(Attributes::ATTR_TEMPLATE_ID, parcel->ReadUint64()); in FillIAttributes()
280 attributes.SetUint64Value(Attributes::ATTR_CALLER_UID, parcel->ReadUint64()); in FillIAttributes()
281 attributes.SetUint32Value(Attributes::ATTR_PROPERTY_MODE, parcel->ReadUint32()); in FillIAttributes()
284 attributes.GetUint64ArrayValue(Attributes::ATTR_TEMPLATE_ID_LIST, templateIdList); in FillIAttributes()
287 attributes.GetUint64ArrayValue(Attributes::ATTR_EXTRA_INFO, templateIdList); in FillIAttributes()
288 attributes.SetUint64Value(Attributes::ATTR_CALLER_UID, parcel->ReadUint64()); in FillIAttributes()
289 attributes.SetUint32Value(Attributes::ATTR_SCHEDULE_MODE, parcel->ReadUint32()); in FillIAttributes()
/base/useriam/user_auth_framework/frameworks/native/client/src/
Duser_auth_callback_service.cpp68 …rPropertyCallbackService::OnGetExecutorPropertyResult(int32_t result, const Attributes &attributes) in OnGetExecutorPropertyResult() argument
74 getPropCallback_->OnResult(result, attributes); in OnGetExecutorPropertyResult()
/base/startup/syspara_lite/
DREADME.md11 …tibility Specifications \(PCS\). It also provides APIs for setting and obtaining system attributes.
26 - The fields of system attributes are defined by original equipment manufacturers \(OEMs\). Curre…
30 To obtain the system attributes, use the following code:
/base/useriam/user_auth_framework/common/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()
Dauth_command.cpp31 const Attributes &attributes, std::shared_ptr<ExecutorMessenger> executorMessenger) in AuthCommand() argument
33 attributes_(Common::MakeShared<Attributes>(attributes.Serialize())), in AuthCommand()
Denroll_command.cpp33 const Attributes &attributes, std::shared_ptr<ExecutorMessenger> executorMessenger) in EnrollCommand() argument
35 attributes_(Common::MakeShared<Attributes>(attributes.Serialize())), in EnrollCommand()
/base/useriam/user_auth_framework/frameworks/native/ipc/common_defines/
Duser_auth_callback_interface.h40 virtual void OnGetExecutorPropertyResult(int32_t result, const Attributes &attributes) = 0;
Duser_auth_interface.h56 virtual void SetProperty(int32_t userId, AuthType authType, const Attributes &attributes,
/base/usb/usb_manager/interfaces/kits/js/
D@ohos.usbManager.d.ts302 attributes: number;
428 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/test/unittest/inner_api/src/
Duser_auth_callback_proxy_test.cpp102 Attributes attributes; variable
103 proxy->OnGetExecutorPropertyResult(result, attributes);
/base/useriam/user_auth_framework/common/executors/include/async_command/
Dcustom_command.h28 CustomCommand(std::weak_ptr<Executor> executor, const Attributes &attributes);
/base/useriam/user_auth_framework/test/fuzztest/services/userauthservice_fuzzer/
Duser_auth_service_fuzzer.cpp74 void OnGetExecutorPropertyResult(int32_t result, const Attributes &attributes) override in OnGetExecutorPropertyResult() argument
162 Attributes attributes(attributesRaw); in FuzzSetProperty() local
168 g_userAuthService.SetProperty(userId, authType, attributes, callback); in FuzzSetProperty()
/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/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/global/resource_management/frameworks/resmgr/
DBUILD.gn126 "-Wno-ignored-attributes",
158 "-Wno-ignored-attributes",
194 "-Wno-ignored-attributes",
/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 __anon5bf192cb0302() argument
182 … EXPECT_TRUE(attributes.GetUint64Value(Attributes::ATTR_TEMPLATE_ID, tempTemplateId)); in __anon5bf192cb0302()
199 EXPECT_TRUE(data.WriteUInt8Vector(attributes.Serialize()));

123