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()
53 TeecResult = TEEC_OpenSession(&TeecContext, in test_secure_storage_default()
60 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
70 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem0); in test_secure_storage_default()
71 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
85 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem1); in test_secure_storage_default()
86 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
104 TeecResult = TEEC_InvokeCommand(&TeecSession,//write data in test_secure_storage_default()
108 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
118 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem2); in test_secure_storage_default()
119 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
130 TeecResult = TEEC_InvokeCommand(&TeecSession,//read data in test_secure_storage_default()
134 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
158 TEEC_Result TeecResult; in test_secure_storage_security_partition() local
175 TeecResult = OpteeClientApiLibInitialize(); in test_secure_storage_security_partition()
176 if (TeecResult != TEEC_SUCCESS) in test_secure_storage_security_partition()
179 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in test_secure_storage_security_partition()
180 if (TeecResult != TEEC_SUCCESS) in test_secure_storage_security_partition()
190 TeecResult = TEEC_OpenSession(&TeecContext, in test_secure_storage_security_partition()
197 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_security_partition()
207 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem0); in test_secure_storage_security_partition()
208 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_security_partition()
222 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem1); in test_secure_storage_security_partition()
223 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_security_partition()
241 TeecResult = TEEC_InvokeCommand(&TeecSession,//write data in test_secure_storage_security_partition()
245 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_security_partition()
255 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem2); in test_secure_storage_security_partition()
256 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_security_partition()
267 TeecResult = TEEC_InvokeCommand(&TeecSession,//read data in test_secure_storage_security_partition()
271 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_security_partition()