Swi::CSisRegistryObject Class Reference
class Swi::CSisRegistryObject : public Swi::CSisRegistryToken
|
Contains all the information about an installed package.
This class stores all the information about a package in the registry to facilitate memory scaling problem
CSisRegistryObject
is a specialisation of
CSisRegistryToken
which in turn inherits from
CSisRegistryPackage
. The reason for this orgainisation is that whilst a package is the main identification element still is useful to store some general information in RAM in order to be easily accessible in general searches
Inherited Functions
|
|
CBase::CBase()
|
|
CBase::Delete(CBase *)
|
|
CBase::Extension_(TUint,TAny *&,TAny *)
|
|
CBase::operator new(TUint)
|
|
CBase::operator new(TUint,TAny *)
|
|
CBase::operator new(TUint,TLeave)
|
|
CBase::operator new(TUint,TLeave,TUint)
|
|
CBase::operator new(TUint,TUint)
|
|
CBase::~CBase()
|
|
Swi::CSisRegistryPackage::CSisRegistryPackage()
|
|
Swi::CSisRegistryPackage::CSisRegistryPackage(TUid)
|
|
Swi::CSisRegistryPackage::ConstructL(const CSisRegistryPackage &)
|
|
Swi::CSisRegistryPackage::ConstructL(const TDesC &,const TDesC &)
|
|
Swi::CSisRegistryPackage::Index()const
|
|
Swi::CSisRegistryPackage::Name()const
|
|
Swi::CSisRegistryPackage::NewL(TUid,const TDesC &,const TDesC &)
|
|
Swi::CSisRegistryPackage::NewL(const CSisRegistryPackage &)
|
|
Swi::CSisRegistryPackage::NewLC(TUid,const TDesC &,const TDesC &)
|
|
Swi::CSisRegistryPackage::NewLC(const CSisRegistryPackage &)
|
|
Swi::CSisRegistryPackage::SetIndex(const TInt)
|
|
Swi::CSisRegistryPackage::SetNameL(const TDesC &)
|
|
Swi::CSisRegistryPackage::Uid()const
|
|
Swi::CSisRegistryPackage::Vendor()const
|
|
Swi::CSisRegistryPackage::operator==(const CSisRegistryPackage &)const
|
|
Swi::CSisRegistryPackage::~CSisRegistryPackage()
|
|
Swi::CSisRegistryToken::AddRemovableDrive(TInt)
|
|
Swi::CSisRegistryToken::CSisRegistryToken()
|
|
Swi::CSisRegistryToken::ConstructL(const CSisRegistryToken &)
|
|
Swi::CSisRegistryToken::ControllerInfo()const
|
|
Swi::CSisRegistryToken::Drives()const
|
|
Swi::CSisRegistryToken::Language()const
|
|
Swi::CSisRegistryToken::NewL(const CSisRegistryToken &)
|
|
Swi::CSisRegistryToken::NewLC(const CSisRegistryToken &)
|
|
Swi::CSisRegistryToken::PresentState()const
|
|
Swi::CSisRegistryToken::RemoveRemovableDrive(TInt)
|
|
Swi::CSisRegistryToken::SelectedDrive()const
|
|
Swi::CSisRegistryToken::SetCurrentDrives(TUint)
|
|
Swi::CSisRegistryToken::SetFixedDrives(TUint)
|
|
Swi::CSisRegistryToken::SidPresent(TUid)const
|
|
Swi::CSisRegistryToken::Sids()const
|
|
Swi::CSisRegistryToken::Version()const
|
|
Swi::CSisRegistryToken::~CSisRegistryToken()
|
Constructor & Destructor Documentation
~CSisRegistryObject()
~CSisRegistryObject
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddFilesL(const CApplication &)
void
|
AddFilesL
|
(
|
const
CApplication
&
|
aApplication
|
)
|
[private]
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
ConstructL(RReadStream &)
The second-phase constructor.
Parameters
RReadStream
& aStream
|
RReadStream stream object reference which contains the streamed object.
|
ConvertTrustToTrustStatus(const TSisPackageTrust &, TSisTrustStatus &)
void
|
ConvertTrustToTrustStatus
|
(
|
const
TSisPackageTrust
&
|
trust,
|
|
TSisTrustStatus
&
|
trustStatus
|
|
)
|
const [private]
|
DeletablePreInstalled()
TBool
|
DeletablePreInstalled
|
(
|
)
|
const [inline]
|
Returns whether or not the package was pre-installed but files should still be deleted on uninstall. This will be true if and only if the swipolicy indicates that preinstalled files can be deleted, and the stub sis file used to install the package was writable at install time.
DependsOnL(RPointerArray< CSisRegistryDependency > &)
Returns the dependency array for this package (ie UIDs it depends on). A being "Dependent" on B means that either B is in A's dependency list or B is in A's EmbeddedPackage list
DependsOnObject(const CSisRegistryObject &)
Returns whether current/this object depends on a specific registry object
EmbeddedPackage(TInt)
Returns the embedded package at a given index.
Parameters
TInt
aIndex
|
The index to fetch the embedded package from
|
EmbeddedPackagesL(RPointerArray< CSisRegistryPackage > &)
Return an array of packages that were embedded within this package.
EmbedsPackage(const CSisRegistryPackage &)
Returns whether this object embeds a specific registry package
ExternalizeL(RWriteStream &)
Write the object to a stream
FileDescriptionL(const TDesC &)
Returns the description of a registered file
FileDescriptionL(TUid)
Returns the description of a registered file
Parameters
TUid
aSid
|
the uid for the installation package
|
FileDescriptions()
Provides an array of file descriptions
GetLocalizedPackageNamesArray()
GetLocalizedVendorNamesArray()
GetSupportedLanguageIdsArray()
RArray
<
TInt
> &
|
GetSupportedLanguageIdsArray
|
(
|
)
|
[inline]
|
InRom()
TBool
|
InRom
|
(
|
)
|
const [inline]
|
Returns whether or not the package is installed on read-only media
InstallChainIndicies()
IMPORT_C const
RArray
<
TInt
> &
|
InstallChainIndicies
|
(
|
)
|
const
|
Given the list of all available certificate chains, the returned array will contain the indexes into that list, of chains that were used to verify the object at install time.
InstallType()
Sis::TInstallType
|
InstallType
|
(
|
)
|
const [inline]
|
Returns the install type for this package
InternalizeL(RReadStream &)
Read the object from a stream
IsPreinstalled(Sis::TInstallType)
TBool
|
IsPreinstalled
|
(
|
Sis::TInstallType
|
aInstallType
|
)
|
[static, inline]
|
Parameters
Sis::TInstallType
aInstallType
|
|
IsRemovable()
TBool
|
IsRemovable
|
(
|
)
|
const [inline]
|
Returns whether or not the package is removable
IsSigned()
TBool
|
IsSigned
|
(
|
)
|
const [inline]
|
Returns whether or not the package was signed
IsSignedBySuCert()
TBool
|
IsSignedBySuCert
|
(
|
)
|
const [inline]
|
Returns whether this object is signed by a certificate trusted by the device with System Upgrade flag.
NewL(RReadStream &)
Constructs a entry from a given existing .reg filename.
NewLC(RReadStream &)
Parameters
RReadStream
& aStream
|
Stream to read the object data from
|
PopulateLocalizedPackageAndVendorNamesL(const CApplication &)
void
|
PopulateLocalizedPackageAndVendorNamesL
|
(
|
const
CApplication
&
|
aApplication
|
)
|
[private]
|
PreInstalled()
TBool
|
PreInstalled
|
(
|
)
|
const [inline]
|
Returns whether or not the package was pre-installed
ProcessApplicationL(const CApplication &, const TDesC8 &)
void
|
ProcessApplicationL
|
(
|
const
CApplication
&
|
aApplication,
|
|
const
TDesC8
&
|
aController
|
|
)
|
|
Processes an application to create a registry entry object.
Parameters
const
CApplication
& aApplication
|
The application to process
|
const
TDesC8
& aController
|
The raw controller data
|
ProcessInRomControllerL(const Swi::Sis::CController &, const TDesC8 &)
Processes a controller in rom to create a registry entry object.
Property(TInt)
IMPORT_C
TInt
|
Property
|
(
|
TInt
|
aKey
|
)
|
const
|
Returns value of a property within a package
Parameters
TInt
aKey
|
The key of the property
|
RemoveFilesL(const CApplication &)
void
|
RemoveFilesL
|
(
|
const
CApplication
&
|
aApplication
|
)
|
[private]
|
RemoveWithLastDependent()
IMPORT_C
TInt
|
RemoveWithLastDependent
|
(
|
)
|
const
|
Returns value of the flag indicating whether the package will be uninstalled with the last dependent
SetRemoveWithLastDependent()
IMPORT_C void
|
SetRemoveWithLastDependent
|
(
|
)
|
|
Sets the flag indicating whether the package will be uninstalled with the last dependent
SetTrustStatus(const TSisTrustStatus &)
SizeL()
IMPORT_C
TInt64
|
SizeL
|
(
|
)
|
const
|
Returns the size of an installation
StoreControllerInfoL(const CMessageDigest &, const Sis::CVersion &)
StoreDependenciesL(const Sis::CController &)
StorePropertiesL(const Sis::CController &)
Trust()
TSisPackageTrust
|
Trust
|
(
|
)
|
const [inline]
|
Returns the trust level of the package
Replaced by the
TSisTrustStatus
member
TrustStatus()
Provides the latest trust status information for the object.
TSisTrustStatus
TrustTimeStamp()
TTime
|
TrustTimeStamp
|
(
|
)
|
const [inline]
|
UpdateDrivesL()
void
|
UpdateDrivesL
|
(
|
)
|
[private]
|
UpdateEmbeddedAppsL(const CApplication &)
void
|
UpdateEmbeddedAppsL
|
(
|
const
CApplication
&
|
aApplication
|
)
|
[private]
|
UpdateLocalizedInfoL()
void
|
UpdateLocalizedInfoL
|
(
|
)
|
[private]
|
UpgradeApplicationL(const CApplication &, const TDesC8 &)
void
|
UpgradeApplicationL
|
(
|
const
CApplication
&
|
aApplication,
|
|
const
TDesC8
&
|
aController
|
|
)
|
|
Upgrades the content of this object with an application content.
Parameters
const
CApplication
& aApplication
|
The application to process
|
const
TDesC8
& aController
|
The raw controller data
|
UserSelectedLanguageIndexL(const CApplication &)
TInt
|
UserSelectedLanguageIndexL
|
(
|
const
CApplication
&
|
aApplication
|
)
|
const [private]
|
VendorLocalizedName()
const
TDesC
&
|
VendorLocalizedName
|
(
|
)
|
const [inline]
|
Returns the localized vendor name of a package
Member Data Documentation
TBool
iDeletablePreInstalled
TBool
|
iDeletablePreInstalled
|
[private]
|
RPointerArray< CSisRegistryDependency > iDependencies
RPointerArray< CSisRegistryPackage > iEmbeddedPackages
RPointerArray< CSisRegistryFileDescription > iFileDescriptions
TUint16
iFileMajorVersion
TUint16
|
iFileMajorVersion
|
[private]
|
TUint16
iFileMinorVersion
TUint16
|
iFileMinorVersion
|
[private]
|
RArray< TInt > iInstallChainIndices
Set of certificate chains used at install time.
Sis::TInstallType
iInstallType
Sis::TInstallType
|
iInstallType
|
[private]
|
TBool
iIsRemovable
TBool
|
iIsRemovable
|
[private]
|
RPointerArray< HBufC > iLocalizedPackageNames
RPointerArray< HBufC > iLocalizedVendorNames
TInt
iOwnedFileDescriptions
TInt
|
iOwnedFileDescriptions
|
[private]
|
RPointerArray< CSisRegistryProperty > iProperties
TInt
iRemoveWithLastDependent
TInt
|
iRemoveWithLastDependent
|
[private]
|
TBool
iSignedBySuCert
TBool
|
iSignedBySuCert
|
[private]
|
RArray< TInt > iSupportedLanguageIds
TSisPackageTrust
iTrust
TSisPackageTrust
|
iTrust
|
[private]
|
TSisTrustStatus
iTrustStatus
Trust status object indicating SWI
TTime
iTrustTimeStamp
TTime
|
iTrustTimeStamp
|
[private]
|
Timestamp of the trust calculation, will be deprecated.
HBufC * iVendorLocalizedName
HBufC
*
|
iVendorLocalizedName
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.