AOSP Enterprise Device Owner Provisioning

728 views
Skip to first unread message

Phill Burton

unread,
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): https://source.android.com/devices/tech/admin/implement#setup_wizard

The samples at https://github.com/android/enterprise-samples 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.
Thanks

魏翔

unread,
May 3, 2021, 10:23:53 AM5/3/21
to android-...@googlegroups.com
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.
BR
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 android-platfo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/b828b08f-ff31-4edd-97d7-159da0bb18cdn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages