Lines Matching refs:TeecResult
16 TEEC_Result TeecResult; in test_secure_storage_default() local
33 TeecResult = OpteeClientApiLibInitialize(); in test_secure_storage_default()
34 if (TeecResult != TEEC_SUCCESS) in test_secure_storage_default()
37 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in test_secure_storage_default()
38 if (TeecResult != TEEC_SUCCESS) in test_secure_storage_default()
51 TeecResult = TEEC_OpenSession(&TeecContext, in test_secure_storage_default()
58 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
68 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem0); in test_secure_storage_default()
69 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
83 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem1); in test_secure_storage_default()
84 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
102 TeecResult = TEEC_InvokeCommand(&TeecSession,//write data in test_secure_storage_default()
106 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
116 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem2); in test_secure_storage_default()
117 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
128 TeecResult = TEEC_InvokeCommand(&TeecSession,//read data in test_secure_storage_default()
132 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
156 TEEC_Result TeecResult; in test_secure_storage_security_partition() local
173 TeecResult = OpteeClientApiLibInitialize(); in test_secure_storage_security_partition()
174 if (TeecResult != TEEC_SUCCESS) in test_secure_storage_security_partition()
177 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in test_secure_storage_security_partition()
178 if (TeecResult != TEEC_SUCCESS) in test_secure_storage_security_partition()
188 TeecResult = TEEC_OpenSession(&TeecContext, in test_secure_storage_security_partition()
195 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_security_partition()
205 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem0); in test_secure_storage_security_partition()
206 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_security_partition()
220 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem1); in test_secure_storage_security_partition()
221 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_security_partition()
239 TeecResult = TEEC_InvokeCommand(&TeecSession,//write data in test_secure_storage_security_partition()
243 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_security_partition()
253 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem2); in test_secure_storage_security_partition()
254 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_security_partition()
265 TeecResult = TEEC_InvokeCommand(&TeecSession,//read data in test_secure_storage_security_partition()
269 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_security_partition()