Lines Matching refs:std
43 binder::Status createUserData(const std::optional<std::string>& uuid, int32_t userId,
45 binder::Status destroyUserData(const std::optional<std::string>& uuid, int32_t userId,
48 const std::optional<std::vector<std::optional<std::string>>>& uuids,
49 const std::optional<std::vector<std::optional<std::string>>>& packageNames,
50 int32_t userId, int32_t flags, const std::vector<int32_t>& appIds,
51 const std::vector<std::string>& seInfos, const std::vector<int32_t>& targetSdkVersions,
53 binder::Status createAppData(const std::optional<std::string>& uuid,
54 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId,
55 const std::string& seInfo, int32_t targetSdkVersion, int64_t* _aidl_return);
56 binder::Status restoreconAppData(const std::optional<std::string>& uuid,
57 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId,
58 const std::string& seInfo);
59 binder::Status migrateAppData(const std::optional<std::string>& uuid,
60 const std::string& packageName, int32_t userId, int32_t flags);
61 binder::Status clearAppData(const std::optional<std::string>& uuid,
62 const std::string& packageName, int32_t userId, int32_t flags, int64_t ceDataInode);
63 binder::Status destroyAppData(const std::optional<std::string>& uuid,
64 const std::string& packageName, int32_t userId, int32_t flags, int64_t ceDataInode);
66 binder::Status fixupAppData(const std::optional<std::string>& uuid, int32_t flags);
68 binder::Status snapshotAppData(const std::optional<std::string>& volumeUuid,
69 const std::string& packageName, const int32_t user, const int32_t snapshotId,
71 binder::Status restoreAppDataSnapshot(const std::optional<std::string>& volumeUuid,
72 const std::string& packageName, const int32_t appId, const std::string& seInfo,
74 binder::Status destroyAppDataSnapshot(const std::optional<std::string> &volumeUuid,
75 const std::string& packageName, const int32_t user, const int64_t ceSnapshotInode,
77 binder::Status destroyCeSnapshotsNotSpecified(const std::optional<std::string> &volumeUuid,
78 const int32_t user, const std::vector<int32_t>& retainSnapshotIds);
80 binder::Status getAppSize(const std::optional<std::string>& uuid,
81 const std::vector<std::string>& packageNames, int32_t userId, int32_t flags,
82 int32_t appId, const std::vector<int64_t>& ceDataInodes,
83 const std::vector<std::string>& codePaths, std::vector<int64_t>* _aidl_return);
84 binder::Status getUserSize(const std::optional<std::string>& uuid,
85 int32_t userId, int32_t flags, const std::vector<int32_t>& appIds,
86 std::vector<int64_t>* _aidl_return);
87 binder::Status getExternalSize(const std::optional<std::string>& uuid,
88 int32_t userId, int32_t flags, const std::vector<int32_t>& appIds,
89 std::vector<int64_t>* _aidl_return);
91 binder::Status setAppQuota(const std::optional<std::string>& uuid,
94 binder::Status moveCompleteApp(const std::optional<std::string>& fromUuid,
95 const std::optional<std::string>& toUuid, const std::string& packageName,
96 const std::string& dataAppName, int32_t appId, const std::string& seInfo,
99 binder::Status dexopt(const std::string& apkPath, int32_t uid,
100 const std::optional<std::string>& packageName, const std::string& instructionSet,
101 int32_t dexoptNeeded, const std::optional<std::string>& outputPath, int32_t dexFlags,
102 const std::string& compilerFilter, const std::optional<std::string>& uuid,
103 const std::optional<std::string>& classLoaderContext,
104 const std::optional<std::string>& seInfo, bool downgrade,
105 int32_t targetSdkVersion, const std::optional<std::string>& profileName,
106 const std::optional<std::string>& dexMetadataPath,
107 const std::optional<std::string>& compilationReason);
109 binder::Status compileLayouts(const std::string& apkPath, const std::string& packageName,
110 const std::string& outDexFile, int uid, bool* _aidl_return);
112 binder::Status rmdex(const std::string& codePath, const std::string& instructionSet);
114 binder::Status mergeProfiles(int32_t uid, const std::string& packageName,
115 const std::string& profileName, bool* _aidl_return);
116 binder::Status dumpProfiles(int32_t uid, const std::string& packageName,
117 const std::string& profileName, const std::string& codePath, bool* _aidl_return);
118 binder::Status copySystemProfile(const std::string& systemProfile,
119 int32_t uid, const std::string& packageName, const std::string& profileName,
121 binder::Status clearAppProfiles(const std::string& packageName, const std::string& profileName);
122 binder::Status destroyAppProfiles(const std::string& packageName);
124 binder::Status createProfileSnapshot(int32_t appId, const std::string& packageName,
125 const std::string& profileName, const std::string& classpath, bool* _aidl_return);
126 binder::Status destroyProfileSnapshot(const std::string& packageName,
127 const std::string& profileName);
129 binder::Status idmap(const std::string& targetApkPath, const std::string& overlayApkPath,
131 binder::Status removeIdmap(const std::string& overlayApkPath);
132 binder::Status rmPackageDir(const std::string& packageDir);
133 binder::Status freeCache(const std::optional<std::string>& uuid, int64_t targetFreeBytes,
135 binder::Status linkNativeLibraryDirectory(const std::optional<std::string>& uuid,
136 const std::string& packageName, const std::string& nativeLibPath32, int32_t userId);
137 binder::Status createOatDir(const std::string& oatDir, const std::string& instructionSet);
138 binder::Status linkFile(const std::string& relativePath, const std::string& fromBase,
139 const std::string& toBase);
140 binder::Status moveAb(const std::string& apkPath, const std::string& instructionSet,
141 const std::string& outputPath);
142 binder::Status deleteOdex(const std::string& apkPath, const std::string& instructionSet,
143 const std::optional<std::string>& outputPath);
144 binder::Status installApkVerity(const std::string& filePath,
146 binder::Status assertFsverityRootHashMatches(const std::string& filePath,
147 const std::vector<uint8_t>& expectedHash);
148 binder::Status reconcileSecondaryDexFile(const std::string& dexPath,
149 const std::string& packageName, int32_t uid, const std::vector<std::string>& isa,
150 const std::optional<std::string>& volumeUuid, int32_t storage_flag, bool* _aidl_return);
151 binder::Status hashSecondaryDexFile(const std::string& dexPath,
152 const std::string& packageName, int32_t uid, const std::optional<std::string>& volumeUuid,
153 int32_t storageFlag, std::vector<uint8_t>* _aidl_return);
156 binder::Status isQuotaSupported(const std::optional<std::string>& volumeUuid,
159 binder::Status prepareAppProfile(const std::string& packageName,
160 int32_t userId, int32_t appId, const std::string& profileName,
161 const std::string& codePath, const std::optional<std::string>& dexMetadata,
167 std::recursive_mutex mLock;
169 std::recursive_mutex mMountsLock;
170 std::recursive_mutex mQuotasLock;
173 std::unordered_map<std::string, std::string> mStorageMounts;
176 std::unordered_map<uid_t, int64_t> mCacheQuotas;
178 std::string findDataMediaPath(const std::optional<std::string>& uuid, userid_t userid);