include: Fix @since_tizen for unified profile 00/302400/2 accepted/tizen_unified accepted/tizen_unified_riscv accepted/tizen/unified/20231207.171709 accepted/tizen/unified/riscv/20231211.234039
authorYoungjae Cho <y0.cho@samsung.com>
Wed, 6 Dec 2023 06:54:46 +0000 (15:54 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Wed, 6 Dec 2023 06:59:55 +0000 (15:59 +0900)
Change-Id: Ifec014e34b93e5e6dc2a01d0a49453a87317bce6
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
include/runtime_info.h

index 7bfdd3e..88aaaeb 100644 (file)
@@ -33,7 +33,7 @@ extern "C"
 
 /**
  * @brief        Enumeration for error codes for runtime information.
- * @since_tizen  @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen  2.3
  */
 typedef enum {
        RUNTIME_INFO_ERROR_NONE = TIZEN_ERROR_NONE,                           /**< Successful */
@@ -49,7 +49,7 @@ typedef enum {
 
 /**
  * @brief        Enumeration for keys for runtime information.
- * @since_tizen  @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen  2.3
  * @remarks      ~10000 : public key \n
  *               10001~ : product specific key
  */
@@ -74,7 +74,7 @@ typedef enum {
 
 /**
  * @brief        Enumeration for Wi-Fi status.
- * @since_tizen  @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen  2.3
  */
 typedef enum {
        RUNTIME_INFO_WIFI_STATUS_DISABLED,    /**< Wi-Fi is disabled. */
@@ -85,7 +85,7 @@ typedef enum {
 
 /**
  * @brief        Enumeration for GPS status.
- * @since_tizen  @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen  2.3
  */
 typedef enum {
        RUNTIME_INFO_GPS_STATUS_DISABLED,  /**< GPS is disabled. */
@@ -95,7 +95,7 @@ typedef enum {
 
 /**
  * @brief        Enumeration for audio jack status.
- * @since_tizen  @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen  2.3
  */
 typedef enum {
        RUNTIME_INFO_AUDIO_JACK_STATUS_UNCONNECTED,     /**< Audio jack is not connected */
@@ -106,7 +106,7 @@ typedef enum {
 
 /**
  * @brief        Called when the runtime information changes.
- * @since_tizen  @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen  2.3
  *
  * @param[in] key        The type of notification
  * @param[in] user_data  The user data passed from the callback registration function
@@ -121,7 +121,7 @@ typedef void (*runtime_info_changed_cb)(runtime_info_key_e key, void *user_data)
 /**
  * @brief        Gets the integer value of the runtime information.
  * @details      This function gets current state of the given key which represents specific runtime information.
- * @since_tizen  @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen  2.3
  *
  * @param[in]  key    The runtime information status key from which data should be read
  * @param[out] value  The current value of the given key
@@ -140,7 +140,7 @@ int runtime_info_get_value_int(runtime_info_key_e key, int *value);
 /**
  * @brief        Gets the boolean value from the runtime information.
  * @details      This function gets current state of the given key which represents specific runtime information.
- * @since_tizen  @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen  2.3
  *
  * @param[in]  key    The runtime information key from which data should be read
  * @param[out] value  The current value of the given key
@@ -159,7 +159,7 @@ int runtime_info_get_value_bool(runtime_info_key_e key, bool *value);
 /**
  * @brief        Gets the double value from the runtime information.
  * @details      This function gets current state of the given key which represents specific runtime information.
- * @since_tizen  @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen  2.3
  *
  * @param[in]  key    The runtime information key from which data should be read
  * @param[out] value  The current value of the given key
@@ -178,7 +178,7 @@ int runtime_info_get_value_double(runtime_info_key_e key, double *value);
 /**
  * @brief        Gets the string value for specified runtime information.
  * @details      This function gets current state of the given key which represents specific runtime information.
- * @since_tizen  @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen  2.3
  *
  * @remarks  You must release @a value using free().
  *
@@ -199,7 +199,7 @@ int runtime_info_get_value_string(runtime_info_key_e key, char **value);
 
 /**
  * @brief        Registers a change event callback for given runtime information key.
- * @since_tizen  @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen  2.3
  *
  * @param[in] key        The runtime information type
  * @param[in] callback   The callback function to invoke
@@ -221,7 +221,7 @@ int runtime_info_set_changed_cb(runtime_info_key_e key, runtime_info_changed_cb
 
 /**
  * @brief        Unregisters the callback function.
- * @since_tizen  @if WEARABLE 2.3.1 @else 2.3 @endif
+ * @since_tizen  2.3
  *
  * @param[in] key  The runtime information type
  *
@@ -237,7 +237,7 @@ int runtime_info_unset_changed_cb(runtime_info_key_e key);
 
 /**
  * @brief        Structure for memory information.
- * @since_tizen  @if WEARABLE 3.0 @else 2.4 @endif
+ * @since_tizen  2.4
  */
 typedef struct {
        int total; /**< Total memory (KiB) */
@@ -250,7 +250,7 @@ typedef struct {
 
 /**
  * @brief        Gets system memory information.
- * @since_tizen  @if WEARABLE 3.0 @else 2.4 @endif
+ * @since_tizen  2.4
  *
  * @param[out] info  The system memory information structure
  *
@@ -267,7 +267,7 @@ int runtime_info_get_system_memory_info(runtime_memory_info_s *info);
 
 /**
  * @brief        Structure for memory information per process.
- * @since_tizen  @if WEARABLE 3.0 @else 2.4 @endif
+ * @since_tizen  2.4
  */
 typedef struct {
        int vsz;           /**< Virtual memory size (KiB) */
@@ -282,7 +282,7 @@ typedef struct {
 
 /**
  * @brief        Gets memory information per process.
- * @since_tizen  @if WEARABLE 3.0 @else 2.4 @endif
+ * @since_tizen  2.4
  *
  * @privlevel  public
  * @privilege  %http://tizen.org/privilege/systemmonitor
@@ -309,7 +309,7 @@ int runtime_info_get_process_memory_info(int *pid, int size, process_memory_info
 
 /**
  * @brief        Structure for CPU usage.
- * @since_tizen  @if WEARABLE 3.0 @else 2.4 @endif
+ * @since_tizen  2.4
  */
 typedef struct {
        double user;   /**< Time running un-niced user processes (Percent) */
@@ -321,7 +321,7 @@ typedef struct {
 
 /**
  * @brief        Gets CPU information.
- * @since_tizen  @if WEARABLE 3.0 @else 2.4 @endif
+ * @since_tizen  2.4
  *
  * @param[out] usage  The CPU usage structure
  *
@@ -338,7 +338,7 @@ int runtime_info_get_cpu_usage(runtime_cpu_usage_s *usage);
 
 /**
  * @brief        Structure for CPU usage per process.
- * @since_tizen  @if WEARABLE 3.0 @else 2.4 @endif
+ * @since_tizen  2.4
  */
 typedef struct {
        int utime; /**< Amount of time that this process has been scheduled in user mode (clock ticks) */
@@ -348,7 +348,7 @@ typedef struct {
 
 /**
  * @brief        Gets CPU usage per process.
- * @since_tizen  @if WEARABLE 3.0 @else 2.4 @endif
+ * @since_tizen  2.4
  *
  * @privlevel  public
  * @privilege  %http://tizen.org/privilege/systemmonitor