Home
last modified time | relevance | path

Searched refs:UID_ANY (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/appop/
H A DOnOpModeChangedListener.java28 private static final int UID_ANY = -2; field in OnOpModeChangedListener
85 return uid == UID_ANY || mWatchingUid < 0 || mWatchingUid == uid; in isWatchingUid()
H A DAppOpsRestrictionsImpl.java41 private static final int UID_ANY = -2; field in AppOpsRestrictionsImpl
222 … mHandler.post(() -> mAppOpsCheckingServiceInterface.notifyWatchersOfChange(code, UID_ANY)); in notifyAllUserRestrictions()
H A DAppOpsCheckingServiceImpl.java160 private static final int UID_ANY = -2; field in AppOpsCheckingServiceImpl
451 if (uid != UID_ANY && onModeChangedListener.getWatchingUid() >= 0 in notifyOpChanged()
H A DAppOpsService.java222 private static final int UID_ANY = -2; field in AppOpsService
2474 AppOpsService::notifyWatchersOfChange, this, code, UID_ANY)); in setAudioRestriction()
2486 AppOpsManager.OP_PLAY_AUDIO, UID_ANY)); in setCameraAudioRestriction()
2489 AppOpsManager.OP_VIBRATE, UID_ANY)); in setCameraAudioRestriction()
5565 AppOpsService::notifyWatchersOfChange, this, code, UID_ANY));
6230 UID_ANY));
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
H A DAppOpsLegacyRestrictionsTest.java38 private static final int UID_ANY = -2; field in AppOpsLegacyRestrictionsTest
275 .notifyWatchersOfChange(mOpCode1, UID_ANY); in testNotify()
/aosp14/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
H A DAppOpService.kt258 if (uid != UID_ANY &&
486 private const val UID_ANY = -2