Link against: integrityservices.lib
Public Member Type Definitions | |
---|---|
typedef | void(* TTreeWalkFunctionL |
Public Member Functions | |
---|---|
void | CopyArrayL(RArray< T > &, const RArray< T > &) |
void | CopyPointerArrayL(RPointerArray< T > &, const RPointerArray< T > &) |
void | DestroyRPointerArray(TAny *) |
TInt | EnumeratePhones(RTelServer &, TInt &) |
void | ExternalizeArrayL(const RArray< T > &, RWriteStream &) |
void | ExternalizePointerArrayL(const RPointerArray< T > &, RWriteStream &) |
TInt | FilterErrors(TInt) |
void | FindAllAdornedVariantsL(RFs &, const TDesC &, const TDesC &, RPointerArray< HBufC > &) |
void | GenerateSearchNameWildL(const TDesC &, TDes &) |
IMPORT_C TInt | GetAllUids(RArray< TUid > &) |
TInt | GetIdentityCaps(RMobilePhone &, TUint32 &) |
void | GetPhoneId(RMobilePhone &, TRequestStatus &, RMobilePhone::TMobilePhoneIdentityV1 &) |
TInt | GetPhoneInfo(RTelServer &, TInt, RTelServer::TPhoneInfo &) |
TInt | GetTsyName(RTelServer &, TInt, TDes &) |
void | GetUnadornedFileName(const TDesC &, TDes &) |
void | IntegrityDeleteFileL(const TDesC &, CIntegrityTreeLeaf *, RFs &, RLoader &, CFileMan &) |
void | IntegrityRestoreFileL(const TDesC &, CIntegrityTreeLeaf *, RFs &, RLoader &, CFileMan &) |
void | InternalizeArrayL(RArray< T > &, RReadStream &) |
void | InternalizePointerArrayL(RPointerArray< T > &, RReadStream &) |
TBool | IsAdornedVariationOfL(const TDesC &, const TDesC &) |
TBool | IsSWISBusy() |
void | LogSwiErrorsToFileL(TInt, const TDesC &) |
NONSHARABLE_CLASS(CObservationData) | |
NONSHARABLE_CLASS(CObservationFilter) | |
NONSHARABLE_CLASS(CObservationHeader) | |
NONSHARABLE_CLASS(CPathReplaceEntry) | |
NONSHARABLE_CLASS(CUninstalledPackageEntry) | |
NONSHARABLE_CLASS(UninstalledSisPackages) | |
void | PanicClient(const RMessagePtr2 &, TInstallServerPanic) |
void | PanicClient(const RMessagePtr2 &, TSisHelperPanic) |
void | PhoneCancelGetPhoneId(RMobilePhone &) |
void | PhoneClose(RMobilePhone &) |
TInt | PhoneOpen(RMobilePhone &, RTelServer &, TDesC &) |
void | RemoveDirectoryTreeL(RFs &, const TDesC &) |
void | Set(TVersion &, const Sis::CVersion &) |
TInt | SisHelperThreadFunction(TAny *) |
TUidType | SisRegistryHelperServerImageFullUid() |
TVersion | SisRegistryHelperServerVersion() |
void | StartServerL() |
TInt | StartSisHelper(RThread &) |
TInt | StartSwi() |
void | StopSisHelper(TAny *) |
EXPORT_C void | StreamInArrayL(RPointerArray< CCertificateInfo > &, RReadStream &) |
EXPORT_C void | StreamInArrayL(RPointerArray< CPKIXValidationResultBase > &, RReadStream &) |
EXPORT_C void | StreamInArrayL(RPointerArray< TDesC > &, RReadStream &) |
EXPORT_C void | StreamInArrayL(RPointerArray< TOCSPOutcome > &, RReadStream &) |
EXPORT_C void | StreamOutArrayL(const RPointerArray< CCertificateInfo > &, RWriteStream &) |
EXPORT_C void | StreamOutArrayL(const RPointerArray< CPKIXValidationResultBase > &, RWriteStream &) |
EXPORT_C void | StreamOutArrayL(const RPointerArray< TDesC > &, RWriteStream &) |
EXPORT_C void | StreamOutArrayL(const RPointerArray< TOCSPOutcome > &, RWriteStream &) |
TUidType | SwiObserverImageFullUid() |
TVersion | SwiObserverVersion() |
TDriveNumber | SystemRomDrive() |
_LIT(KBinPath, "\\sys\\bin\\") | |
_LIT(KControllerExt, "ctl") | |
_LIT(KControllerFileFilter, "*.ctl") | |
_LIT(KControllerFileNameFormat, "%S%S%08x\\%08x_%04x.ctl") | |
_LIT(KDevInfoSupportPanic, "devinfosupport") | |
_LIT(KDeviceInfoServerExeName, "DEVINFOSUPPORT") | |
_LIT(KDeviceInfoServerName, "!DEVINFOSUPPORTSERVER") | |
_LIT(KDeviceInfoServerThreadName, "DEVINFOSUPPORTSERVER-THREAD") | |
_LIT(KDriveExt, "drv") | |
_LIT(KEntryFileNameFormat, "%S%S%08x\\%08x.reg") | |
_LIT(KHashPath, "\\sys\\hash\\") | |
_LIT(KHashPathFormat, "%c:%S") | |
_LIT(KImportDir, "\\import\\") | |
_LIT(KInstallServerImage, "InstallServer") | |
_LIT(KInstallServerName, "!InstallServer") | |
_LIT(KIntegrityServicesPath, "\\sys\\install\\integrityservices\\") | |
_LIT(KJournalExt, "log") | |
_LIT(KLogDir, "\\sys\\install\\log.txt") | |
_LIT(KObserverFlagFileNameFormat, ":\\tmp\\%08xlog.flag") | |
_LIT(KObserverLogDir, "log_obs\\") | |
_LIT(KOcspSupportServerExeName, "OCSPSUPPORT") | |
_LIT(KOcspSupportServerName, "!OCSPSUPPORTSERVER") | |
_LIT(KOcspSupportServerThreadName, "OCSPSUPPORTSERVER-THREAD") | |
_LIT(KPreInstalledPath, "\\system\\install\\") | |
_LIT(KPrivatePath, "\\private\\") | |
_LIT(KRegFileFilter, "*.reg") | |
_LIT(KRegistryExt, "reg") | |
_LIT(KRegistryPath, "\\sys\\install\\sisregistry\\") | |
_LIT(KResourcePath, "\\resource\\") | |
_LIT(KSidCacheFileName, "sidcache.cache") | |
_LIT(KSisFileFilter, "*.sis") | |
_LIT(KSisHelperServerName, "!SISHELPER") | |
_LIT(KSisRegistryHelperServerImg, "sisregistryhelperserver.exe") | |
_LIT(KSisRegistryHelperServerName, "!SisRegistryHelper") | |
_LIT(KSisRegistryImg, "SisRegistryServer") | |
_LIT(KSisRegistryName, "!SisRegistryServer") | |
_LIT(KSisRegistryShortName, "SisRegistry") | |
_LIT(KSwiDaemonPrivateDirectory, "\\private\\10202dce\\") | |
_LIT(KSwiLogDir, "log_swi\\") | |
_LIT(KSwiObserverImageName, "swiobserver.exe") | |
_LIT(KSwiObserverName, "!SwiObserver") | |
_LIT(KSwisPolicyFile, "z:\\system\\data\\swipolicy.ini") | |
_LIT(KSysBackupFile, "!:\\sys\\install\\sisregistry\\backup.lst") | |
_LIT(KSysBackupFileBackup, "!:\\sys\\install\\sisregistry\\backup.bak") | |
_LIT(KSysInstallPath, "\\sys\\install\\integrityservices\\") | |
_LIT(KSysInstallTempPath, "\\sys\\install\\temp\\") | |
_LIT(KSysPath, "\\sys\\") | |
_LIT(KUissServerImage, "UISS") | |
_LIT(KUissServerName, "!UISS") | |
_LIT(KUninstallLogPathFormat, "%S\\sys\\uninstall\\%08x_%08x\\%c\\") | |
_LIT8(KAllowGrantUserCaps, "AllowGrantUserCapabilities") | |
_LIT8(KAllowOrphanedOverwrite, "AllowOrphanedOverwrite") | |
_LIT8(KAllowOverwriteOnRestore, "AllowOverwriteOnRestore") | |
_LIT8(KAllowPackagePropagate, "AllowPackagePropagate") | |
_LIT8(KAllowProtectedOrphanOverwrite, "AllowProtectedOrphanOverwrite") | |
_LIT8(KAllowRunOnInstallUninstall, "AllowRunOnInstallUninstall") | |
_LIT8(KAllowUnsigned, "AllowUnsigned") | |
_LIT8(KAlternativeCodeSigningOid, "AlternativeCodeSigningOID") | |
_LIT8(KApplicationShutdownTimeout, "ApplicationShutdownTimeoutSeconds") | |
_LIT8(KDRMEnabled, "DRMEnabled") | |
_LIT8(KDRMIntent, "DRMIntent") | |
_LIT8(KDeletePreinstalledFilesOnUninstall, "DeletePreinstalledFilesOnUninstall") | |
_LIT8(KMandateCodeSigningExtension, "MandateCodeSigningExtension") | |
_LIT8(KMandatePolicies, "MandatePolicies") | |
_LIT8(KMaxNumOfLogEntries, "MaxNumOfLogEntries") | |
_LIT8(KOcspEnabled, "OcspEnabled") | |
_LIT8(KOcspHttpHeaderFilter, "OcspHttpHeaderFilter") | |
_LIT8(KOcspMandatory, "OcspMandatory") | |
_LIT8(KOid, "Oid") | |
_LIT8(KPhoneTsyName, "PhoneTsyName") | |
_LIT8(KRemoveOnlyWithLastDependent, "RemoveOnlyWithLastDependent") | |
_LIT8(KReplacePath, "ReplacePath") | |
_LIT8(KRunWaitTimeout, "RunWaitTimeoutSeconds") | |
_LIT8(KSISCompatibleIfNoTargetDevices, "SISCompatibleIfNoTargetDevices") | |
_LIT8(KUserCapabilities, "UserCapabilities") | |
_LIT_SECURE_ID(KDaemonSecureId, 0x10202DCE) | |
_LIT_SECURE_ID(KSwisSecureId, 0x101F7295) | |
TExpressionResult | operator!(const TExpressionResult &) |
TExpressionResult | operator!=(const TExpressionResult &, const TExpressionResult &) |
TExpressionResult | operator<(const TExpressionResult &, const TExpressionResult &) |
void | operator<<(RWriteStream &, const TVersion &) |
TExpressionResult | operator<=(const TExpressionResult &, const TExpressionResult &) |
TBool | operator<=(const TVersion &, const TVersion &) |
TBool | operator==(const CHashContainer &, const CHashContainer &) |
TExpressionResult | operator==(const TExpressionResult &, const TExpressionResult &) |
TBool | operator==(const TVersion &, const TVersion &) |
TExpressionResult | operator>(const TExpressionResult &, const TExpressionResult &) |
TExpressionResult | operator>=(const TExpressionResult &, const TExpressionResult &) |
TBool | operator>=(const TVersion &, const TVersion &) |
void | operator>>(RReadStream &, TVersion &) |
typedef void(* | TTreeWalkFunctionL |
const TInt | FileNameUnadornedPartLength |
const TInt | KDefaultBufferSize | [static] |
const TInt | KDeflateBufferMaxSize |
const TInt | KDeviceInfoServerVersionBuild |
const TInt | KDeviceInfoServerVersionMajor |
const TInt | KDeviceInfoServerVersionMinor |
const TUid | KInstallServerUid3 |
const TInt | KInstallServerVersionBuild |
const TInt | KInstallServerVersionMajor |
The current version of the Install Server.
const TInt | KInstallServerVersionMinor |
const TInt | KIrrelevant |
const TInt | KLeaveInRunL | [static] |
const TInt | KMaxEquivalentLanguages |
const TInt | KMaxExpressionDepth | [static] |
Maximum recursion depth.
const TInt | KMaxSisRegistryMessage |
const TInt | KMaxUidCount |
const TInt | KOcspSupportServerVersionBuild |
const TInt | KOcspSupportServerVersionMajor |
The current version of the OCSP Support Server.
const TInt | KOcspSupportServerVersionMinor |
const TInt | KPolicyElements |
const TInt | KPolicyRanges |
const TInt | KSWIObserverRetryDelay | [static] |
Delay in microseconds before the client re-tries to connect to the SWI Observer.
const TInt | KServerShutdownDelay | [static] |
const TUid | KServerUid3 |
const TUid | KSisHelperServerUid3 |
const TInt | KSisHelperVersionBuild |
const TInt | KSisHelperVersionMajor |
const TInt | KSisHelperVersionMinor |
const TInt | KSisRegistryHelperServerShutdownPeriod |
Delay in microseconds before the SISRegistry Helper Server is shut down, after the last remaining session has been closed.
const TUid | KSisRegistryHelperServerUid3 | [static] |
Hosting the executable's secure ID. Required to launch the process.
See also: KScrHelperServerImg
const TInt | KSisRegistryHelperServerVersionBuild | [static] |
SISRegistry Helper Server version build component.
const TInt | KSisRegistryHelperServerVersionMajor | [static] |
SISRegistry Helper Server version major component.
const TInt | KSisRegistryHelperServerVersionMinor | [static] |
SISRegistry Helper Server version minor component.
const TInt | KSwiObserverShutdownPeriod |
Delay in microseconds before the SWI Observer is shut down, after the last remaining session has been closed.
const TInt | KSwiObserverVerBuild |
SWI Observer version build component.
const TInt | KSwiObserverVerMajor |
SWI Observer version major component.
const TInt | KSwiObserverVerMinor |
SWI Observer version minor component.
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
const TUid | KUidSwiObserverPluginInterface |
Hosting the SWI Observer Plugin Interface UID.
const TUid | KUissServerUid3 |
const TInt | KUissServerVersionBuild |
const TInt | KUissServerVersionMajor |
The current version of the UI Support Server.
const TInt | KUissServerVersionMinor |
const TInt | KVariableLanguage | [static] |
const TInt | KVariableRemoteInstall | [static] |
Software Install error dialog type for SISX files.
See also: MUiHandler::DisplayErrorL()
Enumerator | Value | Description |
---|---|---|
EUiAlreadyInRom | Cannot overwrite ROM component. | |
EUiMissingDependency | Missing a dependency. | |
EUiRequireVer | A dependency exists on a specific version of an application which is different from the one installed. | |
EUiRequireVerOrGreater | A dependency requires a version of an application which is greater than the one installed. */. | |
EUiFileCorrupt | SISX file corrupt, checksums stored in file do not match actual. | |
EUiDiskNotPresent | A removable media drive had no media while trying to access it. | |
EUiCannotRead | We cannot read a file which is needed for us to proceed. | |
EUiCannotDelete | We are forbidden to delete a certain file. | |
EUiInvalidFileName | A filename given inside the SISX package is not valid. | |
EUiFileNotFound | A file needed to proceed cannot be found. | |
EUiInsufficientSpaceOnDrive | There was insufficient space left on the drive to perform an operation. | |
EUiCapabilitiesCannotBeGranted | The applications requires system capability it is not signed for. | |
EUiUnknownFile | File to install is not a recognized SISX file. | |
EUiMissingBasePackage | A base package was missing when installing an augmentation or a partial upgrade, the descriptor parameter contains a TPckg<TUid> with the uid of the missing application, which will be the same as the uid of the package being installed. | |
EUiConstraintsExceeded | Constraints imposed by a developer mode certificate have been exceeded. | |
EUiSIDViolation | The package contains a file with a protected SID which is not signed for. | |
EUiVIDViolation | The package contains a file with a protected VID which is not signed for. | |
EUiNoMemoryInDrive | ||
EUiUIDPackageViolation | < No enough space in the selected drive to install the package.
The package uid is protected but not signed for. | |
EUiOSExeViolation | The package contains an invalid eclipsing EXE that would eclipse an exe in ROM. | |
EUiSIDMismatch | ||
EUiBlockingEclipsingFile | < Application SID doesnt match with existing SID in private Directory. |
Describes various information about a file which has been written into the log file as a record.
Enumerator | Value | Description |
---|---|---|
EFileAdded | 0x01 | The file was copied to the system. |
EFileDeleted | 0x02 | The file was deleted from the system. |
EFileDll | 0x10 | The file is a DLL. |
EFileExe | 0x20 | The file is an EXE. |
Text file display options. This controls which type of dialog appears when using MUiHandler::DisplayTextL().
See also: MUiHandler::DisplayTextL()
Enumerator | Value | Description |
---|---|---|
EInstFileTextOptionContinue | 0 | It is recommended that the UI displays a dialog containing a Continue button. On exiting the dialog, installation continues regardless of the dialog's return value. |
EInstFileTextOptionSkipOneIfNo | It is recommended that the UI displays a dialog containing Yes/No buttons. The software installer skips installing the next file if the dialog returns false (user pressed No). It will install the next file if the dialog returns true (user pressed Yes). | |
EInstFileTextOptionAbortIfNo | It is recommended that the UI displays a dialog containing Yes/No buttons. The software installer continues with the installation if the dialog returns true (user pressed Yes). It will abort the installation if the dialog returns false (user pressed No). | |
EInstFileTextOptionExitIfNo | Same as EInstFileTextOptionAbortIfNo. | |
EInstFileTextOptionForceAbort | It is recommended that UI display a TextContinue dialog.On exiting the dialog , installation must abort regardless of the dialog's return value. |
A flag file whose presence indicates to the client that there are logfiles left in the observer's private dir, so the client have to start the observer to get the files processed.
Enumerator | Value | Description |
---|---|---|
EDeleteFlagFile | ||
ECreateFlagFile |
Software Install event types which can be cancelled.
See also: MUiHandler::HandleInstallCancellableEventL()
Enumerator | Value | Description |
---|---|---|
EEventRemovingFiles | Files are being removed. | |
EEventShuttingDownApps | Some applications are being shut down. | |
EEventCopyingFiles | Files are being copied. | |
EEventOcspCheckStart | Certificate status check is being carried out. |
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.
Enumerator | Value | Description |
---|---|---|
EEventSetProgressBarFinalValue | Gives the final value for the progress bar. | |
EEventUpdateProgressBar | The progress bar must be updated. | |
EEventAbortedInstall | The installation has been aborted - NOT generated. | |
EEventCompletedInstall | The installation has been completed. | |
EEventCompletedUnInstall | The uninstallation has been completed. | |
EEventAbortedUnInstall | The uninstallation has been aborted - NOT generated. | |
EEventCompletedNoMessage | The operation has been completed. | |
EEventLeave | An error has occurred: a function issued a "leave". | |
EEventOcspCheckEnd | The certificate revocation check has been completed. | |
EEventDevCert | The installed application is signed by devcert. |
Messages Launcher sends to SWIS
Enumerator | Value | Description |
---|---|---|
EInstall | ||
EUninstall | ||
ECancel | ||
ERestore | ||
ERestoreFile | ||
ERestoreCommit | ||
EListUnInstalledPkgs | ||
ERemoveUnInstalledPkg |
A bad client is panicked by SWIS with these codes
Enumerator | Value | Description |
---|---|---|
EPanicInstallServerBadDescriptor | ||
EPanicInstallServerIllegalFunction |
Defines the events recorded in the journal file
Enumerator | Value | Description |
---|---|---|
ENone | ||
ERemovedFile | ||
EBackupFile | ||
ETempFile | ||
EAddedFile | ||
EInstallComplete | ||
EBackupFilesRemoved | ||
EAddedFilesRemoved | ||
ERemovedFilesRestored | ||
ETempFilesRemoved |
A set of enumerated values is used to identify which SWI operation is in progress.
Enumerator | Value | Description |
---|---|---|
EOpInstall | 0 | |
EOpUninstall | ||
EOpRestore |
A set of enumerated values which is used to indicate the type of the package which has influenced from the current SWI operation.
Enumerator | Value | Description |
---|---|---|
EStandardApplication | 0 | |
EStandardPatch | ||
EPartialUpgrade | ||
EPreinstalledApplication | ||
EPreinstalledPatch | ||
EUnknownPackage |
Software Install generic question type.
See also: MUiHandler::DisplayQuestionL()
Enumerator | Value | Description |
---|---|---|
EQuestionIncompatible | Ask whether to install an incompatible installation on the device. | |
EQuestionOverwriteFile | Ask whether to overwrite a file, which is not part of any package installation. The descriptor parameter contains the name of the file which is being overwritten. |
Restore file messages pass parameters in these message slots
Enumerator | Value | Description |
---|---|---|
EMessageSlotRestoreFs | ||
EMessageSlotRestoreFile | ||
EMessageSlotRestorePath |
Restore messages pass parameters in these message slots
Enumerator | Value | Description |
---|---|---|
EMessageSlotRestoreUid | ||
EMessageSlotRestoreController |
Message type for the revocation check result dialog.
See also: MUiHandler::DisplayRevocationL()
Enumerator | Value | Description |
---|---|---|
EInvalidRevocationServerUrl | The OCSP server URL provided is invalid. | |
EUnableToObtainCertificateStatus | It is not possible to obtain the certificate status. | |
EResponseSignatureValidationFailure | It was not possible to validate the OCSP server response signature. | |
EInvalidRevocationServerResponse | The OCSP server reply is invalid. | |
EInvalidCertificateStatusInformation | The certificate status information is invalid. | |
ECertificateStatusIsUnknown | The certificate status is unknown. | |
ECertificateStatusIsUnknownSelfSigned | The certificate status is unknown, but this is expected for self-signed. | |
ECertificateStatusIsRevoked | The certificate has been revoked. |
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.
Enumerator | Value | Description |
---|---|---|
EUnknown2 | 0 |
The revocation status is unknown, the associated registry entry has been populated from an old database |
EOcspNotPerformed | 10 |
OCSP revocation check not performed due to user decision or failed validation |
EOcspRevoked | 20 |
1 or more required certificate(s) were revoked. |
EOcspUnknown | 30 |
1 or more certificates were 'unknown' to the OCSP server |
EOcspTransient | 40 |
1 or more checks resulted in transient error |
EOcspGood | 50 |
All certificate chains good |
Software Install signature validation result.
See also: MUiHandler::DisplaySecurityWarningL()
Enumerator | Value | Description |
---|---|---|
EValidationSucceeded | The signature has been validated successfully. | |
ESignatureSelfSigned | The signature validates correctly, but chains back to a self-signed root. | |
ENoCertificate | Cannot find the certificate. | |
ECertificateValidationError | An error has occurred during signature validation. | |
ESignatureNotPresent | There is no signature to verify. | |
ESignatureCouldNotBeValidated | The signature could not be validated. | |
ENoCodeSigningExtension | The certificate is not trusted for code signing usage. | |
ENoSupportedPolicyExtension | Cannot find the certificate policies. | |
EMandatorySignatureMissing | A signature resolving to one of the mandatory certificate cannot be found. |
SISHelper server messages
Enumerator | Value | Description |
---|---|---|
ESisHelperGetController | Retrieve SISController. | |
ESisHelperExtractFile | Copy / decompress a file. | |
ESisHelperFillDrivesAndSpaces | Return available disk drives and spaces. | |
ESisHelperOpenDrmContent | Evaluate the intent for this installation. | |
ESisHelperExecuteDrmIntent | Execute the intent for this installation. | |
ESisHelperSetupAsyncExtraction | Begin copy / decompress part of a file. | |
ESisHelperAsyncExtraction | Continue copy / decompress part of a file. | |
ESisHelperEndAsyncExtraction | End copy / decompress part of a file. | |
ESisHelperCreateSisStub | Create a .SIS stub file. | |
ESisHelperIsStub | Query whether the SIS file contains any data, if not it's a stub (preinstalled) | |
ESisHelperGetSisFileDrive | Find the drive letter the SIS is installed from. (-1) if unknown. | |
ESisHelperIsSisFileReadOnly | Check if the SIS file is read only (affects whether to delete on uninstall of preinstalled package.) | |
ESisHelperGetSisFileName | Get name with path of SIS file. | |
ESisHelperGetControllerFromSis | Retrieve SISController from the specified SISX file. | |
ESisHelperGetEquivalentLanguages | Retrieve fetching equivalent languages. |
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 |
Enumerator | Value | Description |
---|---|---|
ESisPackageUnsignedOrSelfSigned | 0 | Untrusted - Application is unsigned or self-signed. |
ESisPackageValidationFailed | 50 | Untrusted - Application's Certificate chain validation failed. |
ESisPackageCertificateChainNoTrustAnchor | 100 | Untrusted - Application's Certificate chain validated but no matching issuer certificate could be found in the certstore. |
ESisPackageCertificateChainValidatedToTrustAnchor | 200 | Trusted - Application's Certificate chain validated to an issuer certificate in the certstore. |
ESisPackageChainValidatedToTrustAnchorOCSPTransientError | 300 | Trusted - Application's Certificate chain validated and OCSP failed with a transient error. |
ESisPackageChainValidatedToTrustAnchorAndOCSPValid | 400 | Trusted - Application's Certificate chain validated and OCSP response was ok. |
ESisPackageBuiltIntoRom | 500 | Trusted - Application is built into device ROM. |
Functions supported by a SISRegistry Helper Server session.
Enumerator | Value | Description |
---|---|---|
EGetEquivalentLanguages |
Enumerator | Value | Description |
---|---|---|
EPanicBadOperationMode |
Enumerator | Value | Description |
---|---|---|
ESwiLogInstall | 0 | |
ESwiLogUnInstall | ||
ESwiLogUpgrade | ||
ESwiLogRestore |
Functions supported by a SWI Observer session.
Enumerator | Value | Description |
---|---|---|
ERegisterToObserver | 0 | Registers to the SWI Observer. |
ETransferFileHandle | Transfer the observation file handle. | |
ESwiCommit | Start processing the observation file. |
Software install operations states.
Enumerator | Value | Description |
---|---|---|
ESwisNone | ESASwisNone | 0x00 No operation |
ESwisInstall | ESASwisInstall | 0x01 Swis install operation is in progress |
ESwisUninstall | ESASwisUninstall | 0x02 Swis uninstall operation is in progress |
ESwisRestore | ESASwisRestore | 0x04 Swis restore operation is in progress |
Software Install operation status value.
Enumerator | Value | Description |
---|---|---|
ESwisStatusNone | ESASwisStatusNone | 0x0000 The current operation is in progress |
ESwisStatusSuccess | ESASwisStatusSuccess | 0x0100 The current/last operation succeeded |
ESwisStatusAborted | ESASwisStatusAborted | 0x0200 The current/last operation failed |
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.
Enumerator | Value | Description |
---|---|---|
EUnknown | 0 |
The validation status is unknown, the associated registry entry has been populated from an old database |
EExpired | 10 |
Signed and validated at install time but one or more required certificate chains was expired at the time of a subsequent revocation check |
EInvalid | 20 |
The validation status is invalid All required certificate chains failed validation |
EUnsigned | 30 |
Application is unsigned, no certificates |
EValidated | 40 |
1 or more required chains validated but none to a matching issuer certificate in the certstore |
EValidatedToAnchor | 50 |
1 or more certificate chains validated to an issuer certificate in the certstore |
EPackageInRom | 60 |
Package was installed in ROM |
void | CopyPointerArrayL | ( | RPointerArray< T > & | aTarget, |
const RPointerArray< T > & | aSource | |||
) |
Copy a pointer array of template objects to another one. Note that only objects are copied into the target array, NOT pointers. T class must provide a static T::NewL(T&) construction function.
Parameters | |
---|---|
aTarget | The pointer array to which a given array will be copied. |
aSource | The pointer array which will be copied. |
void | DestroyRPointerArray | ( | TAny * | aPtr | ) |
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
Parameters | |
---|---|
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
Parameters | |
---|---|
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 | GetPhoneId | ( | RMobilePhone & | aPhone, |
TRequestStatus & | aReqStatus, | |||
RMobilePhone::TMobilePhoneIdentityV1 & | aMobilePhoneId | |||
) | [static, inline] |
TInt | GetPhoneInfo | ( | RTelServer & | aTelServer, |
TInt | aIndex, | |||
RTelServer::TPhoneInfo & | aPhoneInfo | |||
) | [static, inline] |
void | IntegrityDeleteFileL | ( | const TDesC & | aPath, |
CIntegrityTreeLeaf * | aLeaf, | |||
RFs & | aFs, | |||
RLoader & | aLoader, | |||
CFileMan & | aFileMan | |||
) |
void | IntegrityRestoreFileL | ( | const TDesC & | aPath, |
CIntegrityTreeLeaf * | aLeaf, | |||
RFs & | aFs, | |||
RLoader & | aLoader, | |||
CFileMan & | aFileMan | |||
) |
void | InternalizeArrayL | ( | RArray< T > & | aArray, |
RReadStream & | aStream | |||
) |
void | InternalizePointerArrayL | ( | RPointerArray< T > & | aArray, |
RReadStream & | aStream | |||
) |
TBool | IsSWISBusy | ( | ) |
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 | ( | CPathReplaceEntry | ) |
Used internally by CSecurityPolicy to manage replacement key, value pairs.
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
void | PanicClient | ( | const RMessagePtr2 & | aMessage, |
TSisHelperPanic | aPanic | |||
) |
void | PhoneCancelGetPhoneId | ( | RMobilePhone & | aPhone | ) | [static, inline] |
void | PhoneClose | ( | RMobilePhone & | aPhone | ) | [static, inline] |
void | RemoveDirectoryTreeL | ( | RFs & | aFs, |
const TDesC & | aFileName | |||
) |
void | Set | ( | TVersion & | aVersion, |
const Sis::CVersion & | aSisVersion | |||
) |
TUidType | SisRegistryHelperServerImageFullUid | ( | ) | [inline] |
This function is defined because there is no literal constructor for TUidType. It returns the SISRegistryHelper server 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.
TVersion | SisRegistryHelperServerVersion | ( | ) | [inline] |
This function is defined because there is no literal constructor for TVersion.
TInt | StartSwi | ( | ) |
void | StopSisHelper | ( | TAny * | aServer | ) |
EXPORT_C void | StreamInArrayL | ( | RPointerArray< CCertificateInfo > & | aArray, |
RReadStream & | aStream | |||
) |
EXPORT_C void | StreamInArrayL | ( | RPointerArray< CPKIXValidationResultBase > & | aArray, |
RReadStream & | aStream | |||
) |
EXPORT_C void | StreamInArrayL | ( | RPointerArray< TDesC > & | aArray, |
RReadStream & | aStream | |||
) |
EXPORT_C void | StreamInArrayL | ( | RPointerArray< TOCSPOutcome > & | aArray, |
RReadStream & | aStream | |||
) |
EXPORT_C void | StreamOutArrayL | ( | const RPointerArray< CCertificateInfo > & | aArray, |
RWriteStream & | aStream | |||
) |
EXPORT_C void | StreamOutArrayL | ( | const RPointerArray< CPKIXValidationResultBase > & | aArray, |
RWriteStream & | aStream | |||
) |
EXPORT_C void | StreamOutArrayL | ( | const RPointerArray< TDesC > & | aArray, |
RWriteStream & | aStream | |||
) |
EXPORT_C void | StreamOutArrayL | ( | const RPointerArray< TOCSPOutcome > & | aArray, |
RWriteStream & | aStream | |||
) |
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.
TVersion | SwiObserverVersion | ( | ) | [inline] |
This function is defined because there is no literal constructor for TVersion.
TDriveNumber | SystemRomDrive | ( | ) | [inline] |
_LIT | ( | KBinPath | , |
"\\sys\\bin\\" | |||
) |
_LIT | ( | KControllerExt | , |
"ctl" | |||
) |
_LIT | ( | KControllerFileFilter | , |
"*.ctl" | |||
) |
_LIT | ( | KControllerFileNameFormat | , |
"%S%S%08x\\%08x_%04x.ctl" | |||
) |
_LIT | ( | KDevInfoSupportPanic | , |
"devinfosupport" | |||
) |
_LIT | ( | KDeviceInfoServerExeName | , |
"DEVINFOSUPPORT" | |||
) |
The name of the Device Info Support Executable
_LIT | ( | KDeviceInfoServerName | , |
"!DEVINFOSUPPORTSERVER" | |||
) |
The name of the Device Info Support Server
_LIT | ( | KDeviceInfoServerThreadName | , |
"DEVINFOSUPPORTSERVER-THREAD" | |||
) |
The name of the Device Info Support Thread
_LIT | ( | KDriveExt | , |
"drv" | |||
) |
_LIT | ( | KEntryFileNameFormat | , |
"%S%S%08x\\%08x.reg" | |||
) |
_LIT | ( | KHashPath | , |
"\\sys\\hash\\" | |||
) |
_LIT | ( | KHashPathFormat | , |
"%c:%S" | |||
) |
_LIT | ( | KImportDir | , |
"\\import\\" | |||
) |
_LIT | ( | KInstallServerImage | , |
"InstallServer" | |||
) |
_LIT | ( | KInstallServerName | , |
"!InstallServer" | |||
) |
_LIT | ( | KIntegrityServicesPath | , |
"\\sys\\install\\integrityservices\\" | |||
) |
_LIT | ( | KJournalExt | , |
"log" | |||
) |
_LIT | ( | KLogDir | , |
"\\sys\\install\\log.txt" | |||
) |
_LIT | ( | KObserverFlagFileNameFormat | , |
":\\tmp\\%08xlog.flag" | |||
) |
_LIT | ( | KObserverLogDir | , |
"log_obs\\" | |||
) |
A log file in this directory, when it is being processed.
_LIT | ( | KOcspSupportServerExeName | , |
"OCSPSUPPORT" | |||
) |
The name of the OCSP Support Executable.
_LIT | ( | KOcspSupportServerName | , |
"!OCSPSUPPORTSERVER" | |||
) |
The name of the OCSP Support Server.
_LIT | ( | KOcspSupportServerThreadName | , |
"OCSPSUPPORTSERVER-THREAD" | |||
) |
The name of the OCSP Support Thread.
_LIT | ( | KPreInstalledPath | , |
"\\system\\install\\" | |||
) |
_LIT | ( | KPrivatePath | , |
"\\private\\" | |||
) |
_LIT | ( | KRegFileFilter | , |
"*.reg" | |||
) |
_LIT | ( | KRegistryExt | , |
"reg" | |||
) |
_LIT | ( | KRegistryPath | , |
"\\sys\\install\\sisregistry\\" | |||
) |
_LIT | ( | KResourcePath | , |
"\\resource\\" | |||
) |
_LIT | ( | KSidCacheFileName | , |
"sidcache.cache" | |||
) |
_LIT | ( | KSisFileFilter | , |
"*.sis" | |||
) |
_LIT | ( | KSisHelperServerName | , |
"!SISHELPER" | |||
) |
_LIT | ( | KSisRegistryHelperServerImg | , |
"sisregistryhelperserver.exe" | |||
) |
Executable which hosts SCR Helper Server. Required to launch the process.
See also: KSisRegistryHelperServerUid3
_LIT | ( | KSisRegistryHelperServerName | , |
"!SisRegistryHelper" | |||
) |
Identifies the Scr Helper Symbian OS Server.
_LIT | ( | KSisRegistryImg | , |
"SisRegistryServer" | |||
) |
_LIT | ( | KSisRegistryName | , |
"!SisRegistryServer" | |||
) |
_LIT | ( | KSisRegistryShortName | , |
"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 | ( | KSwisPolicyFile | , |
"z:\\system\\data\\swipolicy.ini" | |||
) |
_LIT | ( | KSysBackupFile | , |
"!:\\sys\\install\\sisregistry\\backup.lst" | |||
) |
_LIT | ( | KSysBackupFileBackup | , |
"!:\\sys\\install\\sisregistry\\backup.bak" | |||
) |
_LIT | ( | KSysInstallPath | , |
"\\sys\\install\\integrityservices\\" | |||
) |
_LIT | ( | KSysInstallTempPath | , |
"\\sys\\install\\temp\\" | |||
) |
_LIT | ( | KSysPath | , |
"\\sys\\" | |||
) |
_LIT | ( | KUissServerImage | , |
"UISS" | |||
) |
_LIT | ( | KUissServerName | , |
"!UISS" | |||
) |
The name of the UI Support Server.
_LIT | ( | KUninstallLogPathFormat | , |
"%S\\sys\\uninstall\\%08x_%08x\\%c\\" | |||
) |
_LIT8 | ( | KAllowGrantUserCaps | , |
"AllowGrantUserCapabilities" | |||
) |
_LIT8 | ( | KAllowOrphanedOverwrite | , |
"AllowOrphanedOverwrite" | |||
) |
_LIT8 | ( | KAllowOverwriteOnRestore | , |
"AllowOverwriteOnRestore" | |||
) |
_LIT8 | ( | KAllowPackagePropagate | , |
"AllowPackagePropagate" | |||
) |
_LIT8 | ( | KAllowProtectedOrphanOverwrite | , |
"AllowProtectedOrphanOverwrite" | |||
) |
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.
_LIT8 | ( | KAllowRunOnInstallUninstall | , |
"AllowRunOnInstallUninstall" | |||
) |
_LIT8 | ( | KAllowUnsigned | , |
"AllowUnsigned" | |||
) |
_LIT8 | ( | KAlternativeCodeSigningOid | , |
"AlternativeCodeSigningOID" | |||
) |
_LIT8 | ( | KApplicationShutdownTimeout | , |
"ApplicationShutdownTimeoutSeconds" | |||
) |
_LIT8 | ( | KDRMEnabled | , |
"DRMEnabled" | |||
) |
_LIT8 | ( | KDRMIntent | , |
"DRMIntent" | |||
) |
_LIT8 | ( | KDeletePreinstalledFilesOnUninstall | , |
"DeletePreinstalledFilesOnUninstall" | |||
) |
_LIT8 | ( | KMandateCodeSigningExtension | , |
"MandateCodeSigningExtension" | |||
) |
_LIT8 | ( | KMandatePolicies | , |
"MandatePolicies" | |||
) |
_LIT8 | ( | KMaxNumOfLogEntries | , |
"MaxNumOfLogEntries" | |||
) |