Package phones :: Module com_lglx570 :: Class Profile
[hide private]
[frames] | no frames]

Class Profile

source code

       object --+        
                |        
com_phone.Profile --+    
                    |    
 com_lgvx4400.Profile --+
                        |
                       Profile

Instance Methods [hide private]
 
GetImageOrigins(self) source code
 
GetTargetsForImageOrigin(self, origin) source code
 
convertphonebooktophone(self, helper, data)
Converts the data to what will be used by the phone
source code

Inherited from com_lgvx4400.Profile: QueryAudio, __init__, normalisegroups

Inherited from com_lgvx4400.Profile (private): _getgroup

Inherited from com_phone.Profile: SyncQuery, phonize

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

Class Variables [hide private]
  protocolclass
Various descriptions of data specific to LG LX570 (Musiq)
  serialsname = 'lglx570'
  BP_Calendar_Version = 3
  phone_manufacturer = 'LG Electronics Inc'
  phone_model = 'LX570'
  WALLPAPER_WIDTH = 176
  WALLPAPER_HEIGHT = 220
  imageorigins = {}
  ringtoneorigins = ('my melodies', 'voice memo')
  excluded_ringtone_origins = ('ringers', 'sounds', 'my melodies...
  excluded_wallpaper_origins = ('images')
  imagetargets = {'outsidelcd': {'format': 'JPEG', 'height': 160...
  _supportedsyncs = (('phonebook', 'read', None), ('wallpaper', ...
  field_color_data = {'calendar': {'alarm': False, 'allday': Fal...

Inherited from com_lgvx4400.Profile: DIALSTRING_CHARS, MAX_RINGTONE_BASENAME_LENGTH, MAX_WALLPAPER_BASENAME_LENGTH, RINGTONE_FILENAME_CHARS, WALLPAPER_CONVERT_FORMAT, WALLPAPER_FILENAME_CHARS, brew_required, deviceclasses, usbids, usbids_straight, usbids_usbtoserial

Inherited from com_phone.Profile: autodetect_delay, reboot_delay, stockimageorigins, stockimagetargets

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

GetImageOrigins(self)

source code 
Overrides: com_phone.Profile.GetImageOrigins

GetTargetsForImageOrigin(self, origin)

source code 
Overrides: com_phone.Profile.GetTargetsForImageOrigin

convertphonebooktophone(self, helper, data)

source code 

Converts the data to what will be used by the phone

Parameters:
  • data - contains the dict returned by getfundamentals as well as where the results go
Overrides: com_lgvx4400.Profile.convertphonebooktophone

Class Variable Details [hide private]

protocolclass

Various descriptions of data specific to LG LX570 (Musiq)

Value:
phones.p_lglx570

excluded_ringtone_origins

Value:
('ringers', 'sounds', 'my melodies', 'voice memo')

imagetargets

Value:
{'outsidelcd': {'format': 'JPEG',
                'height': 160,
                'meta-help': 'Display on outside screen',
                'width': 128},
 'wallpaper': {'format': 'JPEG',
               'height': 220,
               'meta-help': 'Display as wallpaper',
               'width': 176}}

_supportedsyncs

Value:
(('phonebook', 'read', None),
 ('wallpaper', 'read', None),
 ('ringtone', 'read', None),
 ('sms', 'read', None),
 ('memo', 'read', None),
 ('phonebook', 'write', 'OVERWRITE'),
 ('ringtone', 'write', 'MERGE'),
 ('sms', 'write', 'OVERWRITE'),
...

field_color_data

Value:
{'calendar': {'alarm': False,
              'allday': False,
              'category': False,
              'description': False,
              'end': False,
              'location': False,
              'memo': False,
              'priority': False,
...