![]() |
Samsung Client API reference
1.0
|
TEE Samsung Client API. More...
Go to the source code of this file.
Enumerations | |
| enum | Cluster { CLUSTER_BIG, CLUSTER_LITTLE, CLUSTER_DEFAULT, CLUSTER_MAX_VALUE } |
| enum | { DISABLE_CRYPTO_CLK, ENABLE_CRYPTO_CLK } |
| enum | ta_debug_service_type_t { TA_DEBUG_SERVICE_DLM, TA_DEBUG_SERVICE_PMR } |
Functions | |
| const char * | get_error_name (TEEC_Result result) |
The function returns string representation of TEEC_Result type. More... | |
| const char * | get_error_text (TEEC_Result result) |
The function returns description of TEEC_Result type. More... | |
| const char * | get_return_origin (uint32_t returnOrigin) |
The function description of origin type. More... | |
| TEEC_Result | TEECS_SetCluster (TEEC_Session *session, Cluster cluster) |
| The function sets TA (main thread and its descendants, created after call) to desired cpu cluster. More... | |
| TEEC_Result | TEECS_Boost (TEEC_Session *session) |
| The function enables performance boosting for current TA session. More... | |
| TEEC_Result | TEECS_Unboost (TEEC_Session *session) |
| The function disables performance boosting for current TA session. More... | |
| TEEC_Result | TEECS_SetCryptoClk (TEEC_Context *context, uint32_t state) |
| The function switches crypto clocks ON/OFF Initially designed to reduce power consuption on Qualcomm chipsets A reference counter is maintained in TEEC_ContextImp. More... | |
| TEEC_Result | TEECS_GetSessionId (const TEEC_Session *session, TEEC_UUID *session_id) |
| Function gets session ID. More... | |
| TEEC_Result | TEECS_OpenSession (TEEC_Context *context, TEEC_Session *session, const TEEC_UUID *destination, const void *ta_image, const size_t ta_image_size, uint32_t connectionMethod, const void *connectionData, TEEC_Operation *operation, uint32_t *returnOrigin) |
The function opens TA which is located not exactly in /vendor/tee directory. Function behaves the same way as TEEC_OpenSession(), but provides two additional parameters. ta_image and ta_image_size. More... | |
| TEEC_Result | TEECS_OpenSession1 (TEEC_Context *context, TEEC_Session *session, const TEEC_UUID *destination, const char *destination_path, uint32_t connectionMethod, const void *connectionData, TEEC_Operation *operation, uint32_t *returnOrigin) |
The function opens TA which is located not exactly in /vendor/tee directory. Function behaves the same way as TEEC_OpenSession(), but provides one additional parameter. destination_path (e.g. /system/tee, /data/tee) wherever CA has appropriate permission. More... | |
| TEEC_Result | TEECS_TADebugServiceCtl (ta_debug_service_type_t type, const TEEC_UUID *monitoredTA, const TEEC_UUID *monitoredSession) |
| Create a request into underlying TEE implementation to provide TEE TA Debug functionality for current Client Application. More... | |
| TEEC_Result | TEECS_WaitTADeath (TEEC_Session *session) |
| Wait for unexpected death of TA. More... | |
TEE Samsung Client API.