Home
last modified time | relevance | path

Searched refs:gateway (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiGatewayPreferenceController.java42 String gateway = null; in updateState() local
45 gateway = routeInfo.getGateway().getHostAddress(); in updateState()
50 if (gateway == null) { in updateState()
53 preference.setDetailText(gateway); in updateState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DAdvancedOptionsFlowUtil.java129 String gateway = flowInfo.get(AdvancedOptionsFlowInfo.GATEWAY); in processIpSettings() local
130 if (!TextUtils.isEmpty(gateway)) { in processIpSettings()
132 staticConfig.gateway = in processIpSettings()
133 NetworkUtils.numericToInetAddress(gateway); in processIpSettings()
/packages/modules/NetworkStack/src/com/android/server/
DNetworkObserverRegistry.java166 public void onRouteChanged(boolean updated, String route, String gateway, String ifName) { in onRouteChanged() argument
168 ("".equals(gateway)) ? null : InetAddresses.parseNumericAddress(gateway), in onRouteChanged()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpResultsParcelableUtilTest.java52 mDhcpResults.gateway = parseNumericAddress("192.168.42.42"); in setUp()
79 mDhcpResults.gateway = null; in testParcelUnparcelDhcpResults_NullGateway()
DDhcpPacketTest.java310 private void assertDhcpResults(String ipAddress, String gateway, String dnsServersString, in assertDhcpResults() argument
315 assertEquals(v4Address(gateway), dhcpResults.gateway); in assertDhcpResults()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java911 String gateway = mGatewayView.getText().toString(); in validateIpConfigFields() local
912 if (TextUtils.isEmpty(gateway)) { in validateIpConfigFields()
923 InetAddress gatewayAddr = getIPv4Address(gateway); in validateIpConfigFields()
930 staticIpConfiguration.gateway = gatewayAddr; in validateIpConfigFields()
1294 mGatewayView = (TextView) mView.findViewById(R.id.gateway); in showIpConfigFields()
1314 if (staticConfig.gateway != null) { in showIpConfigFields()
1315 mGatewayView.setText(staticConfig.gateway.getHostAddress()); in showIpConfigFields()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiConfigController.java881 String gateway = mGatewayView.getText().toString(); in validateIpConfigFields() local
882 if (TextUtils.isEmpty(gateway)) { in validateIpConfigFields()
893 InetAddress gatewayAddr = getIPv4Address(gateway); in validateIpConfigFields()
900 staticIpConfiguration.gateway = gatewayAddr; in validateIpConfigFields()
1237 mGatewayView = (TextView) mView.findViewById(R.id.gateway); in showIpConfigFields()
1257 if (staticConfig.gateway != null) { in showIpConfigFields()
1258 mGatewayView.setText(staticConfig.gateway.getHostAddress()); in showIpConfigFields()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/
DInitialConfigurationParcelable.aidl23 String gateway;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/
DInitialConfigurationParcelable.aidl23 String gateway;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/
DInitialConfigurationParcelable.aidl23 String gateway;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/
DInitialConfigurationParcelable.aidl6 String gateway;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/
DInitialConfigurationParcelable.aidl23 String gateway;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/
DInitialConfigurationParcelable.aidl6 String gateway;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/
DInitialConfigurationParcelable.aidl23 String gateway;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/
DInitialConfigurationParcelable.aidl6 String gateway;
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/
DInitialConfigurationParcelable.aidl26 String gateway;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/gateway/
DSettingsGateway.java17 package com.android.car.developeroptions.core.gateway;
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java788 String gateway = null; in refreshIpLayerInfo() local
791 gateway = routeInfo.getGateway().getHostAddress(); in refreshIpLayerInfo()
804 updatePreference(mGatewayPref, gateway); in refreshIpLayerInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/
DWifiDetailPreferenceController.java794 String gateway = null; in refreshIpLayerInfo() local
797 gateway = routeInfo.getGateway().getHostAddress(); in refreshIpLayerInfo()
810 updatePreference(mGatewayPref, gateway); in refreshIpLayerInfo()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DAdvancedOptionsFlowInfo.java185 return mIpConfiguration.getStaticIpConfiguration().gateway; in getInitialGateway()
/packages/apps/Settings/tests/unit/src/com/android/settings/core/
DSettingsGatewayTest.java46 import com.android.settings.core.gateway.SettingsGateway;
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java601 static RouteInfo defaultIPV6Route(String gateway) { in defaultIPV6Route() argument
603 InetAddresses.parseNumericAddress(gateway), TEST_IFNAME); in defaultIPV6Route()
/packages/apps/Settings/src/com/android/settings/core/gateway/
DSettingsGateway.java17 package com.android.settings.core.gateway;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsActivity.java59 import com.android.car.developeroptions.core.gateway.SettingsGateway;
/packages/apps/Settings/src/com/android/settings/
DSettingsActivity.java57 import com.android.settings.core.gateway.SettingsGateway;

12