Searched refs:UID_ANY (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/appop/ |
D | OnOpModeChangedListener.java | 31 private static final int UID_ANY = -2; field in OnOpModeChangedListener 88 return uid == UID_ANY || mWatchingUid < 0 || mWatchingUid == uid; in isWatchingUid()
|
D | AppOpsRestrictionsImpl.java | 41 private static final int UID_ANY = -2; field in AppOpsRestrictionsImpl
|
D | AppOpsService.java | 236 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/ |
D | AppOpsLegacyRestrictionsTest.java | 38 private static final int UID_ANY = -2; field in AppOpsLegacyRestrictionsTest
|