aem_app_id.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. #ifndef _AEM_APP_ID_H_
  2. #define _AEM_APP_ID_H_
  3. #include <stdint.h>
  4. #include <stdbool.h>
  5. #include "string.h"
  6. typedef enum
  7. {
  8. AEM_APP_ID_BEGIN,
  9. // show in applist
  10. AEM_APP_ID_LAUNCH,
  11. AEM_APP_ID_SETTINGS,
  12. AEM_APP_ID_WORKOUT,
  13. AEM_APP_ID_WORKOUT_RECORD,
  14. AEM_APP_ID_ACTIVITY,
  15. AEM_APP_ID_IN_OUT_POWER,
  16. AEM_APP_ID_PROFILE_PHOTO,
  17. AEM_APP_ID_PHONE,
  18. AEM_APP_ID_HEART_RATE,
  19. AEM_APP_ID_SPO2,
  20. AEM_APP_ID_BREATHE,
  21. AEM_APP_ID_FEMALE_HEALTH,
  22. AEM_APP_ID_ALARM,
  23. AEM_APP_ID_TIMER,
  24. AEM_APP_ID_STOPWATCH,
  25. AEM_APP_ID_WEATHER,
  26. AEM_APP_ID_SLEEP,
  27. AEM_APP_ID_STRESS,
  28. AEM_APP_ID_SHUTTER,
  29. AEM_APP_ID_MUSIC,
  30. AEM_APP_ID_CALENDAR,
  31. AEM_APP_ID_FIND_PHONE,
  32. AEM_APP_ID_CALCULATOR,
  33. AEM_APP_ID_FLASHLIGHT,
  34. AEM_APP_ID_COMPASS,
  35. AEM_APP_ID_BAROMETER,
  36. AEM_APP_ID_SIRI,
  37. AEM_APP_ID_ALIPAY,
  38. AEM_APP_ID_WXPAY,
  39. AEM_APP_ID_RECORDER,
  40. /*
  41. User defined
  42. */
  43. // AEM_APP_ID_CUSTOM_TEST,
  44. // don't show in applist
  45. AEM_APP_ID_MAX,
  46. AEM_APP_ID_APP_LIST = 200,
  47. AEM_APP_ID_TEST,
  48. AEM_APP_ID_WIDGET_TEST,
  49. AEM_APP_ID_CLOCK_TEST,
  50. AEM_APP_ID_OTA,
  51. AEM_APP_ID_POWER_SAVING,
  52. AEM_APP_ID_BOOT_BINDING,
  53. AEM_APP_ID_AOD_WATCHFACE,
  54. AEM_APP_ID_POP_WINDOW,
  55. AEM_APP_ID_POWER_ON,
  56. AEM_APP_ID_POWER_OFF,
  57. AEM_APP_ID_MINI_CHARGER,
  58. AEM_APP_ID_FACTORY,
  59. AEM_APP_ID_END,
  60. } aem_app_id_e;
  61. #define AEM_APP_LAUNCH "launch"
  62. #define AEM_APP_APPLIST "app_list"
  63. #define AEM_APP_SETTINGS "settings"
  64. #define AEM_APP_ACTIVITY "activity"
  65. #define AEM_APP_WORKOUT "workout"
  66. #define AEM_APP_WORKOUT_RECORD "workout_record"
  67. #define AEM_APP_IN_OUT_POWER "in_out_power"
  68. #define AEM_APP_PROFILE_PHOTO "profile_photo"
  69. #define AEM_APP_HEARTRATE "heartrate"
  70. #define AEM_APP_SPO2 "spo2"
  71. #define AEM_APP_FEMALE_HEALTH "female_health"
  72. #define AEM_APP_OTA "ota"
  73. #define AEM_APP_STRESS "stress"
  74. #define AEM_APP_STOPWATCH "stopwatch"
  75. #define AEM_APP_POWER_SAVING "power_saving"
  76. #define AEM_APP_BREATHE "breathe"
  77. #define AEM_APP_SLEEP "sleep"
  78. #define AEM_APP_ALARM "alarm"
  79. #define AEM_APP_TIMER "timer"
  80. #define AEM_APP_BAROMETER "barometer"
  81. #define AEM_APP_BOOT_BINDING "boot_binding"
  82. #define AEM_APP_CUSTOM_TEST "custom_test"
  83. #define AEM_APP_POP_WINDOW "pop_window"
  84. #define AEM_APP_AOD_WATCHFACE "aod_watchface"
  85. #define AEM_APP_MINI_CHARGER "mini_charger"
  86. #define IS_AEM_APPID_VALID(a) ((AEM_APP_ID_BEGIN < (a)) && ((a) < AEM_APP_ID_END))
  87. #endif