Home
last modified time | relevance | path

Searched refs:interfaceName (Results 1 – 25 of 105) sorted by relevance

12345

/aosp12/system/libhidl/transport/
H A DLegacySupport.cpp32 const std::string& interfaceName, const std::string& expectInterfaceName, in registerPassthroughServiceImplementation() argument
35 getRawServiceInternal(interfaceName, serviceName, true /*retry*/, true /*getStub*/); in registerPassthroughServiceImplementation()
38 ALOGE("Could not get passthrough implementation for %s/%s.", interfaceName.c_str(), in registerPassthroughServiceImplementation()
43 ALOGE("Implementation of %s/%s is remote!", interfaceName.c_str(), serviceName.c_str()); in registerPassthroughServiceImplementation()
51 ALOGE("Error retrieving interface name from %s/%s: %s", interfaceName.c_str(), in registerPassthroughServiceImplementation()
56 ALOGE("Implementation of %s/%s is actually %s, not a %s!", interfaceName.c_str(), in registerPassthroughServiceImplementation()
63 ALOGI("Registration complete for %s/%s.", interfaceName.c_str(), serviceName.c_str()); in registerPassthroughServiceImplementation()
65 ALOGE("Could not register service %s/%s (%d).", interfaceName.c_str(), serviceName.c_str(), in registerPassthroughServiceImplementation()
75 const std::string& interfaceName, const std::string& expectInterfaceName, in registerPassthroughServiceImplementation() argument
78 interfaceName, expectInterfaceName, in registerPassthroughServiceImplementation()
/aosp12/frameworks/native/cmds/lshal/
H A DPipeRelay.cpp33 static std::string getThreadName(std::string interfaceName, const std::string &instanceName) { in getThreadName() argument
34 auto dot = interfaceName.rfind("."); in getThreadName()
35 if (dot != std::string::npos) interfaceName = interfaceName.substr(dot + 1); in getThreadName()
36 return "RelayThread_" + interfaceName + "_" + instanceName; in getThreadName()
117 const std::string &interfaceName, const std::string &instanceName) in PipeRelay() argument
126 mThread = new RelayThread(mFds[0], os, err, interfaceName + "/" + instanceName); in PipeRelay()
127 mInitCheck = mThread->run(getThreadName(interfaceName, instanceName).c_str()); in PipeRelay()
H A DListCommand.cpp287 FQName interfaceName; in postprocess() local
288 … if (!FQName::parse(splitFirst(interfaceEntry.interfaceName, '/').first, &interfaceName)) { in postprocess()
320 if (!fqInstance.setTo(entry.interfaceName)) { in addEntryWithInstance()
520 std::string interfaceName = std::string{info.interfaceName.c_str()} + "/" + in fetchAllLibraries()
522 entries.emplace(interfaceName, TableEntry{ in fetchAllLibraries()
523 .interfaceName = interfaceName, in fetchAllLibraries()
553 .interfaceName = in fetchPassthrough()
593 entry.interfaceName = fqInstanceName; in fetchBinderized()
727 std::string key = entry.interfaceName; in fetchManifestHals()
766 if (existing.interfaceName == entry.interfaceName) { in hasHwbinderEntry()
[all …]
H A DLshal.cpp102 const std::string &interfaceName, in emitDebugInfo() argument
111 hardware::Return<sp<IBase>> retBase = serviceManager()->get(interfaceName, instanceName); in emitDebugInfo()
114 std::string msg = "Cannot get " + interfaceName + "/" + instanceName + ": " in emitDebugInfo()
123 std::string msg = interfaceName + "/" + instanceName + " does not exist, or " in emitDebugInfo()
133 std::string msg = interfaceName + "/" + instanceName + " getDescriptor failed"; in emitDebugInfo()
137 if (descriptor != interfaceName) { in emitDebugInfo()
145 PipeRelay relay(out, err, interfaceName, instanceName); in emitDebugInfo()
163 std::string msg = "debug() FAILED on " + interfaceName + "/" + instanceName + ": " in emitDebugInfo()
H A DTableEntry.cpp75 return interfaceName; in getField()
170 std::string debugInfo = emitDebugInfo(entry.interfaceName); in createTextTable()
189 return interfaceName == other.interfaceName && transport == other.transport && in operator ==()
199 ss << "name=" << interfaceName << ";transport=" << transport << ";thread=" << getThreadUsage() in to_string()
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DConnectivityDiagnosticsManagerTest.java199 final String interfaceName = in testRegisterConnectivityDiagnosticsCallback() local
202 cb.expectOnConnectivityReportAvailable(mTestNetwork, interfaceName); in testRegisterConnectivityDiagnosticsCallback()
294 final String interfaceName = in doBroadcastCarrierConfigsAndVerifyOnConnectivityReportAvailable() local
297 network, interfaceName, TRANSPORT_CELLULAR); in doBroadcastCarrierConfigsAndVerifyOnConnectivityReportAvailable()
334 final String interfaceName = in testOnConnectivityReportAvailable() local
386 final String interfaceName = in verifyOnDataStallSuspected() local
419 final String interfaceName = in verifyOnNetworkConnectivityReported() local
489 @NonNull Network network, @NonNull String interfaceName) { in expectOnConnectivityReportAvailable() argument
491 network, interfaceName, TRANSPORT_TEST); in expectOnConnectivityReportAvailable()
495 @NonNull String interfaceName, int transportType) { in expectOnConnectivityReportAvailable() argument
[all …]
/aosp12/frameworks/base/core/java/android/net/
H A DIpSecTunnelInterfaceResponse.java31 public final String interfaceName; field in IpSecTunnelInterfaceResponse
44 out.writeString(interfaceName); in writeToParcel()
53 interfaceName = ""; in IpSecTunnelInterfaceResponse()
59 interfaceName = inInterfaceName; in IpSecTunnelInterfaceResponse()
65 interfaceName = in.readString(); in IpSecTunnelInterfaceResponse()
H A DEthernetNetworkSpecifier.java49 public EthernetNetworkSpecifier(@NonNull String interfaceName) { in EthernetNetworkSpecifier() argument
50 Preconditions.checkStringNotEmpty(interfaceName); in EthernetNetworkSpecifier()
51 mInterfaceName = interfaceName; in EthernetNetworkSpecifier()
/aosp12/system/libvintf/include/vintf/
H A DHalManifest.h79 const std::string& interfaceName,
130 const std::string& interfaceName) const;
132 const std::string& interfaceName) const;
134 const std::string& interfaceName) const;
138 const std::string& interfaceName, const std::string& instance) const;
142 const std::string& interfaceName, const std::string& instance) const;
145 bool hasAidlInstance(const std::string& package, const std::string& interfaceName,
207 const std::string& interfaceName) const;
211 const std::string& interfaceName, const std::string& instance) const;
/aosp12/system/hwservicemanager/
H A DVintf.cpp39 vintf::Transport getTransport(const std::string &interfaceName, const std::string &instanceName) { in getTransport() argument
42 if (!FQName::parse(interfaceName, &fqName)) { in getTransport()
43 LOG(ERROR) << __FUNCTION__ << ": " << interfaceName in getTransport()
89 std::set<std::string> getInstances(const std::string& interfaceName) { in getInstances() argument
91 if (!FQName::parse(interfaceName, &fqName) || !fqName.isFullyQualified() || in getInstances()
93 LOG(ERROR) << __FUNCTION__ << ": " << interfaceName in getInstances()
H A DAccessControl.cpp32 const char* interfaceName; member
105 ad.interfaceName = interface; in checkPermission()
133 if (!ad || !ad->interfaceName) { in auditCallback()
140 snprintf(buf, len, "interface=%s sid=%s pid=%d", ad->interfaceName, sid, ad->pid); in auditCallback()
H A DVintf.h31 vintf::Transport getTransport(const std::string &interfaceName,
35 std::set<std::string> getInstances(const std::string& interfaceName);
H A DHidlService.h41 HidlService(const std::string &interfaceName,
45 HidlService(const std::string &interfaceName, in HidlService()
48 interfaceName, in HidlService()
/aosp12/packages/modules/Connectivity/core/java/android/net/
H A DNetworkUtils.java38 public native static int enableInterface(String interfaceName); in enableInterface() argument
41 public native static int disableInterface(String interfaceName); in disableInterface() argument
58 public native static int resetConnections(String interfaceName, int mask); in resetConnections() argument
70 public native static boolean runDhcp(String interfaceName, DhcpResults dhcpResults); in runDhcp() argument
80 public native static boolean runDhcpRenew(String interfaceName, DhcpResults dhcpResults); in runDhcpRenew() argument
88 public native static boolean stopDhcp(String interfaceName); in stopDhcp() argument
96 public native static boolean releaseDhcpLease(String interfaceName); in releaseDhcpLease() argument
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareDataPathStateManager.java273 if (mInterfaces.contains(interfaceName)) { in onInterfaceCreated()
277 mInterfaces.add(interfaceName); in onInterfaceCreated()
286 if (!mInterfaces.contains(interfaceName)) { in onInterfaceDeleted()
290 mInterfaces.remove(interfaceName); in onInterfaceDeleted()
470 if (nnri.interfaceName == null) { in onDataPathRequest()
473 if (nnri.interfaceName == null) { in onDataPathRequest()
1169 if (nri.interfaceName.equals(lnri.interfaceName) && ( in isInterfaceUpAndUsedByAnotherNdp()
1206 invalid.add(nnri.interfaceName); in selectInterfaceForRequest()
1208 inuse.add(nnri.interfaceName); in selectInterfaceForRequest()
1210 unused.remove(nnri.interfaceName); in selectInterfaceForRequest()
[all …]
/aosp12/system/libhidl/transport/include/hidl/
H A DLegacySupport.h36 const std::string& interfaceName, const std::string& expectInterfaceName,
45 const std::string& interfaceName, const std::string& expectInterfaceName,
49 const std::string& interfaceName, const std::string& serviceName = "default") {
50 return registerPassthroughServiceImplementation(interfaceName, interfaceName, serviceName);
/aosp12/system/security/keystore2/src/vintf/
H A Dvintf.cpp47 size_t minor_version, const char* interfaceName) { in getHidlInstances() argument
50 const auto names = manifest->getHidlInstances(package, version, interfaceName); in getHidlInstances()
56 const char* interfaceName) { in getAidlInstances() argument
58 const auto names = manifest->getAidlInstances(package, version, interfaceName); in getAidlInstances()
H A Dvintf.hpp27 size_t minor_version, const char* interfaceName);
29 const char* interfaceName);
/aosp12/system/libhidl/adapter/
H A DHidlBinderAdapter.cpp140 std::string interfaceName = package + "::" + args.interface; in adapterMain() local
142 auto it = adapters.find(interfaceName); in adapterMain()
144 std::cerr << "ERROR: could not resolve " << interfaceName << "." << std::endl; in adapterMain()
148 std::cout << "Trying to adapt down " << interfaceName << "/" << args.instanceName << " to " in adapterMain()
159 sp<IBase> implementation = manager->get(interfaceName, args.instanceName).withDefault(nullptr); in adapterMain()
185 kDeactivateProp + "." + interfaceName + "." + args.registerInstanceName; in adapterMain()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
H A DTestUtils.java94 public boolean createAwareNetworkInterface(short transactionId, String interfaceName) { in createAwareNetworkInterface() argument
99 public boolean deleteAwareNetworkInterface(short transactionId, String interfaceName) { in deleteAwareNetworkInterface() argument
105 int channel, byte[] peer, String interfaceName, byte[] pmk, String passphrase, in initiateDataPath() argument
112 String interfaceName, byte[] pmk, String passphrase, byte[] appInfo, in respondToDataPathRequest() argument
/aosp12/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
H A DUsbUtil.java50 String interfaceName = usbInterface.getName(); in possiblyAndroid() local
52 if (AOAP_INTERFACE_NAME.equals(interfaceName) || in possiblyAndroid()
53 ADB_INTERFACE_NAME.equals(interfaceName) || in possiblyAndroid()
54 MTP_INTERFACE_NAME.equals(interfaceName)) { in possiblyAndroid()
/aosp12/system/netd/server/
H A DMDnsSdListener.cpp178 int interfaceInt = ifaceNameToI(interfaceName); in serviceRegister()
218 const char *interfaceName, const char *serviceName, const char *regType, in resolveService() argument
221 ALOGD("resolveService(%d, %s, %s, %s, %s)", requestId, interfaceName, in resolveService()
233 int interfaceInt = ifaceNameToI(interfaceName); in resolveService()
288 const char *interfaceName, uint32_t protocol, const char *hostname) { in getAddrInfo() argument
299 int interfaceInt = ifaceNameToI(interfaceName); in getAddrInfo()
445 char *interfaceName = nullptr; // will use all in runCommand() local
460 serviceRegister(cli, requestId, interfaceName, serviceName, in runCommand()
471 char *interfaceName = nullptr; // will use all in runCommand() local
509 char *interfaceName = nullptr; // default in runCommand() local
[all …]
/aosp12/system/libvintf/
H A DHalManifest.cpp196 const std::string& interfaceName, in getHidlTransport() argument
199 forEachInstanceOfInterface(HalFormat::HIDL, package, v, interfaceName, [&](const auto& e) { in getHidlTransport()
207 << toFQNameString(package, v, interfaceName, instanceName); in getHidlTransport()
552 const std::string& interfaceName) const { in getInstances()
554 (void)forEachInstanceOfInterface(format, package, version, interfaceName, in getInstances()
566 (void)forEachInstanceOfInterface(format, package, version, interfaceName, in hasInstance()
576 return getInstances(HalFormat::HIDL, package, version, interfaceName); in getHidlInstances()
581 return getAidlInstances(package, 0, interfaceName); in getAidlInstances()
587 interfaceName); in getAidlInstances()
591 const std::string& interfaceName, in hasHidlInstance() argument
[all …]
/aosp12/packages/modules/Connectivity/framework/src/android/net/
H A DTestNetworkSpecifier.java43 public TestNetworkSpecifier(@NonNull String interfaceName) { in TestNetworkSpecifier() argument
44 if (TextUtils.isEmpty(interfaceName)) { in TestNetworkSpecifier()
47 mInterfaceName = interfaceName; in TestNetworkSpecifier()
/aosp12/system/tools/hidl/
H A DgenerateCpp.cpp140 declareGetService(out, interfaceName, true /* isTry */); in declareServiceManagerInteractions()
141 declareGetService(out, interfaceName, false /* isTry */); in declareServiceManagerInteractions()
165 const std::string interfaceName = fqName.getInterfaceName(); in implementGetService() local
168 out << "::android::sp<" << interfaceName << "> " << interfaceName << "::" << functionName << "(" in implementGetService()
182 const std::string interfaceName = fqName.getInterfaceName(); in implementServiceManagerInteractions() local
187 out << "::android::status_t " << interfaceName << "::registerAsService(" in implementServiceManagerInteractions()
193 out << "bool " << interfaceName << "::registerForNotifications(\n"; in implementServiceManagerInteractions()
1256 const std::string interfaceName = iface->definedName(); in generateStubSource() local
1262 << "(const ::android::sp<" << interfaceName <<"> &_hidl_impl)\n"; in generateStubSource()
1277 << interfaceName in generateStubSource()
[all …]

12345