Home
last modified time | relevance | path

Searched refs:identify (Results 1 - 24 of 24) sorted by relevance

/base/security/device_security_level/test/dslm_unit_test/
H A Ddslm_rpc_process_test.cpp61 const DeviceIdentify identify = {DEVICE_ID_MAX_LEN, {0}}; in HWTEST_F() local
62 ret = OnPeerMsgReceived(&identify, NULL, 0); in HWTEST_F()
66 ret = OnPeerMsgReceived(&identify, message, 0); in HWTEST_F()
79 const DeviceIdentify identify = {DEVICE_ID_MAX_LEN, {0}}; in HWTEST_F() local
81 ret = OnPeerMsgReceived(&identify, message1, 3); in HWTEST_F()
85 ret = OnPeerMsgReceived(&identify, message2, 4); in HWTEST_F()
97 const DeviceIdentify identify = {DEVICE_ID_MAX_LEN, {0}}; in HWTEST_F() local
100 int32_t ret = OnPeerMsgReceived(&identify, (const uint8_t *)message, messageLen); in HWTEST_F()
112 const DeviceIdentify identify = {DEVICE_ID_MAX_LEN, {0}}; in HWTEST_F() local
115 int32_t ret = OnPeerMsgReceived(&identify, (cons in HWTEST_F()
127 const DeviceIdentify identify = {DEVICE_ID_MAX_LEN, {0}}; HWTEST_F() local
142 const DeviceIdentify identify = {DEVICE_ID_MAX_LEN, {0}}; HWTEST_F() local
[all...]
H A Ddslm_test.cpp1088 const DeviceIdentify identify = {DEVICE_ID_MAX_LEN, {0}}; in HWTEST_F() local
1098 int32_t ret = DefaultRequestDslmCred(&identify, &object, &cred); in HWTEST_F()
1103 ret = DefaultVerifyDslmCred(&identify, object.challenge, cred, &info); in HWTEST_F()
1110 const DeviceIdentify identify = {DEVICE_ID_MAX_LEN, {0}}; in HWTEST_F() local
1127 int32_t ret = DefaultVerifyDslmCred(&identify, object.challenge, &cred, &info); in HWTEST_F()
1448 void TestDeviceSecurityInfoCallback(const DeviceIdentify *identify, struct DeviceSecurityInfo *info) in TestDeviceSecurityInfoCallback() argument
1679 DeviceIdentify identify = {DEVICE_ID_MAX_LEN, {'a', 'b', 'c', 'd', 'e', 'f', 'a', 'b'}}; in HWTEST_F() local
1684 uint32_t ret = OnMsgSendResultNotifier(&identify, transNo, result); in HWTEST_F()
1695 mockMsg.MakeDeviceOnline(&identify); in HWTEST_F()
1696 DslmDeviceInfo *deviceInfo = GetDslmDeviceInfo(&identify); in HWTEST_F()
1825 const DeviceIdentify *identify = GetSelfDevice(&level); HWTEST_F() local
[all...]
/base/security/device_security_level/interfaces/inner_api/src/standard/
H A Ddevice_security_info.cpp32 static int32_t RequestDeviceSecurityInfoAsyncImpl(const DeviceIdentify *identify, const RequestOption *option, in RequestDeviceSecurityInfoAsyncImpl() argument
35 if (identify == nullptr || callback == nullptr) { in RequestDeviceSecurityInfoAsyncImpl()
60 auto success = helper.Publish(*identify, callback, option->timeout, stub, cookie); in RequestDeviceSecurityInfoAsyncImpl()
66 auto result = proxy->RequestDeviceSecurityLevel(*identify, *option, stub->AsObject(), cookie); in RequestDeviceSecurityInfoAsyncImpl()
76 static int32_t RequestDeviceSecurityInfoImpl(const DeviceIdentify *identify, const RequestOption *option, in RequestDeviceSecurityInfoImpl() argument
81 auto callback = [&promise](const DeviceIdentify *identify, struct DeviceSecurityInfo *info) { in RequestDeviceSecurityInfoImpl()
85 auto result = RequestDeviceSecurityInfoAsyncImpl(identify, option, callback); in RequestDeviceSecurityInfoImpl()
119 int32_t RequestDeviceSecurityInfo(const DeviceIdentify *identify, const RequestOption *option, in RequestDeviceSecurityInfo() argument
122 return RequestDeviceSecurityInfoImpl(identify, option, info); in RequestDeviceSecurityInfo()
125 int32_t RequestDeviceSecurityInfoAsync(const DeviceIdentify *identify, cons argument
[all...]
H A Ddevice_security_level_proxy.cpp44 int32_t DeviceSecurityLevelProxy::RequestDeviceSecurityLevel(const DeviceIdentify &identify, in RequestDeviceSecurityLevel() argument
50 auto length = identify.length; in RequestDeviceSecurityLevel()
69 data.WriteBuffer(identify.identity, DEVICE_ID_MAX_LEN); in RequestDeviceSecurityLevel()
H A Ddevice_security_level_defines.h37 using ResultCallback = std::function<void(const DeviceIdentify *identify, struct DeviceSecurityInfo *info)>;
H A Ddevice_security_level_proxy.h40 int32_t RequestDeviceSecurityLevel(const DeviceIdentify &identify, const RequestOption &option,
/base/security/device_security_level/interfaces/inner_api/src/lite/
H A Ddevice_security_info.c29 int32_t RequestDeviceSecurityInfoAsyncImpl(const DeviceIdentify *identify, const RequestOption *option,
32 static int32_t RequestDeviceSecurityInfoImpl(const DeviceIdentify *identify, const RequestOption *option, in RequestDeviceSecurityInfoImpl() argument
59 int32_t RequestDeviceSecurityInfo(const DeviceIdentify *identify, const RequestOption *option, in RequestDeviceSecurityInfo() argument
62 return RequestDeviceSecurityInfoImpl(identify, option, info); in RequestDeviceSecurityInfo()
65 int32_t RequestDeviceSecurityInfoAsync(const DeviceIdentify *identify, const RequestOption *option, in RequestDeviceSecurityInfoAsync() argument
68 return RequestDeviceSecurityInfoAsyncImpl(identify, option, callback); in RequestDeviceSecurityInfoAsync()
/base/security/device_security_level/interfaces/inner_api/include/
H A Ddevice_security_info.h32 typedef void DeviceSecurityInfoCallback(const DeviceIdentify *identify, struct DeviceSecurityInfo *info);
37 * @param [in] identify Device identifier.
42 int32_t RequestDeviceSecurityInfo(const DeviceIdentify *identify, const RequestOption *option,
48 * @param [in] identify Identify Device identifier.
53 int32_t RequestDeviceSecurityInfoAsync(const DeviceIdentify *identify, const RequestOption *option,
/base/security/device_security_level/interfaces/inner_api/src/lite/small/
H A Ddevice_security_level_proxy.c70 static BOOL DslmIpcAsyncCallImpl(IUnknown *iUnknown, const DeviceIdentify identify, const RequestOption option, in DslmIpcAsyncCallImpl() argument
73 if (identify.length == 0 || identify.length > DEVICE_ID_MAX_LEN) { in DslmIpcAsyncCallImpl()
77 struct DslmCallbackHolder owner = {identify, callback}; in DslmIpcAsyncCallImpl()
83 WriteUint32(&request, identify.length); in DslmIpcAsyncCallImpl()
84 WriteBuffer(&request, identify.identity, DEVICE_ID_MAX_LEN); in DslmIpcAsyncCallImpl()
161 int32_t RequestDeviceSecurityInfoAsyncImpl(const DeviceIdentify *identify, const RequestOption *option, in RequestDeviceSecurityInfoAsyncImpl() argument
165 if (identify == NULL || callback == NULL) { in RequestDeviceSecurityInfoAsyncImpl()
192 BOOL result = proxy->DslmIpcAsyncCall((IUnknown *)proxy, *identify, *option, cookie, callback); in RequestDeviceSecurityInfoAsyncImpl()
H A Ddevice_security_level_proxy.h30 (IUnknown *iUnknown, const DeviceIdentify identify, const RequestOption option, uint32_t cookie,
/base/security/device_security_level/services/sa/lite/mini/
H A Ddslm_inner_process.c35 static DslmRemoteStubListNode head = {.node = INIT_LIST(head.node), .key = 0, .callback = NULL, .identify = NULL}; in GetRemoteStubList()
60 static BOOL DslmPushRemoteStub(uint32_t owner, uint32_t cookie, const DeviceIdentify *identify, in DslmPushRemoteStub() argument
76 item->identify = identify; in DslmPushRemoteStub()
132 item->callback(item->identify, resultInfo); in ProcessCallback()
H A Ddslm_inner_process.h36 const DeviceIdentify *identify; member
/base/useriam/user_auth_framework/services/context/src/
H A Dcontext_factory.cpp52 auto identify = Common::MakeShared<IdentificationImpl>(newContextId, para.authType); in CreateIdentifyContext() local
53 IF_FALSE_LOGE_AND_RETURN_VAL(identify != nullptr, nullptr); in CreateIdentifyContext()
54 identify->SetChallenge(para.challenge); in CreateIdentifyContext()
55 identify->SetAccessTokenId(para.tokenId); in CreateIdentifyContext()
56 return Common::MakeShared<IdentifyContext>(newContextId, identify, callback); in CreateIdentifyContext()
H A Didentify_context.cpp26 IdentifyContext::IdentifyContext(uint64_t contextId, std::shared_ptr<Identification> identify, in IdentifyContext() argument
29 identify_(identify) in IdentifyContext()
50 IAM_LOGE("%{public}s identify start fail", GetDescription()); in OnStart()
88 IAM_LOGE("%{public}s identify cancel fail", GetDescription()); in OnStop()
105 IAM_LOGE("%{public}s identify update fail", GetDescription()); in UpdateScheduleResult()
/base/security/device_security_level/interfaces/inner_api/src/lite/mini/
H A Ddevice_security_level_inner.c54 int32_t RequestDeviceSecurityInfoAsyncImpl(const DeviceIdentify *identify, const RequestOption *option, in RequestDeviceSecurityInfoAsyncImpl() argument
58 if (identify == NULL || callback == NULL) { in RequestDeviceSecurityInfoAsyncImpl()
85 DslmAsyncCallParams params = { identify, option, cookie}; in RequestDeviceSecurityInfoAsyncImpl()
/base/security/dataclassification/interfaces/inner_api/datatransmitmgr/include/
H A Ddev_slinfo_adpt.h33 typedef int32_t (*RequestDeviceSecurityInfoFunction)(const DeviceIdentify *identify,
37 typedef int32_t (*RequestDeviceSecurityInfoAsyncFunction)(const DeviceIdentify *identify,
/base/security/dataclassification/frameworks/datatransmitmgr/
H A Ddev_slinfo_adpt.c184 void OnApiDeviceSecInfoCallback(const DeviceIdentify *identify, struct DeviceSecurityInfo *info) in OnApiDeviceSecInfoCallback() argument
187 if (identify == NULL) { in OnApiDeviceSecInfoCallback()
223 if (memcpy_s(queryParams.udid, MAX_UDID_LENGTH, identify->identity, identify->length) != EOK) { in OnApiDeviceSecInfoCallback()
227 queryParams.udidLen = identify->length; in OnApiDeviceSecInfoCallback()
/base/security/device_security_level/services/sa/standard/
H A Ddslm_ipc_process.h51 int32_t DslmGetRequestFromParcel(MessageParcel &data, DeviceIdentify &identify, RequestOption &option,
H A Ddslm_ipc_process.cpp63 int32_t DslmIpcProcess::DslmGetRequestFromParcel(MessageParcel &data, DeviceIdentify &identify, RequestOption &option, in DslmGetRequestFromParcel() argument
73 identify.length = data.ReadUint32(); in DslmGetRequestFromParcel()
80 if (memcpy_s(identify.identity, DEVICE_ID_MAX_LEN, dataRead, DEVICE_ID_MAX_LEN) != EOK) { in DslmGetRequestFromParcel()
/base/useriam/user_auth_framework/services/context/inc/
H A Didentify_context.h30 IdentifyContext(uint64_t contextId, std::shared_ptr<Identification> identify,
/base/security/dataclassification/test/fuzztest/datatransmitmgr/devslinfoadpt_fuzzer/
H A Ddevslinfoadpt_fuzzer.cpp43 extern void OnApiDeviceSecInfoCallback(const DeviceIdentify *identify, struct DeviceSecurityInfo *info);
/base/security/device_security_level/test/dslm_fuzz_test/dslm_fuzzer/
H A Ddslm_fuzzer.cpp146 const DeviceIdentify identify = {DEVICE_ID_MAX_LEN, {0}}; in OnSendResultNotifierTest() local
147 (void)OnSendResultNotifier(&identify, 0, SUCCESS); in OnSendResultNotifierTest()
/base/useriam/user_auth_framework/test/unittest/services/src/
H A Didentify_context_test.cpp63 // Error: identify is null in HWTEST_F()
64 std::shared_ptr<Identification> identify = nullptr; in HWTEST_F() local
66 auto oriContext = Common::MakeShared<IdentifyContext>(testContestId, identify, contextCallback); in HWTEST_F()
/base/security/dataclassification/test/unittest/datatransmitmgr/
H A DDevSLMgrTest.cpp54 extern void OnApiDeviceSecInfoCallback(const DeviceIdentify *identify, struct DeviceSecurityInfo *info);

Completed in 14 milliseconds