AOSP Enterprise Device Owner Provisioning

Skip to first unread message

Phill Burton

Apr 30, 2021, 11:12:47 AM4/30/21
to android-platform
Hi all,

I'm investigating the necessary code for an AOSP device to trigger Device Owner Provisioning as part of an Out-Of-Box experience with Android Enterprise. As the device vendor, I have complete control of the start-up wizard, but sadly the device itself does not have NFC capabilities but QR code, SD card and even bluetooth are all available options. If I made the device wait for a payload, how would I trigger the Device Owner Provisioning with that payload? The device is designed to be corporate owned & managed, and will be locked down to a single app in kiosk mode.

There's a code snippet in 'Setup Requirements' in the AOSP Enterprise docs, but it doesn't look like the whole soultion: (just a check to make sure it's not already in progress):

The samples at show how an app on another device could beam an NFC payload over (NFC is not an option) but does not show how the AOSP device itself would:
- be put into a mode to wait for the payload
- receive the payload
- trigger the Device Ownership Provisioning with that payload
I already have an app that will take the role of Device Owner, and I could even have it preinstalled, but I'm lost as to which AOSP API I need to call to start the process.

Any help would be greatly appreciated.


May 3, 2021, 10:23:53 AM5/3/21
Hi Phill,
Our project which is Android 10 implemented it.
Just a few config need for AER. Please show me detail your code change and your device config. Maybe we can help you a little.
Wing Wei

You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Reply all
Reply to author
0 new messages