| Method Summary |
| |
__init__(self,
logtarget,
commport)
|
| |
detectphone(_,
coms,
likely_ports,
res,
_module,
_log)
(Class method)
|
| |
eval_detect_data(self,
res)
|
| |
get_detect_data(self,
res)
|
| |
getfundamentals(self,
results)
Gets information fundamental to interopating with the phone and
UI. |
| |
getmediaindex(self,
results)
|
| |
getringtones(self,
results)
|
| |
getwallpapers(self,
results)
|
| |
is_mode_brew(self)
|
| |
makegcd(self,
filename,
size,
mimetable)
Build a GCD file for filename |
| |
read_groups(self)
Read and return the group dict |
| |
saveringtones(self,
result,
merge)
|
| |
savewallpapers(self,
result,
merge)
|
| |
_get_ams_index(self,
rt_index,
wp_index)
Get the index of ringtones and wallpapers in AmsRegistry |
| |
_get_builtin_index(self,
rt_index,
wp_index)
Get the indices of builtin ringtones and wallpapers |
| |
_get_camera_index(self,
res)
Get the index of images stored in the camera |
| |
_get_savedtophone_index(self,
res)
Get the index of saved-to-phone images |
| Inherited from Phone |
| |
alert(self,
message,
wait)
Raises an alert in the main thread |
| |
close(self)
|
| |
log(self,
str)
Log a message |
| |
logdata(self,
str,
data,
klass)
Log some data with option data object/class for the analyser |
| |
progress(self,
pos,
max,
desc)
Update the progress meter |
| |
raisecommsdnaexception(self,
str)
Raise a comms DeviceNeedsAttention Exception |
| |
raisecommsexception(self,
str,
klass)
|
| |
readobject(self,
filename,
object_class,
logtitle,
uselocalfs)
Read the specified filename and bind it to the object class |
| |
setmode(self,
desiredmode)
Ensure the phone is in the right mode |
| |
writeobject(self,
filename,
obj,
logtitle,
uselocalfs)
Writhe the object into the file |
| |
_setmodemodem(self)
|
| Inherited from object |
| |
__delattr__(...)
x.__delattr__('name') <==> del x.name |
| |
__getattribute__(...)
x.__getattribute__('name') <==> x.name |
| |
__hash__(x)
x.__hash__() <==> hash(x) |
| |
__new__(T,
S,
...)
T.__new__(S, ...) -> a new object with type S, a subtype of T |
| |
__reduce__(...)
helper for pickle |
| |
__reduce_ex__(...)
helper for pickle |
| |
__repr__(x)
x.__repr__() <==> repr(x) |
| |
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |
| |
__str__(x)
x.__str__() <==> str(x) |
| Inherited from RealBrewProtocol |
| |
basename(self,
path)
|
| |
dirname(self,
filename)
|
| |
exists(self,
path)
|
| |
explore0c(self)
|
| |
get_brew_esn(self)
|
| |
getfilecontents(self,
file,
use_cache)
|
| |
getfilesystem(self,
dir,
recurse)
|
| |
getfirmwareinformation(self)
|
| |
hassubdirs(self,
dir)
|
| |
isdir(self,
path)
|
| |
isfile(self,
filename)
|
| |
join(self,
*args)
|
| |
listfiles(self,
dir)
|
| |
listsubdirs(self,
dir,
recurse)
|
| |
mkdir(self,
name)
|
| |
mkdirs(self,
directory)
|
| |
modemmoderequest(self)
|
| |
offlinerequest(self,
reset,
delay)
|
| |
rmdir(self,
name)
|
| |
rmdirs(self,
path)
|
| |
rmfile(self,
name)
|
| |
sendbrewcommand(self,
request,
responseclass,
callsetmode)
|
| |
setfileattr(self,
filename,
date)
|
| |
statfile(self,
name)
|
| |
writefile(self,
name,
contents)
|
| |
_setmodebrew(self)
|
| Class Variable Summary |
tuple |
builtingroups = ('Unassigned', 'Family', 'Friends', 'Col...
|
tuple |
builtinimages = ('People 1', 'People 2', 'People 3', 'Pe...
|
tuple |
builtinringtones = ('Ring 1', 'Ring 2', 'Ring 3', 'Ring ...
|
str |
desc = 'SPH-M300'
|
NotImplementedType |
getcalendar = NotImplemented
|
NotImplementedType |
getphonebook = NotImplemented
|
str |
helpid = 'phone-samsungsphm300.htm'
|
tuple |
numbertypetab = ('cell', 'home', 'office', 'pager', 'fax...
|
str |
serialsname = 'sphm300'
|
int |
x = 10 |
dict |
_Phone__audio_mimetype = {'pmd': 'application/x-pmd', 'q...
|
dict |
_Phone__image_mimetype = {'gif': 'image/gif', 'bmp': 'im...
|
| Inherited from Phone |
NotImplementedType |
getcallhistory = NotImplemented
|
NotImplementedType |
getmemo = NotImplemented
|
NotImplementedType |
getplaylist = NotImplemented
|
NotImplementedType |
getsms = NotImplemented
|
NotImplementedType |
gett9db = NotImplemented
|
NotImplementedType |
gettodo = NotImplemented
|
str |
MODEMODEM = 'modemodem'
|
str |
MODENONE = 'modenone'
|
| Inherited from RealBrewProtocol |
str |
brewterminator = '~'
|
str |
MODEBREW = 'modebrew'
|
int |
_brewepochtounix = 315964800 |