Package phones :: Module com_lgvx8550 :: Class Phone
[hide private]
[frames] | no frames]

Class Phone

source code

                com_brew.RealBrewProtocol --+        
                                            |        
                   com_brew.RealBrewProtocol2 --+    
                                                |    
       com_lg.LGUncountedIndexedMedia --+       |    
                                        |       |    
     com_lg.LGNewIndexedMedia --+       |       |    
                                |       |       |    
        com_lg.LGNewIndexedMedia2 --+   |       |    
                                    |   |       |    
                 com_lg.LGDMPhone --+   |       |    
                                    |   |       |    
     com_lg.LGNewIndexedMedia --+   |   |       |    
                                |   |   |       |    
               object --+       |   |   |       |    
                        |       |   |   |       |    
          com_phone.Phone --+   |   |   |       |    
                            |   |   |   |       |    
com_brew.RealBrewProtocol --+   |   |   |       |    
                            |   |   |   |       |    
       com_lg.LGPhonebook --+   |   |   |       |    
                            |   |   |   |       |    
    com_lg.LGIndexedMedia --+   |   |   |       |    
                            |   |   |   |       |    
           com_lgvx4400.Phone --+   |   |       |    
                                |   |   |       |    
               com_lgvx7000.Phone --+   |       |    
                                    |   |       |    
                   com_lgvx8100.Phone --+       |    
                                        |       |    
                       com_lgvx8300.Phone --+   |    
                                            |   |    
                           com_lgvx8500.Phone --+    
                                                |    
                               com_lgvx8700.Phone --+
                                                    |
                                                   Phone
Known Subclasses:

Nested Classes [hide private]

Inherited from com_brew.RealBrewProtocol: DirCache

Instance Methods [hide private]
 
setDMversion(self)
Define the DM version required for this phone, default to DMv5
source code
 
_get_speeddials(self)
Return the speed dials dict
source code
 
_build_media_dict(self, fundamentals, media_data, index_name)
Build & return a dict with keys being the media filenames and values being the name of the index item (index['name'])
source code
 
_get_path_index(self, index_file) source code
 
_build_ice_dict(self) source code
 
getphonebook(self, result)
Reads the phonebook data.
source code
 
extractphonebookentry(self, entry, numbers, speeds, ices, fundamentals, rt_name, wp_name)
Return a phonebook entry in BitPim format.
source code
 
_assignpbtypeandspeeddialsbytype(self, entry, numbers, speeds, res) source code
 
_assigniceentry(self, entry, numbers, ices, res) source code
 
_get_next_pb_id(self)
Return the next available pbentry ID
source code
 
_save_next_pb_id(self, idnum)
Save the next pbentry ID
source code
 
savephonebook(self, data)
Saves out the phonebook
source code
 
make_pn_entry(self, phone_number, number_type, pn_id, pbpn_id, pe_id)
Create a non-blank pnfileentry frome a phone number string
source code
 
make_ice_entry(self, ice_id, pb_id)
Create a iceentry from a pb_id and ice_id
source code
 
make_entry(self, pn_entries, speeddials, ice_entries, entry_num0, entry_num1, pb_entry, data, ring_pathf, rt_index, picid_pathf, wp_index)
Create a pbfileentry from a bitpim phonebook entry
source code
 
getcalendar(self, result) source code
 
_scheduleextras(self, data, fwversion) source code
 
savecalendar(self, dict, merge) source code

Inherited from com_lgvx8700.Phone: __init__, getgroups, listsubdirs, savegroups, saveringtones, savewallpapers

Inherited from com_lgvx8700.Phone (private): _update_pb_file

Inherited from com_brew.RealBrewProtocol2: closefile, exists, getfilecontents, getfilecontents2, getfilesystem, listfiles, mkdir, openfile, reconfig_directory, rmdir, rmfile, statfile, writefile

Inherited from com_lgvx8500.Phone: get_firmware_version, getplaylist, gett9db, saveplaylist, savet9db

Inherited from com_lgvx8300.Phone: get_detect_data, get_esn

Inherited from com_lg.LGUncountedIndexedMedia: external_storage_present, getindex, getmedia, getmediaindex, getringtoneindices, getringtones, getwallpaperindices, getwallpapers, is_external_media, savemedia

Inherited from com_lgvx8100.Phone: getcalendarcommon, getexceptions, getmemo, getphoneinfo, getrepeattype, makerepeat, savememo, setalarm

Inherited from com_lg.LGNewIndexedMedia2 (private): _guessvtype

Inherited from com_lg.LGDMPhone: __del__, enter_DM, get_challenge_response

Inherited from com_lgvx4400.Phone: eval_detect_data, get_cal, getcallhistory, getfundamentals, getsms, is_mode_brew, makeentry, savesms, set_cal

Inherited from com_phone.Phone: alert, close, log, logdata, progress, raisecommsdnaexception, raisecommsexception, readobject, setmode, writeobject

Inherited from com_phone.Phone (private): _setmodemodem

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Inherited from com_brew.RealBrewProtocol: basename, dirname, explore0c, get_brew_esn, getfirmwareinformation, hassubdirs, isdir, isfile, join, mkdirs, modemmoderequest, offlinerequest, rmdirs, sendbrewcommand, setfileattr

Inherited from com_brew.RealBrewProtocol (private): _setmodebrew

Inherited from com_lg.LGPhonebook: sendpbcommand

Class Methods [hide private]

Inherited from com_lgvx4400.Phone: detectphone

Class Variables [hide private]
  desc = 'LG-VX8550'
  helpid = None
  protocolclass
Various descriptions of data specific to LG VX8550
  serialsname = 'lgvx8550'
  my_model = 'VX8550'
  calendarringerlocation = 'sch/toolsRinger.dat'

Inherited from com_lgvx8700.Phone: builtinringtones, n, ringtonelocations, wallpaperlocations

Inherited from com_lgvx8500.Phone (private): _buffer_data, _t9keys

Inherited from com_lgvx8300.Phone: builtinwallpapers, calendarexceptionlocation, calendarlocation, calenderrequiresreboot, external_storage_root, memolocation

Inherited from com_lgvx8100.Phone: media_info

Inherited from com_lg.LGNewIndexedMedia2 (private): _minor_typemap

Inherited from com_lgvx4400.Phone: brew_version_file, brew_version_txt_key, builtinimages, esn_file, esn_file_key, imagelocations, lgpbinfo_key, ringerindexfilename, wallpaperindexfilename

Inherited from com_phone.Phone: MODEMODEM, MODENONE, gettodo

Inherited from com_brew.RealBrewProtocol: MODEBREW, brewterminator

Inherited from com_brew.RealBrewProtocol (private): _brewepochtounix

Inherited from com_lg.LGPhonebook: MODEPHONEBOOK, pbterminator

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setDMversion(self)

source code 

Define the DM version required for this phone, default to DMv5

Overrides: com_lg.LGDMPhone.setDMversion
(inherited documentation)

getphonebook(self, result)

source code 

Reads the phonebook data. The getfundamentals information will already be in result.

Overrides: com_lgvx4400.Phone.getphonebook

extractphonebookentry(self, entry, numbers, speeds, ices, fundamentals, rt_name, wp_name)

source code 

Return a phonebook entry in BitPim format. This is called from getphonebook.

Overrides: com_lgvx4400.Phone.extractphonebookentry

_assignpbtypeandspeeddialsbytype(self, entry, numbers, speeds, res)

source code 
Overrides: com_lgvx4400.Phone._assignpbtypeandspeeddialsbytype

savephonebook(self, data)

source code 

Saves out the phonebook

Overrides: com_lgvx4400.Phone.savephonebook

getcalendar(self, result)

source code 
Overrides: com_lgvx4400.Phone.getcalendar

savecalendar(self, dict, merge)

source code 
Overrides: com_lgvx4400.Phone.savecalendar

Class Variable Details [hide private]

protocolclass

Various descriptions of data specific to LG VX8550

Value:
phones.p_lgvx8550