title: Find out whether the device is full disk encrypted and what encryption was used?
body: <p>Since Android 3.0 full disk encryption is supported, but I can't see any API to that ability. The two specific things I need to know are:</p>
  
  <ol>
  <li>Whether the device is encrypted?</li>
  <li>What encryption is used.</li>
  </ol>
  
  <p>I found a low level explanation of the <a href="http://source.android.com/tech/encryption/android_crypto_implementation.html" rel="noreferrer">process here</a> and it seems to suggest the encryption used is 128 AES with CBC and ESSIV:SHA256, but it does not talk about a way to find whether the device is encrypted.</p>
  
  <p>So, is there a way my app can query whether the device is using the full disk encryption feature, or do I need to resort to hacky solutions like Runtime.exec calls?</p>