Home
last modified time | relevance | path

Searched refs:connectionInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/util/
DNtpTrustedTime.java144 NtpConnectionInfo connectionInfo = getNtpConnectionInfo(); in forceRefresh() local
145 if (connectionInfo == null) { in forceRefresh()
165 final String serverName = connectionInfo.getServer(); in forceRefresh()
166 final int timeoutMillis = connectionInfo.getTimeoutMillis(); in forceRefresh()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java1630 WifiInfo connectionInfo = mWifiServiceImpl.getConnectionInfo(TEST_PACKAGE, TEST_FEATURE_ID); in testConnectedIdsAreHiddenFromAppWithoutPermission() local
1632 assertEquals(WifiManager.UNKNOWN_SSID, connectionInfo.getSSID()); in testConnectedIdsAreHiddenFromAppWithoutPermission()
1633 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenFromAppWithoutPermission()
1634 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, connectionInfo.getNetworkId()); in testConnectedIdsAreHiddenFromAppWithoutPermission()
1635 assertNull(connectionInfo.getPasspointFqdn()); in testConnectedIdsAreHiddenFromAppWithoutPermission()
1636 assertNull(connectionInfo.getPasspointProviderFriendlyName()); in testConnectedIdsAreHiddenFromAppWithoutPermission()
1650 WifiInfo connectionInfo = mWifiServiceImpl.getConnectionInfo(TEST_PACKAGE, TEST_FEATURE_ID); in testConnectedIdsAreHiddenOnSecurityException() local
1652 assertEquals(WifiManager.UNKNOWN_SSID, connectionInfo.getSSID()); in testConnectedIdsAreHiddenOnSecurityException()
1653 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenOnSecurityException()
1654 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, connectionInfo.getNetworkId()); in testConnectedIdsAreHiddenOnSecurityException()
[all …]
DClientModeImplTest.java2407 WifiInfo connectionInfo = mCmi.syncRequestConnectionInfo(); in testConnectedIdsAreVisibleFromSystemServer() local
2409 assertNotEquals(wifiInfo, connectionInfo); in testConnectedIdsAreVisibleFromSystemServer()
2410 assertEquals(wifiInfo.getSSID(), connectionInfo.getSSID()); in testConnectedIdsAreVisibleFromSystemServer()
2411 assertEquals(wifiInfo.getBSSID(), connectionInfo.getBSSID()); in testConnectedIdsAreVisibleFromSystemServer()
2412 assertEquals(wifiInfo.getMacAddress(), connectionInfo.getMacAddress()); in testConnectedIdsAreVisibleFromSystemServer()
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl223 int getConnectionOwnerUid(in ConnectionInfo connectionInfo); in getConnectionOwnerUid() argument
DConnectivityManager.java4724 ConnectionInfo connectionInfo = new ConnectionInfo(protocol, local, remote); in getConnectionOwnerUid() local
4726 return mService.getConnectionOwnerUid(connectionInfo); in getConnectionOwnerUid()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java7731 public int getConnectionOwnerUid(ConnectionInfo connectionInfo) { in getConnectionOwnerUid() argument
7740 if (connectionInfo.protocol != IPPROTO_TCP && connectionInfo.protocol != IPPROTO_UDP) { in getConnectionOwnerUid()
7741 throw new IllegalArgumentException("Unsupported protocol " + connectionInfo.protocol); in getConnectionOwnerUid()
7744 final int uid = InetDiagMessage.getConnectionOwnerUid(connectionInfo.protocol, in getConnectionOwnerUid()
7745 connectionInfo.local, connectionInfo.remote); in getConnectionOwnerUid()