Home
last modified time | relevance | path

Searched refs:interfaceType (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysuiTestableContext.java43 public <T> T getComponent(Class<T> interfaceType) { in getComponent() argument
44 return (T) (mComponents != null ? mComponents.get(interfaceType) : null); in getComponent()
47 public <T, C extends T> void putComponent(Class<T> interfaceType, C component) { in putComponent() argument
49 mComponents.put(interfaceType, component); in putComponent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSysUiServiceProvider.java24 <T> T getComponent(Class<T> interfaceType); in getComponent() argument
26 public static <T> T getComponent(Context context, Class<T> interfaceType) { in getComponent() argument
27 return ((SysUiServiceProvider) context.getApplicationContext()).getComponent(interfaceType); in getComponent()
DSystemUI.java45 public <T> T getComponent(Class<T> interfaceType) { in getComponent() argument
46 return (T) (mComponents != null ? mComponents.get(interfaceType) : null); in getComponent()
49 public <T, C extends T> void putComponent(Class<T> interfaceType, C component) { in putComponent() argument
51 mComponents.put(interfaceType, component); in putComponent()
DSystemUIApplication.java304 public <T> T getComponent(Class<T> interfaceType) { in getComponent() argument
305 return (T) mComponents.get(interfaceType); in getComponent()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java161 private void initStateMachine(int interfaceType) throws Exception { in initStateMachine() argument
162 initStateMachine(interfaceType, false /* usingLegacyDhcp */, DEFAULT_USING_BPF_OFFLOAD); in initStateMachine()
165 private void initStateMachine(int interfaceType, boolean usingLegacyDhcp, in initStateMachine() argument
175 if (interfaceType == TETHERING_BLUETOOTH) { in initStateMachine()
186 IFACE_NAME, mLooper.getLooper(), interfaceType, mSharedLog, mNetd, mBpfCoordinator, in initStateMachine()
199 private void initTetheredStateMachine(int interfaceType, String upstreamIface) in initTetheredStateMachine() argument
201 initTetheredStateMachine(interfaceType, upstreamIface, false, in initTetheredStateMachine()
205 private void initTetheredStateMachine(int interfaceType, String upstreamIface, in initTetheredStateMachine() argument
207 initStateMachine(interfaceType, usingLegacyDhcp, usingBpfOffload); in initTetheredStateMachine()
1009 if (mIpServer.interfaceType() == TETHERING_NCM) { in assertDhcpServingParams()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java771 final int type = tetherState.ipServer.interfaceType(); in tether()
1149 if (ipServer.interfaceType() == tetheringType) { in disableWifiIpServingLockedCommon()
1208 private void tetherMatchingInterfaces(int requestedState, int interfaceType) { in tetherMatchingInterfaces() argument
1210 Log.d(TAG, "tetherMatchingInterfaces(" + requestedState + ", " + interfaceType + ")"); in tetherMatchingInterfaces()
1223 if (ifaceNameToType(iface) == interfaceType) { in tetherMatchingInterfaces()
1230 Log.e(TAG, "could not find iface of type " + interfaceType); in tetherMatchingInterfaces()
1641 if (who.interfaceType() == TETHERING_WIFI) { in handleInterfaceServingStateActive()
1667 if (who.interfaceType() == TETHERING_WIFI) { in handleInterfaceServingStateInactive()
2393 final int interfaceType = ifaceNameToType(iface);
2394 if (interfaceType == TETHERING_INVALID) {
[all …]
DPrivateAddressCoordinator.java251 pw.println(ipServer.interfaceType() + " - " + ipServer.getAddress()); in dump()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java285 String ifaceName, Looper looper, int interfaceType, SharedLog log, in IpServer() argument
296 mInterfaceType = interfaceType; in IpServer()
339 public int interfaceType() { in interfaceType() method in IpServer
/frameworks/base/services/
Dart-profile205 HSPLandroid/net/ip/IpServer;->interfaceType()I