Home
last modified time | relevance | path

Searched refs:OP_TAKE_AUDIO_FOCUS (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DHardeningEnforcer.java144 if (noteOp(AppOpsManager.OP_TAKE_AUDIO_FOCUS, callingUid, packageName, attributionTag)) { in blockFocusMethod()
/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h75 OP_TAKE_AUDIO_FOCUS = 32, enumerator
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsServiceTest.java25 import static android.app.AppOpsManager.OP_TAKE_AUDIO_FOCUS;
277 SyncNotedAppOp allowedResult = mAppOpsService.noteOperation(OP_TAKE_AUDIO_FOCUS, sandboxUid, in testNoteOperationFromSdkSandbox()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsUidStateTrackerImpl.java34 import static android.app.AppOpsManager.OP_TAKE_AUDIO_FOCUS;
179 case OP_TAKE_AUDIO_FOCUS: in getOpCapability()
/frameworks/base/core/java/android/app/
DAppOpsManager.java1012 public static final int OP_TAKE_AUDIO_FOCUS = AppProtoEnums.APP_OP_TAKE_AUDIO_FOCUS; field in AppOpsManager
2730 new AppOpInfo.Builder(OP_TAKE_AUDIO_FOCUS, OPSTR_TAKE_AUDIO_FOCUS, "TAKE_AUDIO_FOCUS")
3270 if (op == OP_TAKE_AUDIO_FOCUS && roForegroundAudioControl()) { in opToDefaultMode()