1 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3 <html><head><title>Python: module telemetry.android.android_story</title> 4 <meta charset="utf-8"> 5 </head><body bgcolor="#f0f0f8"> 6 7 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> 8 <tr bgcolor="#7799ee"> 9 <td valign=bottom> <br> 10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.android.html"><font color="#ffffff">android</font></a>.android_story</strong></big></big></font></td 11 ><td align=right valign=bottom 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/android/android_story.py">telemetry/android/android_story.py</a></font></td></tr></table> 13 <p><tt># Copyright 2014 The Chromium Authors. All rights reserved.<br> 14 # Use of this source code is governed by a BSD-style license that can be<br> 15 # found in the LICENSE file.</tt></p> 16 <p> 17 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 18 <tr bgcolor="#aa55cc"> 19 <td colspan=3 valign=bottom> <br> 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 21 22 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> 23 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="telemetry.android.shared_android_state.html">telemetry.android.shared_android_state</a><br> 24 </td><td width="25%" valign=top><a href="telemetry.story.html">telemetry.story</a><br> 25 </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> 26 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 27 <tr bgcolor="#ee77aa"> 28 <td colspan=3 valign=bottom> <br> 29 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 30 31 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 32 <td width="100%"><dl> 33 <dt><font face="helvetica, arial"><a href="telemetry.story.story.html#Story">telemetry.story.story.Story</a>(<a href="__builtin__.html#object">__builtin__.object</a>) 34 </font></dt><dd> 35 <dl> 36 <dt><font face="helvetica, arial"><a href="telemetry.android.android_story.html#AndroidStory">AndroidStory</a> 37 </font></dt></dl> 38 </dd> 39 </dl> 40 <p> 41 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 42 <tr bgcolor="#ffc8d8"> 43 <td colspan=3 valign=bottom> <br> 44 <font color="#000000" face="helvetica, arial"><a name="AndroidStory">class <strong>AndroidStory</strong></a>(<a href="telemetry.story.story.html#Story">telemetry.story.story.Story</a>)</font></td></tr> 45 46 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 47 <td width="100%"><dl><dt>Method resolution order:</dt> 48 <dd><a href="telemetry.android.android_story.html#AndroidStory">AndroidStory</a></dd> 49 <dd><a href="telemetry.story.story.html#Story">telemetry.story.story.Story</a></dd> 50 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 51 </dl> 52 <hr> 53 Methods defined here:<br> 54 <dl><dt><a name="AndroidStory-Run"><strong>Run</strong></a>(self, shared_state)</dt><dd><tt>Execute the interactions with the applications.</tt></dd></dl> 55 56 <dl><dt><a name="AndroidStory-__init__"><strong>__init__</strong></a>(self, start_intent, is_app_ready_predicate<font color="#909090">=None</font>, name<font color="#909090">=''</font>, labels<font color="#909090">=None</font>, is_local<font color="#909090">=False</font>)</dt><dd><tt>Creates a new story for Android app.<br> 57 <br> 58 Args:<br> 59 start_intent: See AndroidPlatform.LaunchAndroidApplication.<br> 60 is_app_ready_predicate: See AndroidPlatform.LaunchAndroidApplication.<br> 61 name: See <a href="telemetry.story.story.html#Story">Story</a>.__init__.<br> 62 labels: See <a href="telemetry.story.story.html#Story">Story</a>.__init__.<br> 63 is_app_ready_predicate: See <a href="telemetry.story.story.html#Story">Story</a>.__init__.</tt></dd></dl> 64 65 <hr> 66 Methods inherited from <a href="telemetry.story.story.html#Story">telemetry.story.story.Story</a>:<br> 67 <dl><dt><a name="AndroidStory-AsDict"><strong>AsDict</strong></a>(self)</dt><dd><tt>Converts a story object to a dict suitable for JSON output.</tt></dd></dl> 68 69 <hr> 70 Data descriptors inherited from <a href="telemetry.story.story.html#Story">telemetry.story.story.Story</a>:<br> 71 <dl><dt><strong>__dict__</strong></dt> 72 <dd><tt>dictionary for instance variables (if defined)</tt></dd> 73 </dl> 74 <dl><dt><strong>__weakref__</strong></dt> 75 <dd><tt>list of weak references to the object (if defined)</tt></dd> 76 </dl> 77 <dl><dt><strong>display_name</strong></dt> 78 </dl> 79 <dl><dt><strong>file_safe_name</strong></dt> 80 <dd><tt>A version of display_name that's safe to use as a filename.<br> 81 <br> 82 The default implementation sanitizes special characters with underscores,<br> 83 but it's okay to override it with a more specific implementation in<br> 84 subclasses.</tt></dd> 85 </dl> 86 <dl><dt><strong>id</strong></dt> 87 </dl> 88 <dl><dt><strong>is_local</strong></dt> 89 <dd><tt>Returns True iff this story does not require network.</tt></dd> 90 </dl> 91 <dl><dt><strong>labels</strong></dt> 92 </dl> 93 <dl><dt><strong>make_javascript_deterministic</strong></dt> 94 </dl> 95 <dl><dt><strong>name</strong></dt> 96 </dl> 97 <dl><dt><strong>serving_dir</strong></dt> 98 <dd><tt>Returns the absolute path to a directory with hash files to data that<br> 99 should be updated from cloud storage, or None if no files need to be<br> 100 updated.</tt></dd> 101 </dl> 102 <dl><dt><strong>shared_state_class</strong></dt> 103 </dl> 104 </td></tr></table></td></tr></table> 105 </body></html>