title: Where to find info on Android's "service call" shell command?
body: <p>Using <code>adb shell</code> or a terminal emulator on the device, entering this will clear all notifications (requires <code>su</code>)</p>
  
  <pre><code>service call notification 1
  </code></pre>
  
  <p>This will send an sms (doesn't require <code>su</code>)</p>
  
  <pre><code>service call isms 5 s16 "PhoneNumber" i32 0 i32 0 s16 "BodyText"
  </code></pre>
  
  <p>Where can I learn more about <code>service call</code>? I've found <a href="https://stackoverflow.com/questions/17719898/service-call-isms-with-adb-shell-android-sdk">this question</a> and appreciate the answer's breakdown as to what everything means. But where can I find info on what method <code>notification 2</code> might be trying to call?</p>
  
  <p>Running <code>service call</code> was incomplete and printed this usage:</p>
  
  <pre><code>Usage: service [-h|-?]
         service list
         service check SERVICE
         service call SERVICE CODE [i32 INT | s16 STR] ...
  Options:
     i32: Write the integer INT into the send parcel.
     s16: Write the UTF-16 string STR into the send parcel.
  </code></pre>
  
  <p>I ran <code>service list</code> and it came back with 78 services for my device including <code>isms</code> and <code>notification</code> and for most services will print what seems to be a namespace (<code>com.android.internal.telephony.ISms</code> for <code>isms</code> and <code>android.app.INotificationManager</code> for <code>notification</code>). How can I use this information to find out what I can do with each of these services?</p>