Home
last modified time | relevance | path

Searched refs:fq_name (Results 1 – 5 of 5) sorted by relevance

/test/vts-testcase/hal/treble/vintf/
Dvts_treble_vintf_test_o_mr1.cpp64 std::function<void(const FQName &fq_name, const string &instance_name)>;
96 const FQName &fq_name, const string &instance_name);
108 const FQName fq_name{manifest_instance.package(), in ForEachHalInstance() local
113 auto future_result = std::async([&]() { fn(fq_name, instance_name); }); in ForEachHalInstance()
117 cout << "Timed out on: " << fq_name.string() << " " << instance_name in ForEachHalInstance()
125 const FQName &fq_name, const string &instance_name) { in GetHalService() argument
126 string hal_name = fq_name.package(); in GetHalService()
127 Version version{fq_name.getPackageMajorVersion(), in GetHalService()
128 fq_name.getPackageMinorVersion()}; in GetHalService()
129 string iface_name = fq_name.name(); in GetHalService()
[all …]
DSingleManifestTest.cpp40 bool LegacyAndExempt(const FQName &fq_name) { in LegacyAndExempt() argument
41 return GetShippingApiLevel() <= 27 && !IsAndroidPlatformInterface(fq_name); in LegacyAndExempt()
44 void FailureHalMissing(const FQName &fq_name) { in FailureHalMissing() argument
45 if (LegacyAndExempt(fq_name)) { in FailureHalMissing()
46 cout << "[ WARNING ] " << fq_name.string() in FailureHalMissing()
51 ADD_FAILURE() << fq_name.string() << " not available."; in FailureHalMissing()
55 void FailureHashMissing(const FQName &fq_name) { in FailureHashMissing() argument
56 if (LegacyAndExempt(fq_name)) { in FailureHashMissing()
57 cout << "[ WARNING ] " << fq_name.string() in FailureHashMissing()
64 << fq_name.string() in FailureHashMissing()
[all …]
DVtsTrebleVintfTestBase.cpp90 const FQName fq_name{manifest_instance.package(), in ForEachHalInstance() local
97 std::async([&]() { fn(fq_name, instance_name, transport); }); in ForEachHalInstance()
101 cout << "Timed out on: " << fq_name.string() << " " << instance_name in ForEachHalInstance()
108 sp<IBase> VtsTrebleVintfTestBase::GetHalService(const FQName &fq_name, in GetHalService() argument
111 return GetHalService(fq_name.string(), instance_name, transport, log); in GetHalService()
114 sp<IBase> VtsTrebleVintfTestBase::GetHalService(const string &fq_name, in GetHalService() argument
120 cout << "Getting: " << fq_name << "/" << instance_name << endl; in GetHalService()
129 auto task = std::packaged_task<sp<IBase>()>([fq_name, instance_name]() { in GetHalService()
130 return getRawServiceInternal(fq_name, instance_name, true /* retry */, in GetHalService()
137 if (fq_name == "android.hardware.renderscript@1.0::IDevice") { in GetHalService()
[all …]
DVtsTrebleVintfTestBase.h46 static sp<IBase> GetHalService(const string &fq_name,
49 static sp<IBase> GetHalService(const FQName &fq_name,
54 const FQName &fq_name);
Dutils.h65 using HalVerifyFn = std::function<void(const FQName& fq_name,