Home
last modified time | relevance | path

Searched refs:OP_VIBRATE (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/appop/
DAudioRestrictionManager.java61 CAMERA_AUDIO_RESTRICTIONS.append(AppOpsManager.OP_VIBRATE, vibrationMutedUsages); in CAMERA_AUDIO_RESTRICTIONS.append() argument
74 if (code == AppOpsManager.OP_VIBRATE || (code == AppOpsManager.OP_PLAY_AUDIO && in checkAudioOperation()
DAppOpsService.java2941 AppOpsManager.OP_VIBRATE, UID_ANY)); in setCameraAudioRestriction()
/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h45 OP_VIBRATE = 3, enumerator
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java375 AudioAttributes.USAGE_ASSISTANCE_SONIFICATION, AppOpsManager.OP_VIBRATE); in testTotalSilence()
441 AppOpsManager.OP_VIBRATE); in testZenAllCannotBypass()
461 eq(AppOpsManager.OP_VIBRATE), eq(usage), anyInt(), eq(new String[]{PKG_O})); in testApplyRestrictions_whitelist_priorityOnlyMode()
476 eq(AppOpsManager.OP_VIBRATE), eq(usage), anyInt(), eq(null)); in testApplyRestrictions_whitelist_alarmsOnlyMode()
491 eq(AppOpsManager.OP_VIBRATE), eq(usage), anyInt(), eq(null)); in testApplyRestrictions_whitelist_totalSilenceMode()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java1070 int mode = mAppOps.checkAudioOpNoThrow(AppOpsManager.OP_VIBRATE, in getAppOpMode()
1073 mode = mAppOps.startOpNoThrow(AppOpsManager.OP_VIBRATE, vib.uid, vib.opPkg); in getAppOpMode()
1120 mAppOps.finishOp(AppOpsManager.OP_VIBRATE, mCurrentVibration.uid, in reportFinishVibrationLocked()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1066 applyRestrictions(zenPriorityOnly, false, usage, AppOpsManager.OP_VIBRATE); in applyRestrictions()
1091 applyRestrictions(zenPriorityOnly, mute, usage, AppOpsManager.OP_VIBRATE); in applyRestrictions()
/frameworks/base/core/java/android/app/
DAppOpsManager.java808 public static final int OP_VIBRATE = AppProtoEnums.APP_OP_VIBRATE; field in AppOpsManager
1539 OP_VIBRATE, // VIBRATE