diff options
author | Dariusz Michaluk <d.michaluk@samsung.com> | 2021-02-11 12:41:13 +0100 |
---|---|---|
committer | Dariusz Michaluk <d.michaluk@samsung.com> | 2021-02-18 11:41:47 +0100 |
commit | c4908b74d360a44cc06eeb1516fa555823c8e8ac (patch) | |
tree | d24d41a47a0f58c2fe166b379530b5aa70ed8744 | |
parent | edfdd01fd2f995d403a0a40620b8952fd1c85115 (diff) | |
download | libteec-accepted/tizen_7.0_unified.tar.gz libteec-accepted/tizen_7.0_unified.tar.bz2 libteec-accepted/tizen_7.0_unified.zip |
Mark all TEEC APIs as deprecated since Tizen 6.5tizen_9.0_m2_releasetizen_8.0_m2_releasetizen_7.0_m2_releasetizen_6.5.m2_releasesubmit/tizen_6.5/20211028.163201submit/tizen/20210217.173827accepted/tizen/unified/x/asan/20240415.123337accepted/tizen/unified/toolchain/20240311.064840accepted/tizen/unified/dev/20240620.010424accepted/tizen/unified/20210219.040915accepted/tizen/9.0/unified/20241030.235226accepted/tizen/8.0/unified/20231005.094345accepted/tizen/7.0/unified/hotfix/20221116.110301accepted/tizen/7.0/unified/20221110.062839accepted/tizen/6.5/unified/20211028.114521tizen_9.0tizen_8.0tizen_7.0_hotfixtizen_7.0tizen_6.5accepted/tizen_unified_x_asanaccepted/tizen_unified_toolchainaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unifiedaccepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unified
Change-Id: I4fcda20a840f33ab824ff71f4d82ec4745f892bd
-rw-r--r-- | src/teec/TeecContext.h | 5 | ||||
-rw-r--r-- | src/teec/TeecManager.h | 4 | ||||
-rw-r--r-- | src/teec/TeecSession.h | 4 | ||||
-rw-r--r-- | src/teec/TeecSharedMemory.h | 4 | ||||
-rw-r--r-- | src/teec/TeecTranslations.cc | 4 | ||||
-rw-r--r-- | src/teec/TeecTranslations.h | 4 | ||||
-rw-r--r-- | web/widl/tizen/libteec.widl | 42 |
7 files changed, 60 insertions, 7 deletions
diff --git a/src/teec/TeecContext.h b/src/teec/TeecContext.h index 2e175eb..2d5b6c8 100644 --- a/src/teec/TeecContext.h +++ b/src/teec/TeecContext.h @@ -1,5 +1,5 @@ /** - * Copyright (c) 2017-2018 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,8 +27,9 @@ #include <unordered_map> #include <string> -#include <tee_client_api.h> +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#include <tee_client_api.h> namespace extension { namespace libteec { diff --git a/src/teec/TeecManager.h b/src/teec/TeecManager.h index c7cc768..e9065d6 100644 --- a/src/teec/TeecManager.h +++ b/src/teec/TeecManager.h @@ -1,5 +1,5 @@ /** - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,8 @@ #include <string> #include <memory> #include <mutex> + +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include <tee_client_api.h> #include "TeecContext.h" diff --git a/src/teec/TeecSession.h b/src/teec/TeecSession.h index 141c427..efde4c6 100644 --- a/src/teec/TeecSession.h +++ b/src/teec/TeecSession.h @@ -1,5 +1,5 @@ /** - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,8 @@ #include <string> #include <memory> + +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include <tee_client_api.h> namespace extension { diff --git a/src/teec/TeecSharedMemory.h b/src/teec/TeecSharedMemory.h index 9af881c..9b8da14 100644 --- a/src/teec/TeecSharedMemory.h +++ b/src/teec/TeecSharedMemory.h @@ -1,5 +1,5 @@ /** - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,8 @@ #include <memory> #include <vector> + +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include <tee_client_api.h> namespace extension { diff --git a/src/teec/TeecTranslations.cc b/src/teec/TeecTranslations.cc index e6316cb..ae4c245 100644 --- a/src/teec/TeecTranslations.cc +++ b/src/teec/TeecTranslations.cc @@ -1,5 +1,5 @@ /** - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,8 @@ #include "TeecManager.h" #include "TeecContext.h" #include "TeecSharedMemory.h" + +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include <tee_client_api.h> #define CASE_RESULT_TO_STRING(x) case x: return #x diff --git a/src/teec/TeecTranslations.h b/src/teec/TeecTranslations.h index c8b3b3b..12c4390 100644 --- a/src/teec/TeecTranslations.h +++ b/src/teec/TeecTranslations.h @@ -1,5 +1,5 @@ /** - * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,9 @@ #include "TeecTempMemoryAllocator.h" +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include <tee_client_api.h> + #include <string> #include <common/picojson.h> diff --git a/web/widl/tizen/libteec.widl b/web/widl/tizen/libteec.widl index ef76562..e0d73a6 100644 --- a/web/widl/tizen/libteec.widl +++ b/web/widl/tizen/libteec.widl @@ -29,6 +29,7 @@ module LibTeec { * </ul> * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ enum TeecLoginMethod { @@ -48,6 +49,7 @@ module LibTeec { * </ul> * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ enum TeecValueType { @@ -66,6 +68,7 @@ module LibTeec { * </ul> * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ enum TeecTempMemoryType { @@ -85,6 +88,7 @@ module LibTeec { * </ul> * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ enum TeecRegisteredMemoryType { @@ -104,6 +108,7 @@ module LibTeec { * </ul> * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ enum TeecSharedMemoryFlags { @@ -118,6 +123,7 @@ module LibTeec { * Example UUID strig representation: f81d4fae-7dec-11d0-a765-00a0c91e6bf6 * * \version 4.0 + * \deprecated Deprecated since 6.5. */ typedef DOMString TeecUuid; @@ -125,6 +131,7 @@ module LibTeec { * \brief Background process id. * * \version 4.0 + * \deprecated Deprecated since 6.5. */ typedef unsigned long TeecTaskId; @@ -132,6 +139,7 @@ module LibTeec { * \brief The LibTeecObject interface gives access to the LibTeec API from the <em>tizen.teec</em> object. * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ [NoInterfaceObject] interface LibTeecManagerObject { @@ -145,6 +153,7 @@ module LibTeec { * Once a context object is obtained, it is possible to open a session to Trusted Application (TA) . * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ [NoInterfaceObject] interface LibTeecManager { @@ -153,6 +162,7 @@ module LibTeec { * \brief Get TEE context by name. * * \version 4.0 + * \deprecated Deprecated since 6.5. * * \privilegelevel partner * \privilege http://tizen.org/privilege/tee.client @@ -182,6 +192,9 @@ module LibTeec { /** * \brief This type denotes a TEE Context, the main logical container linking a Client Application with a particular TEE. * + * \version 4.0 + * \deprecated Deprecated since 6.5. + * */ [NoInterfaceObject] interface TeecContext { /** @@ -195,6 +208,7 @@ module LibTeec { * </ul> * * \version 4.0 + * \deprecated Deprecated since 6.5. * * \privilegelevel partner * \privilege http://tizen.org/privilege/tee.client @@ -248,6 +262,7 @@ module LibTeec { * \brief Revoke last operation identified by id. * * \version 4.0 + * \deprecated Deprecated since 6.5. * * \privilegelevel partner * \privilege http://tizen.org/privilege/tee.client @@ -296,6 +311,7 @@ module LibTeec { * Allocate shared memory. * * \version 4.0 + * \deprecated Deprecated since 6.5. * * \privilegelevel partner * \privilege http://tizen.org/privilege/tee.client @@ -327,6 +343,7 @@ module LibTeec { * Register shared memory. * * \version 4.0 + * \deprecated Deprecated since 6.5. * * \privilegelevel partner * \privilege http://tizen.org/privilege/tee.client @@ -359,6 +376,7 @@ module LibTeec { * Release shared memory, previously allocated or registered. * * \version 4.0 + * \deprecated Deprecated since 6.5. * * \privilegelevel partner * \privilege http://tizen.org/privilege/tee.client @@ -389,12 +407,16 @@ module LibTeec { /** * \brief This type denotes a TEE Session, the logical link between Client Application and a particular Trusted Application. * + * \version 4.0 + * \deprecated Deprecated since 6.5. + * */ [NoInterfaceObject] interface TeecSession { /** * \brief Close session with TA. * * \version 4.0 + * \deprecated Deprecated since 6.5. * * \privilegelevel partner * \privilege http://tizen.org/privilege/tee.client @@ -440,6 +462,7 @@ module LibTeec { * </ul> * * \version 4.0 + * \deprecated Deprecated since 6.5. * * \privilegelevel partner * \privilege http://tizen.org/privilege/tee.client @@ -507,6 +530,7 @@ module LibTeec { * <em>allocateSharedMemory</em> or <em>registerSharedMemory</em> * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ [NoInterfaceObject] interface TeecSharedMemory { @@ -514,6 +538,7 @@ module LibTeec { * \brief Size of this shared memory block. * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ readonly attribute unsigned long long size; @@ -522,6 +547,7 @@ module LibTeec { * \brief Convenient method to set some bytes in shared memory. * * \version 4.0 + * \deprecated Deprecated since 6.5. * * \param data sequence of bytes (buffer size is data.length) * \param offset offset in shared memory to start writing @@ -535,6 +561,7 @@ module LibTeec { * \brief Convenient method to get some bytes from shared memory. * * \version 4.0 + * \deprecated Deprecated since 6.5. * * \param data buffer for bytes (buffer size is data.length) * \param offset offset in shared memory to start reading @@ -549,6 +576,7 @@ module LibTeec { * \brief Abstract parameter type. * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ [NoInterfaceObject] interface TeecParameter { @@ -557,6 +585,7 @@ module LibTeec { * This can be one of TeecValueType, TeecTempMemoryType, TeecRegisteredMemoryType * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ attribute DOMString type; @@ -567,6 +596,7 @@ module LibTeec { * \brief Registered memory parameter. * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ interface TeecRegisteredMemory : TeecParameter { @@ -574,6 +604,7 @@ module LibTeec { * \brief Referred shared memory. * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ attribute TeecSharedMemory shm; @@ -582,6 +613,7 @@ module LibTeec { * \brief Offset in shared memory (start of accessed block). * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ attribute unsigned long long offset; @@ -590,6 +622,7 @@ module LibTeec { * \brief Size of block in shared memory (length of the block). * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ attribute unsigned long long size; @@ -600,6 +633,7 @@ module LibTeec { * \brief Temporary memory parameter. * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ interface TeecTempMemory : TeecParameter { @@ -607,6 +641,7 @@ module LibTeec { * \brief Local memory block. * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ attribute byte[] mem; @@ -617,6 +652,7 @@ module LibTeec { * \brief Value parameter. * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ interface TeecValue : TeecParameter { @@ -624,6 +660,7 @@ module LibTeec { * \brief Integer number to be delivered. * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ attribute long a; @@ -631,6 +668,7 @@ module LibTeec { * \brief Integer number to be delivered. * * \version 4.0 + * \deprecated Deprecated since 6.5. * */ attribute long b; @@ -639,6 +677,7 @@ module LibTeec { /** * \brief The success callback to be invoked when session was opened. * \version 4.0 + * \deprecated Deprecated since 6.5. */ [Callback=FunctionOnly, NoInterfaceObject] interface TeecOpenSuccessCallback { @@ -646,6 +685,7 @@ module LibTeec { * \brief Called when the session is opened successfully. * * \version 4.0 + * \deprecated Deprecated since 6.5. * * \param session <em>TeecSession</em> object * @@ -656,6 +696,7 @@ module LibTeec { /** * \brief The success callback to be invoked when command performed on TA is finished. * \version 4.0 + * \deprecated Deprecated since 6.5. */ [Callback=FunctionOnly, NoInterfaceObject] interface TeecCommandSuccessCallback { @@ -663,6 +704,7 @@ module LibTeec { * \brief Called when the command is done successfully. * * \version 4.0 + * \deprecated Deprecated since 6.5. * * \param params array of <em>TeecParam</em> objects * |