Clone this repo:
  1. 806396a Removing Dead Flag Test: CI Bug: 386652866 by Rex Hoffman · 3 weeks ago main master
  2. b062256 Merge 24Q4 into AOSP main by Xin Li · 6 weeks ago
  3. e8b4182 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: f2eb86c1c8 -s ours by Bill Yi · 8 weeks ago tmp_24Q4_merged
  4. 43917d5 Import translations. DO NOT MERGE ANYWHERE by Bill Yi · 8 weeks ago
  5. f2eb86c Import translations. DO NOT MERGE ANYWHERE by Bill Yi · 8 weeks ago

Managed Provisioning

Bundled app responsible for provisioning an enterprise device

Flows

QR

{
  "android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME": "com.afwsamples.testdpc/com.afwsamples.testdpc.DeviceAdminReceiver",
  "android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION": "https://testdpc-latest-apk.appspot.com/preview",
  "android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM": "gJD2YwtOiWJHkSMkkIfLRlj-quNqG1fb6v100QmzM9w="
}

AS Setup

aidegen -n -i=s -p=/opt/android-studio-with-blaze-canary \
    packages/apps/ManagedProvisioning \
    frameworks/base \
    cts \
    vendor/xts \
    packages/apps/Settings \
    vendor/unbundled_google/packages/SettingsGoogle \
    external/connectedappssdk \
    packages/services/Car/packages/CarManagedProvisioning \
    vendor/google/apps/SetupWizardOverlay/PixelSetupWizard

References