Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/appop/
DOnOpModeChangedListener.java31 private static final int UID_ANY = -2; field in OnOpModeChangedListener
88 return uid == UID_ANY || mWatchingUid < 0 || mWatchingUid == uid; in isWatchingUid()
DAppOpsRestrictionsImpl.java41 private static final int UID_ANY = -2; field in AppOpsRestrictionsImpl
DAppOpsService.java236 private static final int UID_ANY = -2; field in AppOpsService
1003 code -> notifyWatchersOnDefaultDevice(code, UID_ANY)); in AppOpsService()
2390 if (uid != UID_ANY && onModeChangedListener.getWatchingUid() >= 0 in notifyOpChanged()
2927 AppOpsService::notifyWatchersOnDefaultDevice, this, code, UID_ANY)); in setAudioRestriction()
2940 AppOpsManager.OP_PLAY_AUDIO, UID_ANY)); in setCameraAudioRestriction()
2943 AppOpsManager.OP_VIBRATE, UID_ANY)); in setCameraAudioRestriction()
6463 AppOpsService::notifyWatchersOnDefaultDevice, this, code, UID_ANY));
7159 code, UID_ANY));
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsLegacyRestrictionsTest.java38 private static final int UID_ANY = -2; field in AppOpsLegacyRestrictionsTest