OLD | NEW |
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.platform_backend</titl
e> | 3 <html><head><title>Python: module telemetry.core.platform.platform_backend</titl
e> |
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> <br> | 8 <td valign=bottom> <br> |
9 <font color="#ffffff" face="helvetica, arial"> <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>.platform_backend</strong></bi
g></big></font></td | 9 <font color="#ffffff" face="helvetica, arial"> <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>.platform_backend</strong></bi
g></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/platform_backend.py">telemetry/core/platform/platfor
m_backend.py</a></font></td></tr></table> | 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/core/platform/platform_backend.py">telemetry/core/platform/platfor
m_backend.py</a></font></td></tr></table> |
12 <p><tt># Copyright (c) 2013 The Chromium Autho
rs. All rights reserved.<br> | 12 <p><tt># Copyright (c) 2013 The Chromium Autho
rs. All rights reserved.<br> |
13 # Use of this source code is governed by
a BSD-style license that can be<br> | 13 # Use of this source code is governed by
a BSD-style license that can be<br> |
14 # found in the LICENSE file.</tt></p> | 14 # found in the LICENSE 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"> |
| 18 <td colspan=3 valign=bottom> <br> |
| 19 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> |
| 20 |
| 21 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> |
| 22 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="time.html">time</a><br> |
| 23 </td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="
25%" valign=top></td></tr></table></td></tr></table><p> |
| 24 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
17 <tr bgcolor="#ee77aa"> | 25 <tr bgcolor="#ee77aa"> |
18 <td colspan=3 valign=bottom> <br> | 26 <td colspan=3 valign=bottom> <br> |
19 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | 27 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> |
20 | 28 |
21 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | 29 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> |
22 <td width="100%"><dl> | 30 <td width="100%"><dl> |
23 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> | 31 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.
object</a> |
24 </font></dt><dd> | 32 </font></dt><dd> |
25 <dl> | 33 <dl> |
26 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.platform_back
end.html#PlatformBackend">PlatformBackend</a> | 34 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.platform_back
end.html#PlatformBackend">PlatformBackend</a> |
27 </font></dt></dl> | 35 </font></dt></dl> |
28 </dd> | 36 </dd> |
| 37 <dt><font face="helvetica, arial"><a href="__builtin__.html#str">__builtin__.str
</a>(<a href="__builtin__.html#basestring">__builtin__.basestring</a>) |
| 38 </font></dt><dd> |
| 39 <dl> |
| 40 <dt><font face="helvetica, arial"><a href="telemetry.core.platform.platform_back
end.html#OSVersion">OSVersion</a> |
| 41 </font></dt></dl> |
| 42 </dd> |
29 </dl> | 43 </dl> |
30 <p> | 44 <p> |
31 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 45 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
32 <tr bgcolor="#ffc8d8"> | 46 <tr bgcolor="#ffc8d8"> |
33 <td colspan=3 valign=bottom> <br> | 47 <td colspan=3 valign=bottom> <br> |
| 48 <font color="#000000" face="helvetica, arial"><a name="OSVersion">class <strong>
OSVersion</strong></a>(<a href="__builtin__.html#str">__builtin__.str</a>)</font
></td></tr> |
| 49 |
| 50 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 51 <td colspan=2><tt># pylint: disable=W0212<br> </tt></td></tr> |
| 52 <tr><td> </td> |
| 53 <td width="100%"><dl><dt>Method resolution order:</dt> |
| 54 <dd><a href="telemetry.core.platform.platform_backend.html#OSVersion">OSVersion<
/a></dd> |
| 55 <dd><a href="__builtin__.html#str">__builtin__.str</a></dd> |
| 56 <dd><a href="__builtin__.html#basestring">__builtin__.basestring</a></dd> |
| 57 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 58 </dl> |
| 59 <hr> |
| 60 Methods defined here:<br> |
| 61 <dl><dt><a name="OSVersion-__ge__"><strong>__ge__</strong></a>(self, other)</dt>
</dl> |
| 62 |
| 63 <dl><dt><a name="OSVersion-__gt__"><strong>__gt__</strong></a>(self, other)</dt>
</dl> |
| 64 |
| 65 <dl><dt><a name="OSVersion-__le__"><strong>__le__</strong></a>(self, other)</dt>
</dl> |
| 66 |
| 67 <dl><dt><a name="OSVersion-__lt__"><strong>__lt__</strong></a>(self, other)</dt>
</dl> |
| 68 |
| 69 <hr> |
| 70 Static methods defined here:<br> |
| 71 <dl><dt><a name="OSVersion-__new__"><strong>__new__</strong></a>(cls, friendly_n
ame, sortable_name, *args, **kwargs)</dt></dl> |
| 72 |
| 73 <hr> |
| 74 Data descriptors defined here:<br> |
| 75 <dl><dt><strong>__dict__</strong></dt> |
| 76 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
| 77 </dl> |
| 78 <hr> |
| 79 Methods inherited from <a href="__builtin__.html#str">__builtin__.str</a>:<br> |
| 80 <dl><dt><a name="OSVersion-__add__"><strong>__add__</strong></a>(...)</dt><dd><t
t>x.<a href="#OSVersion-__add__">__add__</a>(y) <==> x+y</tt></d
d></dl> |
| 81 |
| 82 <dl><dt><a name="OSVersion-__contains__"><strong>__contains__</strong></a>(...)<
/dt><dd><tt>x.<a href="#OSVersion-__contains__">__contains__</a>(y) <==&
gt; y in x</tt></dd></dl> |
| 83 |
| 84 <dl><dt><a name="OSVersion-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>
x.<a href="#OSVersion-__eq__">__eq__</a>(y) <==> x==y</tt></dd><
/dl> |
| 85 |
| 86 <dl><dt><a name="OSVersion-__format__"><strong>__format__</strong></a>(...)</dt>
<dd><tt>S.<a href="#OSVersion-__format__">__format__</a>(format_spec) ->
string<br> |
| 87 <br> |
| 88 Return a formatted version of S as described&
nbsp;by format_spec.</tt></dd></dl> |
| 89 |
| 90 <dl><dt><a name="OSVersion-__getattribute__"><strong>__getattribute__</strong></
a>(...)</dt><dd><tt>x.<a href="#OSVersion-__getattribute__">__getattribute__</a>
('name') <==> x.name</tt></dd></dl> |
| 91 |
| 92 <dl><dt><a name="OSVersion-__getitem__"><strong>__getitem__</strong></a>(...)</d
t><dd><tt>x.<a href="#OSVersion-__getitem__">__getitem__</a>(y) <==>&
nbsp;x[y]</tt></dd></dl> |
| 93 |
| 94 <dl><dt><a name="OSVersion-__getnewargs__"><strong>__getnewargs__</strong></a>(.
..)</dt></dl> |
| 95 |
| 96 <dl><dt><a name="OSVersion-__getslice__"><strong>__getslice__</strong></a>(...)<
/dt><dd><tt>x.<a href="#OSVersion-__getslice__">__getslice__</a>(i, j) 
;<==> x[i:j]<br> |
| 97 <br> |
| 98 Use of negative indices is not supported.</tt></dd
></dl> |
| 99 |
| 100 <dl><dt><a name="OSVersion-__hash__"><strong>__hash__</strong></a>(...)</dt><dd>
<tt>x.<a href="#OSVersion-__hash__">__hash__</a>() <==> hash(x)<
/tt></dd></dl> |
| 101 |
| 102 <dl><dt><a name="OSVersion-__len__"><strong>__len__</strong></a>(...)</dt><dd><t
t>x.<a href="#OSVersion-__len__">__len__</a>() <==> len(x)</tt><
/dd></dl> |
| 103 |
| 104 <dl><dt><a name="OSVersion-__mod__"><strong>__mod__</strong></a>(...)</dt><dd><t
t>x.<a href="#OSVersion-__mod__">__mod__</a>(y) <==> x%y</tt></d
d></dl> |
| 105 |
| 106 <dl><dt><a name="OSVersion-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><t
t>x.<a href="#OSVersion-__mul__">__mul__</a>(n) <==> x*n</tt></d
d></dl> |
| 107 |
| 108 <dl><dt><a name="OSVersion-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>
x.<a href="#OSVersion-__ne__">__ne__</a>(y) <==> x!=y</tt></dd><
/dl> |
| 109 |
| 110 <dl><dt><a name="OSVersion-__repr__"><strong>__repr__</strong></a>(...)</dt><dd>
<tt>x.<a href="#OSVersion-__repr__">__repr__</a>() <==> repr(x)<
/tt></dd></dl> |
| 111 |
| 112 <dl><dt><a name="OSVersion-__rmod__"><strong>__rmod__</strong></a>(...)</dt><dd>
<tt>x.<a href="#OSVersion-__rmod__">__rmod__</a>(y) <==> y%x</tt
></dd></dl> |
| 113 |
| 114 <dl><dt><a name="OSVersion-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd>
<tt>x.<a href="#OSVersion-__rmul__">__rmul__</a>(n) <==> n*x</tt
></dd></dl> |
| 115 |
| 116 <dl><dt><a name="OSVersion-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt>
<dd><tt>S.<a href="#OSVersion-__sizeof__">__sizeof__</a>() -> size&
nbsp;of S in memory, in bytes</tt></dd></dl> |
| 117 |
| 118 <dl><dt><a name="OSVersion-__str__"><strong>__str__</strong></a>(...)</dt><dd><t
t>x.<a href="#OSVersion-__str__">__str__</a>() <==> <a href="__b
uiltin__.html#str">str</a>(x)</tt></dd></dl> |
| 119 |
| 120 <dl><dt><a name="OSVersion-capitalize"><strong>capitalize</strong></a>(...)</dt>
<dd><tt>S.<a href="#OSVersion-capitalize">capitalize</a>() -> strin
g<br> |
| 121 <br> |
| 122 Return a copy of the string S with only&
nbsp;its first character<br> |
| 123 capitalized.</tt></dd></dl> |
| 124 |
| 125 <dl><dt><a name="OSVersion-center"><strong>center</strong></a>(...)</dt><dd><tt>
S.<a href="#OSVersion-center">center</a>(width[, fillchar]) -> 
;string<br> |
| 126 <br> |
| 127 Return S centered in a string of length
width. Padding is<br> |
| 128 done using the specified fill character (default&n
bsp;is a space)</tt></dd></dl> |
| 129 |
| 130 <dl><dt><a name="OSVersion-count"><strong>count</strong></a>(...)</dt><dd><tt>S.
<a href="#OSVersion-count">count</a>(sub[, start[, end]]) ->&n
bsp;int<br> |
| 131 <br> |
| 132 Return the number of non-overlapping occurrences o
f substring sub in<br> |
| 133 string S[start:end]. Optional arguments start and
end are interpreted<br> |
| 134 as in slice notation.</tt></dd></dl> |
| 135 |
| 136 <dl><dt><a name="OSVersion-decode"><strong>decode</strong></a>(...)</dt><dd><tt>
S.<a href="#OSVersion-decode">decode</a>([encoding[,errors]]) -> <a
href="__builtin__.html#object">object</a><br> |
| 137 <br> |
| 138 Decodes S using the codec registered for enco
ding. encoding defaults<br> |
| 139 to the default encoding. errors may be given&
nbsp;to set a different error<br> |
| 140 handling scheme. Default is 'strict' meaning that&
nbsp;encoding errors raise<br> |
| 141 a UnicodeDecodeError. Other possible values are 'i
gnore' and 'replace'<br> |
| 142 as well as any other name registered with&nbs
p;codecs.register_error that is<br> |
| 143 able to handle UnicodeDecodeErrors.</tt></dd></dl> |
| 144 |
| 145 <dl><dt><a name="OSVersion-encode"><strong>encode</strong></a>(...)</dt><dd><tt>
S.<a href="#OSVersion-encode">encode</a>([encoding[,errors]]) -> <a
href="__builtin__.html#object">object</a><br> |
| 146 <br> |
| 147 Encodes S using the codec registered for enco
ding. encoding defaults<br> |
| 148 to the default encoding. errors may be given&
nbsp;to set a different error<br> |
| 149 handling scheme. Default is 'strict' meaning that&
nbsp;encoding errors raise<br> |
| 150 a UnicodeEncodeError. Other possible values are 'i
gnore', 'replace' and<br> |
| 151 'xmlcharrefreplace' as well as any other name 
;registered with<br> |
| 152 codecs.register_error that is able to handle Unico
deEncodeErrors.</tt></dd></dl> |
| 153 |
| 154 <dl><dt><a name="OSVersion-endswith"><strong>endswith</strong></a>(...)</dt><dd>
<tt>S.<a href="#OSVersion-endswith">endswith</a>(suffix[, start[, end]
]) -> bool<br> |
| 155 <br> |
| 156 Return True if S ends with the specified 
;suffix, False otherwise.<br> |
| 157 With optional start, test S beginning at that
position.<br> |
| 158 With optional end, stop comparing S at that&n
bsp;position.<br> |
| 159 suffix can also be a tuple of strings to
try.</tt></dd></dl> |
| 160 |
| 161 <dl><dt><a name="OSVersion-expandtabs"><strong>expandtabs</strong></a>(...)</dt>
<dd><tt>S.<a href="#OSVersion-expandtabs">expandtabs</a>([tabsize]) ->&n
bsp;string<br> |
| 162 <br> |
| 163 Return a copy of S where all tab charact
ers are expanded using spaces.<br> |
| 164 If tabsize is not given, a tab size of&n
bsp;8 characters is assumed.</tt></dd></dl> |
| 165 |
| 166 <dl><dt><a name="OSVersion-find"><strong>find</strong></a>(...)</dt><dd><tt>S.<a
href="#OSVersion-find">find</a>(sub [,start [,end]]) ->
int<br> |
| 167 <br> |
| 168 Return the lowest index in S where substring&
nbsp;sub is found,<br> |
| 169 such that sub is contained within S[start:end].&nb
sp; Optional<br> |
| 170 arguments start and end are interpreted as in
slice notation.<br> |
| 171 <br> |
| 172 Return -1 on failure.</tt></dd></dl> |
| 173 |
| 174 <dl><dt><a name="OSVersion-format"><strong>format</strong></a>(...)</dt><dd><tt>
S.<a href="#OSVersion-format">format</a>(*args, **kwargs) -> s
tring<br> |
| 175 <br> |
| 176 Return a formatted version of S, using substi
tutions from args and kwargs.<br> |
| 177 The substitutions are identified by braces ('{'&nb
sp;and '}').</tt></dd></dl> |
| 178 |
| 179 <dl><dt><a name="OSVersion-index"><strong>index</strong></a>(...)</dt><dd><tt>S.
<a href="#OSVersion-index">index</a>(sub [,start [,end]]) ->&n
bsp;int<br> |
| 180 <br> |
| 181 Like S.<a href="#OSVersion-find">find</a>() but raise ValueE
rror when the substring is not found.</tt></dd></d
l> |
| 182 |
| 183 <dl><dt><a name="OSVersion-isalnum"><strong>isalnum</strong></a>(...)</dt><dd><t
t>S.<a href="#OSVersion-isalnum">isalnum</a>() -> bool<br> |
| 184 <br> |
| 185 Return True if all characters in S are a
lphanumeric<br> |
| 186 and there is at least one character in S
, False otherwise.</tt></dd></dl> |
| 187 |
| 188 <dl><dt><a name="OSVersion-isalpha"><strong>isalpha</strong></a>(...)</dt><dd><t
t>S.<a href="#OSVersion-isalpha">isalpha</a>() -> bool<br> |
| 189 <br> |
| 190 Return True if all characters in S are a
lphabetic<br> |
| 191 and there is at least one character in S
, False otherwise.</tt></dd></dl> |
| 192 |
| 193 <dl><dt><a name="OSVersion-isdigit"><strong>isdigit</strong></a>(...)</dt><dd><t
t>S.<a href="#OSVersion-isdigit">isdigit</a>() -> bool<br> |
| 194 <br> |
| 195 Return True if all characters in S are d
igits<br> |
| 196 and there is at least one character in S
, False otherwise.</tt></dd></dl> |
| 197 |
| 198 <dl><dt><a name="OSVersion-islower"><strong>islower</strong></a>(...)</dt><dd><t
t>S.<a href="#OSVersion-islower">islower</a>() -> bool<br> |
| 199 <br> |
| 200 Return True if all cased characters in S 
;are lowercase and there is<br> |
| 201 at least one cased character in S, False 
;otherwise.</tt></dd></dl> |
| 202 |
| 203 <dl><dt><a name="OSVersion-isspace"><strong>isspace</strong></a>(...)</dt><dd><t
t>S.<a href="#OSVersion-isspace">isspace</a>() -> bool<br> |
| 204 <br> |
| 205 Return True if all characters in S are w
hitespace<br> |
| 206 and there is at least one character in S
, False otherwise.</tt></dd></dl> |
| 207 |
| 208 <dl><dt><a name="OSVersion-istitle"><strong>istitle</strong></a>(...)</dt><dd><t
t>S.<a href="#OSVersion-istitle">istitle</a>() -> bool<br> |
| 209 <br> |
| 210 Return True if S is a titlecased string
and there is at least one<br> |
| 211 character in S, i.e. uppercase characters may 
;only follow uncased<br> |
| 212 characters and lowercase characters only cased one
s. Return False<br> |
| 213 otherwise.</tt></dd></dl> |
| 214 |
| 215 <dl><dt><a name="OSVersion-isupper"><strong>isupper</strong></a>(...)</dt><dd><t
t>S.<a href="#OSVersion-isupper">isupper</a>() -> bool<br> |
| 216 <br> |
| 217 Return True if all cased characters in S 
;are uppercase and there is<br> |
| 218 at least one cased character in S, False 
;otherwise.</tt></dd></dl> |
| 219 |
| 220 <dl><dt><a name="OSVersion-join"><strong>join</strong></a>(...)</dt><dd><tt>S.<a
href="#OSVersion-join">join</a>(iterable) -> string<br> |
| 221 <br> |
| 222 Return a string which is the concatenation of
the strings in the<br> |
| 223 iterable. The separator between elements is
S.</tt></dd></dl> |
| 224 |
| 225 <dl><dt><a name="OSVersion-ljust"><strong>ljust</strong></a>(...)</dt><dd><tt>S.
<a href="#OSVersion-ljust">ljust</a>(width[, fillchar]) -> str
ing<br> |
| 226 <br> |
| 227 Return S left-justified in a string of length
width. Padding is<br> |
| 228 done using the specified fill character (default&n
bsp;is a space).</tt></dd></dl> |
| 229 |
| 230 <dl><dt><a name="OSVersion-lower"><strong>lower</strong></a>(...)</dt><dd><tt>S.
<a href="#OSVersion-lower">lower</a>() -> string<br> |
| 231 <br> |
| 232 Return a copy of the string S converted
to lowercase.</tt></dd></dl> |
| 233 |
| 234 <dl><dt><a name="OSVersion-lstrip"><strong>lstrip</strong></a>(...)</dt><dd><tt>
S.<a href="#OSVersion-lstrip">lstrip</a>([chars]) -> string or
unicode<br> |
| 235 <br> |
| 236 Return a copy of the string S with leadi
ng whitespace removed.<br> |
| 237 If chars is given and not None, remove c
haracters in chars instead.<br> |
| 238 If chars is unicode, S will be converted 
;to unicode before stripping</tt></dd></dl> |
| 239 |
| 240 <dl><dt><a name="OSVersion-partition"><strong>partition</strong></a>(...)</dt><d
d><tt>S.<a href="#OSVersion-partition">partition</a>(sep) -> (head,
sep, tail)<br> |
| 241 <br> |
| 242 Search for the separator sep in S, and r
eturn the part before it,<br> |
| 243 the separator itself, and the part after it.&
nbsp; If the separator is not<br> |
| 244 found, return S and two empty strings.</tt></dd></
dl> |
| 245 |
| 246 <dl><dt><a name="OSVersion-replace"><strong>replace</strong></a>(...)</dt><dd><t
t>S.<a href="#OSVersion-replace">replace</a>(old, new[, count]) -
> string<br> |
| 247 <br> |
| 248 Return a copy of string S with all occur
rences of substring<br> |
| 249 old replaced by new. If the optional ar
gument count is<br> |
| 250 given, only the first count occurrences are r
eplaced.</tt></dd></dl> |
| 251 |
| 252 <dl><dt><a name="OSVersion-rfind"><strong>rfind</strong></a>(...)</dt><dd><tt>S.
<a href="#OSVersion-rfind">rfind</a>(sub [,start [,end]]) ->&n
bsp;int<br> |
| 253 <br> |
| 254 Return the highest index in S where substring
sub is found,<br> |
| 255 such that sub is contained within S[start:end].&nb
sp; Optional<br> |
| 256 arguments start and end are interpreted as in
slice notation.<br> |
| 257 <br> |
| 258 Return -1 on failure.</tt></dd></dl> |
| 259 |
| 260 <dl><dt><a name="OSVersion-rindex"><strong>rindex</strong></a>(...)</dt><dd><tt>
S.<a href="#OSVersion-rindex">rindex</a>(sub [,start [,end]]) -&g
t; int<br> |
| 261 <br> |
| 262 Like S.<a href="#OSVersion-rfind">rfind</a>() but raise Valu
eError when the substring is not found.</tt></dd><
/dl> |
| 263 |
| 264 <dl><dt><a name="OSVersion-rjust"><strong>rjust</strong></a>(...)</dt><dd><tt>S.
<a href="#OSVersion-rjust">rjust</a>(width[, fillchar]) -> str
ing<br> |
| 265 <br> |
| 266 Return S right-justified in a string of lengt
h width. Padding is<br> |
| 267 done using the specified fill character (default&n
bsp;is a space)</tt></dd></dl> |
| 268 |
| 269 <dl><dt><a name="OSVersion-rpartition"><strong>rpartition</strong></a>(...)</dt>
<dd><tt>S.<a href="#OSVersion-rpartition">rpartition</a>(sep) -> (h
ead, sep, tail)<br> |
| 270 <br> |
| 271 Search for the separator sep in S, starting&n
bsp;at the end of S, and return<br> |
| 272 the part before it, the separator itself, and
the part after it. If the<br> |
| 273 separator is not found, return two empty stri
ngs and S.</tt></dd></dl> |
| 274 |
| 275 <dl><dt><a name="OSVersion-rsplit"><strong>rsplit</strong></a>(...)</dt><dd><tt>
S.<a href="#OSVersion-rsplit">rsplit</a>([sep [,maxsplit]]) -> 
;list of strings<br> |
| 276 <br> |
| 277 Return a list of the words in the string
S, using sep as the<br> |
| 278 delimiter string, starting at the end of the&
nbsp;string and working<br> |
| 279 to the front. If maxsplit is given, at&
nbsp;most maxsplit splits are<br> |
| 280 done. If sep is not specified or is None
, any whitespace string<br> |
| 281 is a separator.</tt></dd></dl> |
| 282 |
| 283 <dl><dt><a name="OSVersion-rstrip"><strong>rstrip</strong></a>(...)</dt><dd><tt>
S.<a href="#OSVersion-rstrip">rstrip</a>([chars]) -> string or
unicode<br> |
| 284 <br> |
| 285 Return a copy of the string S with trail
ing whitespace removed.<br> |
| 286 If chars is given and not None, remove c
haracters in chars instead.<br> |
| 287 If chars is unicode, S will be converted 
;to unicode before stripping</tt></dd></dl> |
| 288 |
| 289 <dl><dt><a name="OSVersion-split"><strong>split</strong></a>(...)</dt><dd><tt>S.
<a href="#OSVersion-split">split</a>([sep [,maxsplit]]) -> lis
t of strings<br> |
| 290 <br> |
| 291 Return a list of the words in the string
S, using sep as the<br> |
| 292 delimiter string. If maxsplit is given, at&n
bsp;most maxsplit<br> |
| 293 splits are done. If sep is not specified 
;or is None, any<br> |
| 294 whitespace string is a separator and empty st
rings are removed<br> |
| 295 from the result.</tt></dd></dl> |
| 296 |
| 297 <dl><dt><a name="OSVersion-splitlines"><strong>splitlines</strong></a>(...)</dt>
<dd><tt>S.<a href="#OSVersion-splitlines">splitlines</a>(keepends=False) -&
gt; list of strings<br> |
| 298 <br> |
| 299 Return a list of the lines in S, breakin
g at line boundaries.<br> |
| 300 Line breaks are not included in the resulting
list unless keepends<br> |
| 301 is given and true.</tt></dd></dl> |
| 302 |
| 303 <dl><dt><a name="OSVersion-startswith"><strong>startswith</strong></a>(...)</dt>
<dd><tt>S.<a href="#OSVersion-startswith">startswith</a>(prefix[, start[,&n
bsp;end]]) -> bool<br> |
| 304 <br> |
| 305 Return True if S starts with the specified&nb
sp;prefix, False otherwise.<br> |
| 306 With optional start, test S beginning at that
position.<br> |
| 307 With optional end, stop comparing S at that&n
bsp;position.<br> |
| 308 prefix can also be a tuple of strings to
try.</tt></dd></dl> |
| 309 |
| 310 <dl><dt><a name="OSVersion-strip"><strong>strip</strong></a>(...)</dt><dd><tt>S.
<a href="#OSVersion-strip">strip</a>([chars]) -> string or&nbs
p;unicode<br> |
| 311 <br> |
| 312 Return a copy of the string S with leadi
ng and trailing<br> |
| 313 whitespace removed.<br> |
| 314 If chars is given and not None, remove c
haracters in chars instead.<br> |
| 315 If chars is unicode, S will be converted 
;to unicode before stripping</tt></dd></dl> |
| 316 |
| 317 <dl><dt><a name="OSVersion-swapcase"><strong>swapcase</strong></a>(...)</dt><dd>
<tt>S.<a href="#OSVersion-swapcase">swapcase</a>() -> string<br> |
| 318 <br> |
| 319 Return a copy of the string S with upper
case characters<br> |
| 320 converted to lowercase and vice versa.</tt></dd></dl> |
| 321 |
| 322 <dl><dt><a name="OSVersion-title"><strong>title</strong></a>(...)</dt><dd><tt>S.
<a href="#OSVersion-title">title</a>() -> string<br> |
| 323 <br> |
| 324 Return a titlecased version of S, i.e. words&
nbsp;start with uppercase<br> |
| 325 characters, all remaining cased characters have lo
wercase.</tt></dd></dl> |
| 326 |
| 327 <dl><dt><a name="OSVersion-translate"><strong>translate</strong></a>(...)</dt><d
d><tt>S.<a href="#OSVersion-translate">translate</a>(table [,deletechars])&
nbsp;-> string<br> |
| 328 <br> |
| 329 Return a copy of the string S, where all
characters occurring<br> |
| 330 in the optional argument deletechars are removed,&
nbsp;and the<br> |
| 331 remaining characters have been mapped through the&
nbsp;given<br> |
| 332 translation table, which must be a string of&
nbsp;length 256 or None.<br> |
| 333 If the table argument is None, no translation
is applied and<br> |
| 334 the operation simply removes the characters in&nbs
p;deletechars.</tt></dd></dl> |
| 335 |
| 336 <dl><dt><a name="OSVersion-upper"><strong>upper</strong></a>(...)</dt><dd><tt>S.
<a href="#OSVersion-upper">upper</a>() -> string<br> |
| 337 <br> |
| 338 Return a copy of the string S converted
to uppercase.</tt></dd></dl> |
| 339 |
| 340 <dl><dt><a name="OSVersion-zfill"><strong>zfill</strong></a>(...)</dt><dd><tt>S.
<a href="#OSVersion-zfill">zfill</a>(width) -> string<br> |
| 341 <br> |
| 342 Pad a numeric string S with zeros on the
left, to fill a field<br> |
| 343 of the specified width. The string S is
never truncated.</tt></dd></dl> |
| 344 |
| 345 </td></tr></table> <p> |
| 346 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 347 <tr bgcolor="#ffc8d8"> |
| 348 <td colspan=3 valign=bottom> <br> |
34 <font color="#000000" face="helvetica, arial"><a name="PlatformBackend">class <s
trong>PlatformBackend</strong></a>(<a href="__builtin__.html#object">__builtin__
.object</a>)</font></td></tr> | 349 <font color="#000000" face="helvetica, arial"><a name="PlatformBackend">class <s
trong>PlatformBackend</strong></a>(<a href="__builtin__.html#object">__builtin__
.object</a>)</font></td></tr> |
35 | 350 |
36 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | 351 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> |
37 <td width="100%">Methods defined here:<br> | 352 <td width="100%">Methods defined here:<br> |
| 353 <dl><dt><a name="PlatformBackend-CanCaptureVideo"><strong>CanCaptureVideo</stron
g></a>(self)</dt></dl> |
| 354 |
| 355 <dl><dt><a name="PlatformBackend-CanFlushIndividualFilesFromSystemCache"><strong
>CanFlushIndividualFilesFromSystemCache</strong></a>(self)</dt></dl> |
| 356 |
| 357 <dl><dt><a name="PlatformBackend-CanLaunchApplication"><strong>CanLaunchApplicat
ion</strong></a>(self, application)</dt></dl> |
| 358 |
| 359 <dl><dt><a name="PlatformBackend-CanMonitorPowerAsync"><strong>CanMonitorPowerAs
ync</strong></a>(self)</dt></dl> |
| 360 |
| 361 <dl><dt><a name="PlatformBackend-CanMonitorPowerSync"><strong>CanMonitorPowerSyn
c</strong></a>(self)</dt></dl> |
| 362 |
38 <dl><dt><a name="PlatformBackend-CanMonitorThermalThrottling"><strong>CanMonitor
ThermalThrottling</strong></a>(self)</dt></dl> | 363 <dl><dt><a name="PlatformBackend-CanMonitorThermalThrottling"><strong>CanMonitor
ThermalThrottling</strong></a>(self)</dt></dl> |
39 | 364 |
| 365 <dl><dt><a name="PlatformBackend-FlushEntireSystemCache"><strong>FlushEntireSyst
emCache</strong></a>(self)</dt></dl> |
| 366 |
| 367 <dl><dt><a name="PlatformBackend-FlushSystemCacheForDirectory"><strong>FlushSyst
emCacheForDirectory</strong></a>(self, directory, ignoring<font color="#909090">
=None</font>)</dt></dl> |
| 368 |
40 <dl><dt><a name="PlatformBackend-GetChildPids"><strong>GetChildPids</strong></a>
(self, pid)</dt></dl> | 369 <dl><dt><a name="PlatformBackend-GetChildPids"><strong>GetChildPids</strong></a>
(self, pid)</dt></dl> |
41 | 370 |
42 <dl><dt><a name="PlatformBackend-GetCommandLine"><strong>GetCommandLine</strong>
</a>(self, pid)</dt></dl> | 371 <dl><dt><a name="PlatformBackend-GetCommandLine"><strong>GetCommandLine</strong>
</a>(self, pid)</dt></dl> |
43 | 372 |
| 373 <dl><dt><a name="PlatformBackend-GetCpuStats"><strong>GetCpuStats</strong></a>(s
elf, pid)</dt></dl> |
| 374 |
| 375 <dl><dt><a name="PlatformBackend-GetCpuTimestamp"><strong>GetCpuTimestamp</stron
g></a>(self)</dt></dl> |
| 376 |
44 <dl><dt><a name="PlatformBackend-GetIOStats"><strong>GetIOStats</strong></a>(sel
f, pid)</dt></dl> | 377 <dl><dt><a name="PlatformBackend-GetIOStats"><strong>GetIOStats</strong></a>(sel
f, pid)</dt></dl> |
45 | 378 |
46 <dl><dt><a name="PlatformBackend-GetMemoryStats"><strong>GetMemoryStats</strong>
</a>(self, pid)</dt></dl> | 379 <dl><dt><a name="PlatformBackend-GetMemoryStats"><strong>GetMemoryStats</strong>
</a>(self, pid)</dt></dl> |
47 | 380 |
48 <dl><dt><a name="PlatformBackend-GetOSName"><strong>GetOSName</strong></a>(self)
</dt></dl> | 381 <dl><dt><a name="PlatformBackend-GetOSName"><strong>GetOSName</strong></a>(self)
</dt></dl> |
49 | 382 |
50 <dl><dt><a name="PlatformBackend-GetOSVersionName"><strong>GetOSVersionName</str
ong></a>(self)</dt></dl> | 383 <dl><dt><a name="PlatformBackend-GetOSVersionName"><strong>GetOSVersionName</str
ong></a>(self)</dt></dl> |
51 | 384 |
52 <dl><dt><a name="PlatformBackend-GetRawDisplayFrameRateMeasurements"><strong>Get
RawDisplayFrameRateMeasurements</strong></a>(self)</dt></dl> | 385 <dl><dt><a name="PlatformBackend-GetRawDisplayFrameRateMeasurements"><strong>Get
RawDisplayFrameRateMeasurements</strong></a>(self)</dt></dl> |
53 | 386 |
54 <dl><dt><a name="PlatformBackend-GetSystemCommitCharge"><strong>GetSystemCommitC
harge</strong></a>(self)</dt></dl> | 387 <dl><dt><a name="PlatformBackend-GetSystemCommitCharge"><strong>GetSystemCommitC
harge</strong></a>(self)</dt></dl> |
55 | 388 |
| 389 <dl><dt><a name="PlatformBackend-GetSystemTotalPhysicalMemory"><strong>GetSystem
TotalPhysicalMemory</strong></a>(self)</dt></dl> |
| 390 |
56 <dl><dt><a name="PlatformBackend-HasBeenThermallyThrottled"><strong>HasBeenTherm
allyThrottled</strong></a>(self)</dt></dl> | 391 <dl><dt><a name="PlatformBackend-HasBeenThermallyThrottled"><strong>HasBeenTherm
allyThrottled</strong></a>(self)</dt></dl> |
57 | 392 |
| 393 <dl><dt><a name="PlatformBackend-InstallApplication"><strong>InstallApplication<
/strong></a>(self, application)</dt></dl> |
| 394 |
| 395 <dl><dt><a name="PlatformBackend-IsApplicationRunning"><strong>IsApplicationRunn
ing</strong></a>(self, application)</dt></dl> |
| 396 |
58 <dl><dt><a name="PlatformBackend-IsRawDisplayFrameRateSupported"><strong>IsRawDi
splayFrameRateSupported</strong></a>(self)</dt></dl> | 397 <dl><dt><a name="PlatformBackend-IsRawDisplayFrameRateSupported"><strong>IsRawDi
splayFrameRateSupported</strong></a>(self)</dt></dl> |
59 | 398 |
60 <dl><dt><a name="PlatformBackend-IsThermallyThrottled"><strong>IsThermallyThrott
led</strong></a>(self)</dt></dl> | 399 <dl><dt><a name="PlatformBackend-IsThermallyThrottled"><strong>IsThermallyThrott
led</strong></a>(self)</dt></dl> |
61 | 400 |
| 401 <dl><dt><a name="PlatformBackend-LaunchApplication"><strong>LaunchApplication</s
trong></a>(self, application, parameters<font color="#909090">=None</font>, elev
ate_privilege<font color="#909090">=False</font>)</dt></dl> |
| 402 |
| 403 <dl><dt><a name="PlatformBackend-MonitorPowerSync"><strong>MonitorPowerSync</str
ong></a>(self, duration_ms)</dt></dl> |
| 404 |
| 405 <dl><dt><a name="PlatformBackend-PurgeUnpinnedMemory"><strong>PurgeUnpinnedMemor
y</strong></a>(self)</dt></dl> |
| 406 |
62 <dl><dt><a name="PlatformBackend-SetFullPerformanceModeEnabled"><strong>SetFullP
erformanceModeEnabled</strong></a>(self, enabled)</dt></dl> | 407 <dl><dt><a name="PlatformBackend-SetFullPerformanceModeEnabled"><strong>SetFullP
erformanceModeEnabled</strong></a>(self, enabled)</dt></dl> |
63 | 408 |
64 <dl><dt><a name="PlatformBackend-StartRawDisplayFrameRateMeasurement"><strong>St
artRawDisplayFrameRateMeasurement</strong></a>(self)</dt><dd><tt># pylint:&
nbsp;disable=W0613</tt></dd></dl> | 409 <dl><dt><a name="PlatformBackend-StartMonitoringPowerAsync"><strong>StartMonitor
ingPowerAsync</strong></a>(self)</dt></dl> |
| 410 |
| 411 <dl><dt><a name="PlatformBackend-StartRawDisplayFrameRateMeasurement"><strong>St
artRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl> |
| 412 |
| 413 <dl><dt><a name="PlatformBackend-StartVideoCapture"><strong>StartVideoCapture</s
trong></a>(self, min_bitrate_mbps)</dt></dl> |
| 414 |
| 415 <dl><dt><a name="PlatformBackend-StopMonitoringPowerAsync"><strong>StopMonitorin
gPowerAsync</strong></a>(self)</dt></dl> |
65 | 416 |
66 <dl><dt><a name="PlatformBackend-StopRawDisplayFrameRateMeasurement"><strong>Sto
pRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl> | 417 <dl><dt><a name="PlatformBackend-StopRawDisplayFrameRateMeasurement"><strong>Sto
pRawDisplayFrameRateMeasurement</strong></a>(self)</dt></dl> |
67 | 418 |
| 419 <dl><dt><a name="PlatformBackend-StopVideoCapture"><strong>StopVideoCapture</str
ong></a>(self)</dt></dl> |
| 420 |
68 <hr> | 421 <hr> |
69 Data descriptors defined here:<br> | 422 Data descriptors defined here:<br> |
70 <dl><dt><strong>__dict__</strong></dt> | 423 <dl><dt><strong>__dict__</strong></dt> |
71 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | 424 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
72 </dl> | 425 </dl> |
73 <dl><dt><strong>__weakref__</strong></dt> | 426 <dl><dt><strong>__weakref__</strong></dt> |
74 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | 427 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
75 </dl> | 428 </dl> |
| 429 <dl><dt><strong>is_video_capture_running</strong></dt> |
| 430 </dl> |
76 </td></tr></table></td></tr></table> | 431 </td></tr></table></td></tr></table> |
77 </body></html> | 432 </body></html> |
OLD | NEW |