Home
last modified time | relevance | path

Searched refs:productModel (Results 1 – 2 of 2) sorted by relevance

/system/libvintf/test/
Dvintf_object_tests.cpp364 const std::string& productModel) { in setupMockFetcher() argument
374 if (!productModel.empty()) { in setupMockFetcher()
376 fetch(StrEq(kOdmLegacyVintfDir + "manifest_" + productModel + ".xml"), _)) in setupMockFetcher()
378 ON_CALL(fetcher(), fetch(StrEq(kOdmVintfDir + "manifest_" + productModel + ".xml"), _)) in setupMockFetcher()
425 productModel = "fake_sku"; in setFakeProperties()
427 .WillByDefault(Return(productModel)); in setFakeProperties()
444 if (!productModel.empty()) { in expectVendorManifest()
446 fetch(StrEq(kOdmLegacyVintfDir + "manifest_" + productModel + ".xml"), _)) in expectVendorManifest()
449 fetch(StrEq(kOdmVintfDir + "manifest_" + productModel + ".xml"), _)) in expectVendorManifest()
509 std::string productModel; member in android::vintf::testing::VintfObjectTestBase
[all …]
/system/libvintf/
DVintfObject.cpp289 std::string productModel; in fetchOdmHalManifest() local
290 productModel = getPropertyFetcher()->getProperty("ro.boot.product.hardware.sku", ""); in fetchOdmHalManifest()
292 if (!productModel.empty()) { in fetchOdmHalManifest()
294 fetchOneHalManifest(kOdmVintfDir + "manifest_" + productModel + ".xml", out, error); in fetchOdmHalManifest()
305 if (!productModel.empty()) { in fetchOdmHalManifest()
306 status = fetchOneHalManifest(kOdmLegacyVintfDir + "manifest_" + productModel + ".xml", out, in fetchOdmHalManifest()