LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SystemService Class Reference

#include <SystemService.h>

Inheritance diagram for SystemService:
[legend]
Collaboration diagram for SystemService:
[legend]

Classes

struct  __ActiveModalDialogInfo
 

Public Types

typedef struct
SystemService::__ActiveModalDialogInfo 
ActiveModalDialogInfo
 

Signals

void signalIncomingPhoneCall ()
 
void signalEnterBrickMode (bool mediaSync)
 
void signalExitBrickMode ()
 
void signalBrickModeFailed ()
 
void signalMediaPartitionAvailable (bool)
 
void signalDeviceUnlocked ()
 
void signalCancelPinEntry ()
 
void signalTouchToShareCanTap (bool)
 
void signalTouchToShareAppUrlTransfered (const std::string &)
 
void signalDismissModalDialog ()
 
void signalStopModalDismissTimer ()
 

Public Member Functions

 ~SystemService ()
 
void init ()
 
bool brickMode () const
 
LSHandle * serviceHandle () const
 
void postForegroundApplicationChange (const std::string &name, const std::string &menuname, const std::string &id)
 
void postApplicationHasBeenTerminated (const std::string &title, const std::string &menuname, const std::string &id)
 
void postLockStatus (bool locked)
 
void postDeviceLockMode ()
 
void postLockButtonTriggered ()
 
void shutdownDevice ()
 
void enterMSM ()
 
void vibrate (const char *soundClass)
 
void postLaunchModalResult (bool timedOut=false)
 
void postDismissModalResult (bool timedOut=false)
 
void postAppRestoredNeeded ()
 
void postMessageToSystemUI (const char *jsonStr)
 
void postMessageToSystemUIResponses (const char *jsonStr)
 
void postSystemStatus ()
 
void notifyDeviceUnlocked ()
 
void notifyCancelPinEntry ()
 
void notifyTouchToShareCanTap (bool val)
 
void notifyTouchToShareAppUrlTransfered (const std::string &str)
 
void notifyDismissModalDialog ()
 
void notifyDismissModalTimerStopped ()
 
bool showCardLoadingAnimation () const
 
void setShowCardLoadingAnimation (bool val)
 

Static Public Member Functions

static SystemServiceinstance ()
 
static void buildSubscriptionModalId (std::string &caller, std::string &launchApp)
 
static void resetModalDialogInfo ()
 
static void setActiveModalBeingLaunched ()
 
static void setActiveModalBeingRemoved ()
 
static void setActiveModalInfo ()
 
static bool isModalActive ()
 
static std::string getStrFromJSON (json_object *root, const char *id)
 
static std::string getModalWindowSubscriptionId ()
 
static std::string getModalDismissReturnValue ()
 
static bool initiateAppLaunch (LSHandle *lshandle, LSMessage *message, std::string &callerId, const char *messageStr, void *user_data, const char *modalId, bool isHeadless)
 
static json_object * buildParamsForAppLaunch (std::string params, std::string &launchId, bool &success, std::string &errMsg)
 
static void saveLauncherAndCallerInfo (std::string &caller, std::string &launchedApp)
 
static void setReturnValueToPost (const std::string &retValue)
 
static bool isParentPdk ()
 
static void setParentAppPdk (bool isSdk)
 

Member Typedef Documentation

Constructor & Destructor Documentation

SystemService::~SystemService ( )

Member Function Documentation

bool SystemService::brickMode ( ) const
inline
json_object * SystemService::buildParamsForAppLaunch ( std::string  params,
std::string &  launchId,
bool &  success,
std::string &  errMsg 
)
static
void SystemService::buildSubscriptionModalId ( std::string &  caller,
std::string &  launchApp 
)
static
void SystemService::enterMSM ( )
std::string SystemService::getModalDismissReturnValue ( )
static
std::string SystemService::getModalWindowSubscriptionId ( )
static
std::string SystemService::getStrFromJSON ( json_object *  root,
const char *  id 
)
static
void SystemService::init ( )
bool SystemService::initiateAppLaunch ( LSHandle *  lshandle,
LSMessage *  message,
std::string &  callerId,
const char *  messageStr,
void *  user_data,
const char *  modalId,
bool  isHeadless 
)
static
SystemService * SystemService::instance ( void  )
static
bool SystemService::isModalActive ( )
static
bool SystemService::isParentPdk ( )
static
void SystemService::notifyCancelPinEntry ( )
inline
void SystemService::notifyDeviceUnlocked ( )
inline
void SystemService::notifyDismissModalDialog ( )
inline
void SystemService::notifyDismissModalTimerStopped ( )
inline
void SystemService::notifyTouchToShareAppUrlTransfered ( const std::string &  str)
inline
void SystemService::notifyTouchToShareCanTap ( bool  val)
inline
void SystemService::postApplicationHasBeenTerminated ( const std::string &  title,
const std::string &  menuname,
const std::string &  id 
)
void SystemService::postAppRestoredNeeded ( )
void SystemService::postDeviceLockMode ( )
void SystemService::postDismissModalResult ( bool  timedOut = false)
void SystemService::postForegroundApplicationChange ( const std::string &  name,
const std::string &  menuname,
const std::string &  id 
)
void SystemService::postLaunchModalResult ( bool  timedOut = false)
void SystemService::postLockButtonTriggered ( )
void SystemService::postLockStatus ( bool  locked)
void SystemService::postMessageToSystemUI ( const char *  jsonStr)
void SystemService::postMessageToSystemUIResponses ( const char *  jsonStr)
void SystemService::postSystemStatus ( )
void SystemService::resetModalDialogInfo ( )
static
void SystemService::saveLauncherAndCallerInfo ( std::string &  caller,
std::string &  launchedApp 
)
static
LSHandle* SystemService::serviceHandle ( ) const
inline
void SystemService::setActiveModalBeingLaunched ( )
static
void SystemService::setActiveModalBeingRemoved ( )
static
void SystemService::setActiveModalInfo ( )
static
void SystemService::setParentAppPdk ( bool  isSdk)
static
void SystemService::setReturnValueToPost ( const std::string &  retValue)
static
void SystemService::setShowCardLoadingAnimation ( bool  val)
inline
bool SystemService::showCardLoadingAnimation ( ) const
inline
void SystemService::shutdownDevice ( )
void SystemService::signalBrickModeFailed ( )
signal
void SystemService::signalCancelPinEntry ( )
signal
void SystemService::signalDeviceUnlocked ( )
signal
void SystemService::signalDismissModalDialog ( )
signal
void SystemService::signalEnterBrickMode ( bool  mediaSync)
signal
void SystemService::signalExitBrickMode ( )
signal
void SystemService::signalIncomingPhoneCall ( )
signal
void SystemService::signalMediaPartitionAvailable ( bool  )
signal
void SystemService::signalStopModalDismissTimer ( )
signal
void SystemService::signalTouchToShareAppUrlTransfered ( const std::string &  )
signal
void SystemService::signalTouchToShareCanTap ( bool  )
signal
void SystemService::vibrate ( const char *  soundClass)

The documentation for this class was generated from the following files: