Home
last modified time | relevance | path

Searched full:operation (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_session_manager.c67 static void FreeOperation(struct HksOperation **operation) in FreeOperation() argument
69 if (operation == NULL || *operation == NULL) { in FreeOperation()
72 RemoveDoubleListNode(&(*operation)->listHead); in FreeOperation()
73 HKS_FREE_BLOB((*operation)->processInfo.userId); in FreeOperation()
74 HKS_FREE_BLOB((*operation)->processInfo.processName); in FreeOperation()
75 HKS_FREE(*operation); in FreeOperation()
79 static void DeleteKeyNodeAndDecreaseGlobalCount(struct HksOperation *operation) in DeleteKeyNodeAndDecreaseGlobalCount() argument
81 DeleteKeyNode(operation->handle); in DeleteKeyNodeAndDecreaseGlobalCount()
82 FreeOperation(&operation); in DeleteKeyNodeAndDecreaseGlobalCount()
84 HKS_LOG_I("delete operation count:%" LOG_PUBLIC "u", g_operationCount); in DeleteKeyNodeAndDecreaseGlobalCount()
[all …]
/base/tee/tee_client/test/unittest/
Dcadaemontest.cpp74 TEEC_Operation *operation, MessageParcel &reply) in RecOpenReply() argument
91 writeRet = reply.WriteBuffer(operation, sizeof(*operation)); in RecOpenReply()
145 TEEC_Operation operation = { 0 }; variable
147 operation.started = 1;
148 operation.paramTypes = TEEC_PARAM_TYPES(TEEC_NONE, TEEC_NONE, TEEC_NONE, TEEC_NONE);
150 RecOpenReply(TEEC_ORIGIN_API, TEEC_SUCCESS, &session, &operation, reply);
152 …ret = TEEC_OpenSession(nullptr, nullptr, nullptr, TEEC_LOGIN_PUBLIC, nullptr, &operation, &origin);
154 …ret = TEEC_OpenSession(&context, &session, &g_testUuid, TEEC_LOGIN_PUBLIC, nullptr, &operation, &o…
156 …ret = TEEC_OpenSession(&context, &session, &g_testUuid, TEEC_LOGIN_PUBLIC, nullptr, &operation, &o…
161 …EC_OpenSession(&context, &session, &g_testUuid, TEEC_LOGIN_IDENTIFY, nullptr, &operation, &origin);
[all …]
Dteecvendortest.cpp217 TEEC_Operation operation = { 0 }; variable
218 operation.started = 1;
220 operation.paramTypes = TEEC_MEMREF_TEMP_INPUT;
221 operation.params[0].tmpref.buffer = nullptr;
222 operation.params[0].tmpref.size = 1;
223 TEEC_Result ret = TEEC_CheckOperation(&context, &operation);
226 operation.paramTypes = TEEC_MEMREF_TEMP_INPUT;
227 operation.params[0].tmpref.buffer = (void*)1;
228 operation.params[0].tmpref.size = 0;
229 ret = TEEC_CheckOperation(&context, &operation);
[all …]
/base/tee/tee_client/test/fuzztest/libteecvendor/libteecvendoropensession_fuzzer/
Dlibteecvendoropensession_fuzzer.cpp38 TEEC_Operation operation = *reinterpret_cast<TEEC_Operation *>(temp); in LibteecVendorOpenSessionFuzzTest() local
49 operation.params[0] = param; in LibteecVendorOpenSessionFuzzTest()
50 operation.params[1] = param; in LibteecVendorOpenSessionFuzzTest()
51 operation.params[2] = param; in LibteecVendorOpenSessionFuzzTest()
52 operation.params[3] = param; in LibteecVendorOpenSessionFuzzTest()
53 operation.session = &session; in LibteecVendorOpenSessionFuzzTest()
56 reinterpret_cast<const char *>(temp), &operation, &returnOrigin); in LibteecVendorOpenSessionFuzzTest()
95 TEEC_Operation operation = { 0 }; in TEEC_OpenSessionInnerTest_001() local
99 TEEC_LOGIN_IDENTIFY, NULL, &operation, &retOrigin); in TEEC_OpenSessionInnerTest_001()
102 TEEC_LOGIN_IDENTIFY, NULL, &operation, &retOrigin); in TEEC_OpenSessionInnerTest_001()
[all …]
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
Dhks_teec.c116 TEEC_Operation operation; in OpenSession()
118 (void)memset_s(&operation, sizeof(operation), 0, sizeof(operation)); in OpenSession()
119 operation.started = 1; in OpenSession()
120 operation.paramTypes = TEEC_PARAM_TYPES(TEEC_VALUE_OUTPUT, TEEC_NONE, in OpenSession()
124 …ret = TEEC_OpenSession(context, localSession, &uuid, TEEC_LOGIN_IDENTIFY, NULL, &operation, &origi… in OpenSession()
184 static TEEC_Result TeecRequestCmdInner(enum HksCmdId pkiCmdId, TEEC_Operation *operation, in TeecRequestCmdInner() argument
196 if (memset_s(operation, sizeof(TEEC_Operation), 0, sizeof(TEEC_Operation)) != EOK) { in TeecRequestCmdInner()
197 HKS_LOG_E("memset for operation failed!"); in TeecRequestCmdInner()
201 operation->started = 1; in TeecRequestCmdInner()
202 operation->paramTypes = teecOperation->paramTypes; in TeecRequestCmdInner()
[all …]
/base/security/crypto_framework/interfaces/kits/native/include/
Dcrypto_sym_cipher.h57 …/** Indicates the output tag from the encryption operation. The tag is used for integrity check. */
79 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
81 * {@link OH_Crypto_ErrCode#CRYPTO_NOT_SUPPORTED} 801 - If the operation is not supported.
82 * {@link OH_Crypto_ErrCode#CRYPTO_MEMORY_ERROR} 17620001 - If memory operation failed.
94 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
96 * {@link OH_Crypto_ErrCode#CRYPTO_NOT_SUPPORTED} 801 - If the operation is not supported.
97 * {@link OH_Crypto_ErrCode#CRYPTO_MEMORY_ERROR} 17620001 - If memory operation failed.
118 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
120 * {@link OH_Crypto_ErrCode#CRYPTO_NOT_SUPPORTED} 801 - If the operation is not supported.
121 * {@link OH_Crypto_ErrCode#CRYPTO_MEMORY_ERROR} 17620001 - If memory operation failed.
[all …]
Dcrypto_digest.h57 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
59 * {@link OH_Crypto_ErrCode#CRYPTO_NOT_SUPPORTED} 801 - If the operation is not supported.
60 * {@link OH_Crypto_ErrCode#CRYPTO_MEMORY_ERROR} 17620001 - If memory operation failed.
71 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
73 * {@link OH_Crypto_ErrCode#CRYPTO_NOT_SUPPORTED} 801 - If the operation is not supported.
74 * {@link OH_Crypto_ErrCode#CRYPTO_MEMORY_ERROR} 17620001 - If memory operation failed.
86 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
88 * {@link OH_Crypto_ErrCode#CRYPTO_NOT_SUPPORTED} 801 - If the operation is not supported.
89 * {@link OH_Crypto_ErrCode#CRYPTO_MEMORY_ERROR} 17620001 - If memory operation failed.
100 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
[all …]
Dcrypto_signature.h79 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
81 * {@link OH_Crypto_ErrCode#CRYPTO_NOT_SUPPORTED} 801 - If the operation is not supported.
82 * {@link OH_Crypto_ErrCode#CRYPTO_MEMORY_ERROR} 17620001 - If memory operation failed.
93 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
95 * {@link OH_Crypto_ErrCode#CRYPTO_NOT_SUPPORTED} 801 - If the operation is not supported.
96 * {@link OH_Crypto_ErrCode#CRYPTO_MEMORY_ERROR} 17620001 - If memory operation failed.
109 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
111 * {@link OH_Crypto_ErrCode#CRYPTO_NOT_SUPPORTED} 801 - If the operation is not supported.
112 * {@link OH_Crypto_ErrCode#CRYPTO_MEMORY_ERROR} 17620001 - If memory operation failed.
139 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
[all …]
Dcrypto_sym_key.h64 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
66 * {@link OH_Crypto_ErrCode#CRYPTO_NOT_SUPPORTED} 801 - If the operation is not supported.
67 * {@link OH_Crypto_ErrCode#CRYPTO_MEMORY_ERROR} 17620001 - If memory operation failed.
78 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
80 * {@link OH_Crypto_ErrCode#CRYPTO_NOT_SUPPORTED} 801 - If the operation is not supported.
81 * {@link OH_Crypto_ErrCode#CRYPTO_MEMORY_ERROR} 17620001 - If memory operation failed.
93 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
95 * {@link OH_Crypto_ErrCode#CRYPTO_NOT_SUPPORTED} 801 - If the operation is not supported.
96 * {@link OH_Crypto_ErrCode#CRYPTO_MEMORY_ERROR} 17620001 - If memory operation failed.
134 * @return {@link OH_Crypto_ErrCode#CRYPTO_SUCCESS} 0 - If the operation is successful.
[all …]
/base/msdp/device_status/interfaces/innerkits/interaction/include/
Dinteraction_manager.h54 * @return Returns <b>0</b> if the operation is successful; returns a non-zero value otherwise.
63 * @return Returns <b>0</b> if the operation is successful; returns a non-zero value otherwise.
72 * @return Returns <b>0</b> if the operation is successful; returns a non-zero value otherwise.
81 * @return Returns <b>0</b> if the operation is successful; returns a non-zero value otherwise.
92 * @return Returns <b>0</b> if the operation is successful; returns a non-zero value otherwise.
104 * @return Returns <b>0</b> if the operation is successful; returns a non-zero value otherwise.
115 * @return Returns <b>0</b> if the operation is successful; returns a non-zero value otherwise.
125 * @return Returns <b>0</b> if the operation is successful; returns a non-zero value otherwise.
135 * @return Returns <b>0</b> if the operation is successful; returns a non-zero value otherwise.
144 * @return Returns <b>0</b> if the operation is successful; returns a non-zero value otherwise.
[all …]
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/
Dmock_single_kv_store.h41 * @return Indicates the status of this GetEntries operation.
50 * @return Indicates the status of this GetEntries operation.
59 * @return Indicates the status of this GetResultSet operation.
68 * @return Indicates the status of this GetResultSet operation.
77 * @return Indicates the status of this CloseResultSet operation.
86 * @return Indicates the status of this CloseResultSet operation.
92 * sync will fail if there is a syncing operation in progress.
98 * @return Indicates the status of this Sync operation.
107 * @return Indicates the status of this remove operation.
122 * @return Indicates the status of this delete operation.
[all …]
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/include/
Dmock_single_kv_store.h41 * @return Indicates the status of this GetEntries operation.
50 * @return Indicates the status of this GetEntries operation.
59 * @return Indicates the status of this GetResultSet operation.
68 * @return Indicates the status of this GetResultSet operation.
76 * @return Indicates the status of this CloseResultSet operation.
85 * @return Indicates the status of this CloseResultSet operation.
91 * sync will fail if there is a syncing operation in progress.
97 * @return Indicates the status of this Sync operation.
105 * @return Indicates the status of this remove operation.
120 * @return Indicates the status of this delete operation.
[all …]
/base/notification/distributed_notification_service/services/test/moduletest/mock/include/
Dmock_single_kv_store.h41 * @return Indicates the status of this GetEntries operation.
50 * @return Indicates the status of this GetEntries operation.
59 * @return Indicates the status of this GetResultSet operation.
68 * @return Indicates the status of this GetResultSet operation.
76 * @return Indicates the status of this CloseResultSet operation.
85 * @return Indicates the status of this CloseResultSet operation.
91 * sync will fail if there is a syncing operation in progress.
97 * @return Indicates the status of this Sync operation.
106 * @return Indicates the status of this remove operation.
121 * @return Indicates the status of this delete operation.
[all …]
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/include/
Dmock_single_kv_store.h40 * @return Indicates the status of this GetEntries operation.
49 * @return Indicates the status of this GetEntries operation.
58 * @return Indicates the status of this GetResultSet operation.
67 * @return Indicates the status of this GetResultSet operation.
75 * @return Indicates the status of this CloseResultSet operation.
84 * @return Indicates the status of this CloseResultSet operation.
90 * sync will fail if there is a syncing operation in progress.
96 * @return Indicates the status of this Sync operation.
105 * @return Indicates the status of this remove operation.
120 * @return Indicates the status of this delete operation.
[all …]
/base/tee/tee_client/test/fuzztest/libteecvendor/libteecvendorinvokecommand_fuzzer/
Dlibteecvendorinvokecommand_fuzzer.cpp39 void InitTeecParam(uint8_t *temp, TEEC_Parameter (&param)[4], TEEC_Operation &operation, in InitTeecParam() argument
45 g_paramType[paramCnt] = TEEC_PARAM_TYPE_GET(operation.paramTypes, paramCnt); in InitTeecParam()
92 TEEC_Operation operation = *reinterpret_cast<TEEC_Operation *>(temp); in LibteecVendorInvokeCommandFuzzTest() local
100 InitTeecParam(temp, param, operation, memory, context); in LibteecVendorInvokeCommandFuzzTest()
103 operation.params[0] = param[0]; in LibteecVendorInvokeCommandFuzzTest()
104 operation.params[1] = param[1]; in LibteecVendorInvokeCommandFuzzTest()
105 operation.params[2] = param[2]; in LibteecVendorInvokeCommandFuzzTest()
106 operation.params[3] = param[3]; in LibteecVendorInvokeCommandFuzzTest()
107 operation.session = &session; in LibteecVendorInvokeCommandFuzzTest()
109 (void)TEEC_InvokeCommand(&session, commandID, &operation, &returnOrigin); in LibteecVendorInvokeCommandFuzzTest()
[all …]
/base/useriam/user_auth_framework/
Dhisysevent.yaml23 OPERATION_TIME: {type: STRING, desc: operation time}
27 OPERATION_TYPE: {type: UINT32, desc: operation type}
28 OPERATION_RESULT: {type: INT32, desc: operation result}
32 OPERATION_TIME: {type: STRING, desc: operation time}
37 OPERATION_TYPE: {type: UINT32, desc: operation type}
38 OPERATION_RESULT: {type: INT32, desc: operation result}
43 OPERATION_TIME: {type: STRING, desc: operation time}
51 OPERATION_TIME: {type: STRING, desc: operation time}
70 OPERATION_TIME: {type: STRING, desc: operation time}
86 OPERATION_TIME: {type: STRING, desc: operation time}
[all …]
/base/tee/tee_client/frameworks/libteec_client/
Dtee_client.h61 …uint32_t connectionMethod, const void *connectionData, TEEC_Operation *operation, uint32_t *return…
64 TEEC_Operation *operation, uint32_t *returnOrigin);
68 void RequestCancellation(const TEEC_Operation *operation);
116 uint32_t connectionMethod, int32_t fd, TEEC_Operation *operation, uint32_t *retOrigin);
119 TEEC_Operation *operation, uint32_t *returnOrigin);
120 TEEC_Result GetOptMemSize(TEEC_Operation *operation, size_t *memSize);
121 TEEC_Result GetPartialMemSize(TEEC_Operation *operation, size_t optMemSize,
123 TEEC_Result CopyTeecOptMem(TEEC_Operation *operation, size_t optMemSize, sptr<Ashmem> &optMem);
124 TEEC_Result TeecOptEncode(TEEC_Operation *operation, sptr<Ashmem> &optMem, size_t dataSize);
126 …TEEC_Result GetTeecOptMem(TEEC_Operation *operation, size_t optMemSize, sptr<Ashmem> &optMem, Mess…
[all …]
Dtee_client.cpp171 TEEC_Result TeeClient::TEEC_CheckOperation(const TEEC_Operation *operation) in TEEC_CheckOperation() argument
175 if (operation == nullptr) { in TEEC_CheckOperation()
178 if (!operation->started) { in TEEC_CheckOperation()
184 uint32_t paramType = TEEC_PARAM_TYPE_GET(operation->paramTypes, i); in TEEC_CheckOperation()
186 ret = TEEC_CheckTmpRef(operation->params[i].tmpref); in TEEC_CheckOperation()
188 ret = TEEC_CheckMemRef(operation->params[i].memref, paramType); in TEEC_CheckOperation()
420 uint32_t connectionMethod, const void *connectionData, TEEC_Operation *operation, in OpenSession() argument
439 teecRet = TEEC_CheckOperation(operation); in OpenSession()
441 tloge("invoke command:check operation failed!\n"); in OpenSession()
452 if (operation != nullptr) { in OpenSession()
[all …]
/base/tee/tee_client/services/cadaemon/src/ca_daemon/
Dcadaemon_stub.cpp161 tloge("getContext: operation memcpy failed\n"); in GetContextFromData()
177 tloge("getSession: operation memcpy failed\n"); in GetSessionFromData()
194 tloge("getShamem: operation memcpy failed\n"); in GetSharedMemFromData()
200 static void SetInvalidIonFd(TEEC_Operation *operation) in SetInvalidIonFd() argument
204 paramType[paramCnt] = TEEC_PARAM_TYPE_GET(operation->paramTypes, paramCnt); in SetInvalidIonFd()
206 operation->params[paramCnt].ionref.ion_share_fd = -1; in SetInvalidIonFd()
211 static void CloseDupIonFd(TEEC_Operation *operation) in CloseDupIonFd() argument
215 paramType[paramCnt] = TEEC_PARAM_TYPE_GET(operation->paramTypes, paramCnt); in CloseDupIonFd()
219 if (operation->params[paramCnt].ionref.ion_share_fd >= 0) { in CloseDupIonFd()
220 close(operation->params[paramCnt].ionref.ion_share_fd); in CloseDupIonFd()
[all …]
/base/tee/tee_client/test/fuzztest/teeclient/teeclientopensession_fuzzer/
Dteeclientopensession_fuzzer.cpp36 TEEC_Operation operation = *reinterpret_cast<TEEC_Operation *>(temp); in TeeClientOpenSessionFuzzTest() local
47 operation.params[0] = param; in TeeClientOpenSessionFuzzTest()
48 operation.params[1] = param; in TeeClientOpenSessionFuzzTest()
49 operation.params[2] = param; in TeeClientOpenSessionFuzzTest()
50 operation.params[3] = param; in TeeClientOpenSessionFuzzTest()
51 operation.session = &session; in TeeClientOpenSessionFuzzTest()
54 reinterpret_cast<const char *>(temp), &operation, &returnOrigin); in TeeClientOpenSessionFuzzTest()
/base/tee/tee_client/test/fuzztest/libteecvendor/libteecvendorrequestcancellation_fuzzer/
Dlibteecvendorrequestcancellation_fuzzer.cpp31 TEEC_Operation operation = *reinterpret_cast<TEEC_Operation *>(temp); in LibteecVendorRequestCancellationFuzzTest() local
52 operation.params[0] = param; in LibteecVendorRequestCancellationFuzzTest()
53 operation.params[1] = param; in LibteecVendorRequestCancellationFuzzTest()
54 operation.params[2] = param; in LibteecVendorRequestCancellationFuzzTest()
55 operation.params[3] = param; in LibteecVendorRequestCancellationFuzzTest()
56 operation.session = &session; in LibteecVendorRequestCancellationFuzzTest()
58 (void)TEEC_RequestCancellation(&operation); in LibteecVendorRequestCancellationFuzzTest()
/base/tee/tee_client/test/fuzztest/teeclient/teeclientinvokecommand_fuzzer/
Dteeclientinvokecommand_fuzzer.cpp38 void InitTeecParam(uint8_t *temp, TEEC_Parameter (&param)[4], TEEC_Operation &operation, in InitTeecParam() argument
44 g_paramType[paramCnt] = TEEC_PARAM_TYPE_GET(operation.paramTypes, paramCnt); in InitTeecParam()
91 TEEC_Operation operation = *reinterpret_cast<TEEC_Operation *>(temp); in TeeClientInvokeCommandFuzzTest() local
99 InitTeecParam(temp, param, operation, memory, context); in TeeClientInvokeCommandFuzzTest()
102 operation.params[0] = param[0]; in TeeClientInvokeCommandFuzzTest()
103 operation.params[1] = param[1]; in TeeClientInvokeCommandFuzzTest()
104 operation.params[2] = param[2]; in TeeClientInvokeCommandFuzzTest()
105 operation.params[3] = param[3]; in TeeClientInvokeCommandFuzzTest()
106 operation.session = &session; in TeeClientInvokeCommandFuzzTest()
108 (void)TEEC_InvokeCommand(&session, commandID, &operation, &returnOrigin); in TeeClientInvokeCommandFuzzTest()
/base/powermgr/power_manager/services/native/include/actions/
Drunning_lock_action_info.h24 * Enumerates runninglock operation return status
28 * RunningLock status: runninglock operation is successful
32 * RunningLock status: runninglock operation is failed
36 * RunningLock status: runninglock operation is not supported, not found the runninglock
40 * RunningLock status: invalid input parameter for runninglock operation
/base/account/os_account/
Dhisysevent.yaml28 __BASE: {type: FAULT, level: CRITICAL, desc: os account operation errors}
30 OPERATE_TYPE: {type: STRING, desc: operation type on an os account}
35 __BASE: {type: FAULT, level: CRITICAL, desc: distributed account operation errors}
37 OPERATE_TYPE: {type: STRING, desc: operation type on a distributed account}
42 __BASE: {type: FAULT, level: CRITICAL, desc: app operation errors}
45 OPERATE_TYPE: {type: STRING, desc: operation type on an app account}
52 OPERATE_TYPE: {type: STRING, desc: operation type on an os account create or delete}
62 OPERATION_TYPE: {type: INT32, desc: operation type}
/base/sensors/miscdevice/interfaces/inner_api/light/
Dlight_agent.h39 * @return Returns <b>0</b> if the operation is successful.
40 * @return Returns a negative value if the operation fails.
51 * @return Returns <b>0</b> if the operation is successful.
52 * @return Returns a negative value if the operation fails.
61 * @return Returns <b>0</b> if the operation is successful.
62 * @return Returns a negative value if the operation fails.

12345678910>>...14