Searched refs:OP_PLAY_AUDIO (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | PlayerBase.java | 119 mAppOps.startWatchingMode(AppOpsManager.OP_PLAY_AUDIO, in baseRegisterPlayer() 298 mode = mAppOps.checkAudioOperation(AppOpsManager.OP_PLAY_AUDIO, in updateAppOpsPlayAudio_sync() 450 if (op == AppOpsManager.OP_PLAY_AUDIO) { in opChanged()
|
/frameworks/native/libs/binder/include/binder/ |
D | AppOpsManager.h | 68 OP_PLAY_AUDIO = 28, enumerator
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 274 AudioAttributes.USAGE_ASSISTANCE_SONIFICATION, AppOpsManager.OP_PLAY_AUDIO); in testTotalSilence() 301 AudioAttributes.USAGE_ASSISTANCE_SONIFICATION, AppOpsManager.OP_PLAY_AUDIO); in testAlarmsOnly_alarmMediaMuteNotApplied() 340 AppOpsManager.OP_PLAY_AUDIO); in testZenAllCannotBypass() 360 eq(AppOpsManager.OP_PLAY_AUDIO), eq(usage), anyInt(), eq(new String[]{PKG_O})); in testApplyRestrictions_whitelist_priorityOnlyMode() 375 eq(AppOpsManager.OP_PLAY_AUDIO), eq(usage), anyInt(), eq(null)); in testApplyRestrictions_whitelist_alarmsOnlyMode() 390 eq(AppOpsManager.OP_PLAY_AUDIO), eq(usage), anyInt(), eq(null)); in testApplyRestrictions_whitelist_totalSilenceMode()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 22 import static android.app.AppOpsManager.OP_PLAY_AUDIO; 562 assertOpBlockedOnSuspend(OP_PLAY_AUDIO); in testPlayAudioBlockedOnSuspend()
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 595 mAppOps.startWatchingMode(AppOpsManager.OP_PLAY_AUDIO, in initAppOps() 1754 if (op == AppOpsManager.OP_PLAY_AUDIO) { in opChanged() 1769 mode = mAppOps.checkAudioOperation(AppOpsManager.OP_PLAY_AUDIO, in updateAppOpsPlayAudio()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 1038 AppOpsManager.OP_PLAY_AUDIO); in applyRestrictions() 1065 applyRestrictions(zenPriorityOnly, mute, usage, AppOpsManager.OP_PLAY_AUDIO); in applyRestrictions()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 439 mAppOpsManager.startWatchingMode(AppOpsManager::OP_PLAY_AUDIO, mPackages[0], mOpCallback); in onFirstRef() 457 const int32_t mode = mAppOpsManager.checkAudioOpNoThrow(AppOpsManager::OP_PLAY_AUDIO, in checkPlayAudioForUsage() 477 if (op != AppOpsManager::OP_PLAY_AUDIO) { in opChanged()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 668 public static final int OP_PLAY_AUDIO = 28; field in AppOpsManager 1249 OP_PLAY_AUDIO, // PLAY_AUDIO
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 24 import static android.app.AppOpsManager.OP_PLAY_AUDIO; 182 OP_PLAY_AUDIO,
|