Home
last modified time | relevance | path

Searched refs:UID_STATE_MAX_LAST_NON_RESTRICTED (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsUidStateTrackerImpl.java36 import static android.app.AppOpsManager.UID_STATE_MAX_LAST_NON_RESTRICTED;
243 || (uidState <= UID_STATE_MAX_LAST_NON_RESTRICTED in updateUidProcState()
244 && prevUidState > UID_STATE_MAX_LAST_NON_RESTRICTED)) { in updateUidProcState()
252 } else if (uidState <= UID_STATE_MAX_LAST_NON_RESTRICTED) { in updateUidProcState()
348 boolean foregroundChange = uidState <= UID_STATE_MAX_LAST_NON_RESTRICTED in commitUidPendingState()
349 != pendingUidState <= UID_STATE_MAX_LAST_NON_RESTRICTED in commitUidPendingState()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsUidStateTrackerTest.java32 import static android.app.AppOpsManager.UID_STATE_MAX_LAST_NON_RESTRICTED;
118 assertEquals(UID_STATE_MAX_LAST_NON_RESTRICTED, in testConstantFirstUnrestrictedUidState()
816 boolean foregroundChange = initialUidState <= UID_STATE_MAX_LAST_NON_RESTRICTED in testUidStateChangedCallback()
817 != finalUidState <= UID_STATE_MAX_LAST_NON_RESTRICTED; in testUidStateChangedCallback()
819 finalUidState > UID_STATE_MAX_LAST_NON_RESTRICTED in testUidStateChangedCallback()
/frameworks/base/core/java/android/app/
DAppOpsManager.java540 public static final int UID_STATE_MAX_LAST_NON_RESTRICTED = UID_STATE_FOREGROUND; field in AppOpsManager
584 return UID_STATE_MAX_LAST_NON_RESTRICTED; in resolveFirstUnrestrictedUidState()