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

Type Phone

      object --+            
               |            
           Phone --+        
                   |        
RealBrewProtocol --+        
                   |        
               Phone --+    
                       |    
                   Phone --+
                           |
                          Phone


Method Summary
  __init__(self, logtarget, commport)
Calls all the constructors and sets initial modes
  get_ringtone_range(self, name, fundamentals)
  get_wallpaper_index(self)
  ringtone_name_from_range(self, range, fundamentals)
  savewallpapers(self, fundamentals, merge)
Save wallpapers to the phone
  _get_file_wallpaper_index(self, idx, result, path, origin)
  _read_ringtone_range(self, fundamentals)
    Inherited from Phone
  saveringtones(self, fundamentals, merge)
Save ringtones to the phone
  _add_wp_cache(self, wp, idx, fundamentals)
  _rescale_and_cache(self, wp, filename, idx, fundamentals)
    Inherited from Phone
  check_my_phone(self, res)
  detectphone(_, coms, likely_ports, res, _module, _log)
(Class method)
  get_esn(self)
  get_groups(self)
  get_ringtone_index(self)
  get_wallpaper_range(self, wallpaper, fundamentals)
  getcalendar(self, fundamentals)
  getfundamentals(self, results)
Gets information fundamental to interopating with the phone and UI.
  getphonebook(self, fundamentals)
  getringtones(self, fundamentals)
  getwallpapers(self, fundamentals)
  is_mode_brew(self)
  savecalendar(self, fundamentals, merge)
  savememo(self, fundamentals, merge)
  savephonebook(self, fundamentals)
  _add_files(self, index_key, media_key, new_list, fundamentals)
Add new file using BEW
  _build_common_msg(self, entry, sms_hdr)
  _build_draft_msg(self, sms_hdr, buf, res)
  _build_in_msg(self, sms_hdr, buf, res)
  _build_locked_field(self, entry, buf)
  _build_sent_msg(self, sms_hdr, buf, res)
  _del_existing_cal_entries(self)
  _del_existing_memo_entries(self)
  _del_files(self, index_key, _del_list, fundamentals)
Delete specified media files, need to be in OBEX mode
  _del_private_dicts(self, fundamentals)
  _extract_entries(self, filename, res, fundamentals)
  _get_builtin_ringtone_index(self, idx, result)
  _get_builtin_wallpaper_index(self, idx, result)
  _get_ch(self, call_list, folder, res)
  _get_ch_index(self)
  _get_del_new_list(self, index_key, media_key, merge, fundamentals, ignored_origins)
Return a list of media being deleted and being added
  _get_file_ringtone_index(self, idx, result, index_file_name, index_file_class, origin)
  _get_media_from_index(self, index_key, media_key, fundamentals)
  _get_wp_filename(self, wp, wp_index)
  _item_from_index(self, name, item_key, index_dict)
  _read_calendar_index(self)
  _read_sms(self, filename, res, fundamentals)
  _replace_files(self, index_key, media_key, new_list, fundamentals)
Replace existing files with new contents using BREW
  _time_now(self)
  _update_media_index(self, index_file_class, index_entry_class, media_path, excluded_files, index_file_name)
  _write_cal_entries(self, next_index, fundamentals)
  _write_cal_index(self, next_index, fundamentals)
  _write_memo_entries(self, next_index, fundamentals)
  _write_memo_index(self, next_index, fundamentals)
    Inherited from Phone
  alert(self, message, wait)
Raises an alert in the main thread
  close(self)
  getcallhistory(self, fundamentals)
  getmemo(self, fundamentals)
  getsms(self, fundamentals)
  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
dict builtin_groups = {1: 'Business', 2: 'Colleague', 3: 'Fam...
dict builtin_ringtones = {'Melody 4': 'range_tones_preloaded_...
dict builtin_sounds = {}
dict builtin_wallpapers = {'Preloaded4': 'range_f_wallpaper_p...
str desc = 'SCH-U470'
str detected_model = 'U470'
str helpid = 'phone-samsungschu470.htm'
str my_manufacturer = 'SAMSUNG'
str my_model = 'SCH-U470/Juke'
str ringtone_default_range = 'range_tones_preloaded_el_01'
str ringtone_noring_range = 'range_tones_preloaded_el_no_rin...
str serialsname = 'schu470'
    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                                                             

Instance Method Details

__init__(self, logtarget, commport)
(Constructor)

Calls all the constructors and sets initial modes
Overrides:
phones.com_samsungschu740.Phone.__init__

savewallpapers(self, fundamentals, merge)

Save wallpapers to the phone
Overrides:
phones.com_samsungschu740.Phone.savewallpapers

Class Variable Details

builtin_groups

Type:
dict
Value:
{1: 'Business', 2: 'Colleague', 3: 'Family', 4: 'Friends'}             

builtin_ringtones

Type:
dict
Value:
{'Beep Once': 'range_tones_preloaded_el_11',
 'Bell 1': 'range_tones_preloaded_el_02',
 'Bell 2': 'range_tones_preloaded_el_03',
 'Bell 3': 'range_tones_preloaded_el_04',
 'Melody 1': 'range_tones_preloaded_el_05',
 'Melody 2': 'range_tones_preloaded_el_06',
 'Melody 3': 'range_tones_preloaded_el_07',
 'Melody 4': 'range_tones_preloaded_el_08',
...                                                                    

builtin_sounds

Type:
dict
Value:
{}                                                                     

builtin_wallpapers

Type:
dict
Value:
{'Preloaded1': 'range_f_wallpaper_preloaded_el_01',
 'Preloaded2': 'range_f_wallpaper_preloaded_el_02',
 'Preloaded3': 'range_f_wallpaper_preloaded_el_03',
 'Preloaded4': 'range_f_wallpaper_preloaded_el_04',
 'Preloaded5': 'range_f_wallpaper_preloaded_el_05'}                    

desc

Type:
str
Value:
'SCH-U470'                                                             

detected_model

Type:
str
Value:
'U470'                                                                 

helpid

Type:
str
Value:
'phone-samsungschu470.htm'                                             

my_manufacturer

Type:
str
Value:
'SAMSUNG'                                                              

my_model

Type:
str
Value:
'SCH-U470/Juke'                                                        

ringtone_default_range

Type:
str
Value:
'range_tones_preloaded_el_01'                                          

ringtone_noring_range

Type:
str
Value:
'range_tones_preloaded_el_no_rings'                                    

serialsname

Type:
str
Value:
'schu470'                                                              

Generated by Epydoc 2.1 on Fri Aug 15 18:58:28 2008 http://epydoc.sf.net