Searched refs:connectionInfo (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/util/ |
D | NtpTrustedTime.java | 144 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/ |
D | WifiServiceImplTest.java | 1333 WifiInfo connectionInfo = mWifiServiceImpl.getConnectionInfo(TEST_PACKAGE); in testConnectedIdsAreHiddenFromAppWithoutPermission() local 1335 assertEquals(WifiSsid.NONE, connectionInfo.getSSID()); in testConnectedIdsAreHiddenFromAppWithoutPermission() 1336 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenFromAppWithoutPermission() 1337 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, connectionInfo.getNetworkId()); in testConnectedIdsAreHiddenFromAppWithoutPermission() 1351 WifiInfo connectionInfo = mWifiServiceImpl.getConnectionInfo(TEST_PACKAGE); in testConnectedIdsAreHiddenOnSecurityException() local 1353 assertEquals(WifiSsid.NONE, connectionInfo.getSSID()); in testConnectedIdsAreHiddenOnSecurityException() 1354 assertEquals(WifiInfo.DEFAULT_MAC_ADDRESS, connectionInfo.getBSSID()); in testConnectedIdsAreHiddenOnSecurityException() 1355 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, connectionInfo.getNetworkId()); in testConnectedIdsAreHiddenOnSecurityException() 1366 WifiInfo connectionInfo = mWifiServiceImpl.getConnectionInfo(TEST_PACKAGE); in testConnectedIdsAreVisibleFromPermittedApp() local 1368 assertEquals(TEST_SSID_WITH_QUOTES, connectionInfo.getSSID()); in testConnectedIdsAreVisibleFromPermittedApp() [all …]
|
D | ClientModeImplTest.java | 2273 WifiInfo connectionInfo = mCmi.syncRequestConnectionInfo(); in testConnectedIdsAreVisibleFromSystemServer() local 2275 assertNotEquals(wifiInfo, connectionInfo); in testConnectedIdsAreVisibleFromSystemServer() 2276 assertEquals(wifiInfo.getSSID(), connectionInfo.getSSID()); in testConnectedIdsAreVisibleFromSystemServer() 2277 assertEquals(wifiInfo.getBSSID(), connectionInfo.getBSSID()); in testConnectedIdsAreVisibleFromSystemServer() 2278 assertEquals(wifiInfo.getMacAddress(), connectionInfo.getMacAddress()); in testConnectedIdsAreVisibleFromSystemServer()
|
/frameworks/base/core/java/android/net/ |
D | IConnectivityManager.aidl | 224 int getConnectionOwnerUid(in ConnectionInfo connectionInfo); in getConnectionOwnerUid() argument
|
D | ConnectivityManager.java | 4765 ConnectionInfo connectionInfo = new ConnectionInfo(protocol, local, remote); in getConnectionOwnerUid() local 4767 return mService.getConnectionOwnerUid(connectionInfo); in getConnectionOwnerUid()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 7716 public int getConnectionOwnerUid(ConnectionInfo connectionInfo) { in getConnectionOwnerUid() argument 7725 if (connectionInfo.protocol != IPPROTO_TCP && connectionInfo.protocol != IPPROTO_UDP) { in getConnectionOwnerUid() 7726 throw new IllegalArgumentException("Unsupported protocol " + connectionInfo.protocol); in getConnectionOwnerUid() 7729 final int uid = InetDiagMessage.getConnectionOwnerUid(connectionInfo.protocol, in getConnectionOwnerUid() 7730 connectionInfo.local, connectionInfo.remote); in getConnectionOwnerUid()
|