API Code Search - sikuli/sieveable GitHub Wiki

#API Code Search Seieveable allows searching by API methods usage. For example, you can search for apps that declare or call a particular API method by providing the method name and its fully qualified class name.

Syntax:

<code class="CLASS_NAME" method ="METHOD_NAME" />

Sieveable API Code Query Examples:

  • Search for apps that use an API call.
MATCH app
WHERE
<code class="android.hardware.Camera" method="takePicture"/>
RETURN app
  • Search for apps that use multiple API calls.
MATCH app
WHERE
<code class="android.hardware.Camera" method="takePicture"/>
<code class="android.hardware.Camera" method="startPreview"/>
RETURN app