Home
last modified time | relevance | path

Searched refs:ifaceName (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/os/
DCommonTimeConfig.java204 String ifaceName = mUtils.transactGetString(METHOD_GET_INTERFACE_BINDING, null); in getInterfaceBinding() local
206 if ((null != ifaceName) && (0 == ifaceName.length())) in getInterfaceBinding()
209 return ifaceName; in getInterfaceBinding()
222 public int setNetworkBinding(String ifaceName) { in setNetworkBinding() argument
227 (null == ifaceName) ? "" : ifaceName); in setNetworkBinding()
/frameworks/base/services/common_time/
Dcommon_time_config_service.cpp64 status_t CommonTimeConfigService::getInterfaceBinding(String16& ifaceName) { in getInterfaceBinding() argument
67 ifaceName = String16(tmp); in getInterfaceBinding()
71 status_t CommonTimeConfigService::setInterfaceBinding(const String16& ifaceName) { in setInterfaceBinding() argument
72 String8 tmp(ifaceName); in setInterfaceBinding()
Dcommon_time_server_api.cpp143 status_t CommonTimeServer::getInterfaceBinding(String8& ifaceName) { in getInterfaceBinding() argument
147 ifaceName = mBindIface; in getInterfaceBinding()
151 status_t CommonTimeServer::setInterfaceBinding(const String8& ifaceName) { in setInterfaceBinding() argument
155 if (ifaceName.size()) { in setInterfaceBinding()
157 mBindIface = ifaceName; in setInterfaceBinding()
Dcommon_time_config_service.h38 virtual status_t getInterfaceBinding(String16& ifaceName);
39 virtual status_t setInterfaceBinding(const String16& ifaceName);
Dcommon_time_server.h64 status_t getInterfaceBinding(String8& ifaceName);
65 status_t setInterfaceBinding(const String8& ifaceName);
/frameworks/av/media/common_time/
DICommonTimeConfig.cpp155 virtual status_t getInterfaceBinding(String16& ifaceName) { in getInterfaceBinding() argument
164 ifaceName = reply.readString16(); in getInterfaceBinding()
171 virtual status_t setInterfaceBinding(const String16& ifaceName) { in setInterfaceBinding() argument
174 data.writeString16(ifaceName); in setInterfaceBinding()
414 String16 ifaceName; in onTransact() local
415 ifaceName = data.readString16(); in onTransact()
416 status_t status = setInterfaceBinding(ifaceName); in onTransact()
/frameworks/av/include/common_time/
DICommonTimeConfig.h44 virtual status_t getInterfaceBinding(String16& ifaceName) = 0;
45 virtual status_t setInterfaceBinding(const String16& ifaceName) = 0;
/frameworks/base/services/java/com/android/server/
DConnectivityService.java1349 private boolean modifyRoute(String ifaceName, LinkProperties lp, RouteInfo r, int cycleCount, in modifyRoute() argument
1351 if ((ifaceName == null) || (lp == null) || (r == null)) { in modifyRoute()
1352 if (DBG) log("modifyRoute got unexpected null: " + ifaceName + ", " + lp + ", " + r); in modifyRoute()
1372 modifyRoute(ifaceName, lp, bestRoute, cycleCount+1, doAdd, toDefaultTable); in modifyRoute()
1376 if (VDBG) log("Adding " + r + " for interface " + ifaceName); in modifyRoute()
1380 mNetd.addRoute(ifaceName, r); in modifyRoute()
1382 mNetd.addSecondaryRoute(ifaceName, r); in modifyRoute()
1395 if (VDBG) log("Removing " + r + " for interface " + ifaceName); in modifyRoute()
1397 mNetd.removeRoute(ifaceName, r); in modifyRoute()
1407 if (VDBG) log("Removing " + r + " for interface " + ifaceName); in modifyRoute()
[all …]
/frameworks/base/core/java/android/net/
DLinkProperties.java155 String ifaceName = (mIfaceName == null ? "" : "InterfaceName: " + mIfaceName + " "); in toString() local
170 return ifaceName + linkAddresses + routes + dns + proxy; in toString()
/frameworks/base/services/java/com/android/server/connectivity/
DTethering.java1361 protected void notifyTetheredOfNewUpstreamIface(String ifaceName) { in notifyTetheredOfNewUpstreamIface() argument
1362 if (DBG) Log.d(TAG, "notifying tethered with iface =" + ifaceName); in notifyTetheredOfNewUpstreamIface()
1363 mUpstreamIfaceName = ifaceName; in notifyTetheredOfNewUpstreamIface()
1367 ifaceName); in notifyTetheredOfNewUpstreamIface()