1# Managed Provisioning 2 3Bundled app responsible for provisioning an enterprise device 4 5## Flows 6 7### QR 8 9```json 10{ 11 "android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME": "com.afwsamples.testdpc/com.afwsamples.testdpc.DeviceAdminReceiver", 12 "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION": "https://testdpc-latest-apk.appspot.com/preview", 13 "android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM": "gJD2YwtOiWJHkSMkkIfLRlj-quNqG1fb6v100QmzM9w=" 14} 15``` 16 17![Code](https://chart.googleapis.com/chart?chs=420x420&cht=qr&chl=%7B%27android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME%27%3A+%27com.afwsamples.testdpc%2Fcom.afwsamples.testdpc.DeviceAdminReceiver%27%2C+%27android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION%27%3A+%27https%3A%2F%2Ftestdpc-latest-apk.appspot.com%2Fpreview%27%2C+%27android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM%27%3A+%27gJD2YwtOiWJHkSMkkIfLRlj-quNqG1fb6v100QmzM9w%3D%27%7D&choe=UTF-8) 18 19## AS Setup 20 21```bash 22aidegen -n -i=s -p=/opt/android-studio-with-blaze-canary \ 23 packages/apps/ManagedProvisioning \ 24 frameworks/base \ 25 cts \ 26 vendor/xts \ 27 packages/apps/Settings \ 28 vendor/unbundled_google/packages/SettingsGoogle \ 29 external/connectedappssdk \ 30 packages/services/Car/packages/CarManagedProvisioning \ 31 vendor/google/apps/SetupWizardOverlay/PixelSetupWizard 32``` 33 34## References 35 36- [Local Development - Flagging for Trunk Stable Development](http://go/trunk-stable-flags-local-development) 37