Searched refs:UID_ANY (Results 1 – 6 of 6) sorted by relevance
/aosp14/frameworks/base/services/core/java/com/android/server/appop/ |
H A D | OnOpModeChangedListener.java | 28 private static final int UID_ANY = -2; field in OnOpModeChangedListener 85 return uid == UID_ANY || mWatchingUid < 0 || mWatchingUid == uid; in isWatchingUid()
|
H A D | AppOpsRestrictionsImpl.java | 41 private static final int UID_ANY = -2; field in AppOpsRestrictionsImpl 222 … mHandler.post(() -> mAppOpsCheckingServiceInterface.notifyWatchersOfChange(code, UID_ANY)); in notifyAllUserRestrictions()
|
H A D | AppOpsCheckingServiceImpl.java | 160 private static final int UID_ANY = -2; field in AppOpsCheckingServiceImpl 451 if (uid != UID_ANY && onModeChangedListener.getWatchingUid() >= 0 in notifyOpChanged()
|
H A D | AppOpsService.java | 222 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 D | AppOpsLegacyRestrictionsTest.java | 38 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 D | AppOpService.kt | 258 if (uid != UID_ANY && 486 private const val UID_ANY = -2
|