Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/hostside/app2/src/com/android/cts/net/hostside/app2/
DMyService.java18 import static android.net.ConnectivityManager.ACTION_RESTRICT_BACKGROUND_CHANGED;
70 new IntentFilter(ACTION_RESTRICT_BACKGROUND_CHANGED));
DMyBroadcastReceiver.java19 import static android.net.ConnectivityManager.ACTION_RESTRICT_BACKGROUND_CHANGED;
83 case ACTION_RESTRICT_BACKGROUND_CHANGED: in onReceive()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java19 import static android.net.ConnectivityManager.ACTION_RESTRICT_BACKGROUND_CHANGED;
210 count = getNumberBroadcastsReceived(receiverName, ACTION_RESTRICT_BACKGROUND_CHANGED); in assertRestrictBackgroundChangedReceived()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java27 import static android.net.ConnectivityManager.ACTION_RESTRICT_BACKGROUND_CHANGED;
417 filter.addAction(ACTION_RESTRICT_BACKGROUND_CHANGED); in startStateMachineUpdaters()
1022 } 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;
2083 final Intent intent = new Intent(ACTION_RESTRICT_BACKGROUND_CHANGED); in setDataSaverEnabled()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt112 …field public static final String ACTION_RESTRICT_BACKGROUND_CHANGED = "android.net.conn.RESTRICT_B…
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java5063 public static final String ACTION_RESTRICT_BACKGROUND_CHANGED = field in ConnectivityManager