Home
last modified time | relevance | path

Searched refs:ACTION_RESTRICT_BACKGROUND_CHANGED (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSBpfNetMapsTest.kt20 import android.net.ConnectivityManager.ACTION_RESTRICT_BACKGROUND_CHANGED
78 context.sendBroadcast(Intent(ACTION_RESTRICT_BACKGROUND_CHANGED)) in mockDataSaverStatus()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app2/src/com/android/cts/netpolicy/hostside/app2/
DMyService.java18 import static android.net.ConnectivityManager.ACTION_RESTRICT_BACKGROUND_CHANGED;
72 new IntentFilter(ACTION_RESTRICT_BACKGROUND_CHANGED), flags);
DMyBroadcastReceiver.java19 import static android.net.ConnectivityManager.ACTION_RESTRICT_BACKGROUND_CHANGED;
76 case ACTION_RESTRICT_BACKGROUND_CHANGED: in onReceive()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java23 import static android.net.ConnectivityManager.ACTION_RESTRICT_BACKGROUND_CHANGED;
281 count = getNumberBroadcastsReceived(receiverName, ACTION_RESTRICT_BACKGROUND_CHANGED); in assertRestrictBackgroundChangedReceived()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java26 import static android.net.ConnectivityManager.ACTION_RESTRICT_BACKGROUND_CHANGED;
477 filter.addAction(ACTION_RESTRICT_BACKGROUND_CHANGED); in startStateMachineUpdaters()
1190 } else if (action.equals(ACTION_RESTRICT_BACKGROUND_CHANGED)) { in onReceive()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java25 import static android.net.ConnectivityManager.ACTION_RESTRICT_BACKGROUND_CHANGED;
2576 final Intent intent = new Intent(ACTION_RESTRICT_BACKGROUND_CHANGED); in setDataSaverEnabled()
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java5664 public static final String ACTION_RESTRICT_BACKGROUND_CHANGED = field in ConnectivityManager
/packages/modules/Connectivity/framework/api/
Dcurrent.txt112 …field public static final String ACTION_RESTRICT_BACKGROUND_CHANGED = "android.net.conn.RESTRICT_B…
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java37 import static android.net.ConnectivityManager.ACTION_RESTRICT_BACKGROUND_CHANGED;
1965 new IntentFilter(ACTION_RESTRICT_BACKGROUND_CHANGED);
7487 case ACTION_RESTRICT_BACKGROUND_CHANGED: