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

Class Phone

source code

               object --+        
                        |        
          com_phone.Phone --+    
                            |    
com_brew.RealBrewProtocol --+    
                            |    
     com_samsungscha950.Phone --+
                                |
                               Phone

Nested Classes [hide private]

Inherited from com_brew.RealBrewProtocol: DirCache

Instance Methods [hide private]
 
__init__(self, logtarget, commport)
Calls all the constructors and sets initial modes
source code
 
getfilecontents(self, filename, use_cache=False) source code
 
get_groups(self) source code
 
_get_dir_index(self, idx, result, pathname, origin, excludenames=()) source code
 
get_ringtone_index(self) source code
 
_get_file_wallpaper_index(self, idx, result) source code
 
get_wallpaper_index(self) source code
 
_get_del_new_list(self, index_key, media_key, merge, fundamentals, origins)
Return a list of media being deleted and being added
source code
 
saveringtones(self, fundamentals, merge)
Save ringtones to the phone
source code
 
_add_files(self, index_key, media_key, new_list, fundamentals)
Add new file using BEW
source code
 
_update_wp_index_file(self, filelist) source code
 
savewallpapers(self, fundamentals, merge)
Save ringtones to the phone
source code
 
_read_ringtone_range(self, fundamentals) source code
 
_add_wp_cache(self, wp, idx, fundamentals) source code

Inherited from com_samsungscha950.Phone: check_my_phone, get_esn, get_ringtone_range, get_wallpaper_range, getcalendar, getcallhistory, getfundamentals, getmemo, getphonebook, getringtones, getsms, getwallpapers, is_mode_brew, ringtone_name_from_range, savecalendar, savememo, savephonebook

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, getfilesystem, getfirmwareinformation, hassubdirs, isdir, isfile, join, listfiles, listsubdirs, mkdir, mkdirs, modemmoderequest, offlinerequest, rmdir, rmdirs, rmfile, sendbrewcommand, setfileattr, statfile, writefile

Inherited from com_brew.RealBrewProtocol (private): _setmodebrew

Class Methods [hide private]

Inherited from com_samsungscha950.Phone: detectphone

Class Variables [hide private]
  desc = 'SCH-A870'
  helpid = 'phone-samsungscha870.htm'
  protocolclass
Various descriptions of data specific to the Samsung SCH-A870 Phone
  serialsname = 'scha870'
  my_model = 'SCH-A870/187'
  my_manufacturer = 'SAMSUNG'
  detected_model = 'A870'
  ringtone_noring_range = 'range_tones_preloaded_el_15'
  ringtone_default_range = 'range_tones_preloaded_el_01'
  builtin_ringtones = {'Beep Once': 147, 'Bell 1': 83, 'Bell 2':...
  builtin_sounds = {'Clapping': 92, 'Crowd': 93, 'Happy Birthday...
  builtin_wallpapers = {'No Picture': None}

Inherited from com_samsungscha950.Phone: builtin_groups

Inherited from com_phone.Phone: MODEMODEM, MODENONE, getplaylist, gett9db, gettodo

Inherited from com_brew.RealBrewProtocol: MODEBREW, brewterminator

Inherited from com_brew.RealBrewProtocol (private): _brewepochtounix

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_brew.RealBrewProtocol.__init__

getfilecontents(self, filename, use_cache=False)

source code 
Overrides: com_brew.RealBrewProtocol.getfilecontents

get_groups(self)

source code 
Overrides: com_samsungscha950.Phone.get_groups

get_ringtone_index(self)

source code 
Overrides: com_samsungscha950.Phone.get_ringtone_index

_get_file_wallpaper_index(self, idx, result)

source code 
Overrides: com_samsungscha950.Phone._get_file_wallpaper_index

get_wallpaper_index(self)

source code 
Overrides: com_samsungscha950.Phone.get_wallpaper_index

_get_del_new_list(self, index_key, media_key, merge, fundamentals, origins)

source code 

Return a list of media being deleted and being added

Overrides: com_samsungscha950.Phone._get_del_new_list

saveringtones(self, fundamentals, merge)

source code 

Save ringtones to the phone

Overrides: com_samsungscha950.Phone.saveringtones

_add_files(self, index_key, media_key, new_list, fundamentals)

source code 

Add new file using BEW

Overrides: com_samsungscha950.Phone._add_files

savewallpapers(self, fundamentals, merge)

source code 

Save ringtones to the phone

Overrides: com_samsungscha950.Phone.savewallpapers

_read_ringtone_range(self, fundamentals)

source code 
Overrides: com_samsungscha950.Phone._read_ringtone_range

_add_wp_cache(self, wp, idx, fundamentals)

source code 
Overrides: com_samsungscha950.Phone._add_wp_cache

Class Variable Details [hide private]

protocolclass

Various descriptions of data specific to the Samsung SCH-A870 Phone

Value:
phones.p_samsungscha870

builtin_ringtones

Value:
{'Beep Once': 147,
 'Bell 1': 83,
 'Bell 2': 84,
 'Bell 3': 85,
 'Default': None,
 'Melody 1': 86,
 'Melody 2': 87,
 'Melody 3': 88,
...

builtin_sounds

Value:
{'Clapping': 92,
 'Crowd': 93,
 'Happy Birthday': 94,
 'Rain Forest': 95,
 'Train': 96}