Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Side by Side Diff: tools/telemetry/docs/telemetry.core.platform.android_platform_backend.html

Issue 196383034: Update telemetry docs by running the update_docs script. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.core.platform.android_platform_backe nd</title> 3 <html><head><title>Python: module telemetry.core.platform.android_platform_backe nd</title>
4 </head><body bgcolor="#f0f0f8"> 4 </head><body bgcolor="#f0f0f8">
5 5
6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
7 <tr bgcolor="#7799ee"> 7 <tr bgcolor="#7799ee">
8 <td valign=bottom>&nbsp;<br> 8 <td valign=bottom>&nbsp;<br>
9 <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a hre f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry .core.html"><font color="#ffffff">core</font></a>.<a href="telemetry.core.platfo rm.html"><font color="#ffffff">platform</font></a>.android_platform_backend</str ong></big></big></font></td 9 <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a hre f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry .core.html"><font color="#ffffff">core</font></a>.<a href="telemetry.core.platfo rm.html"><font color="#ffffff">platform</font></a>.android_platform_backend</str ong></big></big></font></td
10 ><td align=right valign=bottom 10 ><td align=right valign=bottom
11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href= "../telemetry/core/platform/android_platform_backend.py">telemetry/core/platform /android_platform_backend.py</a></font></td></tr></table> 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href= "../telemetry/core/platform/android_platform_backend.py">telemetry/core/platform /android_platform_backend.py</a></font></td></tr></table>
12 <p><tt>#&nbsp;Copyright&nbsp;(c)&nbsp;2013&nbsp;The&nbsp;Chromium&nbsp;Autho rs.&nbsp;All&nbsp;rights&nbsp;reserved.<br> 12 <p><tt>#&nbsp;Copyright&nbsp;(c)&nbsp;2013&nbsp;The&nbsp;Chromium&nbsp;Autho rs.&nbsp;All&nbsp;rights&nbsp;reserved.<br>
13 #&nbsp;Use&nbsp;of&nbsp;this&nbsp;source&nbsp;code&nbsp;is&nbsp;governed&nbsp;by &nbsp;a&nbsp;BSD-style&nbsp;license&nbsp;that&nbsp;can&nbsp;be<br> 13 #&nbsp;Use&nbsp;of&nbsp;this&nbsp;source&nbsp;code&nbsp;is&nbsp;governed&nbsp;by &nbsp;a&nbsp;BSD-style&nbsp;license&nbsp;that&nbsp;can&nbsp;be<br>
14 #&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;file.</tt></p> 14 #&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;file.</tt></p>
15 <p> 15 <p>
16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 16 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
17 <tr bgcolor="#aa55cc"> 17 <tr bgcolor="#aa55cc">
18 <td colspan=3 valign=bottom>&nbsp;<br> 18 <td colspan=3 valign=bottom>&nbsp;<br>
19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big ></font></td></tr> 19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big ></font></td></tr>
20 20
21 <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td> 21 <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td>
22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t op><a href="logging.html">logging</a><br> 22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t op><a href="telemetry.core.platform.power_monitor.android_ds2784_power_monitor.h tml">telemetry.core.platform.power_monitor.android_ds2784_power_monitor</a><br>
23 <a href="os.html">os</a><br> 23 <a href="telemetry.core.platform.profiler.android_prebuilt_profiler_helper.html" >telemetry.core.platform.profiler.android_prebuilt_profiler_helper</a><br>
24 </td><td width="25%" valign=top><a href="pylib.perf_tests_helper.html">pylib.per f_tests_helper</a><br> 24 <a href="telemetry.core.bitmap.html">telemetry.core.bitmap</a><br>
25 <a href="telemetry.core.platform.html">telemetry.core.platform</a><br> 25 <a href="pylib.perf.cache_control.html">pylib.perf.cache_control</a><br>
26 </td><td width="25%" valign=top><a href="telemetry.core.platform.platform_backen d.html">telemetry.core.platform.platform_backend</a><br> 26 <a href="telemetry.decorators.html">telemetry.decorators</a><br>
27 <a href="pylib.surface_stats_collector.html">pylib.surface_stats_collector</a><b r> 27 </td><td width="25%" valign=top><a href="telemetry.core.exceptions.html">telemet ry.core.exceptions</a><br>
28 </td><td width="25%" valign=top><a href="sys.html">sys</a><br> 28 <a href="telemetry.core.platform.factory.html">telemetry.core.platform.factory</ a><br>
29 <a href="pylib.thermal_throttle.html">pylib.thermal_throttle</a><br> 29 <a href="logging.html">logging</a><br>
30 <a href="telemetry.core.platform.power_monitor.monsoon_power_monitor.html">telem etry.core.platform.power_monitor.monsoon_power_monitor</a><br>
31 <a href="pylib.perf.perf_control.html">pylib.perf.perf_control</a><br>
32 </td><td width="25%" valign=top><a href="telemetry.core.platform.html">telemetry .core.platform</a><br>
33 <a href="telemetry.core.platform.power_monitor.power_monitor_controller.html">te lemetry.core.platform.power_monitor.power_monitor_controller</a><br>
34 <a href="telemetry.core.platform.proc_supporting_platform_backend.html">telemetr y.core.platform.proc_supporting_platform_backend</a><br>
35 <a href="pylib.screenshot.html">pylib.screenshot</a><br>
36 <a href="subprocess.html">subprocess</a><br>
37 </td><td width="25%" valign=top><a href="pylib.perf.surface_stats_collector.html ">pylib.perf.surface_stats_collector</a><br>
38 <a href="tempfile.html">tempfile</a><br>
39 <a href="pylib.perf.thermal_throttle.html">pylib.perf.thermal_throttle</a><br>
40 <a href="telemetry.core.util.html">telemetry.core.util</a><br>
30 </td></tr></table></td></tr></table><p> 41 </td></tr></table></td></tr></table><p>
31 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 42 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
32 <tr bgcolor="#ee77aa"> 43 <tr bgcolor="#ee77aa">
33 <td colspan=3 valign=bottom>&nbsp;<br> 44 <td colspan=3 valign=bottom>&nbsp;<br>
34 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big ></font></td></tr> 45 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big ></font></td></tr>
35 46
36 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td> 47 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td> &nbsp;</td>
37 <td width="100%"><dl> 48 <td width="100%"><dl>
38 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.platform_back end.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBacke nd</a>(<a href="__builtin__.html#object">__builtin__.object</a>) 49 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.proc_supporti ng_platform_backend.html#ProcSupportingPlatformBackend">telemetry.core.platform. proc_supporting_platform_backend.ProcSupportingPlatformBackend</a>(<a href="tele metry.core.platform.platform_backend.html#PlatformBackend">telemetry.core.platfo rm.platform_backend.PlatformBackend</a>)
39 </font></dt><dd> 50 </font></dt><dd>
40 <dl> 51 <dl>
41 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.android_platf orm_backend.html#AndroidPlatformBackend">AndroidPlatformBackend</a> 52 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.android_platf orm_backend.html#AndroidPlatformBackend">AndroidPlatformBackend</a>
42 </font></dt></dl> 53 </font></dt></dl>
43 </dd> 54 </dd>
44 </dl> 55 </dl>
45 <p> 56 <p>
46 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 57 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
47 <tr bgcolor="#ffc8d8"> 58 <tr bgcolor="#ffc8d8">
48 <td colspan=3 valign=bottom>&nbsp;<br> 59 <td colspan=3 valign=bottom>&nbsp;<br>
49 <font color="#000000" face="helvetica, arial"><a name="AndroidPlatformBackend">c lass <strong>AndroidPlatformBackend</strong></a>(<a href="telemetry.core.platfor m.platform_backend.html#PlatformBackend">telemetry.core.platform.platform_backen d.PlatformBackend</a>)</font></td></tr> 60 <font color="#000000" face="helvetica, arial"><a name="AndroidPlatformBackend">c lass <strong>AndroidPlatformBackend</strong></a>(<a href="telemetry.core.platfor m.proc_supporting_platform_backend.html#ProcSupportingPlatformBackend">telemetry .core.platform.proc_supporting_platform_backend.ProcSupportingPlatformBackend</a >)</font></td></tr>
50 61
51 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td> 62 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
52 <td width="100%"><dl><dt>Method resolution order:</dt> 63 <td width="100%"><dl><dt>Method resolution order:</dt>
53 <dd><a href="telemetry.core.platform.android_platform_backend.html#AndroidPlatfo rmBackend">AndroidPlatformBackend</a></dd> 64 <dd><a href="telemetry.core.platform.android_platform_backend.html#AndroidPlatfo rmBackend">AndroidPlatformBackend</a></dd>
65 <dd><a href="telemetry.core.platform.proc_supporting_platform_backend.html#ProcS upportingPlatformBackend">telemetry.core.platform.proc_supporting_platform_backe nd.ProcSupportingPlatformBackend</a></dd>
54 <dd><a href="telemetry.core.platform.platform_backend.html#PlatformBackend">tele metry.core.platform.platform_backend.PlatformBackend</a></dd> 66 <dd><a href="telemetry.core.platform.platform_backend.html#PlatformBackend">tele metry.core.platform.platform_backend.PlatformBackend</a></dd>
55 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 67 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
56 </dl> 68 </dl>
57 <hr> 69 <hr>
58 Methods defined here:<br> 70 Methods defined here:<br>
71 <dl><dt><a name="AndroidPlatformBackend-CanCaptureVideo"><strong>CanCaptureVideo </strong></a>(*args, **kwargs)</dt></dl>
72
73 <dl><dt><a name="AndroidPlatformBackend-CanFlushIndividualFilesFromSystemCache"> <strong>CanFlushIndividualFilesFromSystemCache</strong></a>(self)</dt></dl>
74
75 <dl><dt><a name="AndroidPlatformBackend-CanLaunchApplication"><strong>CanLaunchA pplication</strong></a>(self, application)</dt></dl>
76
77 <dl><dt><a name="AndroidPlatformBackend-CanMonitorPowerAsync"><strong>CanMonitor PowerAsync</strong></a>(self)</dt></dl>
78
59 <dl><dt><a name="AndroidPlatformBackend-CanMonitorThermalThrottling"><strong>Can MonitorThermalThrottling</strong></a>(self)</dt></dl> 79 <dl><dt><a name="AndroidPlatformBackend-CanMonitorThermalThrottling"><strong>Can MonitorThermalThrottling</strong></a>(self)</dt></dl>
60 80
81 <dl><dt><a name="AndroidPlatformBackend-FlushEntireSystemCache"><strong>FlushEnt ireSystemCache</strong></a>(self)</dt></dl>
82
83 <dl><dt><a name="AndroidPlatformBackend-FlushSystemCacheForDirectory"><strong>Fl ushSystemCacheForDirectory</strong></a>(self, directory, ignoring<font color="#9 09090">=None</font>)</dt></dl>
84
61 <dl><dt><a name="AndroidPlatformBackend-GetChildPids"><strong>GetChildPids</stro ng></a>(self, pid)</dt></dl> 85 <dl><dt><a name="AndroidPlatformBackend-GetChildPids"><strong>GetChildPids</stro ng></a>(self, pid)</dt></dl>
62 86
63 <dl><dt><a name="AndroidPlatformBackend-GetCommandLine"><strong>GetCommandLine</ strong></a>(self, pid)</dt></dl> 87 <dl><dt><a name="AndroidPlatformBackend-GetCommandLine"><strong>GetCommandLine</ strong></a>(self, pid)</dt></dl>
64 88
89 <dl><dt><a name="AndroidPlatformBackend-GetCpuStats"><strong>GetCpuStats</strong ></a>(self, pid)</dt></dl>
90
91 <dl><dt><a name="AndroidPlatformBackend-GetCpuTimestamp"><strong>GetCpuTimestamp </strong></a>(self)</dt></dl>
92
65 <dl><dt><a name="AndroidPlatformBackend-GetIOStats"><strong>GetIOStats</strong>< /a>(self, pid)</dt></dl> 93 <dl><dt><a name="AndroidPlatformBackend-GetIOStats"><strong>GetIOStats</strong>< /a>(self, pid)</dt></dl>
66 94
67 <dl><dt><a name="AndroidPlatformBackend-GetMemoryStats"><strong>GetMemoryStats</ strong></a>(self, pid)</dt></dl> 95 <dl><dt><a name="AndroidPlatformBackend-GetMemoryStats"><strong>GetMemoryStats</ strong></a>(self, pid)</dt></dl>
68 96
69 <dl><dt><a name="AndroidPlatformBackend-GetOSName"><strong>GetOSName</strong></a >(self)</dt></dl> 97 <dl><dt><a name="AndroidPlatformBackend-GetOSName"><strong>GetOSName</strong></a >(self)</dt></dl>
70 98
99 <dl><dt><a name="AndroidPlatformBackend-GetOSVersionName"><strong>GetOSVersionNa me</strong></a>(*args, **kwargs)</dt></dl>
100
71 <dl><dt><a name="AndroidPlatformBackend-GetRawDisplayFrameRateMeasurements"><str ong>GetRawDisplayFrameRateMeasurements</strong></a>(self)</dt></dl> 101 <dl><dt><a name="AndroidPlatformBackend-GetRawDisplayFrameRateMeasurements"><str ong>GetRawDisplayFrameRateMeasurements</strong></a>(self)</dt></dl>
72 102
73 <dl><dt><a name="AndroidPlatformBackend-GetSystemCommitCharge"><strong>GetSystem CommitCharge</strong></a>(self)</dt></dl> 103 <dl><dt><a name="AndroidPlatformBackend-GetSystemCommitCharge"><strong>GetSystem CommitCharge</strong></a>(self)</dt></dl>
74 104
105 <dl><dt><a name="AndroidPlatformBackend-GetSystemTotalPhysicalMemory"><strong>Ge tSystemTotalPhysicalMemory</strong></a>(*args, **kwargs)</dt></dl>
106
75 <dl><dt><a name="AndroidPlatformBackend-HasBeenThermallyThrottled"><strong>HasBe enThermallyThrottled</strong></a>(self)</dt></dl> 107 <dl><dt><a name="AndroidPlatformBackend-HasBeenThermallyThrottled"><strong>HasBe enThermallyThrottled</strong></a>(self)</dt></dl>
76 108
109 <dl><dt><a name="AndroidPlatformBackend-InstallApplication"><strong>InstallAppli cation</strong></a>(self, application)</dt></dl>
110
111 <dl><dt><a name="AndroidPlatformBackend-IsApplicationRunning"><strong>IsApplicat ionRunning</strong></a>(self, application)</dt></dl>
112
77 <dl><dt><a name="AndroidPlatformBackend-IsRawDisplayFrameRateSupported"><strong> IsRawDisplayFrameRateSupported</strong></a>(self)</dt></dl> 113 <dl><dt><a name="AndroidPlatformBackend-IsRawDisplayFrameRateSupported"><strong> IsRawDisplayFrameRateSupported</strong></a>(self)</dt></dl>
78 114
79 <dl><dt><a name="AndroidPlatformBackend-IsThermallyThrottled"><strong>IsThermall yThrottled</strong></a>(self)</dt></dl> 115 <dl><dt><a name="AndroidPlatformBackend-IsThermallyThrottled"><strong>IsThermall yThrottled</strong></a>(self)</dt></dl>
80 116
117 <dl><dt><a name="AndroidPlatformBackend-LaunchApplication"><strong>LaunchApplica tion</strong></a>(self, application, parameters<font color="#909090">=None</font >, elevate_privilege<font color="#909090">=False</font>)</dt></dl>
118
119 <dl><dt><a name="AndroidPlatformBackend-PurgeUnpinnedMemory"><strong>PurgeUnpinn edMemory</strong></a>(self)</dt><dd><tt>Purges&nbsp;the&nbsp;unpinned&nbsp;ashme m&nbsp;memory&nbsp;for&nbsp;the&nbsp;whole&nbsp;system.<br>
120 &nbsp;<br>
121 This&nbsp;can&nbsp;be&nbsp;used&nbsp;to&nbsp;make&nbsp;memory&nbsp;measurements& nbsp;more&nbsp;stable&nbsp;in&nbsp;particular.</tt></dd></dl>
122
81 <dl><dt><a name="AndroidPlatformBackend-SetFullPerformanceModeEnabled"><strong>S etFullPerformanceModeEnabled</strong></a>(self, enabled)</dt></dl> 123 <dl><dt><a name="AndroidPlatformBackend-SetFullPerformanceModeEnabled"><strong>S etFullPerformanceModeEnabled</strong></a>(self, enabled)</dt></dl>
82 124
125 <dl><dt><a name="AndroidPlatformBackend-StartMonitoringPowerAsync"><strong>Start MonitoringPowerAsync</strong></a>(self)</dt></dl>
126
83 <dl><dt><a name="AndroidPlatformBackend-StartRawDisplayFrameRateMeasurement"><st rong>StartRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl> 127 <dl><dt><a name="AndroidPlatformBackend-StartRawDisplayFrameRateMeasurement"><st rong>StartRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl>
84 128
129 <dl><dt><a name="AndroidPlatformBackend-StartVideoCapture"><strong>StartVideoCap ture</strong></a>(self, min_bitrate_mbps)</dt></dl>
130
131 <dl><dt><a name="AndroidPlatformBackend-StopMonitoringPowerAsync"><strong>StopMo nitoringPowerAsync</strong></a>(self)</dt></dl>
132
85 <dl><dt><a name="AndroidPlatformBackend-StopRawDisplayFrameRateMeasurement"><str ong>StopRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl> 133 <dl><dt><a name="AndroidPlatformBackend-StopRawDisplayFrameRateMeasurement"><str ong>StopRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl>
86 134
135 <dl><dt><a name="AndroidPlatformBackend-StopVideoCapture"><strong>StopVideoCaptu re</strong></a>(self)</dt></dl>
136
87 <dl><dt><a name="AndroidPlatformBackend-__init__"><strong>__init__</strong></a>( self, adb, no_performance_mode)</dt></dl> 137 <dl><dt><a name="AndroidPlatformBackend-__init__"><strong>__init__</strong></a>( self, adb, no_performance_mode)</dt></dl>
88 138
89 <hr> 139 <hr>
140 Data descriptors defined here:<br>
141 <dl><dt><strong>is_video_capture_running</strong></dt>
142 </dl>
143 <hr>
90 Methods inherited from <a href="telemetry.core.platform.platform_backend.html#Pl atformBackend">telemetry.core.platform.platform_backend.PlatformBackend</a>:<br> 144 Methods inherited from <a href="telemetry.core.platform.platform_backend.html#Pl atformBackend">telemetry.core.platform.platform_backend.PlatformBackend</a>:<br>
91 <dl><dt><a name="AndroidPlatformBackend-GetOSVersionName"><strong>GetOSVersionNa me</strong></a>(self)</dt></dl> 145 <dl><dt><a name="AndroidPlatformBackend-CanMonitorPowerSync"><strong>CanMonitorP owerSync</strong></a>(self)</dt></dl>
146
147 <dl><dt><a name="AndroidPlatformBackend-MonitorPowerSync"><strong>MonitorPowerSy nc</strong></a>(self, duration_ms)</dt></dl>
92 148
93 <hr> 149 <hr>
94 Data descriptors inherited from <a href="telemetry.core.platform.platform_backen d.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBackend </a>:<br> 150 Data descriptors inherited from <a href="telemetry.core.platform.platform_backen d.html#PlatformBackend">telemetry.core.platform.platform_backend.PlatformBackend </a>:<br>
95 <dl><dt><strong>__dict__</strong></dt> 151 <dl><dt><strong>__dict__</strong></dt>
96 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)< /tt></dd> 152 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)< /tt></dd>
97 </dl> 153 </dl>
98 <dl><dt><strong>__weakref__</strong></dt> 154 <dl><dt><strong>__weakref__</strong></dt>
99 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;defined)</tt></dd> 155 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp ;(if&nbsp;defined)</tt></dd>
100 </dl> 156 </dl>
101 </td></tr></table></td></tr></table> 157 </td></tr></table></td></tr></table>
102 </body></html> 158 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698