Test DPC

Test DPC

com.afwsamples.testdpc by Google LLC
4.2 (1,396)
500K+
LIBRARIES_AND_DEMO
10.5 MB
Updated May 19, 2025
View on Google Play

Screenshots

Screenshot Screenshot Screenshot Screenshot Screenshot
Ad slot: Top Leaderboard

About this app

Please note that this app is for development purposes only. It is NOT intended for production usages. The app should never be used with real data.

Test DPC is a sample device policy controller for use with Android Enterprise. It gives developers the ability to see how their app will behave in a managed context such as device owner or within a managed profile. Users can set up a work profile, enable work apps, set applications restrictions, manage security polices, and much more. The app also serves as a implementation reference for other DPCs. Feel free to check out the source code at https://github.com/googlesamples/android-testdpc/.

#testdpc #androidenterprise

What's New

Bug fixes.
TargetSDK is now 35.
Edge-to-edge layout improvements.
Shell commands added:
* set-screencapture-disabled
* add-persistent-preferred-activity ...
* clear-persistent-preferred-activity ...

App Information

Version Name
9.0.9
Version Code
9009
File Size
10.5 MB
Minimum OS
Android 5.0+
Target SDK
Android 34
Developer
Google LLC
Contact
Website
Content Rating
Everyone
Package Name
com.afwsamples.testdpc

Permissions Required

This app may request the following permissions:

  • find accounts on the device
  • add or remove accounts
  • approximate location (network-based)
  • precise location (GPS and network-based)
  • read the contents of your USB storage
  • modify or delete the contents of your USB storage
  • view Wi-Fi connections
  • view network connections
  • connect and disconnect from Wi-Fi
  • full network access
  • run at startup
  • update component usage statistics

Recent Reviews

Sparsh Doshi
3.0★
the test dpc app is very good but the app crashes when it is not provided with the notifications permition and it does not open if it is set as the profile owner of user 0 on a device with a work profile on company owned device
A Google user
5.0★
this is the best I've ever had I had lease 4 phones locked up on Google and I download this app and it unlocked it thanks to this wonderful person for making this app I wish that were raped respect my phone and let me download it and make a simple account but every time I log in to it it says it's not made for my kind of phone
Manuela Lanner
5.0★
Works perfect for testing mdm Android restrictions, thank you 😀 One improvement which would be nice: When setting managed configuration restrictions it would be lovely to see the currently set value in the overview list. Then you would not have to click edit first on each option to check the values :)
Alvin Klaiz
1.0★
why is that some apps are restricted from data access 😔
Madhu sudan P
1.0★
Why this app unable to set up with Microsoft account related work profile in Android 12, but able to do with Google account. It should need fix in all user account.
Tristan McClain
3.0★
I have a question for anyone who can help. My phone was locked on Google's frp it's only on Android 6 and I used this app to unlock it now I can't update phone. It says I don't have the update package on root directory. But it also says my phone is not rooted?
Ad slot: In-Content