The Android for Work Test DPC app is designed specifically to help EMMs, ISVs, and OEMs test their apps and platforms.
The app is only intended for development purposes. It is not intended for production use. It is not recommended to use the app with real data.
A sample device policy controller for Android for Work is Test DPC. A managed context, such as a device owner or managed profile, allows developers to see how their app will behave. In addition to setting up a work profile, enabling work apps, restricting applications, and managing security policies, users can also set up a work profile. In addition, the app serves as a reference for other DPC implementations. The source code can be found here.