Lines Matching refs:std

62     binder::Status createUserData(const std::optional<std::string>& uuid, int32_t userId,
64 binder::Status destroyUserData(const std::optional<std::string>& uuid, int32_t userId,
67 binder::Status createAppData(const std::optional<std::string>& uuid,
68 const std::string& packageName, int32_t userId, int32_t flags,
69 int32_t appId, int32_t previousAppId, const std::string& seInfo,
77 const std::vector<android::os::CreateAppDataArgs>& args,
78 std::vector<android::os::CreateAppDataResult>* _aidl_return);
82 binder::Status restoreconAppData(const std::optional<std::string>& uuid,
83 const std::string& packageName, int32_t userId, int32_t flags, int32_t appId,
84 const std::string& seInfo);
86 binder::Status migrateAppData(const std::optional<std::string>& uuid,
87 const std::string& packageName, int32_t userId, int32_t flags);
88 binder::Status clearAppData(const std::optional<std::string>& uuid,
89 const std::string& packageName, int32_t userId, int32_t flags, int64_t ceDataInode);
90 binder::Status destroyAppData(const std::optional<std::string>& uuid,
91 const std::string& packageName, int32_t userId, int32_t flags, int64_t ceDataInode);
93 binder::Status fixupAppData(const std::optional<std::string>& uuid, int32_t flags);
95 binder::Status snapshotAppData(const std::optional<std::string>& volumeUuid,
96 const std::string& packageName, const int32_t user, const int32_t snapshotId,
98 binder::Status restoreAppDataSnapshot(const std::optional<std::string>& volumeUuid,
99 const std::string& packageName, const int32_t appId, const std::string& seInfo,
101 binder::Status destroyAppDataSnapshot(const std::optional<std::string> &volumeUuid,
102 const std::string& packageName, const int32_t user, const int64_t ceSnapshotInode,
104 binder::Status destroyCeSnapshotsNotSpecified(const std::optional<std::string> &volumeUuid,
105 const int32_t user, const std::vector<int32_t>& retainSnapshotIds);
107 binder::Status getAppSize(const std::optional<std::string>& uuid,
108 const std::vector<std::string>& packageNames, int32_t userId, int32_t flags,
109 int32_t appId, const std::vector<int64_t>& ceDataInodes,
110 const std::vector<std::string>& codePaths, std::vector<int64_t>* _aidl_return);
111 binder::Status getUserSize(const std::optional<std::string>& uuid,
112 int32_t userId, int32_t flags, const std::vector<int32_t>& appIds,
113 std::vector<int64_t>* _aidl_return);
114 binder::Status getExternalSize(const std::optional<std::string>& uuid,
115 int32_t userId, int32_t flags, const std::vector<int32_t>& appIds,
116 std::vector<int64_t>* _aidl_return);
118 binder::Status getAppCrates(const std::optional<std::string>& uuid,
119 const std::vector<std::string>& packageNames,
121 std::optional<std::vector<std::optional<android::os::storage::CrateMetadata>>>*
124 const std::optional<std::string>& uuid, int32_t userId,
125 std::optional<std::vector<std::optional<android::os::storage::CrateMetadata>>>*
128 binder::Status setAppQuota(const std::optional<std::string>& uuid,
131 binder::Status moveCompleteApp(const std::optional<std::string>& fromUuid,
132 const std::optional<std::string>& toUuid, const std::string& packageName,
133 int32_t appId, const std::string& seInfo,
134 int32_t targetSdkVersion, const std::string& fromCodePath);
136 binder::Status dexopt(const std::string& apkPath, int32_t uid, const std::string& packageName,
137 const std::string& instructionSet, int32_t dexoptNeeded,
138 const std::optional<std::string>& outputPath, int32_t dexFlags,
139 const std::string& compilerFilter, const std::optional<std::string>& uuid,
140 const std::optional<std::string>& classLoaderContext,
141 const std::optional<std::string>& seInfo, bool downgrade,
142 int32_t targetSdkVersion, const std::optional<std::string>& profileName,
143 const std::optional<std::string>& dexMetadataPath,
144 const std::optional<std::string>& compilationReason, bool* aidl_return);
148 binder::Status rmdex(const std::string& codePath, const std::string& instructionSet);
150 binder::Status mergeProfiles(int32_t uid, const std::string& packageName,
151 const std::string& profileName, int* _aidl_return);
152 binder::Status dumpProfiles(int32_t uid, const std::string& packageName,
153 const std::string& profileName, const std::string& codePath,
155 binder::Status copySystemProfile(const std::string& systemProfile,
156 int32_t uid, const std::string& packageName, const std::string& profileName,
158 binder::Status clearAppProfiles(const std::string& packageName, const std::string& profileName);
159 binder::Status destroyAppProfiles(const std::string& packageName);
160 binder::Status deleteReferenceProfile(const std::string& packageName,
161 const std::string& profileName);
163 binder::Status createProfileSnapshot(int32_t appId, const std::string& packageName,
164 const std::string& profileName, const std::string& classpath, bool* _aidl_return);
165 binder::Status destroyProfileSnapshot(const std::string& packageName,
166 const std::string& profileName);
168 binder::Status rmPackageDir(const std::string& packageName, const std::string& packageDir);
169 binder::Status freeCache(const std::optional<std::string>& uuid, int64_t targetFreeBytes,
171 binder::Status linkNativeLibraryDirectory(const std::optional<std::string>& uuid,
172 const std::string& packageName, const std::string& nativeLibPath32, int32_t userId);
173 binder::Status createOatDir(const std::string& packageName, const std::string& oatDir,
174 const std::string& instructionSet);
175 binder::Status linkFile(const std::string& packageName, const std::string& relativePath,
176 const std::string& fromBase, const std::string& toBase);
177 binder::Status moveAb(const std::string& packageName, const std::string& apkPath,
178 const std::string& instructionSet, const std::string& outputPath);
179 binder::Status deleteOdex(const std::string& packageName, const std::string& apkPath,
180 const std::string& instructionSet,
181 const std::optional<std::string>& outputPath, int64_t* _aidl_return);
182 binder::Status reconcileSecondaryDexFile(const std::string& dexPath,
183 const std::string& packageName, int32_t uid, const std::vector<std::string>& isa,
184 const std::optional<std::string>& volumeUuid, int32_t storage_flag, bool* _aidl_return);
185 binder::Status hashSecondaryDexFile(const std::string& dexPath,
186 const std::string& packageName, int32_t uid, const std::optional<std::string>& volumeUuid,
187 int32_t storageFlag, std::vector<uint8_t>* _aidl_return);
191 binder::Status isQuotaSupported(const std::optional<std::string>& volumeUuid,
193 binder::Status tryMountDataMirror(const std::optional<std::string>& volumeUuid);
194 binder::Status onPrivateVolumeRemoved(const std::optional<std::string>& volumeUuid);
196 binder::Status prepareAppProfile(const std::string& packageName,
197 int32_t userId, int32_t appId, const std::string& profileName,
198 const std::string& codePath, const std::optional<std::string>& dexMetadata,
203 binder::Status cleanupInvalidPackageDirs(const std::optional<std::string>& uuid, int32_t userId,
206 binder::Status getOdexVisibility(const std::string& packageName, const std::string& apkPath,
207 const std::string& instructionSet,
208 const std::optional<std::string>& outputPath,
215 const std::string& filePath, const std::string& packageName,
219 std::recursive_mutex mLock;
220 std::unordered_map<userid_t, std::weak_ptr<std::shared_mutex>> mUserIdLock;
221 std::unordered_map<std::string, std::weak_ptr<std::recursive_mutex>> mPackageNameLock;
223 std::recursive_mutex mMountsLock;
224 std::recursive_mutex mQuotasLock;
227 std::unordered_map<std::string, std::string> mStorageMounts;
230 std::unordered_map<uid_t, int64_t> mCacheQuotas;
232 std::string findDataMediaPath(const std::optional<std::string>& uuid, userid_t userid);
234 binder::Status createAppDataLocked(const std::optional<std::string>& uuid,
235 const std::string& packageName, int32_t userId,
237 const std::string& seInfo, int32_t targetSdkVersion,
239 binder::Status restoreconAppDataLocked(const std::optional<std::string>& uuid,
240 const std::string& packageName, int32_t userId,
241 int32_t flags, int32_t appId, const std::string& seInfo);
243 binder::Status createSdkSandboxDataPackageDirectory(const std::optional<std::string>& uuid,
244 const std::string& packageName,
247 binder::Status clearSdkSandboxDataPackageDirectory(const std::optional<std::string>& uuid,
248 const std::string& packageName,
250 binder::Status destroySdkSandboxDataPackageDirectory(const std::optional<std::string>& uuid,
251 const std::string& packageName,
253 binder::Status reconcileSdkData(const std::optional<std::string>& uuid,
254 const std::string& packageName,
255 const std::vector<std::string>& subDirNames, int32_t userId,
256 int32_t appId, int32_t previousAppId, const std::string& seInfo,
258 binder::Status restoreconSdkDataLocked(const std::optional<std::string>& uuid,
259 const std::string& packageName, int32_t userId,
260 int32_t flags, int32_t appId, const std::string& seInfo);