Sepolicy for StatsBootstrapAtomService

This is the selinux changes required to create
StatsBootstrapAtomService, a lightweight proxy service in system server
to allow processes in the bootstrap namespace to log atoms to statsd.

Test: statsbootstrap is successfully published
Bug: 204889815
Change-Id: I5e44f7a65b98b8eebd8da6d35ae6094ce5e177f2
diff --git a/private/service.te b/private/service.te
index 2ab6335..d192f12 100644
--- a/private/service.te
+++ b/private/service.te
@@ -7,6 +7,7 @@
 type profcollectd_service,          service_manager_type;
 type resolver_service,              system_server_service, service_manager_type;
 type stats_service,                 service_manager_type;
+type statsbootstrap_service,        system_server_service, service_manager_type;
 type statscompanion_service,        system_server_service, service_manager_type;
 type statsmanager_service,          system_api_service, system_server_service, service_manager_type;
 type tracingproxy_service,          system_server_service, service_manager_type;
diff --git a/private/service_contexts b/private/service_contexts
index 82660d7..c96ee82 100644
--- a/private/service_contexts
+++ b/private/service_contexts
@@ -262,6 +262,7 @@
 smartspace                                u:object_r:smartspace_service:s0
 speech_recognition                        u:object_r:speech_recognition_service:s0
 stats                                     u:object_r:stats_service:s0
+statsbootstrap                            u:object_r:statsbootstrap_service:s0
 statscompanion                            u:object_r:statscompanion_service:s0
 statsmanager                              u:object_r:statsmanager_service:s0
 soundtrigger                              u:object_r:voiceinteraction_service:s0