title: ADB shell: How do I get a list of BroadcastReceivers that will receive BOOT_COMPLETED Intent?
body: <p>I am currently debugging an application that should auto-start after the device boots. To this end I have created a <code>BroadcastReceiver</code> and added it to my <code>AndroidManifest.xml</code>:</p>
  
  <pre><code>&lt;receiver android:name=".receiver.StartupBroadcastReceiver"&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="android.intent.action.BOOT_COMPLETED" /&gt;
      &lt;/intent-filter&gt;
  &lt;/receiver&gt;
  </code></pre>
  
  <p>This works all of the time on most devices. On one device however (an MXQ Pro set-top box) it only works most of the time. So far, I have not been able to find any patterns in when it works and when it does not.</p>
  
  <p><strong>So, I would like to find out which BroadcastReceivers are actually, currently registered with the system to receive the BOOT_COMPLETED Intent.</strong></p>
  
  <p>I played around a bit with</p>
  
  <ul>
  <li><code>pm</code>: but this only tells me which packages <em>would like to</em> receive the Intent</li>
  <li><code>dumpsys</code>: but its output is overwhelming and I don't know what to look for</li>
  </ul>
  
  <p>Thanks for any advice!</p>