Home
last modified time | relevance | path

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

12

/hardware/interfaces/wifi/aidl/vts/functional/
Dwifi_aidl_test_utils.h38 std::shared_ptr<IWifi> getWifi(const char* instance_name);
39 std::shared_ptr<IWifiChip> getWifiChip(const char* instance_name);
40 std::shared_ptr<IWifiStaIface> getWifiStaIface(const char* instance_name);
41 std::shared_ptr<IWifiNanIface> getWifiNanIface(const char* instance_name);
42 std::shared_ptr<IWifiApIface> getWifiApIface(const char* instance_name);
43 std::shared_ptr<IWifiApIface> getBridgedWifiApIface(const char* instance_name);
52 void stopWifiService(const char* instance_name);
55 bool isAidlServiceAvailable(const char* instance_name);
Dwifi_aidl_test_utils.cpp91 std::shared_ptr<IWifi> getWifi(const char* instance_name) { in getWifi() argument
92 return IWifi::fromBinder(ndk::SpAIBinder(AServiceManager_waitForService(instance_name))); in getWifi()
95 std::shared_ptr<IWifiChip> getWifiChip(const char* instance_name) { in getWifiChip() argument
96 std::shared_ptr<IWifi> wifi = getWifi(instance_name); in getWifiChip()
145 std::shared_ptr<IWifiStaIface> getWifiStaIface(const char* instance_name) { in getWifiStaIface() argument
146 std::shared_ptr<IWifiChip> wifi_chip = getWifiChip(instance_name); in getWifiStaIface()
162 std::shared_ptr<IWifiNanIface> getWifiNanIface(const char* instance_name) { in getWifiNanIface() argument
163 std::shared_ptr<IWifiChip> wifi_chip = getWifiChip(instance_name); in getWifiNanIface()
180 std::shared_ptr<IWifiApIface> getWifiApIface(const char* instance_name) { in getWifiApIface() argument
181 std::shared_ptr<IWifiChip> wifi_chip = getWifiChip(instance_name); in getWifiApIface()
[all …]
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_hidl_test_utils.h35 const std::string& instance_name);
37 const std::string& instance_name);
39 const std::string& instance_name);
41 const std::string& instance_name);
43 const std::string& instance_name);
45 const std::string& instance_name);
57 void stopWifi(const std::string& instance_name);
Dwifi_hidl_test_utils.cpp112 sp<IWifi> getWifi(const std::string& instance_name) { in getWifi() argument
113 return IWifi::getService(instance_name); in getWifi()
116 sp<IWifiChip> getWifiChip(const std::string& instance_name) { in getWifiChip() argument
117 sp<IWifi> wifi = getWifi(instance_name); in getWifiChip()
155 sp<IWifiApIface> getWifiApIface(const std::string& instance_name) { in getWifiApIface() argument
156 sp<IWifiChip> wifi_chip = getWifiChip(instance_name); in getWifiApIface()
171 sp<IWifiNanIface> getWifiNanIface(const std::string& instance_name) { in getWifiNanIface() argument
172 sp<IWifiChip> wifi_chip = getWifiChip(instance_name); in getWifiNanIface()
187 sp<IWifiP2pIface> getWifiP2pIface(const std::string& instance_name) { in getWifiP2pIface() argument
188 sp<IWifiChip> wifi_chip = getWifiChip(instance_name); in getWifiP2pIface()
[all …]
Dwifi_rtt_controller_hidl_test.cpp62 const std::string& instance_name = GetInstanceName(); in TEST_P() local
64 sp<IWifiChip> wifi_chip = getWifiChip(instance_name); in TEST_P()
67 sp<IWifiStaIface> wifi_sta_iface = getWifiStaIface(instance_name); in TEST_P()
/hardware/interfaces/wifi/1.5/vts/functional/
Dwifi_hidl_test_utils_1_5.cpp42 sp<IWifiChip> getWifiChip_1_5(const std::string& instance_name) { in getWifiChip_1_5() argument
43 return IWifiChip::castFrom(getWifiChip(instance_name)); in getWifiChip_1_5()
46 sp<IWifiApIface> getWifiApIface_1_5(const std::string& instance_name) { in getWifiApIface_1_5() argument
48 sp<IWifiChip> wifi_chip_ = getWifiChip_1_5(instance_name); in getWifiApIface_1_5()
54 sp<IWifiApIface> getBridgedWifiApIface_1_5(const std::string& instance_name) { in getBridgedWifiApIface_1_5() argument
56 sp<IWifiChip> wifi_chip_ = getWifiChip_1_5(instance_name); in getBridgedWifiApIface_1_5()
Dwifi_hidl_test_utils_1_5.h31 const std::string& instance_name);
33 const std::string& instance_name);
35 getBridgedWifiApIface_1_5(const std::string& instance_name);
/hardware/interfaces/wifi/1.4/vts/functional/
Dwifi_hidl_test_utils_1_4.cpp42 sp<IWifiChip> getWifiChip_1_4(const std::string& instance_name) { in getWifiChip_1_4() argument
43 return IWifiChip::castFrom(getWifiChip(instance_name)); in getWifiChip_1_4()
46 sp<IWifiApIface> getWifiApIface_1_4(const std::string& instance_name) { in getWifiApIface_1_4() argument
49 sp<IWifiChip> wifi_chip_ = getWifiChip_1_4(instance_name); in getWifiApIface_1_4()
Dwifi_hidl_test_utils_1_4.h31 const std::string& instance_name);
33 const std::string& instance_name);
Dwifi_rtt_controller_hidl_test.cpp115 const std::string& instance_name = GetInstanceName(); in getWifiRttController() local
118 IWifiChip::castFrom(getWifiChip(instance_name)); in getWifiRttController()
122 IWifiStaIface::castFrom(getWifiStaIface(instance_name)); in getWifiRttController()
/hardware/interfaces/bluetooth/audio/aidl/default/
Dservice.cpp31 const std::string instance_name = in createIBluetoothAudioProviderFactory() local
34 factory->asBinder().get(), instance_name.c_str()); in createIBluetoothAudioProviderFactory()
36 instance_name.c_str(), aidl_status); in createIBluetoothAudioProviderFactory()
/hardware/interfaces/wifi/1.6/vts/functional/
Dwifi_hidl_test_utils_1_6.cpp74 sp<IWifiChip> getWifiChip_1_6(const std::string& instance_name) { in getWifiChip_1_6() argument
75 return IWifiChip::castFrom(getWifiChip(instance_name)); in getWifiChip_1_6()
80 sp<IWifiApIface> getBridgedWifiApIface_1_6(const std::string& instance_name) { in getBridgedWifiApIface_1_6() argument
82 sp<IWifiChip> wifi_chip = getWifiChip_1_6(instance_name); in getBridgedWifiApIface_1_6()
Dwifi_hidl_test_utils_1_6.h25 const std::string& instance_name);
Dwifi_rtt_controller_hidl_test.cpp122 const std::string& instance_name = GetInstanceName(); in getWifiRttController() local
124 sp<IWifiChip> wifi_chip = IWifiChip::castFrom(getWifiChip(instance_name)); in getWifiRttController()
127 sp<IWifiStaIface> wifi_sta_iface = IWifiStaIface::castFrom(getWifiStaIface(instance_name)); in getWifiRttController()
/hardware/interfaces/wifi/hostapd/1.0/vts/functional/
Dhostapd_hidl_test_utils.cpp67 void stopSupplicantIfNeeded(const std::string& instance_name) { in stopSupplicantIfNeeded() argument
72 deInitializeDriverAndFirmware(instance_name); in stopSupplicantIfNeeded()
77 void stopHostapd(const std::string& instance_name) { in stopHostapd() argument
81 deInitializeDriverAndFirmware(instance_name); in stopHostapd()
Dhostapd_hidl_test_utils.h25 void stopSupplicantIfNeeded(const std::string& instance_name);
26 void stopHostapd(const std::string& instance_name);
/hardware/interfaces/health/utils/libhealth2impl/
DBinderHealth.cpp161 LOG(INFO) << instance_name() << " instance initializing with healthd_config..."; in Init()
170 PLOG(ERROR) << instance_name() << " instance: Register for binder events failed"; in Init()
174 CHECK_EQ(registerAsService(instance_name()), android::OK) in Init()
175 << instance_name() << ": Failed to register HAL"; in Init()
177 LOG(INFO) << instance_name() << ": Hal init done"; in Init()
/hardware/interfaces/boot/aidl/vts/functional/
DVtsHalBootAidlTargetTest.cpp39 const auto instance_name = GetParam(); in SetUp() local
40 ASSERT_TRUE(AServiceManager_isDeclared(instance_name.c_str())) in SetUp()
41 << " instance " << instance_name << " not declared."; in SetUp()
43 ndk::SpAIBinder(AServiceManager_waitForService(instance_name.c_str()))); in SetUp()
/hardware/interfaces/dumpstate/aidl/vts/functional/
DVtsHalDumpstateTargetTest.cpp58 const std::string instance_name = GetInstanceName(); in GetService() local
60 ASSERT_TRUE(AServiceManager_isDeclared(instance_name.c_str())); in GetService()
62 ndk::SpAIBinder(AServiceManager_waitForService(instance_name.c_str())); in GetService()
64 ASSERT_NE(dumpstate, nullptr) << "Could not get AIDL instance " << instance_name; in GetService()
/hardware/interfaces/health/utils/libhealth2impl/include/health2impl/
DHalHealthLoop.h50 const std::string& instance_name() const { return instance_name_; } in instance_name() function
/hardware/interfaces/boot/aidl/client/
DBootControlClient.cpp327 const auto instance_name = in WaitForService() local
330 if (AServiceManager_isDeclared(instance_name.c_str())) { in WaitForService()
332 ndk::SpAIBinder(AServiceManager_waitForService(instance_name.c_str()))); in WaitForService()
334 LOG(ERROR) << "AIDL " << instance_name in WaitForService()
/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()
/hardware/interfaces/weaver/vts/
DVtsHalWeaverTargetTest.cpp181 std::string api, instance_name; in SetUp() local
182 std::tie(api, instance_name) = GetParam(); in SetUp()
184 weaver_.reset(new WeaverHidlAdapter(instance_name)); in SetUp()
186 weaver_.reset(new WeaverAidlAdapter(instance_name)); in SetUp()
/hardware/interfaces/health/aidl/default/include/health-impl/
DHealth.h46 Health(std::string_view instance_name, std::unique_ptr<struct healthd_config>&& config);
/hardware/interfaces/security/keymint/support/include/remote_prov/
Dremote_prov_utils.h133 JsonOutput jsonEncodeCsrWithBuild(const std::string& instance_name, const cppbor::Array& csr,

12