DPC Test is a sample device policy controller for use with Android for development and testing. It gives developers the ability to see how their app will behave in a managed context like the device owner or within a management profile. Users can configure a work profile, enable work applications, set application restrictions, manage security policies, and much more. The application also serves as an implementation reference for other DPCs. Feel free to check the source code at https://github.com/googlesamples/android-testdpc/.
DPC Test is also used as a Google FRP account unlocking tool.