Home
last modified time | relevance | path

Searched refs:interface_name (Results 1 – 25 of 29) sorted by relevance

12

/system/security/keystore2/src/vintf/
Dlib.rs74 interface_name: &str, in get_hidl_instances()
78 let interface_name = in get_hidl_instances() localVariable
79 CString::new(interface_name).expect("Failed to make CString from interface_name."); in get_hidl_instances()
88 interface_name.as_ptr(), in get_hidl_instances()
96 pub fn get_aidl_instances(package: &str, version: usize, interface_name: &str) -> HalNames { in get_aidl_instances()
99 let interface_name = in get_aidl_instances() localVariable
100 CString::new(interface_name).expect("Failed to make CString from interface_name."); in get_aidl_instances()
104 unsafe { getAidlInstances(&mut len, packages.as_ptr(), version, interface_name.as_ptr()) }; in get_aidl_instances()
/system/bt/test/headless/
Dheadless.cc38 void headless_add_callback(const std::string interface_name, in headless_add_callback() argument
40 if (interface_api_callback_map_.find(interface_name) == in headless_add_callback()
42 interface_api_callback_map_.emplace(interface_name, in headless_add_callback()
45 interface_api_callback_map_[interface_name].push_back(function); in headless_add_callback()
48 void headless_remove_callback(const std::string interface_name, in headless_remove_callback() argument
50 if (interface_api_callback_map_.find(interface_name) == in headless_remove_callback()
53 interface_name.c_str()); in headless_remove_callback()
55 interface_api_callback_map_[interface_name].remove(function); in headless_remove_callback()
Dinterface.h33 void headless_add_callback(const std::string interface_name,
35 void headless_remove_callback(const std::string interface_name,
/system/core/fastboot/
Dusb_windows.cpp66 std::string interface_name; member
92 std::unique_ptr<usb_handle> do_usb_open(const wchar_t* interface_name);
101 std::unique_ptr<usb_handle> do_usb_open(const wchar_t* interface_name) { in do_usb_open() argument
106 ret->adb_interface = AdbCreateInterfaceByName(interface_name); in do_usb_open()
110 DBG("failed to open interface %S\n", interface_name); in do_usb_open()
136 ret->interface_name.resize(name_len); in do_usb_open()
138 &ret->interface_name[0], in do_usb_open()
240 handle->interface_name.clear(); in usb_cleanup_handle()
/system/core/init/
Dservice_list.h55 Service* FindInterface(const std::string& interface_name) { in FindInterface() argument
57 if (svc->interfaces().count(interface_name) > 0) { in FindInterface()
Dservice_parser.cpp182 const std::string& interface_name = args[1]; in ParseInterface() local
186 if (interface_name != "aidl") { in ParseInterface()
188 if (!FQName::parse(interface_name, &fq_name)) { in ParseInterface()
189 return Error() << "Invalid fully-qualified name for interface '" << interface_name in ParseInterface()
194 return Error() << "Interface name not fully-qualified '" << interface_name << "'"; in ParseInterface()
198 return Error() << "Interface name must not be a value name '" << interface_name << "'"; in ParseInterface()
202 const std::string fullname = interface_name + "/" + instance_name; in ParseInterface()
/system/connectivity/wificond/
Dap_interface_impl.cpp40 ApInterfaceImpl::ApInterfaceImpl(const string& interface_name, in ApInterfaceImpl() argument
44 : interface_name_(interface_name), in ApInterfaceImpl()
Dap_interface_impl.h48 ApInterfaceImpl(const std::string& interface_name,
Dclient_interface_impl.cpp102 const std::string& interface_name, in ClientInterfaceImpl() argument
109 interface_name_(interface_name), in ClientInterfaceImpl()
Dclient_interface_impl.h66 const std::string& interface_name,
/system/tools/aidl/
Ddiagnostics_unittest.cpp75 TEST_F(DiagnosticsTest, interface_name) { in TEST_F() argument
76 expect_diagnostics = {DiagnosticID::interface_name}; in TEST_F()
Ddiagnostics.inc6 DIAG(interface_name, "interface-name", false)
Doptions_unittest.cpp358 EXPECT_EQ(DiagnosticSeverity::WARNING, mapping.Severity(DiagnosticID::interface_name)); in TEST()
368 EXPECT_EQ(DiagnosticSeverity::WARNING, mapping.Severity(DiagnosticID::interface_name)); in TEST()
379 EXPECT_EQ(DiagnosticSeverity::DISABLED, mapping.Severity(DiagnosticID::interface_name)); in TEST()
389 EXPECT_EQ(DiagnosticSeverity::ERROR, mapping.Severity(DiagnosticID::interface_name)); in TEST()
/system/update_engine/update_manager/
Dreal_shill_provider.cc80 void RealShillProvider::OnSignalConnected(const string& interface_name, in OnSignalConnected() argument
84 LOG(ERROR) << "Couldn't connect to the signal " << interface_name << "." in OnSignalConnected()
Dreal_shill_provider.h70 void OnSignalConnected(const std::string& interface_name,
Dreal_device_policy_provider.h141 void OnSignalConnected(const std::string& interface_name,
Dreal_device_policy_provider.cc83 void RealDevicePolicyProvider::OnSignalConnected(const string& interface_name, in OnSignalConnected() argument
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk_platform-source/gen/include/aidl/android/aidl/loggable/
DBnLoggableInterface.h17 std::string interface_name; member
DBpLoggableInterface.h23 std::string interface_name; member
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk-source/gen/include/aidl/android/aidl/loggable/
DBnLoggableInterface.h17 std::string interface_name; member
DBpLoggableInterface.h23 std::string interface_name; member
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/include/android/aidl/loggable/
DBnLoggableInterface.h21 std::string interface_name; member
DBpLoggableInterface.h23 std::string interface_name; member
/system/tools/aidl/tests/
Daidl_test_client_loggable_interface.cpp94 EXPECT_EQ("android.aidl.loggable.ILoggableInterface", log.interface_name); in TEST_F()
Daidl_test_client_ndk_loggable_interface.cpp99 EXPECT_EQ("android.aidl.loggable.ILoggableInterface", log.interface_name); in TEST_F()

12