Lines Matching refs:std
39 std::shared_ptr<T> object;
40 std::mutex mutex;
45 std::shared_ptr<RuntimeInfo> object;
46 std::mutex mutex;
87 virtual std::shared_ptr<const HalManifest> getDeviceHalManifest(bool skipCache = false);
93 virtual std::shared_ptr<const HalManifest> getFrameworkHalManifest(bool skipCache = false);
99 virtual std::shared_ptr<const CompatibilityMatrix> getDeviceCompatibilityMatrix(
109 virtual std::shared_ptr<const CompatibilityMatrix> getFrameworkCompatibilityMatrix(
125 std::shared_ptr<const RuntimeInfo> getRuntimeInfo(
139 int32_t checkCompatibility(std::string* error = nullptr,
152 using ListInstances = std::function<std::vector<std::pair<std::string, Version>>(
153 const std::string& package, Version version, const std::string& interface,
154 const std::vector<std::string>& hintInstances)>;
167 int32_t checkDeprecation(const ListInstances& listInstances, std::string* error = nullptr);
177 int32_t checkDeprecation(std::string* error = nullptr);
180 std::unique_ptr<FileSystem> mFileSystem;
181 std::unique_ptr<ObjectFactory<RuntimeInfo>> mRuntimeInfoFactory;
182 std::unique_ptr<PropertyFetcher> mPropertyFetcher;
189 std::mutex mFrameworkCompatibilityMatrixMutex;
206 virtual const std::unique_ptr<FileSystem>& getFileSystem();
207 virtual const std::unique_ptr<PropertyFetcher>& getPropertyFetcher();
208 virtual const std::unique_ptr<ObjectFactory<RuntimeInfo>>& getRuntimeInfoFactory();
215 static std::shared_ptr<VintfObject> GetInstance();
223 static std::shared_ptr<const HalManifest> GetDeviceHalManifest(bool skipCache = false);
229 static std::shared_ptr<const HalManifest> GetFrameworkHalManifest(bool skipCache = false);
235 static std::shared_ptr<const CompatibilityMatrix> GetDeviceCompatibilityMatrix(
242 static std::shared_ptr<const CompatibilityMatrix> GetFrameworkCompatibilityMatrix(
258 static std::shared_ptr<const RuntimeInfo> GetRuntimeInfo(
274 static int32_t CheckCompatibility(const std::vector<std::string>& packageInfo,
275 std::string* error = nullptr,
291 std::string* error = nullptr);
301 static int32_t CheckDeprecation(std::string* error = nullptr);
306 status_t getCombinedFrameworkMatrix(const std::shared_ptr<const HalManifest>& deviceManifest,
307 CompatibilityMatrix* out, std::string* error = nullptr);
308 status_t getAllFrameworkMatrixLevels(std::vector<Named<CompatibilityMatrix>>* out,
309 std::string* error = nullptr);
310 status_t getOneMatrix(const std::string& path, Named<CompatibilityMatrix>* out,
311 std::string* error = nullptr);
312 status_t addDirectoryManifests(const std::string& directory, HalManifest* manifests,
313 std::string* error = nullptr);
314 status_t fetchDeviceHalManifest(HalManifest* out, std::string* error = nullptr);
315 status_t fetchDeviceMatrix(CompatibilityMatrix* out, std::string* error = nullptr);
316 status_t fetchOdmHalManifest(HalManifest* out, std::string* error = nullptr);
317 status_t fetchOneHalManifest(const std::string& path, HalManifest* out,
318 std::string* error = nullptr);
319 status_t fetchFrameworkHalManifest(HalManifest* out, std::string* error = nullptr);
321 int32_t checkCompatibility(const std::vector<std::string>& packageInfo,
322 std::string* error = nullptr,
327 const ListInstances& listInstances, std::string* error);
330 const ListInstances& listInstances, std::string* error);
342 Builder& setFileSystem(std::unique_ptr<FileSystem>&&);
343 Builder& setRuntimeInfoFactory(std::unique_ptr<ObjectFactory<RuntimeInfo>>&&);
344 Builder& setPropertyFetcher(std::unique_ptr<PropertyFetcher>&&);
345 std::unique_ptr<VintfObject> build();
348 std::unique_ptr<VintfObject> mObject;
367 extern const std::string kSystemVintfDir;
368 extern const std::string kVendorVintfDir;
369 extern const std::string kOdmVintfDir;
370 extern const std::string kProductVintfDir;
371 extern const std::string kOdmLegacyVintfDir;
372 extern const std::string kOdmLegacyManifest;
373 extern const std::string kVendorManifest;
374 extern const std::string kSystemManifest;
375 extern const std::string kVendorMatrix;
376 extern const std::string kOdmManifest;
377 extern const std::string kProductMatrix;
378 extern const std::string kProductManifest;
379 extern const std::string kVendorManifestFragmentDir;
380 extern const std::string kSystemManifestFragmentDir;
381 extern const std::string kOdmManifestFragmentDir;
382 extern const std::string kProductManifestFragmentDir;
383 extern const std::string kVendorLegacyManifest;
384 extern const std::string kVendorLegacyMatrix;
385 extern const std::string kSystemLegacyManifest;
386 extern const std::string kSystemLegacyMatrix;
394 std::vector<std::string> dumpFileList();