/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityDiagnosticsManagerTest.java | 202 final String interfaceName = in testRegisterConnectivityDiagnosticsCallback() local 205 cb.expectOnConnectivityReportAvailable(mTestNetwork, interfaceName); in testRegisterConnectivityDiagnosticsCallback() 301 final String interfaceName = in doBroadcastCarrierConfigsAndVerifyOnConnectivityReportAvailable() local 304 network, interfaceName, TRANSPORT_CELLULAR, NETWORK_VALIDATION_RESULT_VALID); in doBroadcastCarrierConfigsAndVerifyOnConnectivityReportAvailable() 341 final String interfaceName = in testOnConnectivityReportAvailable() local 344 cb.expectOnConnectivityReportAvailable(mTestNetwork, interfaceName); in testOnConnectivityReportAvailable() 393 final String interfaceName = in verifyOnDataStallSuspected() local 396 cb.expectOnConnectivityReportAvailable(mTestNetwork, interfaceName); in verifyOnDataStallSuspected() 404 mTestNetwork, interfaceName, expectedDetectionMethod, timestampMillis, extras); in verifyOnDataStallSuspected() 426 final String interfaceName = in verifyOnNetworkConnectivityReported() local [all …]
|
D | EthernetManagerTest.kt | 118 val interfaceName get() = tapInterface.interfaceName constant in android.net.cts.EthernetManagerTest 175 expectCallback(createChangeEvent(iface.interfaceName, state, role)) in expectCallback() 188 fun eventuallyExpect(interfaceName: String, state: Int, role: Int) { in eventuallyExpect() 189 assertNotNull(eventuallyExpect(createChangeEvent(interfaceName, state, role))) in eventuallyExpect() 193 eventuallyExpect(iface.interfaceName, state, role) in eventuallyExpect() 401 createdIfaces.find { it.interfaceName.equals(iface) }?.let { in validateListenerOnRegistration() 403 listener.createChangeEvent(it.interfaceName, in validateListenerOnRegistration() 421 assertTrue(ifaces.contains(iface1.interfaceName)) in testGetInterfaceList() 422 assertTrue(ifaces.contains(iface2.interfaceName)) in testGetInterfaceList() 428 assertFalse(ifaces.contains(iface1.interfaceName)) in testGetInterfaceList() [all …]
|
D | NsdManagerTest.kt | 273 val testNetworkSpecifier = TestNetworkSpecifier(iface.interfaceName) in <lambda>() 279 val agent = registerTestNetworkAgent(iface.interfaceName) in <lambda>() 294 interfaceName = ifaceName in <lambda>() 484 val specifier = TestNetworkSpecifier(testNetwork1.iface.interfaceName) in <lambda>() 520 registerTestNetworkAgent(testNetwork1.iface.interfaceName) in <lambda>() 548 val specifier = TestNetworkSpecifier(testNetwork1.iface.interfaceName) in <lambda>()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 273 public void onInterfaceCreated(String interfaceName) { in onInterfaceCreated() argument 274 if (mDbg) Log.v(TAG, "onInterfaceCreated: interfaceName=" + interfaceName); in onInterfaceCreated() 276 if (mInterfaces.contains(interfaceName)) { in onInterfaceCreated() 277 Log.w(TAG, "onInterfaceCreated: already contains interface -- " + interfaceName); in onInterfaceCreated() 280 mInterfaces.add(interfaceName); in onInterfaceCreated() 286 public void onInterfaceDeleted(String interfaceName) { in onInterfaceDeleted() argument 287 if (mDbg) Log.v(TAG, "onInterfaceDeleted: interfaceName=" + interfaceName); in onInterfaceDeleted() 289 if (!mInterfaces.contains(interfaceName)) { in onInterfaceDeleted() 290 Log.w(TAG, "onInterfaceDeleted: interface not on list -- " + interfaceName); in onInterfaceDeleted() 293 mInterfaces.remove(interfaceName); in onInterfaceDeleted() [all …]
|
D | WifiAwareNativeApi.java | 1109 public boolean createAwareNetworkInterface(short transactionId, String interfaceName) { in createAwareNetworkInterface() argument 1112 + "interfaceName=" + interfaceName); in createAwareNetworkInterface() 1123 WifiStatus status = iface.createDataInterfaceRequest(transactionId, interfaceName); in createAwareNetworkInterface() 1143 public boolean deleteAwareNetworkInterface(short transactionId, String interfaceName) { in deleteAwareNetworkInterface() argument 1146 + "interfaceName=" + interfaceName); in deleteAwareNetworkInterface() 1157 WifiStatus status = iface.deleteDataInterfaceRequest(transactionId, interfaceName); in deleteAwareNetworkInterface() 1190 int channel, byte[] peer, String interfaceName, in initiateDataPath() argument 1197 + interfaceName + ", securityConfig=" + securityConfig in initiateDataPath() 1222 req.ifaceName = interfaceName; in initiateDataPath() 1266 req.ifaceName = interfaceName; in initiateDataPath() [all …]
|
D | WifiAwareStateManager.java | 1017 public void createDataPathInterface(String interfaceName) { in createDataPathInterface() argument 1020 msg.obj = interfaceName; in createDataPathInterface() 1027 public void deleteDataPathInterface(String interfaceName) { in deleteDataPathInterface() argument 1030 msg.obj = interfaceName; in deleteDataPathInterface() 1038 int channelRequestType, int channel, byte[] peer, String interfaceName, in initiateDataPathSetup() argument 1047 msg.getData().putString(MESSAGE_BUNDLE_KEY_INTERFACE_NAME, interfaceName); in initiateDataPathSetup() 1056 public void respondToDataPathRequest(boolean accept, int ndpId, String interfaceName, in respondToDataPathRequest() argument 1064 msg.getData().putString(MESSAGE_BUNDLE_KEY_INTERFACE_NAME, interfaceName); in respondToDataPathRequest() 2059 String interfaceName = data.getString(MESSAGE_BUNDLE_KEY_INTERFACE_NAME); in processCommand() local 2065 interfaceName, isOutOfBand, appInfo); in processCommand() [all …]
|
D | WifiAwareMetrics.java | 429 ndiInApp.add(anri.interfaceName); in recordNdpCreation() 439 Integer ndpCount = ndpPerNdiMap.get(anri.interfaceName); in recordNdpCreation() 441 ndpPerNdiMap.put(anri.interfaceName, 1); in recordNdpCreation() 443 ndpPerNdiMap.put(anri.interfaceName, ndpCount + 1); in recordNdpCreation() 447 ndiInSystem.add(anri.interfaceName); in recordNdpCreation()
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | IpSecTunnelInterfaceResponse.java | 31 public final String interfaceName; field in IpSecTunnelInterfaceResponse 44 out.writeString(interfaceName); in writeToParcel() 53 interfaceName = ""; in IpSecTunnelInterfaceResponse() 59 interfaceName = inInterfaceName; in IpSecTunnelInterfaceResponse() 65 interfaceName = in.readString(); in IpSecTunnelInterfaceResponse()
|
D | EthernetNetworkSpecifier.java | 44 public EthernetNetworkSpecifier(@NonNull String interfaceName) { in EthernetNetworkSpecifier() argument 45 if (TextUtils.isEmpty(interfaceName)) { in EthernetNetworkSpecifier() 48 mInterfaceName = interfaceName; in EthernetNetworkSpecifier()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | TestUtils.java | 96 public boolean createAwareNetworkInterface(short transactionId, String interfaceName) { in createAwareNetworkInterface() argument 101 public boolean deleteAwareNetworkInterface(short transactionId, String interfaceName) { in deleteAwareNetworkInterface() argument 107 int channel, byte[] peer, String interfaceName, in initiateDataPath() argument 115 String interfaceName, byte[] appInfo, in respondToDataPathRequest() argument
|
D | WifiAwareNativeApiTest.java | 671 String interfaceName = "aware_data5"; in validateInitiateDataPath() local 692 mDut.initiateDataPath(tid, peerId, channelRequestType, channel, peer, interfaceName, in validateInitiateDataPath() 703 collector.checkThat("ifaceName", interfaceName, equalTo(nidpr.ifaceName)); in validateInitiateDataPath() 744 String interfaceName = "aware_whatever22"; in validateRespondToDataPathRequest() local 765 mDut.respondToDataPathRequest(tid, accept, ndpId, interfaceName, in validateRespondToDataPathRequest() 774 collector.checkThat("ifaceName", interfaceName, equalTo(nrtdpir.ifaceName)); in validateRespondToDataPathRequest()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | InterfaceMapValue.java | 27 public final byte[] interfaceName; field in InterfaceMapValue 31 interfaceName = new byte[16]; in InterfaceMapValue() 33 System.arraycopy(ifaceArray, 0, interfaceName, 0, ifaceArray.length); in InterfaceMapValue()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | TestNetworkService.java | 123 String interfaceName = iface; in createInterface() local 126 interfaceName = ifacePrefix + sTestTunIndex.getAndIncrement(); in createInterface() 134 ParcelFileDescriptor.adoptFd(jniCreateTunTap(isTun, interfaceName)); in createInterface() 137 interfaceName, in createInterface() 143 NetdUtils.setInterfaceUp(mNetd, interfaceName); in createInterface() 146 return new TestNetworkInterface(tunIntf, interfaceName); in createInterface()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | TestNetworkSpecifier.java | 43 public TestNetworkSpecifier(@NonNull String interfaceName) { in TestNetworkSpecifier() argument 44 if (TextUtils.isEmpty(interfaceName)) { in TestNetworkSpecifier() 47 mInterfaceName = interfaceName; in TestNetworkSpecifier()
|
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/ |
D | ConfigurationUpdater.java | 54 String interfaceName) in updateNetworkConfiguration() argument 60 interfaceName, networkCapabilitiesText, packageNames)) in updateNetworkConfiguration() 63 mEthernetManager.updateConfiguration(interfaceName, request, in updateNetworkConfiguration()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | LinkProbeManager.java | 179 public void updateConnectionStats(WifiInfo wifiInfo, String interfaceName) { in updateConnectionStats() argument 231 interfaceName, in updateConnectionStats() 240 mWifiMetrics.logLinkProbeSuccess(interfaceName, in updateConnectionStats() 249 mWifiMetrics.logLinkProbeFailure(interfaceName, in updateConnectionStats()
|
D | WifiNative.java | 2072 public boolean setStaMacAddress(String interfaceName, MacAddress mac) { 2076 disconnect(interfaceName); 2077 return mWifiVendorHal.setStaMacAddress(interfaceName, mac); 2086 public boolean setApMacAddress(String interfaceName, MacAddress mac) { 2087 return mWifiVendorHal.setApMacAddress(interfaceName, mac); 2095 public boolean isStaSetMacAddressSupported(@NonNull String interfaceName) { 2096 return mWifiVendorHal.isStaSetMacAddressSupported(interfaceName); 2104 public boolean isApSetMacAddressSupported(@NonNull String interfaceName) { 2105 return mWifiVendorHal.isApSetMacAddressSupported(interfaceName); 2113 public MacAddress getStaFactoryMacAddress(@NonNull String interfaceName) { [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | WifiAwareNetworkInfo.java | 160 String interfaceName = in.readString(); 168 if (interfaceName != null) { 170 ni = NetworkInterface.getByName(interfaceName);
|
/packages/modules/NetworkStack/tests/integration/src/android/net/util/ |
D | NetworkStackUtilsIntegrationTest.kt | 107 SocketUtils.bindSocketToInterface(socket, iface.interfaceName) in testAddArpEntry() 109 NetworkStackUtils.addArpEntry(TEST_TARGET_IPV4_ADDR, TEST_TARGET_MAC, iface.interfaceName, in testAddArpEntry() 149 val ifParams = InterfaceParams.getByName(iface.interfaceName) in testAttachRaFilter()
|
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/ |
D | P2pUtils.java | 43 static boolean isOnInterface(String interfaceName, Uri path) { in isOnInterface() argument 44 NetworkInterface networkInterface = toNetworkInterface(interfaceName); in isOnInterface()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | IpSecServiceParameterizedTest.java | 729 eq(createTunnelResp.interfaceName), in testCreateTunnelInterface() 750 verify(mMockNetd).ipSecRemoveTunnelInterface(eq(createTunnelResp.interfaceName)); in testDeleteTunnelInterface() 759 private Network createFakeUnderlyingNetwork(String interfaceName) { in createFakeUnderlyingNetwork() argument 762 fakeLp.setInterfaceName(interfaceName); in createFakeUnderlyingNetwork() 836 verify(mMockNetd).ipSecRemoveTunnelInterface(eq(createTunnelResp.interfaceName)); in testTunnelInterfaceBinderDeath() 976 eq(createTunnelResp.interfaceName), in testAddRemoveAddressFromTunnelInterface() 983 eq(createTunnelResp.interfaceName), in testAddRemoveAddressFromTunnelInterface()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/ |
D | TestableNetworkCallbackTest.kt | 211 interfaceName = TEST_INTERFACE_NAME in <lambda>() 227 lp.interfaceName == TEST_INTERFACE_NAME && in <lambda>() 233 lp.interfaceName != TEST_INTERFACE_NAME in <lambda>() 239 lp.interfaceName == TEST_INTERFACE_NAME in <lambda>()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpReachabilityMonitorTest.kt | 114 interfaceName = TEST_IFACE.name in <lambda>() 132 interfaceName = TEST_IFACE.name in <lambda>() 146 interfaceName = TEST_IFACE.name in <lambda>() 162 interfaceName = TEST_IFACE.name in <lambda>()
|
/packages/modules/Connectivity/service/jni/ |
D | com_android_server_BpfNetMaps.cpp | 141 const std::string interfaceName(ifNameUtf8.c_str()); in native_addUidInterfaceRules() local 142 ifIndex = if_nametoindex(interfaceName.c_str()); in native_addUidInterfaceRules()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTestUtil.java | 188 probe.interfaceName = WifiMetricsTest.TEST_IFACE_NAME; in buildLinkProbeSuccessStaEvent() 200 probe.interfaceName = WifiMetricsTest.TEST_IFACE_NAME; in buildLinkProbeFailureStaEvent()
|