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

Class Profile

source code

       object --+    
                |    
com_phone.Profile --+
                    |
                   Profile
Known Subclasses:

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_getgroup(self, name, groups) source code
 
normalisegroups(self, helper, data)
Assigns groups based on category data
source code
 
convertphonebooktophone(self, helper, data)
Converts the data to what will be used by the phone
source code
 
phonize(self, str)
Convert the phone number into something the phone understands All digits, P, T, * and # are kept, everything else is removed
source code

Inherited from com_phone.Profile: GetImageOrigins, GetTargetsForImageOrigin, QueryAudio, SyncQuery

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

Class Variables [hide private]
  BP_Calendar_Version = 3
  usbids = ((1256, 26113, 1))
  deviceclasses = "modem", "serial"
  WALLPAPER_WIDTH = 128
  WALLPAPER_HEIGHT = 118
  OVERSIZE_PERCENTAGE = 100
  MAX_WALLPAPER_BASENAME_LENGTH = 19
  WALLPAPER_FILENAME_CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgh...
  WALLPAPER_CONVERT_FORMAT = 'png'
  MAX_RINGTONE_BASENAME_LENGTH = 19
  RINGTONE_FILENAME_CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghi...
  _supportedsyncs = ()

Inherited from com_phone.Profile: DIALSTRING_CHARS, autodetect_delay, excluded_ringtone_origins, excluded_wallpaper_origins, field_color_data, imageorigins, reboot_delay, ringtoneorigins, stockimageorigins, stockimagetargets

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

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

phonize(self, str)

source code 

Convert the phone number into something the phone understands All digits, P, T, * and # are kept, everything else is removed

Overrides: com_phone.Profile.phonize

Class Variable Details [hide private]

WALLPAPER_FILENAME_CHARS

Value:
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 .`~!@#\
$%^&()-_=+[{]};\''

RINGTONE_FILENAME_CHARS

Value:
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 .`~!@#\
$%^&()-_=+[{]};\''