Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DInterfaceConflictManagerTest.java213 int interfaceType = HalDeviceManager.HDM_CREATE_IFACE_NAN; in testUserApprovalNeededButCommandCanProceed() local
217 when(mHdm.reportImpactToCreateIface(eq(interfaceType), eq(false), eq(TEST_WS))).thenReturn( in testUserApprovalNeededButCommandCanProceed()
222 interfaceType, TEST_WS, false)); in testUserApprovalNeededButCommandCanProceed()
230 when(mHdm.reportImpactToCreateIface(eq(interfaceType), eq(false), eq(TEST_WS))).thenReturn( in testUserApprovalNeededButCommandCanProceed()
235 interfaceType, TEST_WS, false)); in testUserApprovalNeededButCommandCanProceed()
250 int interfaceType = HalDeviceManager.HDM_CREATE_IFACE_P2P; in testUserApproved() local
254 when(mHdm.reportImpactToCreateIface(eq(interfaceType), eq(false), eq(TEST_WS))).thenReturn( in testUserApproved()
261 interfaceType, TEST_WS, false)); in testUserApproved()
275 mWaitingState, mTargetState, interfaceType, TEST_WS, false)); in testUserApproved()
290 int interfaceType = HalDeviceManager.HDM_CREATE_IFACE_P2P; in testUserRejected() local
[all …]
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java196 private void initStateMachine(int interfaceType) throws Exception { in initStateMachine() argument
197 initStateMachine(interfaceType, false /* usingLegacyDhcp */, DEFAULT_USING_BPF_OFFLOAD); in initStateMachine()
200 private void initStateMachine(int interfaceType, boolean usingLegacyDhcp, in initStateMachine() argument
211 if (interfaceType == TETHERING_BLUETOOTH) { in initStateMachine()
222 mIpServer = createIpServer(interfaceType); in initStateMachine()
234 private void initTetheredStateMachine(int interfaceType, String upstreamIface) in initTetheredStateMachine() argument
236 initTetheredStateMachine(interfaceType, upstreamIface, NO_ADDRESSES, false, in initTetheredStateMachine()
240 private void initTetheredStateMachine(int interfaceType, String upstreamIface, in initTetheredStateMachine() argument
243 initStateMachine(interfaceType, usingLegacyDhcp, usingBpfOffload); in initTetheredStateMachine()
306 private IpServer createIpServer(final int interfaceType) { in createIpServer() argument
[all …]
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java94 when(mUsbIpServer.interfaceType()).thenReturn(TETHERING_USB); in setUpIpServers()
95 when(mEthernetIpServer.interfaceType()).thenReturn(TETHERING_ETHERNET); in setUpIpServers()
96 when(mHotspotIpServer.interfaceType()).thenReturn(TETHERING_WIFI); in setUpIpServers()
97 when(mLocalHotspotIpServer.interfaceType()).thenReturn(TETHERING_WIFI); in setUpIpServers()
98 when(mWifiP2pIpServer.interfaceType()).thenReturn(TETHERING_WIFI_P2P); in setUpIpServers()
DTetheringTest.java3147 if (ipSrv.interfaceType() == type && ipSrv.interfaceName().equals(ifName) in isIpServerActive()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java177 && ipServer.interfaceType() == TETHERING_WIFI_P2P) { in requestDownstreamAddress()
181 final AddressKey addrKey = new AddressKey(ipServer.interfaceType(), scope); in requestDownstreamAddress()
466 pw.println(ipServer.interfaceType() + " - " + ipServer.getAddress()); in dump()
DTethering.java1000 final int type = tetherState.ipServer.interfaceType(); in tether()
1093 final int type = tetherState.ipServer.interfaceType(); in sendTetherStateChangedBroadcast()
1271 final int type = mTetherStates.valueAt(i).ipServer.interfaceType(); in maybeStopUsbProvisioning()
1455 if (ipServer.interfaceType() == tetheringType) { in disableWifiIpServingCommon()
1565 final int type = state.ipServer.interfaceType(); in disableUsbIpServing()
1940 if (who.interfaceType() == TETHERING_WIFI) { in handleInterfaceServingStateActive()
1966 if (who.interfaceType() == TETHERING_WIFI) { in handleInterfaceServingStateInactive()
2797 final int interfaceType = ifaceNameToType(iface); in ensureIpServerStarted() local
2798 if (!checkTetherableType(interfaceType)) { in ensureIpServerStarted()
2799 mLog.log(iface + " is used for " + interfaceType + " which is not tetherable" in ensureIpServerStarted()
[all …]
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java324 String ifaceName, Handler handler, int interfaceType, SharedLog log, in IpServer() argument
338 mInterfaceType = interfaceType; in IpServer()
389 public int interfaceType() { in interfaceType() method in IpServer
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java1698 int interfaceType; in onCommand() local
1701 interfaceType = HDM_CREATE_IFACE_STA; in onCommand()
1704 interfaceType = HDM_CREATE_IFACE_AP; in onCommand()
1707 interfaceType = HDM_CREATE_IFACE_NAN; in onCommand()
1710 interfaceType = HDM_CREATE_IFACE_P2P; in onCommand()
1728 mHalDeviceManager.reportImpactToCreateIface(interfaceType, in onCommand()
DWifiServiceImpl.java7881 public void reportCreateInterfaceImpact(String packageName, int interfaceType,
7903 if (interfaceType != WIFI_INTERFACE_TYPE_STA && interfaceType != WIFI_INTERFACE_TYPE_AP
7904 && interfaceType != WIFI_INTERFACE_TYPE_AWARE
7905 && interfaceType != WIFI_INTERFACE_TYPE_DIRECT) {
7918 wifiIfaceToHdmIfaceMap.get(interfaceType), requireNewInterface,
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl458 …void reportCreateInterfaceImpact(String packageName, int interfaceType, boolean requireNewInterfac… in reportCreateInterfaceImpact() argument
DBaseWifiService.java1048 public void reportCreateInterfaceImpact(String packageName, int interfaceType, in reportCreateInterfaceImpact() argument
DWifiManager.java11709 public InterfaceCreationImpact(@WifiInterfaceType int interfaceType, in InterfaceCreationImpact() argument
11711 mInterfaceType = interfaceType; in InterfaceCreationImpact()
11786 public void reportCreateInterfaceImpact(@WifiInterfaceType int interfaceType, in reportCreateInterfaceImpact() argument
11793 mService.reportCreateInterfaceImpact(mContext.getOpPackageName(), interfaceType, in reportCreateInterfaceImpact() local
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-http-client-1.36.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-http-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...