/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | SysuiTestableContext.java | 43 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/ |
D | SysUiServiceProvider.java | 24 <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()
|
D | SystemUI.java | 45 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()
|
D | SystemUIApplication.java | 304 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/ |
D | IpServerTest.java | 161 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/ |
D | Tethering.java | 771 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 …]
|
D | PrivateAddressCoordinator.java | 251 pw.println(ipServer.interfaceType() + " - " + ipServer.getAddress()); in dump()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 285 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/ |
D | art-profile | 205 HSPLandroid/net/ip/IpServer;->interfaceType()I
|