Searched refs:OP_VIBRATE (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AudioRestrictionManager.java | 61 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()
|
D | AppOpsService.java | 49 import static android.app.AppOpsManager.OP_VIBRATE; 270 OP_VIBRATE, 3321 AppOpsManager.OP_VIBRATE, UID_ANY)); in setCameraAudioRestriction()
|
/frameworks/native/libs/permission/include/binder/ |
D | AppOpsManager.h | 46 OP_VIBRATE = 3, enumerator
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | VibratorManagerServiceTest.java | 695 verify(mAppOpsManagerMock).checkAudioOpNoThrow(eq(AppOpsManager.OP_VIBRATE), in vibrate_withAudioAttributes_usesOriginalAudioUsageInAppOpsManager() 715 inOrderVerifier.verify(mAppOpsManagerMock).checkAudioOpNoThrow(eq(AppOpsManager.OP_VIBRATE), in vibrate_withVibrationAttributes_usesCorrespondingAudioUsageInAppOpsManager() 717 inOrderVerifier.verify(mAppOpsManagerMock).checkAudioOpNoThrow(eq(AppOpsManager.OP_VIBRATE), in vibrate_withVibrationAttributes_usesCorrespondingAudioUsageInAppOpsManager() 719 inOrderVerifier.verify(mAppOpsManagerMock).checkAudioOpNoThrow(eq(AppOpsManager.OP_VIBRATE), in vibrate_withVibrationAttributes_usesCorrespondingAudioUsageInAppOpsManager() 721 inOrderVerifier.verify(mAppOpsManagerMock).checkAudioOpNoThrow(eq(AppOpsManager.OP_VIBRATE), in vibrate_withVibrationAttributes_usesCorrespondingAudioUsageInAppOpsManager() 723 inOrderVerifier.verify(mAppOpsManagerMock).checkAudioOpNoThrow(eq(AppOpsManager.OP_VIBRATE), in vibrate_withVibrationAttributes_usesCorrespondingAudioUsageInAppOpsManager() 726 inOrderVerifier.verify(mAppOpsManagerMock).checkAudioOpNoThrow(eq(AppOpsManager.OP_VIBRATE), in vibrate_withVibrationAttributes_usesCorrespondingAudioUsageInAppOpsManager() 784 .checkAudioOpNoThrow(eq(AppOpsManager.OP_VIBRATE), in vibrate_withAttributesUnknownUsage_usesEffectToIdentifyTouchUsage() 787 .checkAudioOpNoThrow(eq(AppOpsManager.OP_VIBRATE), in vibrate_withAttributesUnknownUsage_usesEffectToIdentifyTouchUsage() 813 .checkAudioOpNoThrow(eq(AppOpsManager.OP_VIBRATE), in vibrate_withAttributesUnknownUsage_ignoresEffectIfNotHapticFeedbackCandidate() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 406 AudioAttributes.USAGE_ASSISTANCE_SONIFICATION, AppOpsManager.OP_VIBRATE); in testTotalSilence() 472 AppOpsManager.OP_VIBRATE); in testZenAllCannotBypass() 492 eq(AppOpsManager.OP_VIBRATE), eq(usage), anyInt(), eq(new String[]{PKG_O})); in testApplyRestrictions_whitelist_priorityOnlyMode() 507 eq(AppOpsManager.OP_VIBRATE), eq(usage), anyInt(), eq(null)); in testApplyRestrictions_whitelist_alarmsOnlyMode() 522 eq(AppOpsManager.OP_VIBRATE), eq(usage), anyInt(), eq(null)); in testApplyRestrictions_whitelist_totalSilenceMode()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibratorManagerService.java | 963 int mode = mAppOps.checkAudioOpNoThrow(AppOpsManager.OP_VIBRATE, in checkAppOpModeLocked() 979 mAppOps.startOpNoThrow(AppOpsManager.OP_VIBRATE, uid, opPkg), attrs); in startAppOpModeLocked() 988 mAppOps.finishOp(AppOpsManager.OP_VIBRATE, uid, opPkg); in finishAppOpModeLocked()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 1126 applyRestrictions(zenPriorityOnly, false, usage, AppOpsManager.OP_VIBRATE); in applyRestrictions() 1151 applyRestrictions(zenPriorityOnly, mute, usage, AppOpsManager.OP_VIBRATE); in applyRestrictions()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 890 public static final int OP_VIBRATE = AppProtoEnums.APP_OP_VIBRATE; field in AppOpsManager 1923 OP_VIBRATE, // VIBRATE
|