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

Class Phone

source code

               object --+        
                        |        
          com_phone.Phone --+    
                            |    
com_brew.RealBrewProtocol --+    
                            |    
       com_lg.LGPhonebook --+    
                            |    
    com_lg.LGIndexedMedia --+    
                            |    
           com_lgvx4400.Phone --+
                                |
                               Phone

Talk to the LG VX4650 cell phone

Nested Classes [hide private]
  SMSCannedFile

Inherited from com_brew.RealBrewProtocol: DirCache

Instance Methods [hide private]
 
__init__(self, logtarget, commport)
Calls all the constructors and sets initial modes
source code
 
getfirmwareinformation(self) source code
 
getmediaindex(self, builtins, maps, results, key)
Gets the media (wallpaper/ringtone) index
source code
 
getringtones(self, result) source code
 
saveringtones(self, results, merge) source code
 
savephonebook(self, data)
Saves out the phonebook
source code
 
_update_wallpaper_index(self, wpi) source code
 
getcallhistory(self, result) source code
 
_setquicktext(self, result) source code
 
_getquicktext(self) source code
 
_get_phone_number(self) source code
 
getphoneinfo(self, phone_info) source code

Inherited from com_lgvx4400.Phone: eval_detect_data, extractphonebookentry, get_cal, get_detect_data, get_esn, getcalendar, getfundamentals, getgroups, getmemo, getphonebook, getringtoneindices, getsms, getwallpaperindices, is_mode_brew, makeentry, savecalendar, savegroups, savememo, 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, exists, explore0c, get_brew_esn, getfilecontents, getfilesystem, hassubdirs, isdir, isfile, join, listfiles, listsubdirs, mkdir, mkdirs, modemmoderequest, offlinerequest, rmdir, rmdirs, rmfile, sendbrewcommand, setfileattr, statfile, writefile

Inherited from com_brew.RealBrewProtocol (private): _setmodebrew

Inherited from com_lg.LGPhonebook: sendpbcommand

Inherited from com_lg.LGIndexedMedia: getindex, getmedia, getwallpapers, savemedia, savewallpapers

Class Methods [hide private]

Inherited from com_lgvx4400.Phone: detectphone

Class Variables [hide private]
  desc = 'LG-VX4650'
  helpid = 'phone-lgvx4650.htm'
  protocolclass
Various descriptions of data specific to LG VX4650
  serialsname = 'lgvx4650'
  imagelocations = ((30, 'download/dloadindex/brewImageIndex.map...
  ringtonelocations = ((50, 'download/dloadindex/brewRingerIndex...
  builtinimages = {80: ('Large Pic. 1', 'Large Pic. 2', 'Large P...
  builtinringtones = {1: ('Ring 1', 'Ring 2', 'Ring 3', 'Ring 4'...
  VoiceMemoDir = 'VoiceDB/All/Memos'
  _call_history_info = {'Incoming': 'pim/incoming_log.dat', 'Mis...
  my_model = 'VX4650'

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

Inherited from com_phone.Phone: MODEMODEM, MODENONE, getplaylist, gett9db, 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]

__init__(self, logtarget, commport)
(Constructor)

source code 

Calls all the constructors and sets initial modes

Overrides: com_lg.LGIndexedMedia.__init__

getfirmwareinformation(self)

source code 
Overrides: com_brew.RealBrewProtocol.getfirmwareinformation

getmediaindex(self, builtins, maps, results, key)

source code 

Gets the media (wallpaper/ringtone) index

Parameters:
  • builtins - the builtin list on the phone
  • results - places results in this dict
  • maps - the list of index files and locations
  • key - key to place results in
Overrides: com_lg.LGIndexedMedia.getmediaindex

getringtones(self, result)

source code 
Overrides: com_lg.LGIndexedMedia.getringtones

saveringtones(self, results, merge)

source code 
Overrides: com_lg.LGIndexedMedia.saveringtones

savephonebook(self, data)

source code 

Saves out the phonebook

Overrides: com_lgvx4400.Phone.savephonebook

getcallhistory(self, result)

source code 
Overrides: getcallhistory

_setquicktext(self, result)

source code 
Overrides: com_lgvx4400.Phone._setquicktext

_getquicktext(self)

source code 
Overrides: com_lgvx4400.Phone._getquicktext

Class Variable Details [hide private]

protocolclass

Various descriptions of data specific to LG VX4650

Value:
phones.p_lgvx4650

imagelocations

Value:
((30,
  'download/dloadindex/brewImageIndex.map',
  'dload/img',
  'images',
  30))

ringtonelocations

Value:
((50,
  'download/dloadindex/brewRingerIndex.map',
  'user/sound/ringer',
  'ringers',
  30))

builtinimages

Value:
{80: ('Large Pic. 1',
      'Large Pic. 2',
      'Large Pic. 3',
      'Large Pic. 4',
      'Large Pic. 5',
      'Large Pic. 6',
      'Large Pic. 7',
      'Large Pic. 8',
...

builtinringtones

Value:
{1: ('Ring 1',
     'Ring 2',
     'Ring 3',
     'Ring 4',
     'Ring 5',
     'VZW Default Tone',
     'Arabesque',
     'Piano Sonata',
...

_call_history_info

Value:
{'Incoming': 'pim/incoming_log.dat',
 'Missed': 'pim/missed_log.dat',
 'Outgoing': 'pim/outgoing_log.dat'}