Home
last modified time | relevance | path

Searched defs:instance (Results 1 – 25 of 58) sorted by relevance

123

/system/tools/hidl/test/lazy_test/
Dhidl_lazy_test.cpp44 sp<IBase> getHal(const FqInstance& instance) { in getHal()
58 for (const auto& instance : gInstances) { in SetUp() local
73 for (const auto& instance : gInstances) { in TearDown() local
79 bool isServiceRunning(const FqInstance& instance) { in isServiceRunning()
99 for (const auto& instance : gInstances) { in TEST_F() local
115 static void testWithTimes(const std::vector<size_t>& waitTimes, const FqInstance& instance) { in testWithTimes()
143 const FqInstance& instance = gInstances[i % gInstances.size()]; in TEST_F() local
168 for (const std::string& instance : fqInstances) { in main() local
/system/bt/gd/
Dmodule.cc58 auto instance = started_modules_.find(module); in Get() local
73 void ModuleRegistry::set_registry_and_handler(Module* instance, Thread* thread) const { in set_registry_and_handler()
84 Module* instance = module->ctor_(); in Start() local
99 auto instance = started_modules_.find(*it); in StopAll() local
110 auto instance = started_modules_.find(*it); in StopAll() local
137 auto instance = module_registry_.started_modules_.find(*it); in DumpState() local
Dmodule.h174 void InjectTestModule(const ModuleFactory* module, Module* instance) { in InjectTestModule()
217 Module* instance = T::Factory.ctor_(); in Inject() local
/system/libvintf/libaidlvintf_test_helper/
DVintf.cpp33 for (const std::string& instance : deviceManifest->getAidlInstances(package, iface)) { in getAidlHalInstanceNames() local
38 for (const std::string& instance : frameworkManifest->getAidlInstances(package, iface)) { in getAidlHalInstanceNames() local
/system/core/init/
Dinterface_utils.cpp47 for (const std::string& instance : instances) { in CheckInterfaceInheritanceHierarchy() local
50 if (base::Split(instance, "/")[0] == "aidl") { in CheckInterfaceInheritanceHierarchy() local
102 Result<void> IsKnownInterface(const std::string& instance) { in IsKnownInterface()
/system/tools/hidl/utils/
DFqInstance.cpp102 bool FqInstance::setTo(const FQName& fqName, const std::string& instance) { in setTo()
109 const std::string& interface, const std::string& instance) { in setTo()
116 const std::string& instance) { in setTo()
120 bool FqInstance::setTo(const std::string& interface, const std::string& instance) { in setTo()
/system/libvintf/
DHalInterface.cpp33 for (const auto& instance : mInstances) { in forEachInstance() local
38 for (const auto& instance : mRegexes) { in forEachInstance() local
DMatrixHal.cpp59 intf.forEachInstance([&](const auto& interface, const auto& instance, bool isRegex) { in forEachInstance()
82 intf.forEachInstance([&](const auto& interface, const auto& instance, bool isRegex) { in forEachInstance()
147 void MatrixHal::insertInstance(const std::string& interface, const std::string& instance, in insertInstance()
164 bool MatrixHal::removeInstance(const std::string& interface, const std::string& instance, in removeInstance()
Dparse_string.cpp406 auto instance = matrixInstance.isRegex() ? matrixInstance.regexPattern() in expandInstances() local
494 const std::string& interface, const std::string& instance) { in toFQNameString()
507 const std::string& interface, const std::string& instance) { in toFQNameString()
512 const std::string& instance) { in toFQNameString()
519 const std::string& interface, const std::string& instance) { in toFQNameString()
524 const std::string& instance) { in toFQNameString()
528 std::string toFQNameString(const std::string& interface, const std::string& instance) { in toFQNameString()
541 const std::string& instance) { in toAidlFqnameString()
/system/teeui/test/
Dteeui_device_config.h50 static TeeuiRenderTest* instance = new TeeuiRenderTest; in Instance() local
/system/memory/libmeminfo/include/meminfo/
Dpageacct.h46 static PageAcct instance; in Instance() local
/system/bt/common/
Daddress_obfuscator.h35 static auto instance = new AddressObfuscator(); in GetInstance() local
/system/bt/gd/packet/parser/test/
Dvariable.h47 …static std::optional<Iterator<little_endian>> Parse(Variable* instance, Iterator<little_endian> it… in Parse()
/system/bt/gd/hal/
Dhci_hal_host_rootcanal.h28 static HciHalHostRootcanalConfig instance; in Get() local
/system/tools/xsdc/tests/src/com/android/xsdc/tests/
DXmlParserTest.java49 Object instance; in testPurchaseSimple() local
86 Object instance; in testNestedType() local
116 Object instance; in testSimpleComplexContent() local
154 Object instance; in testPredefinedTypes() local
334 Object instance; in testSimpleType() local
358 Object instance; in testReference() local
/system/libhidl/gtest_helper/hidl/
DGtestPrinter.h49 for (const std::string& instance : instances) { in PrintInstanceTupleNameToString() local
/system/core/libutils/include/utils/
DSingleton.h53 TYPE* instance = sInstance; in getInstance() local
/system/bt/service/ipc/binder/
Dinterface_with_instances_base.cc51 std::unique_ptr<bluetooth::BluetoothInstance> instance) { in RegisterInstanceBase()
114 std::unique_ptr<bluetooth::BluetoothInstance> instance) { in OnRegisterInstance()
Dbluetooth_gatt_client_binder_server.cc77 bluetooth::BluetoothInstance* instance) { in OnRegisterInstanceImpl()
/system/nvram/core/tests/
Dgtest_stubs.cpp29 TestInstanceBase* instance = decl->create_function(); in RunAllTests() local
/system/libhidl/transport/allocator/1.0/vts/functional/
DVtsHidlAllocatorV1_0TargetTest.cpp39 static AllocatorEnvironment* instance() { in instance() function in AllocatorEnvironment
40 static AllocatorEnvironment* instance = new AllocatorEnvironment(); in instance() local
/system/core/fs_mgr/liblp/
Dproperty_fetcher.cpp35 static std::unique_ptr<IPropertyFetcher> instance = std::make_unique<PropertyFetcher>(); in GetInstanceAllocation() local
/system/libhidl/transport/include/hidl/
DHidlTransportSupport.h162 sp<IType> getServiceInternal(const std::string& instance, bool retry, bool getStub) { in getServiceInternal()
/system/libhidl/base/
DHidlSupport.cpp282 sp<HidlMemory> instance = new HidlMemory(); in getInstance() local
288 sp<HidlMemory> instance = new HidlMemory(); in getInstance() local
305 sp<HidlMemory> instance = new HidlMemory(name, std::move(hidlHandle), size); in getInstance() local
/system/bt/main/shim/
Dstack.cc46 static Stack instance; in GetInstance() local

123