User Activity

I am building a AOSP-project where we have a APK, we would like to be device-owner on the build. Where in the AOSP-project do we set a specific APK as device-owner? Thanks!
About