/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 | 280 public <T> T getComponent(Class<T> interfaceType) { in getComponent() argument 281 return (T) mComponents.get(interfaceType); in getComponent()
|
/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/tests/net/java/android/net/ip/ |
D | IpServerTest.java | 114 private void initStateMachine(int interfaceType) throws Exception { in initStateMachine() argument 115 initStateMachine(interfaceType, false /* usingLegacyDhcp */); in initStateMachine() 118 private void initStateMachine(int interfaceType, boolean usingLegacyDhcp) throws Exception { in initStateMachine() argument 135 IFACE_NAME, mLooper.getLooper(), interfaceType, mSharedLog, in initStateMachine() 147 private void initTetheredStateMachine(int interfaceType, String upstreamIface) in initTetheredStateMachine() argument 149 initTetheredStateMachine(interfaceType, upstreamIface, false); in initTetheredStateMachine() 152 private void initTetheredStateMachine(int interfaceType, String upstreamIface, in initTetheredStateMachine() argument 154 initStateMachine(interfaceType, usingLegacyDhcp); in initTetheredStateMachine()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Tethering.java | 836 if (ipServer.interfaceType() == TETHERING_WIFI) { in disableWifiIpServingLocked() 879 private void tetherMatchingInterfaces(int requestedState, int interfaceType) { in tetherMatchingInterfaces() argument 881 Log.d(TAG, "tetherMatchingInterfaces(" + requestedState + ", " + interfaceType + ")"); in tetherMatchingInterfaces() 894 if (ifaceNameToType(iface) == interfaceType) { in tetherMatchingInterfaces() 901 Log.e(TAG, "could not find iface of type " + interfaceType); in tetherMatchingInterfaces() 1298 if (who.interfaceType() == TETHERING_WIFI) { in handleInterfaceServingStateActive() 1322 if (who.interfaceType() == TETHERING_WIFI) { in handleInterfaceServingStateInactive() 1875 final int interfaceType = ifaceNameToType(iface); 1876 if (interfaceType == TETHERING_INVALID) { 1880 maybeTrackNewInterfaceLocked(iface, interfaceType); [all …]
|
/frameworks/base/services/net/java/android/net/ip/ |
D | IpServer.java | 214 String ifaceName, Looper looper, int interfaceType, SharedLog log, in IpServer() argument 225 mInterfaceType = interfaceType; in IpServer() 247 public int interfaceType() { return mInterfaceType; } in interfaceType() method in IpServer
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | IPv6TetheringCoordinator.java | 167 if (ipServer.interfaceType() == ConnectivityManager.TETHERING_BLUETOOTH) { in getInterfaceIPv6LinkProperties()
|
/frameworks/base/services/ |
D | art-profile | 205 HSPLandroid/net/ip/IpServer;->interfaceType()I
|