1 // tidlc -s -l C++ -i PkgMgr.tidl -o PkgMgrStub
2 // tidlc -p -l C++ -i PkgMgr.tidl -o PkgMgrProxy
10 [privilege="http://tizen.org/privilege/packagemanager.clearcache"]
11 interface PkgMgrForClearCache
13 int ClearCache(int uid, string pkgid);
16 [privilege="http://tizen.org/privilege/packagemanager.info"]
19 int GetSize(int uid, string pkgid, int getType, out string reqKey);
20 int GetSizeSync(int uid, string pkgid, int getType, out string ReqKey);
21 int GetSizeSyncResult(string reqKey, out int result, out long sizeInfo);
22 int Check(int uid, string pkgid, out int pid);
25 [privilege = "http://tizen.org/privilege/packagemanager.admin"]
28 int Install(int uid, string pkgType, string pkgPath, array<string> args, string reqId, out string reqKey);
29 int InstallPkgs(int uid, array<string> pkgs, array<string> args, string reqId, out string reqKey);
30 int Reinstall(int uid, string pkgid, out string reqKey);
31 int MountInstall(int uid, string pkgType, string pkgPath, array<string> args, string reqId, out string reqKey);
32 int MountInstallPkgs(int uid, array<string> pkgs, string reqId, out string reqKey);
33 int Uninstall(int uid, string pkgid, out string reqKey);
34 int UninstallPkgs(int uid, array<string> pkgs, out string reqKey);
35 int Move(int uid, string pkgId, int moveType, out string reqKey);
36 int EnablePkgs(int uid, array<string> pkgIds, out string reqKey);
37 int DisablePkgs(int uid, array<string> pkgIds, out string reqKey);
38 int RegisterPkgUpdateInfo(int uid, string pkgid, string version, int type, out string delayedReqKey);
39 int UnregisterPkgUpdateInfo(int uid, string pkgid, out string delayedReqKey);
40 int UnregisterAllPkgUpdateInfo(int uid, out string delayedReqKey);
41 int EnableApp(int uid, string appid, out string reqKey);
42 int DisableApp(int uid, string appid, out string reqKey);
43 int EnableApps(int uid, array<string> appIds, out string reqKey);
44 int DisableApps(int uid, array<string> appIds, out string reqKey);
45 int EnableGlobalAppForUid(int uid, string appid, out string reqKey);
46 int DisableGlobalAppForUid(int uid, string appid, out string reqKey);
47 int Kill(int uid, string pkgid, out int pid);
48 int GenerateLicenseRequest(string respData, out string delayedReqKey);
49 int GetGenerateLicenseResult(string reqKey, out int result, out string reqData, out string licenseUrl);
50 int RegisterLicense(string respData, out string delayedReqKey);
51 int DecryptPackage(string drmFilePath, string decryptedFilePath, out string delayedReqKey);
52 int EnableAppSplashScreen(int uid, string appid);
53 int DisableAppSplashScreen(int uid, string appid);
54 int SetAppLabel(int uid, string appid, string label, out string delayedReqKey);
55 int SetAppIcon(int uid, string appid, string iconPath, out string delayedReqKey);
56 int MigrateExternalImage(int uid, string pkgid);
57 int ResCopy(array<ResPath> copyPathsPair, out string reqKey);
58 int ResCreateDir(array<string> createDirPaths, out string reqKey);
59 int ResRemove(array<string> removePaths, out string reqKey);
60 int ResUninstall(int uid, string pkgid, out string delayedReqKey);
61 int ClearData(int uid, string pkgid);
62 int ClearDataWithPath(int uid, string pkgid, string filePath);
65 interface DelayedResult
67 int GetResult(string reqKey, out int result);