/frameworks/base/services/tests/VpnTests/java/com/android/server/net/ |
D | LockdownVpnTrackerTest.java | 36 import android.net.ConnectivityManager.NetworkCallback; 118 private NetworkCallback getDefaultNetworkCallback() { in getDefaultNetworkCallback() 119 final ArgumentCaptor<NetworkCallback> callbackCaptor = in getDefaultNetworkCallback() 120 ArgumentCaptor.forClass(NetworkCallback.class); in getDefaultNetworkCallback() 125 private NetworkCallback getVpnNetworkCallback() { in getVpnNetworkCallback() 126 final ArgumentCaptor<NetworkCallback> callbackCaptor = in getVpnNetworkCallback() 127 ArgumentCaptor.forClass(NetworkCallback.class); in getVpnNetworkCallback() 171 private void callCallbacksForNetworkConnect(NetworkCallback callback, Network network, in callCallbacksForNetworkConnect() 179 private void callCallbacksForNetworkConnect(NetworkCallback callback, Network network) { in callCallbacksForNetworkConnect() 200 final NetworkCallback defaultCallback = getDefaultNetworkCallback(); in testShutdown() [all …]
|
/frameworks/base/services/core/java/com/android/server/vcn/routeselection/ |
D | UnderlyingNetworkController.java | 32 import android.net.ConnectivityManager.NetworkCallback; 92 @NonNull private final List<NetworkCallback> mCellBringupCallbacks = new ArrayList<>(); 93 @Nullable private NetworkCallback mWifiBringupCallback; 94 @Nullable private NetworkCallback mWifiEntryRssiThresholdCallback; 95 @Nullable private NetworkCallback mWifiExitRssiThresholdCallback; 200 NetworkCallback oldRouteSelectionCallback = mRouteSelectionCallback; in registerOrUpdateNetworkRequests() 201 NetworkCallback oldWifiCallback = mWifiBringupCallback; in registerOrUpdateNetworkRequests() 202 NetworkCallback oldWifiEntryRssiThresholdCallback = mWifiEntryRssiThresholdCallback; in registerOrUpdateNetworkRequests() 203 NetworkCallback oldWifiExitRssiThresholdCallback = mWifiExitRssiThresholdCallback; in registerOrUpdateNetworkRequests() 204 List<NetworkCallback> oldCellCallbacks = new ArrayList<>(mCellBringupCallbacks); in registerOrUpdateNetworkRequests() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DefaultNetworkMonitor.java | 23 import android.net.ConnectivityManager.NetworkCallback; 40 @Nullable private NetworkCallback mDefaultNetworkCallback; 44 private final class DefaultNetworkCallback extends NetworkCallback {
|
/frameworks/base/core/java/com/android/server/net/ |
D | NetworkPinner.java | 21 import android.net.ConnectivityManager.NetworkCallback; 60 public class NetworkPinner extends NetworkCallback { 88 private static class Callback extends NetworkCallback {
|
/frameworks/layoutlib/bridge/src/android/net/ |
D | ConnectivityManager.java | 696 public static class NetworkCallback { class in ConnectivityManager 762 @NonNull NetworkCallback networkCallback) {} in requestNetwork() 765 @NonNull NetworkCallback networkCallback) {} in requestNetwork() 768 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) {} in requestNetwork() 771 @NonNull NetworkCallback networkCallback, int timeoutMs) {} in requestNetwork() 774 @NonNull NetworkCallback networkCallback, @NonNull Handler handler, int timeoutMs) {} in requestNetwork() 787 @NonNull NetworkCallback networkCallback) {} in registerNetworkCallback() 790 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) {} in registerNetworkCallback() 795 public void registerDefaultNetworkCallback(@NonNull NetworkCallback networkCallback) {} in registerDefaultNetworkCallback() 797 public void registerDefaultNetworkCallback(@NonNull NetworkCallback networkCallback, in registerDefaultNetworkCallback() [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 71 @NonNull private final NetworkCallback mDefaultNetworkCallback = new NetworkCallback(); 74 private class NetworkCallback extends ConnectivityManager.NetworkCallback { class in LockdownVpnTracker 115 private class VpnNetworkCallback extends NetworkCallback {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 23 import android.net.ConnectivityManager.NetworkCallback; 78 private final NetworkCallback mNetworkCallback = 79 new NetworkCallback(NetworkCallback.FLAG_INCLUDE_LOCATION_INFO) { 134 private final NetworkCallback mDefaultNetworkCallback = 135 new NetworkCallback(NetworkCallback.FLAG_INCLUDE_LOCATION_INFO) {
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | ConnectivityControllerTest.java | 72 import android.net.ConnectivityManager.NetworkCallback; 474 final ArgumentCaptor<NetworkCallback> callbackCaptor = in testStrongEnough_Cellular() 475 ArgumentCaptor.forClass(NetworkCallback.class); in testStrongEnough_Cellular() 506 final NetworkCallback generalCallback = callbackCaptor.getValue(); in testStrongEnough_Cellular() 648 final ArgumentCaptor<NetworkCallback> callbackCaptor = in testStrongEnough_Cellular_CheckDisabled() 649 ArgumentCaptor.forClass(NetworkCallback.class); in testStrongEnough_Cellular_CheckDisabled() 680 final NetworkCallback generalCallback = callbackCaptor.getValue(); in testStrongEnough_Cellular_CheckDisabled() 821 final ArgumentCaptor<NetworkCallback> callbackCaptor = in testStrongEnough_Cellular_VPN() 822 ArgumentCaptor.forClass(NetworkCallback.class); in testStrongEnough_Cellular_VPN() 854 final NetworkCallback generalCallback = callbackCaptor.getValue(); in testStrongEnough_Cellular_VPN() [all …]
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | BaseWifiTracker.java | 180 private final ConnectivityManager.NetworkCallback mNetworkCallback = 181 new ConnectivityManager.NetworkCallback( 182 ConnectivityManager.NetworkCallback.FLAG_INCLUDE_LOCATION_INFO) { 204 private final ConnectivityManager.NetworkCallback mDefaultNetworkCallback = 205 new ConnectivityManager.NetworkCallback( 206 ConnectivityManager.NetworkCallback.FLAG_INCLUDE_LOCATION_INFO) {
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssNetworkConnectivityHandler.java | 181 private ConnectivityManager.NetworkCallback mNetworkConnectivityCallback; 188 private ConnectivityManager.NetworkCallback mSuplConnectivityCallback; 367 private ConnectivityManager.NetworkCallback createNetworkConnectivityCallback() { in createNetworkConnectivityCallback() 368 return new ConnectivityManager.NetworkCallback() { in createNetworkConnectivityCallback() 419 private ConnectivityManager.NetworkCallback createSuplConnectivityCallback() { in createSuplConnectivityCallback() 420 return new ConnectivityManager.NetworkCallback() { in createSuplConnectivityCallback()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiStatusTrackerTest.java | 55 private final ArgumentCaptor<ConnectivityManager.NetworkCallback> 57 ArgumentCaptor.forClass(ConnectivityManager.NetworkCallback.class); 59 private final ArgumentCaptor<ConnectivityManager.NetworkCallback> 61 ArgumentCaptor.forClass(ConnectivityManager.NetworkCallback.class);
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 28 import android.net.ConnectivityManager.NetworkCallback; 78 private NetworkCallback mNetworkCallback; 286 mNetworkCallback = new ConnectivityManager.NetworkCallback() { in requestNetworkForCaptivePortal()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 42 import android.net.ConnectivityManager.NetworkCallback; 220 ), any(NetworkCallback.class)); in testNetworkRequest()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerBaseTest.java | 142 private ConnectivityManager.NetworkCallback mDefaultCallbackInWifiTracker; 143 private ConnectivityManager.NetworkCallback mDefaultCallbackInNetworkController; 144 private ConnectivityManager.NetworkCallback mNetworkCallback; 287 ArgumentCaptor<ConnectivityManager.NetworkCallback> callbackArg = in setupNetworkController() 288 ArgumentCaptor.forClass(ConnectivityManager.NetworkCallback.class); in setupNetworkController()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 41 import android.net.ConnectivityManager.NetworkCallback; 114 private NetworkCallback mMobileNetworkCallback; 476 mMobileNetworkCallback = new ConnectivityManager.NetworkCallback() { in registerTrackMobileCallback()
|
D | VpnIkev2Utils.java | 19 import static android.net.ConnectivityManager.NetworkCallback; 395 static class Ikev2VpnNetworkCallback extends NetworkCallback {
|
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/ |
D | ConnectivitySetupRule.java | 109 private class NetworkTracker extends ConnectivityManager.NetworkCallback {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 37 import android.net.ConnectivityManager.NetworkCallback; 529 private final NetworkCallback mNetworkCallback = new NetworkCallback() {
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowManager.java | 218 private ConnectivityManager.NetworkCallback mNetworkCallback; 307 ConnectivityManager.NetworkCallback networkCallback) { in requestNetworkWithInternet() 323 public void stopRequestingNetwork(ConnectivityManager.NetworkCallback networkCallback) { in stopRequestingNetwork() 597 new ConnectivityManager.NetworkCallback() { in loadRebootEscrowDataOnInternet()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | MobileConnectionRepositoryTest.kt | 23 import android.net.ConnectivityManager.NetworkCallback 1083 val callback: NetworkCallback = in hasPrioritizedCaps_trueWhenAvailable() 1084 withArgCaptor<NetworkCallback> { in hasPrioritizedCaps_trueWhenAvailable() 1098 val callback: NetworkCallback = in hasPrioritizedCaps_becomesFalseWhenNetworkLost() 1099 withArgCaptor<NetworkCallback> { in hasPrioritizedCaps_becomesFalseWhenNetworkLost()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | SavedNetworkTrackerTest.java | 100 private final ArgumentCaptor<ConnectivityManager.NetworkCallback> mNetworkCallbackCaptor = 101 ArgumentCaptor.forClass(ConnectivityManager.NetworkCallback.class); 102 private final ArgumentCaptor<ConnectivityManager.NetworkCallback> 104 ArgumentCaptor.forClass(ConnectivityManager.NetworkCallback.class);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | TelephonyCountryDetector.java | 505 ConnectivityManager.NetworkCallback networkCallback = in registerForWifiConnectivityStateChanged() 506 new ConnectivityManager.NetworkCallback() { in registerForWifiConnectivityStateChanged()
|
D | CarrierSignalAgent.java | 125 private ConnectivityManager.NetworkCallback mNetworkCallback; 157 mNetworkCallback = new ConnectivityManager.NetworkCallback() { in handleMessage()
|
D | DeviceStateMonitor.java | 113 private final ConnectivityManager.NetworkCallback mNetworkCallback = 114 new ConnectivityManager.NetworkCallback() {
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyCountryDetectorTest.java | 79 private ArgumentCaptor<ConnectivityManager.NetworkCallback> mNetworkCallbackCaptor; 148 any(NetworkRequest.class), any(ConnectivityManager.NetworkCallback.class)); in testGetInstance()
|