I am not running this on an emulator, but an actual Android Device (Google Pixel 3).
If I issue this command: am broadcast -a android.intent.action.BOOT_COMPLETED
I get the output :
> Broadcasting: Intent { act=android.intent.action.BOOT_COMPLETED
> flg=0x400000 } Broadcast completed: result=0
I was expecting the device to reboot. Does this mean that the broadcast isn't working?