Public Member Functions | |
---|---|
void | CopyArrayL(RArray< T > &, const RArray< T > &) |
void | CopyPointerArrayL(RPointerArray< T > &, const RPointerArray< T > &) |
void | ExternalizeArrayL(const RArray< T > &, RWriteStream &) |
void | ExternalizePointerArrayL(const RPointerArray< T > &, RWriteStream &) |
void | FindAllAdornedVariantsL(RFs &, const TDesC &, const TDesC &, RPointerArray< HBufC > &) |
void | GenerateSearchNameWildL(const TDesC &, TDes &) |
IMPORT_C TInt | GetAllUids(RArray< TUid > &) |
void | GetUnadornedFileName(const TDesC &, TDes &) |
void | InternalizeArrayL(RArray< T > &, RReadStream &) |
void | InternalizePointerArrayL(RPointerArray< T > &, RReadStream &) |
TBool | IsAdornedVariationOfL(const TDesC &, const TDesC &) |
NONSHARABLE_CLASS(CObservationData) | |
NONSHARABLE_CLASS(CObservationFilter) | |
NONSHARABLE_CLASS(CObservationHeader) | |
NONSHARABLE_CLASS(CProgressBarValuePublisher) | |
NONSHARABLE_CLASS(CUninstalledPackageEntry) | |
NONSHARABLE_CLASS(UninstalledSisPackages) | |
void | PanicClient(const RMessagePtr2 &, TInstallServerPanic) |
TInt | ProgressBarChunkIncrement(TInt64) |
TInt | ProgressBarFileIncrement(TInt64) |
TUidType | SwiObserverImageFullUid() |
TVersion | SwiObserverVersion() |
_LIT(KBinPath, "\\sys\\bin\\") | |
_LIT(KControllerFileFilter, "*.ctl") | |
_LIT(KControllerFileNameFormat, "%S%S%08x\\%08x_%04x.ctl") | |
_LIT(KHashPath, "\\sys\\hash\\") | |
_LIT(KHashPathFormat, "%c:%S") | |
_LIT(KImportDir, "\\import\\") | |
_LIT(KLogDir, "\\sys\\install\\log.txt") | |
_LIT(KObserverFlagFileNameFormat, ":\\tmp\\%08xlog.flag") | |
_LIT(KObserverLogDir, "log_obs\\") | |
_LIT(KPreInstalledPath, "\\system\\install\\") | |
_LIT(KPrivatePath, "\\private\\") | |
_LIT(KPrivatePathFormat, "?:\\private\\") | |
_LIT(KRegistryPath, "\\sys\\install\\sisregistry\\") | |
_LIT(KResourcePath, "\\resource\\") | |
_LIT(KSidCacheFileName, "sidcache.cache") | |
_LIT(KSisHelperServerName, "!SISHELPER") | |
_LIT(KSwiDaemonPrivateDirectory, "\\private\\10202dce\\") | |
_LIT(KSwiLogDir, "log_swi\\") | |
_LIT(KSwiObserverImageName, "swiobserver.exe") | |
_LIT(KSwiObserverName, "!SwiObserver") | |
_LIT(KSysInstallPath, "\\sys\\install\\integrityservices\\") | |
_LIT(KSysInstallTempPath, "\\sys\\install\\temp\\") | |
_LIT(KSysPath, "\\sys\\") | |
_LIT(KUninstallLogPathFormat, "%c:\\sys\\uninstall\\%08x_%08x\\%c\\uninstall.log") | |
TExpressionResult | operator!(const TExpressionResult &) |
TExpressionResult | operator!=(const TExpressionResult &, const TExpressionResult &) |
TExpressionResult | operator<(const TExpressionResult &, const TExpressionResult &) |
TExpressionResult | operator<=(const TExpressionResult &, const TExpressionResult &) |
TExpressionResult | operator==(const TExpressionResult &, const TExpressionResult &) |
TExpressionResult | operator>(const TExpressionResult &, const TExpressionResult &) |
TExpressionResult | operator>=(const TExpressionResult &, const TExpressionResult &) |
const TLitC8< sizeof("AllowOrphanedOverwrite")> | KAllowOrphanedOverwrite | [static] |
const TLitC8< sizeof("AllowOverwriteOnRestore")> | KAllowOverwriteOnRestore | [static] |
const TLitC8< sizeof("AllowProtectedOrphanOverwrite")> | KAllowProtectedOrphanOverwrite | [static] |
When true this flag allows orphaned files residing in private/xxxxxxxx/import, /resource or /sys/bin directories to be overwritten or eclipsed under user permission.
const TLitC8< sizeof("AllowRunOnInstallUninstall")> | KAllowRunOnInstallUninstall | [static] |
const TLitC8< sizeof("AlternativeCodeSigningOID")> | KAlternativeCodeSigningOid | [static] |
const TLitC8< sizeof("ApplicationShutdownTimeoutSeconds")> | KApplicationShutdownTimeout | [static] |
const TLitC8< sizeof("DeletePreinstalledFilesOnUninstall")> | KDeletePreinstalledFilesOnUninstall | [static] |
const TInt | KInstallServerVersionMajor |
The current version of the Install Server.
const TLitC8< sizeof("MandateCodeSigningExtension")> | KMandateCodeSigningExtension | [static] |
const TLitC8< sizeof("OcspHttpHeaderFilter")> | KOcspHttpHeaderFilter | [static] |
If defined in the ini file, this specifies the ECOM plugin which is used to filter the OCSP request HTTP headers.
const TInt | KProgressBarEndIncrement | [static] |
The extra increment we add onto the end to make there always be some progress.
const TInt | KProgressBarIncrement | [static] |
Percentage of completion required before updating the progress bar.
const TInt | KProgressBarInstallChunkSize | [static] |
How many bytes to copy before updating the progress bar by one increment.
const TInt | KProgressBarUninstallAmount | [static] |
How many increments to update the bar on the uninstall of a file.
const TLitC8< sizeof("RemoveOnlyWithLastDependent")> | KRemoveOnlyWithLastDependent | [static] |
When true this flag allows to delay the uninstallation of embedded packages until all their dependent packages have been uninstalled.
const TLitC8< sizeof("SISCompatibleIfNoTargetDevices")> | KSISCompatibleIfNoTargetDevices | [static] |
const TInt | KSWIObserverRetryDelay | [static] |
Delay in microseconds before the client re-tries to connect to the SWI Observer.
const TInt | KSwiObserverShutdownPeriod |
Delay in microseconds before the SWI Observer is shut down, after the last remaining session has been closed.
const TUint | KSwisOperationStatusMask |
Software install operation status mask - 0xFF00.
const TUint | KUidSoftwareInstallKey |
This key and values that follow are now aliased to those defined in the header base header SaCls.h. This is necessary so Core OS components can still be dependent on software install. DO NOT change the assigned values here, update sacls.h for aliased definitions.
const TUid | KUidSwiObserver |
Hosting the executable's secure ID. Required to launch the process.
See also: KSwiObserverImageName
Software Install error dialog type for SISX files.
See also: MUiHandler::DisplayErrorL()
Text file display options. This controls which type of dialog appears when using MUiHandler::DisplayTextL().
See also: MUiHandler::DisplayTextL()
Software Install event types which can be cancelled.
See also: MUiHandler::HandleInstallCancellableEventL()
Software Install event type.
See also: MUiHandler::HandleInstallEventL()
Note: EEventAbortedInstall and EEventAbortedUnInstall are now considered as superfluous and are no longer generated. The application knows when it requests a cancel, and knows the cancel is complete when either the synchronous Launcher call returns or the asynchronous CAsyncLauncher request completes.
Software Install generic question type.
See also: MUiHandler::DisplayQuestionL()
Message type for the revocation check result dialog.
See also: MUiHandler::DisplayRevocationL()
An enumeration providing information regarding the certificate revocation status of a controller. The order of the members is important and should not be changed as it is relied on elsewhere.
Software Install signature validation result.
See also: MUiHandler::DisplaySecurityWarningL()
SISHelper server messages
Panic code for panicking a badly written client
Enumerator | Value | Description |
---|---|---|
EPanicBadDescriptor | ||
EPanicIllegalFunction | ||
EPanicAlreadyReceiving | ||
EPanicBadStartupDataType |
Unknown startup data type (see TSisHelperStartParams::TType) | |
EPanicBadDataProvider |
Bad interface pointer passed in startup data |
An enumeration providing information regarding the certificate validation status of a controller. The order of the members is important and should not be changed as it is relied on elsewhere.
void | CopyPointerArrayL | ( | RPointerArray< T > & | aNew, |
const RPointerArray< T > & | aOld | |||
) |
void | ExternalizeArrayL | ( | const RArray< T > & | aArray, |
RWriteStream & | aStream | |||
) |
void | ExternalizePointerArrayL | ( | const RPointerArray< T > & | aArray, |
RWriteStream & | aStream | |||
) |
void | FindAllAdornedVariantsL | ( | RFs & | aFs, |
const TDesC & | aSearchNameWild, | |||
const TDesC & | aSearchPath, | |||
RPointerArray< HBufC > & | aAdornedFileNamesFound | |||
) |
Searches through the file system looking for all variants of searchNameWild
Parameter | Description |
---|---|
aFs | handle to a fileserver session |
aSearchNameWild | represents the filename pattern that is to be searched for (i.e: afile{????????}.ext) |
aSearchPath | represents the path to be searched through on all drives (i.e: \) |
aAdornedFileNamesFound | all files matching the pattern are returned in this array (contains fully qualified filenames i.e. full path+name+ext) |
Generates adorned filename pattern using wild chars for searching
Parameter | Description |
---|---|
aFileName | the filename that is the base of the pattern; can be either unadorned or adorned name (i.e: somename.ext or somename{12345678}.ext) |
aSearchNameWild | the calculated pattern output (i.e: somename{????????}.ext) |
void | InternalizeArrayL | ( | RArray< T > & | aArray, |
RReadStream & | aStream | |||
) |
void | InternalizePointerArrayL | ( | RPointerArray< T > & | aArray, |
RReadStream & | aStream | |||
) |
Checks if the two input filenames are variants of each other (belong to the same adorned name "family")
Parameter | Description |
---|---|
aFileName1 | first name to compare (full path and name) |
aFileName2 | second name to compare (full path and name) |
NONSHARABLE_CLASS | ( | CObservationData | ) |
Class for a single observation record data. Contains the basic information about a changed file by the SWI operation. Each observed SWI event in an observation log corresponds to a single observation data.
NONSHARABLE_CLASS | ( | CObservationFilter | ) |
Class that represents a filter list which is used to filter SWI observation. SWI Observer ECOM plug-in implementations declares the folders in which they are intrested by using this class.
NONSHARABLE_CLASS | ( | CObservationHeader | ) |
Class that contains all observation records related with a specific package. In an observation log file, each header info corresponds to a specific package.
NONSHARABLE_CLASS | ( | CProgressBarValuePublisher | ) |
This class is used to publish the percentage value of the installation progress bar. The progress bar value is published by using a publish&subscribe property.
See also: Swi::KUidSwiProgressBarValueKey.
NONSHARABLE_CLASS | ( | CUninstalledPackageEntry | ) |
Uninstalled application entry class.
This class is not externally instantiable. It is returned as a result of querying for a list of uninstalled packages present on a removable drive. Each object of this type represents one uninstalled package. Methods can be called on this object to retrieve the package details such as Package UID, Name, Vendor, Version and Type.
NONSHARABLE_CLASS | ( | UninstalledSisPackages | ) |
This class provides static methods for managing uninstalled native packages (SIS files) that are taking up space on removable drives.
void | PanicClient | ( | const RMessagePtr2 & | aMessage, |
TInstallServerPanic | aPanic | |||
) | [static] |
Local function to panic an offending client
TUidType | SwiObserverImageFullUid | ( | ) | [inline] |
This function is defined because there is no literal constructor for TUidType. It returns the SWI Observer executable's UID, which is used to ensure the client side code launches the correct server process, as opposed to another application which uses the same executable name.
Returns: TUidType The SWI Observer executable's full UID.
TVersion | SwiObserverVersion | ( | ) | [inline] |
This function is defined because there is no literal constructor for TVersion.
Returns: Defines a version number which the client side code can use to open the SWI Obserevr. If the client code was built with a higher version number, then it cannot open the SWI Observer. This ensures that a client only talks to the SWI Observer version is at least as high as its own.
_LIT | ( | KControllerFileNameFormat | , |
"%S%S%08x\\%08x_%04x.ctl" | |||
) |
_LIT | ( | KObserverFlagFileNameFormat | , |
":\\tmp\\%08xlog.flag" | |||
) |
_LIT | ( | KObserverLogDir | , |
"log_obs\\" | |||
) |
A log file in this directory, when it is being processed.
_LIT | ( | KRegistryPath | , |
"\\sys\\install\\sisregistry\\" | |||
) |
_LIT | ( | KSwiDaemonPrivateDirectory | , |
"\\private\\10202dce\\" | |||
) |
_LIT | ( | KSwiLogDir | , |
"log_swi\\" | |||
) |
A log file in this directory, if it has not started to be processed yet.
_LIT | ( | KSwiObserverImageName | , |
"swiobserver.exe" | |||
) |
Executable which hosts SWI Observer. Required to launch the process.
See also: KUidSwiObserver
_LIT | ( | KSwiObserverName | , |
"!SwiObserver" | |||
) |
Identifies SWI Observer Symbian OS server.
_LIT | ( | KSysInstallPath | , |
"\\sys\\install\\integrityservices\\" | |||
) |
_LIT | ( | KSysInstallTempPath | , |
"\\sys\\install\\temp\\" | |||
) |
_LIT | ( | KUninstallLogPathFormat | , |
"%c:\\sys\\uninstall\\%08x_%08x\\%c\\uninstall.log" | |||
) |
TExpressionResult | operator! | ( | const TExpressionResult & | aExpression | ) | [inline] |
TExpressionResult | operator!= | ( | const TExpressionResult & | aLhs, |
const TExpressionResult & | aRhs | |||
) | [inline] |
TExpressionResult | operator< | ( | const TExpressionResult & | aLhs, |
const TExpressionResult & | aRhs | |||
) | [inline] |
TExpressionResult | operator<= | ( | const TExpressionResult & | aLhs, |
const TExpressionResult & | aRhs | |||
) | [inline] |
TExpressionResult | operator== | ( | const TExpressionResult & | aLhs, |
const TExpressionResult & | aRhs | |||
) | [inline] |
TExpressionResult | operator> | ( | const TExpressionResult & | aLhs, |
const TExpressionResult & | aRhs | |||
) | [inline] |
TExpressionResult | operator>= | ( | const TExpressionResult & | aLhs, |
const TExpressionResult & | aRhs | |||
) | [inline] |