Test DPC cover image
Test DPC icon

Test DPC

Test DPC is a sample device policy controller for use with Android Enterprise.

Sample developer · com.afwsamples.testdpc

5.0 · 1 500,000 500,000 v9.0.16 13.4 MB SDK 23+ PEGI-3 · Everyone

Test DPC screenshot 1 Test DPC screenshot 2 Test DPC screenshot 3 Test DPC screenshot 4 Test DPC screenshot 5
UpdatedMar 27, 2026
PublishedDec 14, 2021
Packagecom.afwsamples.testdpc
MD53b639d620295d7a04c90f1b4af96e588
SHA1 (signer)94:76:41:2B:9E:9D:0F:BC:FB:68:F8:2D:9A:17:C5:A4:85:9F:70:C6
Signed byCN=testdpc, OU=Android, O=Google Inc., L=Mountain View, ST=California, C=US
Malware scanTRUSTED
Websitehttps://github.com/googlesamples/android-testdpc/
Contact[email protected]
Privacy policyView

What's new

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 ...

Description

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

Required features

Permissions (44)

Test DPC requests the following Android permissions:

Tags

Related apps