Home
last modified time | relevance | path

Searched refs:getRestrictBackgroundStatus (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DMyServiceClient.java107 public String getRestrictBackgroundStatus() throws RemoteException { in getRestrictBackgroundStatus() method in MyServiceClient
109 return mService.getRestrictBackgroundStatus(); in getRestrictBackgroundStatus()
DNetworkPolicyTestUtils.java356 final int actualStatus = getConnectivityManager().getRestrictBackgroundStatus();
401 final int actualStatus = getConnectivityManager().getRestrictBackgroundStatus();
DAbstractRestrictBackgroundNetworkTestCase.java337 final String status = mServiceClient.getRestrictBackgroundStatus(); in assertRestrictBackgroundStatus()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app2/src/com/android/cts/netpolicy/hostside/app2/
DMyService.java89 public String getRestrictBackgroundStatus() {
90 return MyBroadcastReceiver.getRestrictBackgroundStatus(getApplicationContext());
DMyBroadcastReceiver.java113 static String getRestrictBackgroundStatus(Context context) { in getRestrictBackgroundStatus() method in MyBroadcastReceiver
116 final int apiStatus = cm.getRestrictBackgroundStatus(); in getRestrictBackgroundStatus()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/aidl/com/android/cts/netpolicy/hostside/
DIMyService.aidl28 String getRestrictBackgroundStatus(); in getRestrictBackgroundStatus() method
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSBpfNetMapsTest.kt73 doReturn(status).`when`(context.networkPolicyManager).getRestrictBackgroundStatus(anyInt()) in mockDataSaverStatus()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java1351 final boolean isDataSaverEnabled = connMgr.getRestrictBackgroundStatus() in handleDataSaverChanged()
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java5685 public @RestrictBackgroundStatus int getRestrictBackgroundStatus() { in getRestrictBackgroundStatus() method in ConnectivityManager
/packages/modules/Connectivity/framework/api/
Dcurrent.txt86 method public int getRestrictBackgroundStatus();
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java2574 doReturn(status).when(mCm).getRestrictBackgroundStatus(); in setDataSaverEnabled()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java3159 return mPolicyManager.getRestrictBackgroundStatus(callerUid);
7492 mPolicyManager.getRestrictBackgroundStatus(Process.SYSTEM_UID);