Searched refs:TOP_THRESHOLD_STATE (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 190 public static final int TOP_THRESHOLD_STATE = ActivityManager.PROCESS_STATE_BOUND_TOP; field in NetworkPolicyManager 843 return uidState.procState <= TOP_THRESHOLD_STATE;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 68 import static android.net.NetworkPolicyManager.TOP_THRESHOLD_STATE; 2363 callOnUidStatechanged(UID_A, TOP_THRESHOLD_STATE + 1, testProcStateSeq++, in testUidObserverFiltersProcStateChanges() 2370 callOnUidStatechanged(UID_A, TOP_THRESHOLD_STATE, testProcStateSeq++, in testUidObserverFiltersProcStateChanges() 2378 callOnUidStatechanged(UID_A, TOP_THRESHOLD_STATE - 1, testProcStateSeq++, in testUidObserverFiltersProcStateChanges() 2439 callAndWaitOnUidStateChanged(UID_A, TOP_THRESHOLD_STATE, testProcStateSeq++, in testUidObserverFiltersCapabilityChanges() 2443 callOnUidStatechanged(UID_A, TOP_THRESHOLD_STATE, testProcStateSeq++, in testUidObserverFiltersCapabilityChanges()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 108 import static android.net.NetworkPolicyManager.TOP_THRESHOLD_STATE; 1269 if ((previousProcState <= TOP_THRESHOLD_STATE) 1270 || (newProcState <= TOP_THRESHOLD_STATE)) { 6903 if (procState <= NetworkPolicyManager.TOP_THRESHOLD_STATE) {
|