Lines Matching refs:xCmdEnv
116 void writeLastModified(OUString & url, Reference<ucb::XCommandEnvironment> const & xCmdEnv) in writeLastModified() argument
121 ::ucbhelper::Content ucbStamp(url, xCmdEnv ); in writeLastModified()
122 dp_misc::erase_path( url, xCmdEnv ); in writeLastModified()
377 Reference< ucb::XCommandEnvironment> const & xCmdEnv ) in getExtensionsWithSameIdentifier()
388 identifier, fileName, xCmdEnv); in getExtensionsWithSameIdentifier()
485 Reference<ucb::XCommandEnvironment> const & xCmdEnv ) in activateExtension() argument
499 bUserDisabled, bStartup, xAbortChannel, xCmdEnv); in activateExtension()
509 Reference<ucb::XCommandEnvironment> const & xCmdEnv ) in activateExtension() argument
520 aExt->isRegistered(xAbortChannel, xCmdEnv); in activateExtension()
528 aExt->revokePackage(xAbortChannel, xCmdEnv); in activateExtension()
537 aExt->revokePackage(xAbortChannel, xCmdEnv); in activateExtension()
547 aExt->registerPackage(bStartup, xAbortChannel, xCmdEnv); in activateExtension()
556 Reference<ucb::XCommandEnvironment> const & xCmdEnv ) in backupExtension() argument
560 new TmpRepositoryCommandEnv(xCmdEnv->getInteractionHandler())); in backupExtension()
600 Reference<ucb::XCommandEnvironment> const & xCmdEnv, in doChecksForAddExtension() argument
619 sIdentifier, sFileName, xCmdEnv); in doChecksForAddExtension()
643 checkUpdate(sVersion, sDisplayName,xOldExtension, xCmdEnv); in doChecksForAddExtension()
649 checkInstall(sDisplayName, xCmdEnv); in doChecksForAddExtension()
652 Reference<ucb::XCommandEnvironment> _xCmdEnv(xCmdEnv); in doChecksForAddExtension()
662 new NoLicenseCommandEnv(xCmdEnv->getInteractionHandler())); in doChecksForAddExtension()
697 Reference<ucb::XCommandEnvironment> const & xCmdEnv ) in addExtension() argument
720 getTempExtension(url, xAbortChannel, xCmdEnv); in addExtension()
737 xCmdEnv, in addExtension()
890 Reference<ucb::XCommandEnvironment> const & xCmdEnv ) in removeExtension() argument
917 identifier, fileName, xPackageManager, xCmdEnv); in removeExtension()
922 identifier, fileName, xCmdEnv); in removeExtension()
923 xOldExtension->revokePackage(xAbortChannel, xCmdEnv); in removeExtension()
926 identifier, fileName, xAbortChannel, xCmdEnv); in removeExtension()
928 xAbortChannel, xCmdEnv); in removeExtension()
956 new TmpRepositoryCommandEnv(xCmdEnv->getInteractionHandler())); in removeExtension()
970 xExtensionBackup->getName(), xAbortChannel, xCmdEnv); in removeExtension()
983 xExtensionBackup->getName(), xAbortChannel, xCmdEnv); in removeExtension()
990 Reference<ucb::XCommandEnvironment> const & xCmdEnv) in enableExtension() argument
1015 xAbortChannel, xCmdEnv); in enableExtension()
1041 xAbortChannel, xCmdEnv); in enableExtension()
1055 Reference<ucb::XCommandEnvironment> const & xCmdEnv) in checkPrerequisitesAndEnable() argument
1070 ret = mgr->checkPrerequisites(extension, xAbortChannel, xCmdEnv); in checkPrerequisitesAndEnable()
1074 extension->revokePackage(xAbortChannel, xCmdEnv); in checkPrerequisitesAndEnable()
1079 xAbortChannel, xCmdEnv); in checkPrerequisitesAndEnable()
1105 Reference<ucb::XCommandEnvironment> const & xCmdEnv ) in disableExtension() argument
1129 xAbortChannel, xCmdEnv); in disableExtension()
1155 xAbortChannel, xCmdEnv); in disableExtension()
1168 Reference<ucb::XCommandEnvironment> const & xCmdEnv ) in getDeployedExtensions() argument
1176 xAbort, xCmdEnv); in getDeployedExtensions()
1184 Reference<ucb::XCommandEnvironment> const & xCmdEnv ) in getDeployedExtension() argument
1191 identifier, filename, xCmdEnv); in getDeployedExtension()
1197 Reference<ucb::XCommandEnvironment> const & xCmdEnv ) in getAllExtensions() argument
1209 getUserRepository()->getDeployedPackages(xAbort, xCmdEnv); in getAllExtensions()
1212 getSharedRepository()->getDeployedPackages(xAbort, xCmdEnv); in getAllExtensions()
1215 getBundledRepository()->getDeployedPackages(xAbort, xCmdEnv); in getAllExtensions()
1264 Reference<ucb::XCommandEnvironment> const & xCmdEnv ) in reinstallDeployedExtensions() argument
1275 xPackageManager->reinstallDeployedPackages(xAbortChannel, xCmdEnv); in reinstallDeployedExtensions()
1278 dp_misc::syncRepositories(xCmdEnv); in reinstallDeployedExtensions()
1280 xPackageManager->getDeployedPackages(xAbortChannel, xCmdEnv)); in reinstallDeployedExtensions()
1289 activateExtension(id, fileName, false, true, xAbortChannel, xCmdEnv ); in reinstallDeployedExtensions()
1318 Reference<ucb::XCommandEnvironment> const & xCmdEnv ) in synchronizeBundledPrereg() argument
1326 dp_misc::ProgressLevel progressBundled(xCmdEnv, sSynchronizingBundled); in synchronizeBundledPrereg()
1333 xMgr->synchronize(xAbortChannel, xCmdEnv); in synchronizeBundledPrereg()
1337 xAbortChannel, xCmdEnv); in synchronizeBundledPrereg()
1342 extensions[i]->registerPackage(true, xAbortChannel, xCmdEnv); in synchronizeBundledPrereg()
1351 writeLastModified(lastSyncBundled, xCmdEnv); in synchronizeBundledPrereg()
1373 Reference<ucb::XCommandEnvironment> const & xCmdEnv ) in synchronize() argument
1387 dp_misc::ProgressLevel progressShared(xCmdEnv, sSynchronizingShared); in synchronize()
1388 bModified = getSharedRepository()->synchronize(xAbortChannel, xCmdEnv); in synchronize()
1393 dp_misc::ProgressLevel progressBundled(xCmdEnv, sSynchronizingBundled); in synchronize()
1394 bModified |= getBundledRepository()->synchronize(xAbortChannel, xCmdEnv); in synchronize()
1408 seqSeqExt = getAllExtensions(xAbortChannel, xCmdEnv); in synchronize()
1414 xAbortChannel, xCmdEnv); in synchronize()
1425 writeLastModified(lastSyncBundled, xCmdEnv); in synchronize()
1428 writeLastModified(lastSyncShared, xCmdEnv); in synchronize()
1488 Reference<ucb::XCommandEnvironment> const & xCmdEnv ) in checkUpdate() argument
1500 xCmdEnv, &replace, &abort )) { in checkUpdate()
1536 Reference<ucb::XCommandEnvironment> const & xCmdEnv) in getExtensionsWithUnacceptedLicenses() argument
1543 return xPackageManager->getExtensionsWithUnacceptedLicenses(xCmdEnv); in getExtensionsWithUnacceptedLicenses()