Home
last modified time | relevance | path

Searched refs:OP_RECORD_AUDIO (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java163 new int[]{AppOpsManager.OP_RECORD_AUDIO, AppOpsManager.OP_FINE_LOCATION}, in addCallback_includedCode()
170 verify(mCallback).onActiveStateChanged(AppOpsManager.OP_RECORD_AUDIO, in addCallback_includedCode()
186 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in removeCallback_sameCode()
187 mController.removeCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in removeCallback_sameCode()
197 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in addCallback_notSameCode()
202 verify(mCallback).onActiveStateChanged(AppOpsManager.OP_RECORD_AUDIO, in addCallback_notSameCode()
260 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in exemptedRoleNotNotified()
451 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in testPausedRecordingIsRetrievedOnCreation()
464 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in testPausedRecordingFilteredOut()
489 AppOpsManager.OP_RECORD_AUDIO, in testOnlyRecordAudioPhoneCallMicrophonePaused()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManagerTest.java20 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
283 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_mic()
295 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_camera_mic()
318 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_camera_mic_overlay()
342 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_mic_overlay()
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsStartedWatcherTest.java59 appOpsManager.startOp(AppOpsManager.OP_RECORD_AUDIO); in testWatchStartedOps()
/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h70 OP_RECORD_AUDIO = 27, enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyItemController.kt61 AppOpsManager.OP_PHONE_CALL_CAMERA, AppOpsManager.OP_RECORD_AUDIO,
319 AppOpsManager.OP_RECORD_AUDIO -> PrivacyType.TYPE_MICROPHONE in toPrivacyItem()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java19 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
230 if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { in startAppOpsSettingsActivity()
237 } else if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { in startAppOpsSettingsActivity()
/frameworks/base/services/core/java/com/android/server/policy/
DAppOpsPolicy.java402 return AppOpsManager.OP_RECORD_AUDIO; in resolveRecordAudioOp()
414 && (code == AppOpsManager.OP_RECORD_AUDIO in resolveUid()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java105 AppOpsManager.OP_RECORD_AUDIO,
539 return op == AppOpsManager.OP_RECORD_AUDIO || op == AppOpsManager.OP_PHONE_CALL_MICROPHONE; in isOpMicrophone()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyItemControllerTest.kt402 AppOpItem(AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, 0), in testAlwaysGetPhoneCameraOps()
531 AppOpsManager.OP_RECORD_AUDIO, in testPausedElementsAreRemoved()
/frameworks/base/core/java/android/permission/
DPermissionUsageHelper.java36 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
168 int[] ops = { OP_CAMERA, OP_RECORD_AUDIO }; in PermissionUsageHelper()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java23 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
569 assertOpBlockedOnSuspend(OP_RECORD_AUDIO); in testRecordAudioBlockedOnSuspend()
/frameworks/base/services/core/java/com/android/server/
DSensorPrivacyService.java28 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
334 int[] micAndCameraOps = new int[]{OP_RECORD_AUDIO, OP_PHONE_CALL_MICROPHONE, in SensorPrivacyServiceImpl()
384 if (code == OP_RECORD_AUDIO || code == OP_PHONE_CALL_MICROPHONE) { in onOpNoted()
1289 mAppOpsManagerInternal.setGlobalRestriction(OP_RECORD_AUDIO, enabled, in setGlobalRestriction()
/frameworks/av/media/utils/
DServiceUtilities.cpp80 return AppOpsManager::OP_RECORD_AUDIO; in getOpForSource()
/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java37 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
135 + "," + OP_CAMERA + "," + OP_RECORD_AUDIO + "," + OP_PHONE_CALL_MICROPHONE + ","
DAppOpsService.java46 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
262 OP_RECORD_AUDIO,
609 case OP_RECORD_AUDIO: in evalMode()
3829 int result = checkOperation(OP_RECORD_AUDIO, uid, packageName); in startOperationImpl()
/frameworks/base/core/java/android/app/
DAppOpsManager.java968 public static final int OP_RECORD_AUDIO = AppProtoEnums.APP_OP_RECORD_AUDIO; field in AppOpsManager
1802 OP_RECORD_AUDIO,
1877 OP_RECORD_AUDIO, // RECORD_AUDIO
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java2364 AppOpsManager.OP_RECORD_AUDIO,
/frameworks/base/core/api/
Dtest-current.txt224 field public static final int OP_RECORD_AUDIO = 27; // 0x1b