# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1286970184 -10800 # Node ID 4610cd70c542ff61a461cabb510506c7ab030e25 # Parent 739cef68093288e5b714ad78ed6e2d091a5c0635 Revision: 201039 Kit: 201041 diff -r 739cef680932 -r 4610cd70c542 appfw/apparchitecture/aplist/aplapplist.cpp --- a/appfw/apparchitecture/aplist/aplapplist.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/appfw/apparchitecture/aplist/aplapplist.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -943,7 +943,7 @@ */ EXPORT_C void CApaAppList::AddForcedRegistrationL(const TDesC& aRegistrationFile) { - TInt err = iForcedRegistrations->InsertIsqL(aRegistrationFile, ECmpFolded); + TRAPD(err, iForcedRegistrations->InsertIsqL(aRegistrationFile, ECmpFolded)); if (err != KErrAlreadyExists) // We silently ignore attempts to insert duplicates User::LeaveIfError(err); diff -r 739cef680932 -r 4610cd70c542 appsupport_plat/context_framework_services_api/inc/CFActionIndication.h --- a/appsupport_plat/context_framework_services_api/inc/CFActionIndication.h Wed Sep 15 12:23:15 2010 +0300 +++ b/appsupport_plat/context_framework_services_api/inc/CFActionIndication.h Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -20,7 +20,7 @@ #define C_CFACTIONINDICATION_H #include -#include +#include /** * Encapsulates inside an action indication. Action indication consists of diff -r 739cef680932 -r 4610cd70c542 appsupport_plat/oom_monitor_plugin_api/inc/oommonitorplugin.h --- a/appsupport_plat/oom_monitor_plugin_api/inc/oommonitorplugin.h Wed Sep 15 12:23:15 2010 +0300 +++ b/appsupport_plat/oom_monitor_plugin_api/inc/oommonitorplugin.h Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -78,16 +78,6 @@ * between low and good memory states. */ virtual void MemoryGood() = 0; - - /** - * Function: AppId - * The function return the UID3 of the process which implements the plugin - * By default, the Null UID [KNullUid] is returned. - * The plugin can override this API with their own implementation. - * COomMonitorPlugin monitor plugins - * @return the UID3 the application which implements the plugin - */ - virtual const TUid AppId() const; public: /** @@ -184,16 +174,6 @@ public: IMPORT_C static CAppOomMonitorPlugin* NewL(TUid aAppUid); - /** - * Function: AppId - * The function return the UID3 of the process which implements the plugin - * By default, the Null UID [KNullUid] is returned. - * The plugin can override this API with their own implementation. - * COomMonitorPlugin monitor plugins - * @return the UID3 the application which implements the plugin - */ - const TUid AppId() const; - private: CAppOomMonitorPlugin(TUid aAppUid); diff -r 739cef680932 -r 4610cd70c542 appsupport_plat/startup_configuration_api/inc/startupdomaincrkeys.h --- a/appsupport_plat/startup_configuration_api/inc/startupdomaincrkeys.h Wed Sep 15 12:23:15 2010 +0300 +++ b/appsupport_plat/startup_configuration_api/inc/startupdomaincrkeys.h Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -263,14 +263,6 @@ */ const TUint32 KStartupDefaultTime = 0x00000016; -/** -* AT command CFun specifc key -* Default value is 0 -* Offline to Online profile transition value is 1 -* Online to Offline profile transition value is 2 -*/ -const TUint32 KStartupATcmdCFUNProfileChange = 0x0000001A; - #endif // STARTUPDOMAINCRKEYS_H // End of File diff -r 739cef680932 -r 4610cd70c542 appsupport_plat/system_application_notification_api/inc/coreapplicationuisdomainpskeys.h --- a/appsupport_plat/system_application_notification_api/inc/coreapplicationuisdomainpskeys.h Wed Sep 15 12:23:15 2010 +0300 +++ b/appsupport_plat/system_application_notification_api/inc/coreapplicationuisdomainpskeys.h Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -332,31 +332,4 @@ ECoreAppUIsProfileActivatedNoteShown = 1 }; - - -// ============================================================================= -// GAN Mode API -// ============================================================================= - -// Use TUid KPSUidCoreApplicationUIs = { 0x101F8767 } - -const TUint32 KCoreAppUIsGanPropertyGanMode = 0x00000601; - -/** GANmode (actual network mode) */ -enum TCoreAppUIsGanMode - { - EGanModeUnspecified = 0, // We are not aware of MS GAN/GERAN state - EGanModeGAN = 1, // MS is in GAN - EGanModeGeran = 2 // MS is in GERAN - }; - - -// ============================================================================= -// GAN Signal strength -// ============================================================================= - -// Use TUid KPSUidCoreApplicationUIs = { 0x101F8767 } - -const TUint32 KCoreAppUIsGanPropertySignalLevel = 0x00000602; - #endif // COREAPPLICATIONUISDOMAINPSKEYS_H diff -r 739cef680932 -r 4610cd70c542 contextframework/cfw/group/bld.inf --- a/contextframework/cfw/group/bld.inf Wed Sep 15 12:23:15 2010 +0300 +++ b/contextframework/cfw/group/bld.inf Wed Oct 13 14:43:04 2010 +0300 @@ -32,9 +32,9 @@ ../conf/contextframework_10282BCE.crml MW_LAYER_CRML(contextframework_10282BCE.crml) ../conf/contextframework_200159ED.crml MW_LAYER_CRML(contextframework_200159ED.crml) -../data/backup_registration.xml /epoc32/data/z/private/10282BC4/backup_registration.xml -../data/backup_registration.xml /epoc32/release/winscw/udeb/z/private/10282BC4/backup_registration.xml -../data/backup_registration.xml /epoc32/release/winscw/urel/z/private/10282BC4/backup_registration.xml +../data/backup_registration.xml /epoc32/data/Z/private/10282BC4/backup_registration.xml +../data/backup_registration.xml /epoc32/release/winscw/UDEB/Z/private/10282BC4/backup_registration.xml +../data/backup_registration.xml /epoc32/release/winscw/UREL/Z/private/10282BC4/backup_registration.xml #ifdef RD_CONTEXT_FRAMEWORK ../rom/ContextFramework.iby CORE_MW_LAYER_IBY_EXPORT_PATH(ContextFramework.iby) diff -r 739cef680932 -r 4610cd70c542 contextframework/cfw/src/cfclient/cfcontextservice.cpp --- a/contextframework/cfw/src/cfclient/cfcontextservice.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/contextframework/cfw/src/cfclient/cfcontextservice.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2008-2008 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -291,7 +291,7 @@ TInt err = KErrNone; // Stream context query set into buffer - HBufC8* buffer = WriteStreamContextQueryLC( aContextQuery ); + HBufC8* buffer = buffer = WriteStreamContextQueryLC( aContextQuery ); HBufC8* resultBuffer = HBufC8::NewLC( iRequestBufferSize ); TPtr8 resultBufferPtr = resultBuffer->Des(); TPckg bufferSizePtr( iRequestBufferSize ); diff -r 739cef680932 -r 4610cd70c542 contextframework/cfw/tsrc/public/basic/MT_BasicOperationsPlugIn/mt_basicoperationsplugin.h --- a/contextframework/cfw/tsrc/public/basic/MT_BasicOperationsPlugIn/mt_basicoperationsplugin.h Wed Sep 15 12:23:15 2010 +0300 +++ b/contextframework/cfw/tsrc/public/basic/MT_BasicOperationsPlugIn/mt_basicoperationsplugin.h Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" diff -r 739cef680932 -r 4610cd70c542 contextframework/cfw/tsrc/public/basic/MT_CFScriptEngine/MT_CFScriptEngine.h --- a/contextframework/cfw/tsrc/public/basic/MT_CFScriptEngine/MT_CFScriptEngine.h Wed Sep 15 12:23:15 2010 +0300 +++ b/contextframework/cfw/tsrc/public/basic/MT_CFScriptEngine/MT_CFScriptEngine.h Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" diff -r 739cef680932 -r 4610cd70c542 contextframework/cfw/tsrc/public/basic/common/cffakeenv.h --- a/contextframework/cfw/tsrc/public/basic/common/cffakeenv.h Wed Sep 15 12:23:15 2010 +0300 +++ b/contextframework/cfw/tsrc/public/basic/common/cffakeenv.h Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -24,7 +24,7 @@ #include #include -#include +#include #include "cfextendedcontextinterface.h" #include "CFScriptEngineInterface.h" diff -r 739cef680932 -r 4610cd70c542 contextframework/cfw/tsrc/public/basic/group/bld.inf --- a/contextframework/cfw/tsrc/public/basic/group/bld.inf Wed Sep 15 12:23:15 2010 +0300 +++ b/contextframework/cfw/tsrc/public/basic/group/bld.inf Wed Oct 13 14:43:04 2010 +0300 @@ -39,7 +39,7 @@ ../data/testsettings/10282BDA.txt\ /epoc32/data/z/private/10202be9/10282BDA.txt ../data/testsettings/10282BDA.txt\ - /epoc32/release/winscw/udeb/z/private/10202be9/10282BDA.txt + /epoc32/release/winscw/udeb/Z/private/10202be9/10282BDA.txt ../data/testsettings/testcontextsourcesetting1.xml\ /epoc32/data/z/private/10282BC4/Settings/10002001/testcontextsourcesetting1.xml diff -r 739cef680932 -r 4610cd70c542 contextframework/cfw/tsrc/public/basic/mt_cfservices/mt_cfservices.cpp --- a/contextframework/cfw/tsrc/public/basic/mt_cfservices/mt_cfservices.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/contextframework/cfw/tsrc/public/basic/mt_cfservices/mt_cfservices.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" diff -r 739cef680932 -r 4610cd70c542 contextframework/cfwplugins/PSStateSourcePlugIn/src/psstatesourceplugin.cpp --- a/contextframework/cfwplugins/PSStateSourcePlugIn/src/psstatesourceplugin.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/contextframework/cfwplugins/PSStateSourcePlugIn/src/psstatesourceplugin.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -247,7 +247,7 @@ TInt psValue; TLex lex( psValueDesc ); - User::LeaveIfError( lex.Val(psValue) ); + lex.Val(psValue); intmapper->AddMappingL(psValue, contextValue); } diff -r 739cef680932 -r 4610cd70c542 contextframework/cfwplugins/orientationactionplugin/group/orientationactionplugin.mmp --- a/contextframework/cfwplugins/orientationactionplugin/group/orientationactionplugin.mmp Wed Sep 15 12:23:15 2010 +0300 +++ b/contextframework/cfwplugins/orientationactionplugin/group/orientationactionplugin.mmp Wed Oct 13 14:43:04 2010 +0300 @@ -50,7 +50,7 @@ LIBRARY cfactivatorengine.lib LIBRARY cfservices.lib LIBRARY centralrepository.lib -LIBRARY avkon.lib +LIBRARY Avkon.lib LIBRARY apgrfx.lib #ifdef TRACE_INTO_FILE LIBRARY flogger.lib diff -r 739cef680932 -r 4610cd70c542 contextframework/cfwplugins/orientationactionplugin/src/orientationactionplugin.cpp --- a/contextframework/cfwplugins/orientationactionplugin/src/orientationactionplugin.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/contextframework/cfwplugins/orientationactionplugin/src/orientationactionplugin.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -84,6 +84,7 @@ CCFActionPlugIn::TExecutionTime time = CCFActionPlugIn::ENone; + const RKeyValueArray& params = aActionIndication->Parameters(); // Check for action ID: Orientation if( aActionIndication->Identifier().CompareF( KOrientationAction ) == KErrNone ) diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/GSServerEngine/Src/GSServerEngine.cpp --- a/coreapplicationuis/GSServerEngine/Src/GSServerEngine.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/GSServerEngine/Src/GSServerEngine.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). + * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -17,9 +17,9 @@ */ // INCLUDE FILES -#include "GsLogger.h" +#include "GSLogger.h" #include "GSServerEngine.h" -#include +#include #include #include diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/Rfs/Plugins/GSRFSPlugin/data/GSRFSPluginRsc.rss --- a/coreapplicationuis/Rfs/Plugins/GSRFSPlugin/data/GSRFSPluginRsc.rss Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/Rfs/Plugins/GSRFSPlugin/data/GSRFSPluginRsc.rss Wed Oct 13 14:43:04 2010 +0300 @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include #include "gsrfsplugin.hrh" diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/Rfs/Plugins/GSRFSPlugin/group/GSRFSPlugin.mmp --- a/coreapplicationuis/Rfs/Plugins/GSRFSPlugin/group/GSRFSPlugin.mmp Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/Rfs/Plugins/GSRFSPlugin/group/GSRFSPlugin.mmp Wed Oct 13 14:43:04 2010 +0300 @@ -71,7 +71,7 @@ LIBRARY CommonEngine.lib LIBRARY fbscli.lib LIBRARY AknIcon.lib -LIBRARY AKNSKINS.lib +LIBRARY aknskins.lib LIBRARY hlplch.lib LIBRARY GSFramework.lib diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/Rfs/Plugins/rfscustcmd/tsrc/rfscustcmdtest/group/bld.inf --- a/coreapplicationuis/Rfs/Plugins/rfscustcmd/tsrc/rfscustcmdtest/group/bld.inf Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/Rfs/Plugins/rfscustcmd/tsrc/rfscustcmdtest/group/bld.inf Wed Oct 13 14:43:04 2010 +0300 @@ -25,7 +25,7 @@ ../rom/rfscustcmdtest.iby CORE_OS_LAYER_IBY_EXPORT_PATH( rfscustcmdtest.iby ) ../data/excludelist.txt /epoc32/release/winscw/udeb/z/private/100059C9/excludelist.txt ../data/excludelist.txt /epoc32/release/winscw/urel/z/private/100059C9/excludelist.txt -../data/excludelist.txt /epoc32/data/z/private/100059C9/excludelist.txt +../data/excludelist.txt /epoc32/data/Z/private/100059C9/excludelist.txt // Export file for emulator. For HW file come from pkg ../init/rfscustcmdtest.ini /epoc32/winscw/c/testframework/rfscustcmdtest.ini diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/Rfs/inc/rfsConnectionObserver.h --- a/coreapplicationuis/Rfs/inc/rfsConnectionObserver.h Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/Rfs/inc/rfsConnectionObserver.h Wed Oct 13 14:43:04 2010 +0300 @@ -26,7 +26,7 @@ #include #include -#include "rfsConTimer.h" +#include "rfscontimer.h" class CRfsConTimer; diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/Rfs/src/rfscontimer.cpp --- a/coreapplicationuis/Rfs/src/rfscontimer.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/Rfs/src/rfscontimer.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -17,7 +17,7 @@ */ -#include "rfsConTimer.h" +#include "rfscontimer.h" #include "RfsTraces.h" const TInt KRfsConnectionTimeOut = 60000000; diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Data/SysAp.rss --- a/coreapplicationuis/SysAp/Data/SysAp.rss Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/SysAp/Data/SysAp.rss Wed Oct 13 14:43:04 2010 +0300 @@ -21,7 +21,7 @@ // INCLUDES #include -#include +#include #include #include #include diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Group/SysAp.mmp --- a/coreapplicationuis/SysAp/Group/SysAp.mmp Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/SysAp/Group/SysAp.mmp Wed Oct 13 14:43:04 2010 +0300 @@ -147,9 +147,6 @@ SOURCE powersavemode/sysappsmcontroller.cpp SOURCE sysapbatteryinfocontroller.cpp -SOURCE gan/sysapganpropertylistener.cpp -SOURCE gan/sysapganhandler.cpp - SOURCE SysApSatObserver.cpp LIBRARY satclient.lib // for sat refresh @@ -184,8 +181,6 @@ USERINCLUDE ../CenRep USERINCLUDE ../PubSub -USERINCLUDE ../src/gan - APP_LAYER_SYSTEMINCLUDE // used instead of MW_LAYER_SYSTEMINCLUDE due to dependencies to APP layer LIBRARY euser.lib diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Inc/SysApAppUi.h --- a/coreapplicationuis/SysAp/Inc/SysApAppUi.h Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/SysAp/Inc/SysApAppUi.h Wed Oct 13 14:43:04 2010 +0300 @@ -98,8 +98,6 @@ class CSysApDriveUnlockHandler; class CSysApDriveEjectHandler; -class CSysApGanHandler; - class CSysApBatteryInfoController; //CONSTANTS @@ -738,13 +736,6 @@ void SetSignalIndicatorWcdmaL(); /** - * Gets called by SetSignalIndicatorL() when in Gan network - * @param None - * @return void - */ - void SetSignalIndicatorGanL(); - - /** * Handles GPRS suspend/resume notes if feature supported. * ie. Gprs state icon or common signal icon. * @param None @@ -1439,7 +1430,7 @@ * @since S60 3.2 * @return reference to CSysApCenRepLogsObserver object */ - CSysApCenRepLogsObserver& LogsObserverL(); + CSysApCenRepLogsObserver& CSysApAppUi::LogsObserverL(); /** * Adds MMC removal item(s) to power menu. @@ -1701,12 +1692,6 @@ //Flag to record if the TD network is enalbed. TBool iTDEnable; TBool IsDefaultPowerKeyBehavior(); - - // Are we in GAN mode - TBool iGanEnabled; - - // Handler for GAN events - CSysApGanHandler* iSysApGanHandler; }; diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Inc/SysApFeatureManager.h --- a/coreapplicationuis/SysAp/Inc/SysApFeatureManager.h Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/SysAp/Inc/SysApFeatureManager.h Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -185,7 +185,7 @@ * @since S60 9.2 * @return ETrue if feature is set */ - TBool SlideSupported() const; + TBool CSysApFeatureManager::SlideSupported() const; /** * Returns whether Cover Display is supported. @@ -264,14 +264,6 @@ */ TBool PowerKeyIsLockKey() const; - /** - * Returns whether GAN is supported. - * - * @since S60 3.2 - * @return ETrue if feature is supported - */ - TBool GanSupported() const; - private: /** @@ -397,12 +389,6 @@ * Short press of power key invokes keylock */ TBool iPowerKeyIsLockKey; - - /** - * Generic Access Network (GAN) supported status. - */ - TBool iGanSupported; - }; #endif // SYSAPFEATUREMANAGER_H diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Inc/SysApMediatorObserver.h --- a/coreapplicationuis/SysAp/Inc/SysApMediatorObserver.h Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/SysAp/Inc/SysApMediatorObserver.h Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Inc/sysapremconobserver.h --- a/coreapplicationuis/SysAp/Inc/sysapremconobserver.h Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/SysAp/Inc/sysapremconobserver.h Wed Oct 13 14:43:04 2010 +0300 @@ -58,7 +58,7 @@ /** * Open remcon interface and reserve the volume keys */ - void StartRemconInterfaceL(); + void StartRemconInterface(); /** * close the remcon interface and release the volume keys diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Src/CenRepObservers/SysApCenRepLogsObserver.cpp --- a/coreapplicationuis/SysAp/Src/CenRepObservers/SysApCenRepLogsObserver.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/SysAp/Src/CenRepObservers/SysApCenRepLogsObserver.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -79,7 +79,7 @@ KLogsNewMissedCalls ); iNewMissedCallsHandler->StartListeningL(); - User::LeaveIfError(iSession->Get(KLogsNewMissedCalls, iMissedCallsValue)); + iSession->Get(KLogsNewMissedCalls, iMissedCallsValue); } // ---------------------------------------------------------------------------- diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Src/SysApAppUi.cpp --- a/coreapplicationuis/SysAp/Src/SysApAppUi.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/SysAp/Src/SysApAppUi.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -59,7 +59,6 @@ #include #include -#include "sysapganhandler.h" #include #include #include @@ -68,7 +67,7 @@ #include "SysApSimChanged.h" -#include +#include #include "SysApLightsController.h" #include "SysApPubSubObserver.h" @@ -248,8 +247,7 @@ iSysApAudioRoutingObserver( NULL ), iSysApCenRepCallForwardingObserver( NULL ), iSysApCenRepMsgWaitingObserver( NULL ), - iSysApGanHandler( NULL ), - iKeyBoardRepeatCount(-1) + iKeyBoardRepeatCount(-1) { TRACES( RDebug::Print( _L("CSysApAppUi::CSysApAppUi()") ) ); } @@ -490,17 +488,8 @@ TRACES( RDebug::Print( _L("CCSysApAppUi::ConstructL trying CSysApCenRepHacSettingObserver::NewL") ) ); iSysApCenRepHacSettingObserver = CSysApCenRepHacSettingObserver::NewL( *this ); - + DeactivatePSMifBatteryNotLowL (); - if( iSysApFeatureManager->GanSupported() ) - { - - - RProperty::Define( KPSUidCoreApplicationUIs, KCoreAppUIsGanPropertyGanMode, RProperty::EInt, KAlwaysPassPolicy, KWriteDeviceDataPolicy ); - RProperty::Define( KPSUidCoreApplicationUIs, KCoreAppUIsGanPropertySignalLevel, RProperty::EInt, KAlwaysPassPolicy, KWriteDeviceDataPolicy ); - iSysApGanHandler = CSysApGanHandler::NewL( *this ); - } - TRACES( RDebug::Print( _L("CSysApAppUi::ConstructL: END") ) ); } @@ -581,8 +570,6 @@ delete iSysApStartupController; - delete iSysApGanHandler; - #ifdef RD_MULTIPLE_DRIVE iInsertedMemoryCards.Close(); delete iSysApDriveEjectHandler; @@ -762,14 +749,16 @@ TRACES( RDebug::Print( _L( "CSysApAppUi::HandleKeyEventL(): Reading value of KStartupSecurityCodeQueryStatus - State Value: %d"),securityQueryState)); TInt callState( StateOfProperty( KPSUidCtsyCallInformation, KCTsyCallState ) ); //Disable keylock if Alarm is active or if a Security code query is active on the display - if ( alarmState == ECoreAppUIsDisableKeyguard || securityQueryState == ESecurityQueryActive - || callState == EPSCTsyCallStateRinging || iDeviceLockEnabled) + if ( alarmState == ECoreAppUIsDisableKeyguard || securityQueryState == ESecurityQueryActive ) { KeyLock().DisableWithoutNote(); } else { - KeyLock().EnableWithoutNote(); + if( callState != EPSCTsyCallStateConnected && !iDeviceLockEnabled) + { + KeyLock().EnableWithoutNote(); + } } } else @@ -1903,11 +1892,8 @@ void CSysApAppUi::UpdateSignalBarsL( const TInt aState ) { TRACES( RDebug::Print( _L("CSysApAppUi::UpdateSignalBarsL aState: %d"), aState ) ); - if( iSysApGanHandler && iSysApGanHandler->IsInGanMode() ) - { - iSignalNotify->SetSignalLevelL( iSysApGanHandler->GanSignalLevel() ); - } - else if( aState == KAknSignalOffLineMode || (iSysApOfflineModeController->OfflineModeActive() && !iEmergencyCallActive) ) + + if( aState == KAknSignalOffLineMode || (iSysApOfflineModeController->OfflineModeActive() && !iEmergencyCallActive) ) { iSignalNotify->SetSignalLevelL( KAknSignalOffLineMode ); } @@ -1960,39 +1946,22 @@ } iSignalNotify->SetWcdmaStateL( EAknSignalWcdmaIndicatorOff ); iSignalNotify->SetHsdpaStateL( EAknSignalHsdpaIndicatorOff); - TRACES( RDebug::Print(_L("CSysApAppUi::SetSignalIndicatorL: gan off" ) ) ); - iSignalNotify->SetUmaStateL( EAknSignalUmaIndicatorOff ); } else { - if( iSysApGanHandler && iSysApGanHandler->IsInGanMode() ) - { - // Enter GAN: set GAN signal bar - SetSignalIndicatorGanL(); - iGanEnabled = ETrue; - } - else - { - if( iGanEnabled ) - { - UpdateSignalBarsL(); - iGanEnabled = EFalse; - } - - // The device is in Online Mode - switch ( networkMode ) - { - case ESysApGSM: - SetSignalIndicatorGsmL(); - break; - - case ESysApWCDMA: - SetSignalIndicatorWcdmaL(); - break; - - default: - break; - } + // The device is in Online Mode + switch ( networkMode ) + { + case ESysApGSM: + SetSignalIndicatorGsmL(); + break; + + case ESysApWCDMA: + SetSignalIndicatorWcdmaL(); + break; + + default: + break; } } } @@ -2244,47 +2213,6 @@ } // ---------------------------------------------------------------------------- -// CSysApAppUi::SetSignalIndicatorGanL() -// ---------------------------------------------------------------------------- -void CSysApAppUi::SetSignalIndicatorGanL() - { - TRACES( RDebug::Print(_L("CSysApAppUi::SetSignalIndicatorGanL: available" ) ) ); - - TInt gprsStatus( 0 ); - gprsStatus = StateOfProperty( KUidSystemCategory, KPSUidGprsStatusValue ); - - TRACES( RDebug::Print( _L("CSysApAppUi::SetSignalIndicatorGanL gprsStatus: %d" ), gprsStatus ) ); - - switch ( gprsStatus ) - { - case EPSGprsContextActive: - iSignalNotify->SetUmaStateL( EAknSignalUmaIndicatorContext ); - break; - - case EPSGprsContextActivating: - iSignalNotify->SetUmaStateL( EAknSignalUmaIndicatorEstablishingContext ); - break; - - case EPSGprsSuspend: - iSignalNotify->SetUmaStateL( EAknSignalUmaIndicatorSuspended ); - break; - - case EPSGprsAttach: - iSignalNotify->SetUmaStateL( EAknSignalUmaIndicatorAttached ); - break; - - case EPSGprsMultibleContextActive: - iSignalNotify->SetUmaStateL( EAknSignalUmaIndicatorMultipdp ); - break; - - case EPSGprsUnattached: - default: - iSignalNotify->SetUmaStateL( EAknSignalUmaIndicatorAvailable ); - break; - } - } - -// ---------------------------------------------------------------------------- // CSysApAppUi::HandleGprsNotesL() // ---------------------------------------------------------------------------- @@ -4558,7 +4486,6 @@ InitializeStatusPaneAreaL(); CheckSilentModeL(); HandleAccessoryProfileInStartupL(); - DeactivatePSMifBatteryNotLowL (); if ( iSysApFeatureManager->MmcSupported() ) { @@ -6855,7 +6782,8 @@ else // default low warning note must be shown { // activate partial power save mode on first low warning - iSysApPsmController->DoEnablePartialPsm( ETrue ); // activated on first warning note + // Enabling Partial Psm automatically disabled + //iSysApPsmController->DoEnablePartialPsm( ETrue ); // activated on first warning note //Display Battery Low note. ShowUiNoteL( EBatteryLowNote ); } @@ -6938,10 +6866,15 @@ { iSysApPsmController->DoEnableFullPsm( ETrue ); } + + // Enabling Partial Psm when the user selects 'No' is diabled. + /* else { - iSysApPsmController->DoEnablePartialPsm( ETrue ); - } + //iSysApPsmController->DoEnablePartialPsm( ETrue ); // bhaskar + } + */ + } // ---------------------------------------------------------------------------- diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Src/SysApFeatureManager.cpp --- a/coreapplicationuis/SysAp/Src/SysApFeatureManager.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/SysAp/Src/SysApFeatureManager.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -114,9 +114,6 @@ iPowerKeyIsLockKey = FeatureManager::FeatureSupported( KFeatureIdFfPowerKeyAsKeyguard ); TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: Power Key as keyguard supported=%d"), iPowerKeyIsLockKey ) ); - - iGanSupported = FeatureManager::FeatureSupported( KFeatureIdFfGenericAccessNetwork ); - TRACES( RDebug::Print( _L("CSysApFeatureManager::ConstructL: GAN supported=%d"), iGanSupported ) ); CRepository* repository = NULL; @@ -195,8 +192,8 @@ iVmbxCallDivertIconSupported( EFalse ), iTouchUnlockStrokeSupported( EFalse ), iFmTxRdsTextSupported( EFalse ), - iPowerKeyIsLockKey ( EFalse ), - iGanSupported( EFalse ) + iPowerKeyIsLockKey ( EFalse ) + { } @@ -444,15 +441,6 @@ return iPowerKeyIsLockKey; } -// ---------------------------------------------------------------------------- -// CSysApFeatureManager::GanSupported() -// ---------------------------------------------------------------------------- -// -TBool CSysApFeatureManager::GanSupported() const - { - return iGanSupported; - } - // End of File diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Src/SysApPubSubObserver.cpp --- a/coreapplicationuis/SysAp/Src/SysApPubSubObserver.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/SysAp/Src/SysApPubSubObserver.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -718,7 +718,7 @@ if(iFmTxRemConObserver) { //Open Remcon and reserve the volume keys - iFmTxRemConObserver->StartRemconInterfaceL(); + iFmTxRemConObserver->StartRemconInterface(); } } else diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Src/SysApShutdownAnimation.cpp --- a/coreapplicationuis/SysAp/Src/SysApShutdownAnimation.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/SysAp/Src/SysApShutdownAnimation.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -172,6 +172,13 @@ else if ( iState == EPlaying ) { iState = EFinished; + if ( iCtrl ) + { + iCtrl->Cancel(); + iView.RemoveComponent(); + delete iCtrl; + iCtrl = NULL; + } iCallBack.CallBack(); } diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Src/gan/msysapganpropertyobserver.h --- a/coreapplicationuis/SysAp/Src/gan/msysapganpropertyobserver.h Wed Sep 15 12:23:15 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,37 +0,0 @@ -/* -* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: MSysApGanPropertyObserver class definition. This is a callback -* interface from RProperty listener to client application. -* -*/ - -#ifndef MSYSAPGANPROPERTYOBSERVER_H_ -#define MSYSAPGANPROPERTYOBSERVER_H_ - -class CSysApGanPropertyListener; - -NONSHARABLE_CLASS( MSysApGanPropertyObserver ) - { -public: - /** - * Method is called when property value changes. - * @param aPropertyListener Listener of the changed property. - * @param aStatus Status of the event. - */ - virtual void PropertyEvent( - CSysApGanPropertyListener& aPropertyListener, - TInt aStatus ) = 0; - }; - -#endif /* MSYSAPGANPROPERTYOBSERVER_H_ */ diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Src/gan/sysapganhandler.cpp --- a/coreapplicationuis/SysAp/Src/gan/sysapganhandler.cpp Wed Sep 15 12:23:15 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,142 +0,0 @@ -/* -* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Handle GAN server events -* -*/ - -#include -#include "coreapplicationuisdomainpskeys.h" -#include "sysapganhandler.h" -#include "SysApAppUi.h" -#include "SysAp.hrh" - -// ======== MEMBER FUNCTIONS ======== - -// --------------------------------------------------------------------------- -// C++ constructor -// --------------------------------------------------------------------------- -// -CSysApGanHandler::CSysApGanHandler( CSysApAppUi& aSysApAppUi ) : - iSysApAppUi( aSysApAppUi ), - iGanMode( EGanModeUnspecified ) - { - } - -// --------------------------------------------------------------------------- -// Symbian 2nd phase constructor -// --------------------------------------------------------------------------- -// -void CSysApGanHandler::ConstructL() - { - TRACES( RDebug::Print( _L("CSysApGanHandler::ConstructL IN") ) ); - TInt err( KErrNone ); - - // Start listening for GAN mode - err = iPropertyGanMode.Attach( KPSUidCoreApplicationUIs, KCoreAppUIsGanPropertyGanMode ); - User::LeaveIfError( err ); - iGanModeListener = CSysApGanPropertyListener::NewL( iPropertyGanMode, *this ); - iGanModeListener->Subscribe(); - - // Start listening for signal strength - err = iPropertySignalLevel.Attach( KPSUidCoreApplicationUIs, KCoreAppUIsGanPropertySignalLevel ); - User::LeaveIfError( err ); - iSignalLevelListener = CSysApGanPropertyListener::NewL( iPropertySignalLevel, *this ); - iSignalLevelListener->Subscribe(); - - // Get current GAN mode - TInt mode; - err = iPropertyGanMode.Get( mode ); - if( KErrNone == err ) - { - iGanMode = (TCoreAppUIsGanMode)mode; - } - - // Get current GAN signal level - iPropertySignalLevel.Get( iGanSignalLevel ); - - TRACES( RDebug::Print( _L("CSysApGanHandler::ConstructL OUT") ) ); - } - -// --------------------------------------------------------------------------- -// Static constructor. -// --------------------------------------------------------------------------- -// -CSysApGanHandler* CSysApGanHandler::NewL( CSysApAppUi& aSysApAppUi ) - { - CSysApGanHandler* self = new (ELeave) CSysApGanHandler( aSysApAppUi ); - CleanupStack::PushL( self ); - self->ConstructL(); - CleanupStack::Pop( self ); - return self; - } - -// --------------------------------------------------------------------------- -// Destructor. -// --------------------------------------------------------------------------- -// -CSysApGanHandler::~CSysApGanHandler() - { - delete iGanModeListener; - delete iSignalLevelListener; - iPropertyGanMode.Close(); - iPropertySignalLevel.Close(); - } - -TBool CSysApGanHandler::IsInGanMode() - { - return iGanMode == EGanModeGAN; - } - -TInt CSysApGanHandler::GanSignalLevel() - { - return iGanSignalLevel; - } - -// --------------------------------------------------------------------------- -// Handle UI Status RProperty change event. Read the new RProperty value -// and publish the content on idle screen. -// --------------------------------------------------------------------------- -// -void CSysApGanHandler::PropertyEvent( - CSysApGanPropertyListener& aPropertyListener, - TInt aStatus ) - { - TRACES( RDebug::Print( _L("CSysApGanHandler::PropertyEvent IN") ) ); - TRACES( RDebug::Print( _L("CSysApGanHandler::PropertyEvent status %d"), aStatus ) ); - - if( KErrNone == aStatus ) - { - if( iGanModeListener == &aPropertyListener ) - { - // GAN mode event - TInt mode; - TInt err = iPropertyGanMode.Get( mode ); - iGanMode = (TCoreAppUIsGanMode)mode; - TRACES( RDebug::Print( _L("CSysApGanHandler::PropertyEvent RProp err %d"), err ) ); - TRACES( RDebug::Print( _L("CSysApGanHandler::PropertyEvent GAN mode %d"), iGanMode ) ); - iSysApAppUi.SetSignalIndicatorL(); - } - else if( iSignalLevelListener == &aPropertyListener ) - { - // Signal level event - TInt err = iPropertySignalLevel.Get( iGanSignalLevel ); - TRACES( RDebug::Print( _L("CSysApGanHandler::PropertyEvent RProp err %d"), err ) ); - TRACES( RDebug::Print( _L("CSysApGanHandler::PropertyEvent signal level %d"), iGanSignalLevel ) ); - iSysApAppUi.UpdateSignalBarsL(); - } - } - aPropertyListener.Subscribe(); - TRACES( RDebug::Print( _L("CSysApGanHandler::PropertyEvent OUT") ) ); - } - diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Src/gan/sysapganhandler.h --- a/coreapplicationuis/SysAp/Src/gan/sysapganhandler.h Wed Sep 15 12:23:15 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,121 +0,0 @@ -/* -* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: CSysApGanHandler class definition. -* -*/ - -#ifndef SYSAPGANHANDLER_H_ -#define SYSAPGANHANDLER_H_ - -#include -#include -#include "sysapganpropertylistener.h" - -class CSysApAppUi; - -/** - * Listen RProperty events from GAN server. - */ -NONSHARABLE_CLASS( CSysApGanHandler ) : - public CBase, - private MSysApGanPropertyObserver - { -public: - /** - * Static constructor. - * @param aSysApUi Application UI. - */ - static CSysApGanHandler* NewL( CSysApAppUi& aSysApAppUi ); - - /** - * Destructor. - */ - ~CSysApGanHandler(); - - /** - * Tells if phone is in GAN mode. - * @return ETrue if in GAN mode (not in GERAN) - */ - TBool IsInGanMode(); - - /** - * Tells the signal bar level in GAN mode. - * @return The number of signal bar blocks. - */ - TInt GanSignalLevel(); - -private: // from MSysApGanPropertyObserver - - /** - * Receive RProperty notification. This same interface can receive - * notifications from multiple listeners. - * @param aPropertyListener Property lister that received the notification. - * @param aStatus Status of the notification. - */ - void PropertyEvent( - CSysApGanPropertyListener& aPropertyListener, TInt aStatus ); - -private: - /** - * C++ constructor. - * @param aSysApUi Application UI. - */ - CSysApGanHandler( CSysApAppUi& aSysApAppUi ); - - /** - * Symbian 2nd phase constructor. - */ - void ConstructL(); - - -protected: // Data - - /** - * Application UI. - */ - CSysApAppUi& iSysApAppUi; - - /** - * Current GAN mode. - */ - TCoreAppUIsGanMode iGanMode; - - /** - * Current GAN signal level. - */ - TInt iGanSignalLevel; - - /** - * GAN mode property. - */ - RProperty iPropertyGanMode; - - /** - * Signal level property. - */ - RProperty iPropertySignalLevel; - - /** - * Listener for GAN mode property. - */ - CSysApGanPropertyListener* iGanModeListener; - - /** - * Listener for signal level property. - */ - CSysApGanPropertyListener* iSignalLevelListener; - - }; - -#endif /* SYSAPGANHANDLER_H_ */ diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Src/gan/sysapganpropertylistener.cpp --- a/coreapplicationuis/SysAp/Src/gan/sysapganpropertylistener.cpp Wed Sep 15 12:23:15 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,99 +0,0 @@ -/* -* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Listens to given P&S key and notifies -* observer whenever the value changes. -*/ - - -#include "sysapganpropertylistener.h" - -// ======== MEMBER FUNCTIONS ======== - -// --------------------------------------------------------------------------- -// C++ constructor -// --------------------------------------------------------------------------- -// -CSysApGanPropertyListener::CSysApGanPropertyListener( - RProperty& aProperty, - MSysApGanPropertyObserver& aObserver ) : - CActive( CActive::EPriorityStandard ), - iObserver( aObserver ), - iProperty( aProperty ) - { - CActiveScheduler::Add( this ); - } - -// --------------------------------------------------------------------------- -// Static constructor. -// --------------------------------------------------------------------------- -// -CSysApGanPropertyListener* CSysApGanPropertyListener::NewL( - RProperty& aProperty, - MSysApGanPropertyObserver& aObserver ) - { - CSysApGanPropertyListener* self = - new ( ELeave ) CSysApGanPropertyListener( aProperty, aObserver ); - return self; - } - -// --------------------------------------------------------------------------- -// Destructor. -// --------------------------------------------------------------------------- -// -CSysApGanPropertyListener::~CSysApGanPropertyListener() - { - Cancel(); // Cancel any request, if outstanding - } - -// --------------------------------------------------------------------------- -// Subscribe for property value changes. -// --------------------------------------------------------------------------- -// -void CSysApGanPropertyListener::Subscribe() - { - // Cancel any outstanding request - Cancel(); - - iProperty.Subscribe( iStatus ); - SetActive(); - } - -// --------------------------------------------------------------------------- -// Property value changed. -// --------------------------------------------------------------------------- -// -void CSysApGanPropertyListener::RunL() - { - // Notify the observer. - iObserver.PropertyEvent( *this, iStatus.Int() ); - } - -// --------------------------------------------------------------------------- -// Subscription cancelled. -// --------------------------------------------------------------------------- -// -void CSysApGanPropertyListener::DoCancel() - { - iProperty.Cancel(); - } - -// --------------------------------------------------------------------------- -// Error in RunL. -// --------------------------------------------------------------------------- -// -TInt CSysApGanPropertyListener::RunError( TInt /*aError*/ ) - { - // ignore error - return KErrNone; - } diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Src/gan/sysapganpropertylistener.h --- a/coreapplicationuis/SysAp/Src/gan/sysapganpropertylistener.h Wed Sep 15 12:23:15 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,100 +0,0 @@ -/* -* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: CSysApGanPropertyListener class definition. Class for -* RProperty changes from GAN server. -*/ - - -#ifndef C_SYSAPGANPROPERTYLISTENER_H -#define C_SYSAPGANPROPERTYLISTENER_H - -#include -#include -#include "msysapganpropertyobserver.h" - -/** - * Listen RProperty events. - */ -NONSHARABLE_CLASS( CSysApGanPropertyListener ) : - public CActive - { -public: - /** - * Static constructor. - * @param aProperty Property to listen to. - * @param aObserver Object that is informed about about new IAP usage. - */ - static CSysApGanPropertyListener* NewL( - RProperty& aProperty, - MSysApGanPropertyObserver& aObserver ); - - /** - * Destructor. - */ - ~CSysApGanPropertyListener(); - -protected: - /** - * C++ constructor. - * @param aProperty Property to listen to. - * @param aObserver Object that is informed about about new IAP usage. - */ - CSysApGanPropertyListener( - RProperty& aProperty, - MSysApGanPropertyObserver& aObserver ); - - /** - * Symbian 2nd phase constructor. - */ - void ConstructL(); - -public: - /** - * Subscribes to a property. - */ - void Subscribe(); - -protected: // From CActive - - /** - * Handles an active object's request completion event. - */ - void RunL(); - - /** - * Cancels asynchronous request. - */ - void DoCancel(); - - /** - * Handles a leave occurring in RunL(). - * @param aError Error that caused RunL to leave. - */ - TInt RunError( TInt aError ); - -protected: // Data - - /** - * Observer to notifiy about property changes. - */ - MSysApGanPropertyObserver& iObserver; - - /** - * Property to listen to. - */ - RProperty& iProperty; - - }; - -#endif // C_SYSAPGANPROPERTYLISTENER_H diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Src/sysapdefaultkeyhandler.cpp --- a/coreapplicationuis/SysAp/Src/sysapdefaultkeyhandler.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/SysAp/Src/sysapdefaultkeyhandler.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -197,10 +197,10 @@ RProperty::Set( KPSUidHWRM, KHWRMGripStatus, EPSHWRMGripOpen ); iKeypadWasLocked = iKeylock->IsKeyLockEnabled(); iKeylockPolicy->DisableKeyguardFeature(); + iKeylock->DisableKeyLock(); if (!IsDeviceLocked()) { iCallback.ExecCommandL( MSysapCallback::EResetKeyguardState ); - iKeylock->DisableKeyLock(); iCallback.ExecCommandL( MSysapCallback::ECancelPowermenu ); } // apply default light control @@ -235,9 +235,8 @@ case EPSCTsyCallStateUninitialized: case EPSCTsyCallStateNone: { - - TInt keyGuardSetting; - User::LeaveIfError(iSlideRepository->Get( KSlideKeyguard, keyGuardSetting )); + TInt keyGuardSetting; + iSlideRepository->Get( KSlideKeyguard, keyGuardSetting ); switch( ( TSlideSettingKeyguard ) keyGuardSetting ) { case ESlideSettingsKeyguardActivatingOn: diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/SysAp/Src/sysapremconobserver.cpp --- a/coreapplicationuis/SysAp/Src/sysapremconobserver.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/SysAp/Src/sysapremconobserver.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -108,7 +108,7 @@ /** * Reserve the volume keys */ -void CSysApRemConObserver::StartRemconInterfaceL() +void CSysApRemConObserver::StartRemconInterface() { TRACES( RDebug::Print( _L("CSysApRemConObserver::BlockKeys"))); if(!iInterfaceSelector) diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/advancedtspcontroller/data/keyevent.rul --- a/coreapplicationuis/advancedtspcontroller/data/keyevent.rul Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/advancedtspcontroller/data/keyevent.rul Wed Oct 13 14:43:04 2010 +0300 @@ -105,6 +105,7 @@ - + - - - - - + /> diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/advancedtspcontroller/tsrc/stub/group/bld.inf --- a/coreapplicationuis/advancedtspcontroller/tsrc/stub/group/bld.inf Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/advancedtspcontroller/tsrc/stub/group/bld.inf Wed Oct 13 14:43:04 2010 +0300 @@ -20,10 +20,10 @@ PRJ_TESTEXPORTS remconservercaps.mmh /epoc32/include/remcon/remconservercaps.mmh -../data/keyevent.rul /epoc32/data/z/private/10282bc4/rules/keyevent.rul -../data/keyevent.rul /epoc32/release/winscw/udeb/z/private/10282BC4/Rules/keyevent.rul -../data/keyincall.rul /epoc32/data/z/private/10282bc4/rules/keyincall.rul -../data/keyincall.rul /epoc32/release/winscw/udeb/z/private/10282BC4/Rules/keyincall.rul +../data/keyevent.rul /epoc32/data/Z/private/10282bc4/rules/keyevent.rul +../data/keyevent.rul /epoc32/RELEASE/winscw/UDEB/Z/private/10282BC4/Rules/keyevent.rul +../data/keyincall.rul /epoc32/data/Z/private/10282bc4/rules/keyincall.rul +../data/keyincall.rul /epoc32/RELEASE/winscw/UDEB/Z/private/10282BC4/Rules/keyincall.rul PRJ_TESTMMPFILES ../../../group/RemConTspController.mmp \ No newline at end of file diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/kefmapper/data/AknKeyEventMap.rss --- a/coreapplicationuis/kefmapper/data/AknKeyEventMap.rss Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/kefmapper/data/AknKeyEventMap.rss Wed Oct 13 14:43:04 2010 +0300 @@ -44,22 +44,7 @@ devicemode = { KKefModeDefault }; eventtype = { KKefTypeShort | KKefTypeKey }; feedbacktype = 1; // 1 = Basic feedback - }, - KEF_KEY_EVENT - { - scancode = { EStdKeyRightFunc, EStdKeyUpArrow } ; - keycode = { EStdKeyApplicationC, EStdKeyApplicationC, EStdKeyApplicationC } ; - devicemode = { 0, 1, 2 }; - eventtype = { KKefTypeShort | KKefTypeLong, KKefTypeShort | KKefTypeLong, KKefTypeShort | KKefTypeLong }; - }, - - KEF_KEY_EVENT - { - scancode = { EStdKeyRightFunc, EStdKeyDownArrow } ; - keycode = { EStdKeyApplicationD, EStdKeyApplicationD, EStdKeyApplicationD } ; - devicemode = { 0, 1, 2 }; - eventtype = { KKefTypeShort | KKefTypeLong, KKefTypeShort | KKefTypeLong, KKefTypeShort | KKefTypeLong }; - } + } }; } diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/rfsplugins/DisplayContrastPlugin/group/RfsDisplayContrastPlugin.mmp --- a/coreapplicationuis/rfsplugins/DisplayContrastPlugin/group/RfsDisplayContrastPlugin.mmp Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/rfsplugins/DisplayContrastPlugin/group/RfsDisplayContrastPlugin.mmp Wed Oct 13 14:43:04 2010 +0300 @@ -44,5 +44,5 @@ MW_LAYER_SYSTEMINCLUDE LIBRARY euser.lib // Base library -LIBRARY ecom.lib // ECom library +LIBRARY ECom.lib // ECom library LIBRARY hal.lib // HAL library \ No newline at end of file diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/rfsplugins/FormatterRFSPlugin/src/formatterrfsplugin.cpp --- a/coreapplicationuis/rfsplugins/FormatterRFSPlugin/src/formatterrfsplugin.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/rfsplugins/FormatterRFSPlugin/src/formatterrfsplugin.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -30,6 +30,7 @@ // LOCAL CONSTANTS const TUid KCRUidCommsDb = { 0xcccccc00 }; +const TUid KCRUidOviMusic = { 0x101ffb51 }; _LIT(KDelimeter, ":"); _LIT(KPathDelimeter, "\\"); @@ -220,7 +221,7 @@ CreateDirectory( KCenRepBurPath ); ResetRepository( KCRUidCommsDb ); - + ResetRepository( KCRUidOviMusic ); TIMESTAMP( "RFS end" ); } } diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/rfsplugins/tsrc/rfspluginstest/secureformattertest/group/bld.inf --- a/coreapplicationuis/rfsplugins/tsrc/rfspluginstest/secureformattertest/group/bld.inf Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/rfsplugins/tsrc/rfspluginstest/secureformattertest/group/bld.inf Wed Oct 13 14:43:04 2010 +0300 @@ -63,13 +63,13 @@ ../data/testspec_015.txt /epoc32/winscw/c/testdata/testspec_015.txt // Application specific exclude list(s) exported to rom drive -../data/app_spec_rom_001.exc /epoc32/data/z/private/102073ea/excludes/app_spec_001.exc +../data/app_spec_rom_001.exc /epoc32/data/Z/private/102073ea/excludes/app_spec_001.exc ../data/app_spec_rom_001.exc /epoc32/release/winscw/udeb/z/private/102073ea/excludes/app_spec_001.exc ../data/app_spec_rom_001.exc /epoc32/release/winscw/urel/z/private/102073ea/excludes/app_spec_001.exc -../data/app_spec_rom_002.exc /epoc32/data/z/private/102073ea/excludes/app_spec_002.exc +../data/app_spec_rom_002.exc /epoc32/data/Z/private/102073ea/excludes/app_spec_002.exc ../data/app_spec_rom_002.exc /epoc32/release/winscw/udeb/z/private/102073ea/excludes/app_spec_002.exc ../data/app_spec_rom_002.exc /epoc32/release/winscw/urel/z/private/102073ea/excludes/app_spec_002.exc -../data/app_spec_rom_dummy.exc /epoc32/data/z/private/102073ea/excludes/app_spec_dummy.exc +../data/app_spec_rom_dummy.exc /epoc32/data/Z/private/102073ea/excludes/app_spec_dummy.exc ../data/app_spec_rom_dummy.exc /epoc32/release/winscw/udeb/z/private/102073ea/excludes/app_spec_dummy.exc ../data/app_spec_rom_dummy.exc /epoc32/release/winscw/urel/z/private/102073ea/excludes/app_spec_dummy.exc diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/sensordatacompensatorplugin/group/bld.inf --- a/coreapplicationuis/sensordatacompensatorplugin/group/bld.inf Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/sensordatacompensatorplugin/group/bld.inf Wed Oct 13 14:43:04 2010 +0300 @@ -23,13 +23,13 @@ PRJ_EXPORTS -../data/sensordatacompensationui.rul /epoc32/data/z/private/10282bc4/rules/sensordatacompensationui.rul -../data/sensordatacompensationui.rul /epoc32/release/winscw/udeb/z/private/10282bc4/rules/sensordatacompensationui.rul -../data/sensordatacompensationui.rul /epoc32/release/winscw/urel/z/private/10282bc4/rules/sensordatacompensationui.rul +../data/sensordatacompensationui.rul /epoc32/data/Z/private/10282bc4/rules/sensordatacompensationui.rul +../data/sensordatacompensationui.rul /epoc32/RELEASE/winscw/UDEB/Z/private/10282bc4/rules/sensordatacompensationui.rul +../data/sensordatacompensationui.rul /epoc32/RELEASE/winscw/UREL/Z/private/10282bc4/rules/sensordatacompensationui.rul -../data/sensordatacompensationdevice.rul /epoc32/data/z/private/10282bc4/rules/sensordatacompensationdevice.rul -../data/sensordatacompensationdevice.rul /epoc32/release/winscw/udeb/z/private/10282bc4/rules/sensordatacompensationdevice.rul -../data/sensordatacompensationdevice.rul /epoc32/release/winscw/urel/z/private/10282bc4/rules/sensordatacompensationdevice.rul +../data/sensordatacompensationdevice.rul /epoc32/data/Z/private/10282bc4/rules/sensordatacompensationdevice.rul +../data/sensordatacompensationdevice.rul /epoc32/RELEASE/winscw/UDEB/Z/private/10282bc4/rules/sensordatacompensationdevice.rul +../data/sensordatacompensationdevice.rul /epoc32/RELEASE/winscw/UREL/Z/private/10282bc4/rules/sensordatacompensationdevice.rul ../rom/sensordatacompensatorplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH( sensordatacompensatorplugin.iby ) diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/sensordatacompensatorplugin/tsrc/sensordatacompensatorplgtest/data/group/bld.inf --- a/coreapplicationuis/sensordatacompensatorplugin/tsrc/sensordatacompensatorplgtest/data/group/bld.inf Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/sensordatacompensatorplugin/tsrc/sensordatacompensatorplgtest/data/group/bld.inf Wed Oct 13 14:43:04 2010 +0300 @@ -28,7 +28,7 @@ ../sensordatacompensationdevice.rul /epoc32/data/z/private/10282bc4/rules/sensordatacompensationdevice.rul // context source setting for test ps keys -../101FB3E7.xml /epoc32/data/z/private/10282BC4/Settings/10282C74/101FB3E7.xml +../101FB3E7.xml /epoc32/data/Z/private/10282BC4/Settings/10282C74/101FB3E7.xml // Iby export ../../rom/sensordatacontrollerplgtest.iby CORE_MW_LAYER_IBY_EXPORT_PATH( sensordatacontrollerplgtest.iby ) diff -r 739cef680932 -r 4610cd70c542 coreapplicationuis/sensordatacompensatorplugin/tsrc/sensordatacompensatorplgtest/group/bld.inf --- a/coreapplicationuis/sensordatacompensatorplugin/tsrc/sensordatacompensatorplgtest/group/bld.inf Wed Sep 15 12:23:15 2010 +0300 +++ b/coreapplicationuis/sensordatacompensatorplugin/tsrc/sensordatacompensatorplgtest/group/bld.inf Wed Oct 13 14:43:04 2010 +0300 @@ -27,14 +27,14 @@ ../conf/sensordatacompensatorplgtest.cfg /epoc32/winscw/c/TestFramework/sensordatacompensatorplgtest.cfg // Rule files -../data/sensordatacompensationui.rul /epoc32/release/winscw/udeb/z/private/10282bc4/rules/sensordatacompensationui.rul -../data/sensordatacompensationui.rul /epoc32/release/winscw/urel/z/private/10282bc4/rules/sensordatacompensationui.rul -../data/sensordatacompensationdevice.rul /epoc32/release/winscw/udeb/z/private/10282bc4/rules/sensordatacompensationdevice.rul -../data/sensordatacompensationdevice.rul /epoc32/release/winscw/urel/z/private/10282bc4/rules/sensordatacompensationdevice.rul +../data/sensordatacompensationui.rul /epoc32/RELEASE/winscw/UDEB/Z/private/10282bc4/rules/sensordatacompensationui.rul +../data/sensordatacompensationui.rul /epoc32/RELEASE/winscw/UREL/Z/private/10282bc4/rules/sensordatacompensationui.rul +../data/sensordatacompensationdevice.rul /epoc32/RELEASE/winscw/UDEB/Z/private/10282bc4/rules/sensordatacompensationdevice.rul +../data/sensordatacompensationdevice.rul /epoc32/RELEASE/winscw/UREL/Z/private/10282bc4/rules/sensordatacompensationdevice.rul // context source setting for test ps keys -../data/101FB3E7.xml /epoc32/release/winscw/udeb/z/private/10282BC4/Settings/10282C74/101FB3E7.xml -../data/101FB3E7.xml /epoc32/release/winscw/urel/z/private/10282BC4/Settings/10282C74/101FB3E7.xml +../data/101FB3E7.xml /epoc32/RELEASE/winscw/UDEB/Z/private/10282BC4/Settings/10282C74/101FB3E7.xml +../data/101FB3E7.xml /epoc32/RELEASE/winscw/UREL/Z/private/10282BC4/Settings/10282C74/101FB3E7.xml PRJ_TESTMMPFILES sensordatacompensatorplgtest.mmp diff -r 739cef680932 -r 4610cd70c542 mediakeys/MMKeyBearer/src/MMKeyBearerImplementation.cpp --- a/mediakeys/MMKeyBearer/src/MMKeyBearerImplementation.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/mediakeys/MMKeyBearer/src/MMKeyBearerImplementation.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -342,7 +342,7 @@ INFO_3( "Received key: enumValue = %d, keyType = %d, usbFileTransfer = %d", aEnumValue, aKeyType, iUSBFileTransfer ); - //Start the listener once again + //Start the listener once again if (aKeyType == ESideVolumeKeys) { iMMKeyBearerObserver->Start(); diff -r 739cef680932 -r 4610cd70c542 startupservices/SplashScreen/inc/SplashScreen.h --- a/startupservices/SplashScreen/inc/SplashScreen.h Wed Sep 15 12:23:15 2010 +0300 +++ b/startupservices/SplashScreen/inc/SplashScreen.h Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -49,26 +49,6 @@ }; /** -* CSplashShutdownWatcher -*/ -class CSplashShutdownWatcher : public CActive - { -private: - void ConstructL(); - CSplashShutdownWatcher(); -public: - static CSplashShutdownWatcher* NewL(); - ~CSplashShutdownWatcher(); - void IssueRequest(); - void DoCancel(); - void RunL(); -private: - RProperty iProperty; - TInt iPSRemoveSplashState; - }; - - -/** * Base class for all windows * * @lib SplashScreen.lib @@ -100,6 +80,8 @@ RWindowGroup Group() {return iGroup;}; + TInt iPSRemoveSplashState; + protected: TInt iLastScreenMode; @@ -108,6 +90,7 @@ CWindowGc* iGc; friend class CWsRedrawer; // needs to get at session friend class CWindow; // needs to get at session + RProperty iProperty; }; diff -r 739cef680932 -r 4610cd70c542 startupservices/SplashScreen/src/SplashScreen.cpp --- a/startupservices/SplashScreen/src/SplashScreen.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/startupservices/SplashScreen/src/SplashScreen.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -200,16 +200,27 @@ /////////////////////////// CWsClient implementation //////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////// CWsClient::CWsClient() -: CActive(CActive::EPriorityStandard) +: CActive(CActive::EPriorityStandard), + iPSRemoveSplashState( ESplashRunning ) { TRACES("CWsClient::CWsClient()"); - CActiveScheduler::Add(this); } void CWsClient::ConstructL() { TRACES("CWsClient::ConstructL(): Start"); + RProperty::Define(KPSUidStartup, + KPSSplashShutdown, + RProperty::EInt, + KReadPolicy, + KWritePolicy ); + RProperty::Set( KPSUidStartup, KPSSplashShutdown, iPSRemoveSplashState ); + CActiveScheduler::Install(new (ELeave) CActiveScheduler); + CActiveScheduler::Add(this); + iProperty.Attach( KPSUidStartup, KPSSplashShutdown ); + iProperty.Subscribe( iStatus ); + // get a session going User::LeaveIfError(iWs.Connect()); @@ -242,6 +253,8 @@ TRACES("CWsClient::ConstructL(): About to start CActiveScheduler"); + CActiveScheduler::Start(); // start the active scheduler + TRACES("CWsClient::CWsClient(): End"); } @@ -261,6 +274,7 @@ iGroup.Close(); // finish with window server Cancel(); + iProperty.Close(); iWs.Close(); TRACES("CWsClient::~CWsClient(): End"); } @@ -419,79 +433,6 @@ TRACES("CMainWindow::HandlePointerEvent(): End"); } - - - -///////////////////////////////////////////////////////////////////////////////////// -/////////////////////////// CSplashShutdownWatcher implementation /////////////////// -///////////////////////////////////////////////////////////////////////////////////// - -CSplashShutdownWatcher* CSplashShutdownWatcher::NewL() - { - CSplashShutdownWatcher* self = new(ELeave)CSplashShutdownWatcher(); - CleanupStack::PushL(self); - self->ConstructL(); - CleanupStack::Pop(self); - return self; - } - -void CSplashShutdownWatcher::ConstructL() - { - TRACES("CSplashShutdownWatcher::ConstructL(): Start"); - RProperty::Define(KPSUidStartup, - KPSSplashShutdown, - RProperty::EInt, - KReadPolicy, - KWritePolicy ); - RProperty::Set( KPSUidStartup, KPSSplashShutdown, iPSRemoveSplashState ); - iProperty.Attach( KPSUidStartup, KPSSplashShutdown ); - CActiveScheduler::Add(this); - IssueRequest(); - TRACES("CSplashShutdownWatcher::ConstructL(): End"); - } - -CSplashShutdownWatcher::CSplashShutdownWatcher():CActive(CActive::EPriorityStandard),iPSRemoveSplashState( ESplashRunning ){} - -CSplashShutdownWatcher::~CSplashShutdownWatcher() - { - TRACES("~CSplashShutdownWatcher: Start"); - Cancel(); - iProperty.Close(); - TRACES("~CSplashShutdownWatcher: End"); - } - -void CSplashShutdownWatcher::IssueRequest() - { - iProperty.Subscribe( iStatus ); - SetActive(); - } - -void CSplashShutdownWatcher::DoCancel() - { - iProperty.Cancel(); - } - -void CSplashShutdownWatcher::RunL() - { - TRACES("CSplashShutdownWatcher::RunL(): Start"); - TInt state; - RProperty::Get( KPSUidStartup, KPSSplashShutdown, state ); - TRACES1("CSplashShutdownWatcher::RunL(): Property change event received,Splash Shutdown state = %d", state); - - if ( state == ESplashShutdown ) - { - TRACES("CSplashShutdownWatcher::RunL(): Exit requested"); - CActiveScheduler::Stop(); - } - else - { - TRACES("CSplashShutdownWatcher::RunL(): UNEXPECTED state change event received!!, Issue request again"); - IssueRequest(); - } - TRACES("CSplashShutdownWatcher::RunL(): End"); - } - - ////////////////////////////////////////////////////////////////////////////// // CSplashWsClient implementation // ////////////////////////////////////////////////////////////////////////////// @@ -568,57 +509,72 @@ { TRACES("CSplashWsClient::RunL(): Start"); - TRACES("CSplashWsClient::RunL(): WS event"); - - // get the event - iWs.GetEvent(iWsEvent); - const TInt eventType = iWsEvent.Type(); + TInt state; + RProperty::Get( KPSUidStartup, KPSSplashShutdown, state ); + TRACES1("CSplashWsClient::RunL(): KPSSplashShutdown state = %d", state); - // take action on it - switch (eventType) + if ( state != iPSRemoveSplashState ) { - // window-group related event types - case EEventKey: + TRACES("CSplashWsClient::RunL(): KPSSplashShutdown state has changed -> PS event"); + if ( state == ESplashShutdown ) { - TRACES("CSplashWsClient::RunL(): EEventKey"); - TKeyEvent& keyEvent=*iWsEvent.Key(); // get key event - HandleKeyEventL (keyEvent); - break; - } - // window related events - case EEventPointer: - { - TRACES("CSplashWsClient::RunL(): EEventPointer"); - CWindow* window=(CWindow*)(iWsEvent.Handle()); // get window - TPointerEvent& pointerEvent=*iWsEvent.Pointer(); - window->HandlePointerEvent (pointerEvent); - break; + TRACES("CSplashWsClient::RunL(): Exit requested"); + Exit(); } - case EEventScreenDeviceChanged: - { - const TInt currentScreenMode = iScreen->CurrentScreenMode(); - TRACES2("CSplashWsClient::RunL() - EEventScreenDeviceChanged - iLastScreenMode: %d, currentScreenMode: %d", iLastScreenMode, currentScreenMode); - if ( iLastScreenMode != currentScreenMode ) + } + else + { + TRACES("CSplashWsClient::RunL(): WS event"); + + // get the event + iWs.GetEvent(iWsEvent); + const TInt eventType = iWsEvent.Type(); + + // take action on it + switch (eventType) + { + // window-group related event types + case EEventKey: + { + TRACES("CSplashWsClient::RunL(): EEventKey"); + TKeyEvent& keyEvent=*iWsEvent.Key(); // get key event + HandleKeyEventL (keyEvent); + break; + } + // window related events + case EEventPointer: + { + TRACES("CSplashWsClient::RunL(): EEventPointer"); + CWindow* window=(CWindow*)(iWsEvent.Handle()); // get window + TPointerEvent& pointerEvent=*iWsEvent.Pointer(); + window->HandlePointerEvent (pointerEvent); + break; + } + case EEventScreenDeviceChanged: { - RDebug::Printf("[SS] CSplashWsClient::RunL() - EEventScreenDeviceChanged - real screen mode change detected!!!!"); - iScreen->SetAppScreenMode( currentScreenMode ); - TPixelsTwipsAndRotation currentRot; - iScreen->GetScreenModeSizeAndRotation( currentScreenMode, currentRot ); - iMainWindow->Window().SetExtent( TPoint(0, 0), currentRot.iPixelSize ); - iMainWindow->Client()->Group().SetOrdinalPosition(0, ECoeWinPriorityAlwaysAtFront + 10000); // in front of the Status Bar - iMainWindow->Window().Invalidate(); + const TInt currentScreenMode = iScreen->CurrentScreenMode(); + TRACES2("CSplashWsClient::RunL() - EEventScreenDeviceChanged - iLastScreenMode: %d, currentScreenMode: %d", iLastScreenMode, currentScreenMode); + if ( iLastScreenMode != currentScreenMode ) + { + RDebug::Printf("[SS] CSplashWsClient::RunL() - EEventScreenDeviceChanged - real screen mode change detected!!!!"); + iScreen->SetAppScreenMode( currentScreenMode ); + TPixelsTwipsAndRotation currentRot; + iScreen->GetScreenModeSizeAndRotation( currentScreenMode, currentRot ); + iMainWindow->Window().SetExtent( TPoint(0, 0), currentRot.iPixelSize ); + iMainWindow->Client()->Group().SetOrdinalPosition(0, ECoeWinPriorityAlwaysAtFront + 10000); // in front of the Status Bar + iMainWindow->Window().Invalidate(); - iLastScreenMode = currentScreenMode; + iLastScreenMode = currentScreenMode; + } + TRACES("CSplashWsClient::RunL() - EEventScreenDeviceChanged - done"); } - TRACES("CSplashWsClient::RunL() - EEventScreenDeviceChanged - done"); - } - break; - default: - TRACES("CSplashWsClient::RunL(): default"); - break; + break; + default: + TRACES("CSplashWsClient::RunL(): default"); + break; + } + IssueRequest(); // maintain outstanding request } - IssueRequest(); // maintain outstanding request - TRACES("CSplashWsClient::RunL(): End"); } @@ -646,14 +602,11 @@ // make new client TRACES("DoItL(): Start"); - CActiveScheduler::Install(new (ELeave) CActiveScheduler); CSplashWsClient* client=new (ELeave) CSplashWsClient; // allocate new client CleanupStack::PushL(client); // push, just in case client->ConstructL(); // construct and run - CSplashShutdownWatcher *shutdownWatcher=CSplashShutdownWatcher::NewL(); - CleanupStack::PushL(shutdownWatcher); - CActiveScheduler::Start(); // start the active scheduler - CleanupStack::PopAndDestroy(2, client); // destruct + CleanupStack::PopAndDestroy(); // destruct + TRACES("DoItL(): End"); } diff -r 739cef680932 -r 4610cd70c542 startupservices/Startup/MediatorPlugin/inc/StartupMediatorPlugin.h --- a/startupservices/Startup/MediatorPlugin/inc/StartupMediatorPlugin.h Wed Sep 15 12:23:15 2010 +0300 +++ b/startupservices/Startup/MediatorPlugin/inc/StartupMediatorPlugin.h Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2005-10 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" diff -r 739cef680932 -r 4610cd70c542 startupservices/Startup/conf/startup.confml Binary file startupservices/Startup/conf/startup.confml has changed diff -r 739cef680932 -r 4610cd70c542 startupservices/Startup/conf/startup_101F8763.crml Binary file startupservices/Startup/conf/startup_101F8763.crml has changed diff -r 739cef680932 -r 4610cd70c542 startupservices/Startup/inc/StartupAppUi.h --- a/startupservices/Startup/inc/StartupAppUi.h Wed Sep 15 12:23:15 2010 +0300 +++ b/startupservices/Startup/inc/StartupAppUi.h Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -699,8 +699,6 @@ TInt iCounryListIndex; TTime iTime; - // AT command CFUN profile Change - TInt iAtcmdCfunProfileChange; #ifndef RD_STARTUP_ANIMATION_CUSTOMIZATION TBool iTouchScreenCalibSupport; diff -r 739cef680932 -r 4610cd70c542 startupservices/Startup/inc/StartupWelcomeCrKeys.h --- a/startupservices/Startup/inc/StartupWelcomeCrKeys.h Wed Sep 15 12:23:15 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,33 +0,0 @@ -/* -* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Startup Welcome keys -*/ - -#ifndef __STARTUPWELCOMECRKEYS_H -#define __STARTUPWELCOMECRKEYS_H - -/** - * The Uid for the repository itself - * This repository holds the settings for Welcome2 - */ -const TUid KCRUidWelcome6 = { 0x200122A4 }; - -/* - * Used by PA to indicate if it has accomplished the task. - */ - -const TUint32 KPhoneActicationCompleted = 0x0000000B; -#endif // STARTUPWELCOMCRKEYS_H - -// End of file \ No newline at end of file diff -r 739cef680932 -r 4610cd70c542 startupservices/Startup/src/StartupAppUi.cpp --- a/startupservices/Startup/src/StartupAppUi.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/startupservices/Startup/src/StartupAppUi.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -947,14 +947,13 @@ { UpdateStartupUiPhase( EStartupUiPhaseAllDone ); } - else + else { UpdateStartupUiPhase(EStartupUiPhaseAllDone+1); } //UpdateStartupUiPhase( EStartupUiPhaseAllDone ); - #endif // RD_STARTUP_ANIMATION_CUSTOMIZATION TRACES("CStartupAppUi::DoStartupEndPart(): Exit application."); @@ -971,7 +970,6 @@ CleanupStack::PopAndDestroy(repo); } - #ifndef RD_STARTUP_ANIMATION_CUSTOMIZATION // --------------------------------------------------------------------------- // CStartupAppUi::ContinueStartupAfterToneL() @@ -1590,10 +1588,7 @@ TBool CStartupAppUi::DosInOfflineModeL() { TRACES("CStartupAppUi::DosInOfflineModeL()"); - - // Do not display the Offline mode query if the AT cmd cenrep key (KStartupATcmdCFUNProfileChange) value set to 1 or 2, iAtcmdCfunProfileChange member holds the key value - - if ( iOfflineModeSupported && (iAtcmdCfunProfileChange == 0) ) + if ( iOfflineModeSupported ) { TRACES1("CStartupAppUi::DosInOfflineModeL(): iOfflineModeSupported == %d", iOfflineModeSupported ); return UiInOfflineMode(); @@ -1656,19 +1651,6 @@ RProperty::Get(KPSUidStartup, KPSSimStatus, status); TInt reply ( 0 ); - // AT Command CFUN specifc code - CRepository* repository( NULL ); - TInt errVal; - TRAP( errVal, repository = CRepository::NewL(KCRUidStartupConf) ); - if(errVal == KErrNone) - { - errVal = repository->Get(KStartupATcmdCFUNProfileChange, iAtcmdCfunProfileChange); - if(!errVal && iAtcmdCfunProfileChange >0) - { - errVal = repository->Set(KStartupATcmdCFUNProfileChange, 0); - } - } - delete repository; if (status == ESimUsable || status == ESimReadable || status == ESimNotReady || !iSimSupported) { TRACES("CStartupAppUi::ShowOfflineModeQueryL(): Show offline mode query if needed"); @@ -1719,18 +1701,6 @@ } #endif - // AT Command CFUN specifc code - // AT command CFUN implementation plugin sets the key KStartupATcmdCFUNProfileChange to 1 in the case of Offline to Online profile change - // AT command CFUN implementation plugin sets the key KStartupATcmdCFUNProfileChange to 2 in the case of Online to Offline profile change - if(iAtcmdCfunProfileChange == 1) - { - reply = 0; - } - else if(iAtcmdCfunProfileChange == 2) - { - reply = 1; - } - // End AT Command CFUN specifc code TRACES1("CStartupAppUi::ShowOfflineModeQueryL(): BootIntoOffline=%d.", reply); TInt err = RProperty::Set( KPSUidStartup, KStartupBootIntoOffline, diff -r 739cef680932 -r 4610cd70c542 startupservices/Startup/syserrcmd/src/syserrcmd.cpp --- a/startupservices/Startup/syserrcmd/src/syserrcmd.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/startupservices/Startup/syserrcmd/src/syserrcmd.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2009-10 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" diff -r 739cef680932 -r 4610cd70c542 startupservices/inc/StartupWelcomeCrKeys.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/startupservices/inc/StartupWelcomeCrKeys.h Wed Oct 13 14:43:04 2010 +0300 @@ -0,0 +1,33 @@ +/* +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Startup Welcome keys +*/ + +#ifndef __STARTUPWELCOMECRKEYS_H +#define __STARTUPWELCOMECRKEYS_H + +/** + * The Uid for the repository itself + * This repository holds the settings for Welcome2 + */ +const TUid KCRUidWelcome6 = { 0x200122A4 }; + +/* + * Used by PA to indicate if it has accomplished the task. + */ + +const TUint32 KPhoneActicationCompleted = 0x0000000B; +#endif // STARTUPWELCOMCRKEYS_H + +// End of file \ No newline at end of file diff -r 739cef680932 -r 4610cd70c542 sysresmonitoring/oodmonitor/oodmonitor2/src/outofdisknotifyobserver.cpp --- a/sysresmonitoring/oodmonitor/oodmonitor2/src/outofdisknotifyobserver.cpp Wed Sep 15 12:23:15 2010 +0300 +++ b/sysresmonitoring/oodmonitor/oodmonitor2/src/outofdisknotifyobserver.cpp Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -153,13 +153,10 @@ TInt status = iOutOfDiskMonitor->GetDriveStatus(aDrive); iOutOfDiskMonitor->SaveDriveStatus(aDrive, status, ETrue); - if(status == KErrNone) - { - iOutOfDiskMonitor->ShowGlobalQueryIfNeededL(); - NotifyDiskSpace(warningThreshold, + iOutOfDiskMonitor->ShowGlobalQueryIfNeededL(); + NotifyDiskSpace(warningThreshold, criticalThreshold, aDrive); - } TRACES("COutOfDiskNotifyObserver::DiskAddedL: End"); } diff -r 739cef680932 -r 4610cd70c542 sysresmonitoring/oommonitor/bwins/oommonitorU.DEF --- a/sysresmonitoring/oommonitor/bwins/oommonitorU.DEF Wed Sep 15 12:23:15 2010 +0300 +++ b/sysresmonitoring/oommonitor/bwins/oommonitorU.DEF Wed Oct 13 14:43:04 2010 +0300 @@ -17,5 +17,4 @@ ?RequestOptionalRam@ROomMonitorSession@@QAEHHHHAAH@Z @ 16 NONAME ; int ROomMonitorSession::RequestOptionalRam(int, int, int, int &) ?RequestOptionalRam@ROomMonitorSession@@QAEXHHHAAVTRequestStatus@@@Z @ 17 NONAME ; void ROomMonitorSession::RequestOptionalRam(int, int, int, class TRequestStatus &) ?SetOomPriority@ROomMonitorSession@@QAEXW4TOomPriority@1@@Z @ 18 NONAME ; void ROomMonitorSession::SetOomPriority(enum ROomMonitorSession::TOomPriority) - ?AppId@COomMonitorPlugin@@UBE?BVTUid@@XZ @ 19 NONAME ; class TUid const COomMonitorPlugin::AppId(void) const diff -r 739cef680932 -r 4610cd70c542 sysresmonitoring/oommonitor/data/oomconfig.xml --- a/sysresmonitoring/oommonitor/data/oomconfig.xml Wed Sep 15 12:23:15 2010 +0300 +++ b/sysresmonitoring/oommonitor/data/oomconfig.xml Wed Oct 13 14:43:04 2010 +0300 @@ -1,5 +1,5 @@ - +