thank you for your answer. i'm very new into these sepolicy/selinux topics, so sry for following possibly dumb questions.
the background of my question is: following these tutorial
https://devarea.com/android-hidl-and-project-treble/#.Xs49WRaxU5n I introduced an own hal interface. let's assume it is called xyz.
following the pattern of all other hal interfaces, every hal interface do have a .te file. like hal_vehicle.te, hal_power.te, ..
now i assume to get my xyz hal service running and recognized, i do have to add its own .te file.
i tried to copy paste the hal_vehicle.te content into hal_xyz.te (with: hal_xyz_server, hal_xyz_client), for hoping that would do it.
but while compile aosp, i get an error telling me it doesnt know hal_xyz_client and hal_xyz_server.
so, where do I start to let him know/introduce my own hal_xyz_client (label) and hal_xyz_server.
again, sry if my assumptions are dumb. I don't have any direction yet, to understand it.