summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/seemp_api.h2
-rw-r--r--include/uapi/linux/seemp_param_id.h17
2 files changed, 18 insertions, 1 deletions
diff --git a/include/uapi/linux/seemp_api.h b/include/uapi/linux/seemp_api.h
index 38ed8e3fba12..f59545cf605d 100644
--- a/include/uapi/linux/seemp_api.h
+++ b/include/uapi/linux/seemp_api.h
@@ -414,5 +414,7 @@
#define SEEMP_API_Instrumentation__execStartActivityFromAppTask 410
#define SEEMP_API_ah_SystemSensorManager__registerListenerImpl 411
#define SEEMP_API_ah_SystemSensorManager__unregisterListenerImpl 412
+#define SEEMP_API_WindowManagerImpl__addView 413
+#define SEEMP_API_WindowManagerImpl__updateViewLayout 414
#endif /* _SEEMP_API_H_ */
diff --git a/include/uapi/linux/seemp_param_id.h b/include/uapi/linux/seemp_param_id.h
index d4f1894dadd1..cc7b9bfd74cd 100644
--- a/include/uapi/linux/seemp_param_id.h
+++ b/include/uapi/linux/seemp_param_id.h
@@ -9,7 +9,10 @@
#define PARAM_ID_SENSOR 5
#define PARAM_ID_SIZE 6
#define PARAM_ID_FD 7
-#define NUM_PARAM_IDS 8
+#define PARAM_ID_APP_UID 8
+#define PARAM_ID_WINDOW_TYPE 9
+#define PARAM_ID_WINDOW_FLAG 10
+#define NUM_PARAM_IDS 11
#ifndef PROVIDE_PARAM_ID
int param_id_index(const char *param, const char *end);
@@ -36,6 +39,12 @@ int param_id_index(const char *param, const char *end)
id = 6;
else if ((len == 2) && !memcmp(param, "fd", 2))
id = 7;
+ else if ((len == 2) && !memcmp(param, "app_uid", 7))
+ id = 8;
+ else if ((len == 2) && !memcmp(param, "window_type", 11))
+ id = 9;
+ else if ((len == 2) && !memcmp(param, "window_flag", 11))
+ id = 10;
return id;
}
@@ -61,6 +70,12 @@ const char *get_param_id_name(int id)
name = "size"; break;
case 7:
name = "fd"; break;
+ case 8:
+ name = "app_uid"; break;
+ case 9:
+ name = "window_type"; break;
+ case 10:
+ name = "window_flag"; break;
}
return name;