Home
last modified time | relevance | path

Searched refs:instance_name (Results 1 – 8 of 8) sorted by relevance

/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_hidl_test_utils.cpp96 sp<IWifi> getWifi(const std::string& instance_name) { in getWifi() argument
97 if ((!gEnv && instance_name.empty()) || (gEnv && !instance_name.empty())) { in getWifi()
105 return IWifi::getService(instance_name); in getWifi()
109 sp<IWifiChip> getWifiChip(const std::string& instance_name) { in getWifiChip() argument
110 sp<IWifi> wifi = getWifi(instance_name); in getWifiChip()
148 sp<IWifiApIface> getWifiApIface(const std::string& instance_name) { in getWifiApIface() argument
149 sp<IWifiChip> wifi_chip = getWifiChip(instance_name); in getWifiApIface()
164 sp<IWifiNanIface> getWifiNanIface(const std::string& instance_name) { in getWifiNanIface() argument
165 sp<IWifiChip> wifi_chip = getWifiChip(instance_name); in getWifiNanIface()
180 sp<IWifiP2pIface> getWifiP2pIface(const std::string& instance_name) { in getWifiP2pIface() argument
[all …]
Dwifi_hidl_test_utils.h36 const std::string& instance_name = "");
38 const std::string& instance_name = "");
40 const std::string& instance_name = "");
42 const std::string& instance_name = "");
44 const std::string& instance_name = "");
46 const std::string& instance_name = "");
48 getWifiRttController(const std::string& instance_name = "");
56 void stopWifi(const std::string& instance_name = "");
/hardware/interfaces/wifi/hostapd/1.0/vts/functional/
Dhostapd_hidl_test_utils.cpp68 const hidl_string& instance_name, in onRegistration() argument
75 instance_name.c_str()); in onRegistration()
81 bool registerForHidlServiceNotifications(const std::string& instance_name) { in registerForHidlServiceNotifications() argument
82 if (!IHostapd::registerForNotifications(instance_name, this)) { in registerForHidlServiceNotifications()
90 const std::string& instance_name) { in waitForHidlService() argument
98 std::string(IHostapd::descriptor) + "/" + instance_name; in waitForHidlService()
113 void stopSupplicantIfNeeded(const std::string& instance_name) { in stopSupplicantIfNeeded() argument
118 deInitilializeDriverAndFirmware(instance_name); in stopSupplicantIfNeeded()
123 void stopHostapd(const std::string& instance_name) { in stopHostapd() argument
127 deInitilializeDriverAndFirmware(instance_name); in stopHostapd()
Dhostapd_hidl_test_utils.h24 void stopWifiFramework(const std::string& instance_name);
25 void startWifiFramework(const std::string& instance_name);
26 void stopSupplicantIfNeeded(const std::string& instance_name);
27 void stopHostapd(const std::string& instance_name);
/hardware/interfaces/health/utils/libhealth2impl/
DBinderHealth.cpp162 LOG(INFO) << instance_name() << " instance initializing with healthd_config..."; in Init()
171 PLOG(ERROR) << instance_name() << " instance: Register for binder events failed"; in Init()
175 CHECK_EQ(registerAsService(instance_name()), android::OK) in Init()
176 << instance_name() << ": Failed to register HAL"; in Init()
178 LOG(INFO) << instance_name() << ": Hal init done"; in Init()
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_hidl_test_utils.cpp114 const hidl_string& instance_name, in onRegistration() argument
121 instance_name.c_str()); in onRegistration()
127 bool registerForHidlServiceNotifications(const std::string& instance_name) { in registerForHidlServiceNotifications() argument
128 if (!ISupplicant::registerForNotifications(instance_name, this)) { in registerForHidlServiceNotifications()
136 const std::string& instance_name) { in waitForHidlService() argument
144 std::string(ISupplicant::descriptor) + "/" + instance_name; in waitForHidlService()
/hardware/interfaces/health/utils/libhealth2impl/include/health2impl/
DHalHealthLoop.h50 const std::string& instance_name() const { return instance_name_; } in instance_name() function
/hardware/interfaces/dumpstate/1.1/vts/functional/
DVtsHalDumpstateV1_1TargetTest.cpp53 const std::string instance_name = GetInstanceName(); in GetService() local
54 dumpstate = IDumpstateDevice::getService(instance_name); in GetService()
55 ASSERT_NE(dumpstate, nullptr) << "Could not get HIDL instance " << instance_name; in GetService()