Test DPC
Libraries & Demo · Google LLC
Test DPC screenshots
Test DPC is a sample device policy controller published by Google LLC, listed in the Libraries & Demo category and free to install. It exists so that developers can see how their own app behaves when Android runs it inside a managed context, whether that means a device owner arrangement or a managed profile. If your work involves Android Enterprise in any form, that is the reason to take an interest.
The app has been on the Play Store since October 2015 and has passed half a million installs, with a 4.1 average from 1,761 ratings. Those numbers are unusual for a tool that most people will never need, which says something about how widely it gets reached for by people building and checking managed Android setups.
What appeals to me here is the honesty of the framing. The developer is explicit that this is a development tool, not something to run in production, and that it should never be pointed at real data. I would take that seriously: this is a sandbox for learning how policies land, not a management console for a business.
Seeing your app through a managed lens
The core idea is straightforward. Test DPC acts as a device policy controller, the component that tells Android how a device or profile should be governed, so you can watch how a given app responds when those rules are in force. The developer's stated aim is to let you observe behavior in a managed context, either as device owner or inside a managed profile.
That is a different exercise from ordinary testing on an unmanaged handset. Code paths that only appear when an app is running under a policy controller are hard to reach otherwise, and this app is designed to put you in that position deliberately. I would expect it to be most useful to someone who has written an app and wants to confirm it copes with the restrictions a managed environment imposes.
The project also doubles as a reference implementation for other device policy controllers. If you are building your own DPC rather than testing against one, the app is offered as a model of how the pieces fit together, and the source is published on GitHub under googlesamples/android-testdpc for anyone who wants to read it.
Work profiles, restrictions and policies
Beyond that central purpose, the app covers a spread of the tasks you would associate with managed Android. You can create a work profile, switch on work apps, apply application restrictions and manage security policies, and the developer describes the list as extending well past those examples.
A work profile is the separated space Android uses to keep work content apart from personal content, and being able to stand one up on demand is what makes the rest of the testing possible. Enabling work apps and setting restrictions then lets you see how those choices change what an app is allowed to do.
The security policy side is where a lot of the practical value sits, because policy decisions are exactly what an app has to respect in a managed deployment. Having them all reachable from one sample controller means you can move between configurations without assembling your own tooling first.
Recent updates have kept the app current rather than frozen. The target SDK now sits at 35, the layout has been adjusted for edge-to-edge screens, and a problem that stopped work profile setup from completing has been fixed. There are also new shell commands for disabling screen capture and for adding or clearing a persistent preferred activity, and transferOwnership has been removed from release builds.
What it asks of you
The requirements here are mostly about intent rather than money. Test DPC is free, so nothing stands between you and trying it. What it does demand is a working understanding of Android Enterprise concepts, since the features on offer assume you already know why a managed profile or an application restriction matters.
The developer's warning is the other condition, and it is not a formality. This is a development-purpose app that is not meant for production use, and it should not be used with real data. Treat any device you install it on as a test device, and keep genuine work accounts and real user information away from it.
There is also a practical cost in time. Setting up profiles, applying restrictions and checking how an app responds is a deliberate process, and the app is a means to that end rather than something that produces a result on its own. I would expect the people who get value from it to be the ones with a specific behavior they want to verify.
Getting useful results from a sample controller
The sensible approach is to start from a question. Decide which managed condition you care about, set that up in the app, and then run the app you are actually testing against it. Working that way keeps the exercise bounded and makes it easier to tell which policy produced which change in behavior.
Because the app is presented as a reference implementation as well as a testing tool, it rewards reading as much as clicking. If you are writing your own device policy controller, comparing your approach with a published sample is a reasonable way to check your assumptions before you commit to them.
It is worth remembering what kind of software this is. A sample controller is there to demonstrate and to probe, and its value comes from being pointed at throwaway setups. Keeping that boundary clear is what makes it safe to use.
A development tool that knows what it is
Test DPC does one job and does it without pretending to be anything grander. It gives developers a way to put their app into a managed Android context, explore work profiles, restrictions and security policies, and see what happens next. The half million installs and 4.1 rating suggest that a lot of people in that position have found it worth having.
It suits Android developers and testers who need to check managed behavior, and anyone building a device policy controller who wants a published sample to study. It is free, which removes the usual reason to hesitate.
It is meant for development use only, not for production, and never with real data. If you work with Android Enterprise and can keep it on a test device, this is a straightforward thing to install and keep around.
The short verdict
A free, focused sample controller for developers who need to see how apps behave under Android Enterprise management.
What's new in version 9.0.16
Bug fixes. TargetSDK is now 35. Edge-to-edge layout improvements. Fixed issue preventing Work Profile setup from completing successfully. transferOwnership will no longer be available in release builds. Shell commands added: * set-screencapture-disabled * add-persistent-preferred-activity ... * clear-persistent-preferred-activity ...
App specs
- Version9.0.16
- UpdatedMarch 26, 2026
- Downloads500K+
- RequiresAndroid 6.0+
- PriceFree
- Age ratingEveryone
Test DPC: frequently asked questions
What is Test DPC used for?
It is a sample device policy controller for Android Enterprise, built so developers can observe how their app behaves when a device is managed, whether as device owner or through a managed profile. It also serves as an implementation reference for people writing their own DPC. The developer is clear that it is for development purposes rather than production.
Can I use Test DPC on my everyday phone with real accounts?
The developer advises against it. The app is described as being for development purposes only, not intended for production usage, and it should never be used with real data. Keep it on a device you are using for testing rather than one carrying genuine work or personal information.
What can I configure inside Test DPC?
You can create a work profile, switch on work apps, apply application restrictions and manage security policies, among other things. Those capabilities exist so you can reproduce the conditions an app would meet in a managed deployment. The developer presents the list as extending beyond those examples.
Does Test DPC cost anything?
No. The app is free to install. What it asks for instead is some familiarity with Android Enterprise concepts and a willingness to work through profile and policy setup.
What changed in the most recent update?
The update brings bug fixes, moves the target SDK to 35 and improves the layout for edge-to-edge screens. It also fixes an issue that was preventing work profile setup from completing, and removes transferOwnership from release builds. New shell commands were added for disabling screen capture and for adding or clearing a persistent preferred activity.
Pros
- Free
- Tests apps under device owner and managed profile
- Covers work profiles, restrictions and security policies
- Doubles as a reference for other DPCs
- Source code published on GitHub
Cons
- Intended for development purposes only
- Not meant for production use
- Should never be used with real data
- Requires familiarity with Android Enterprise