Home
last modified time | relevance | path

Searched refs:OP_RECORD_AUDIO (Results 1 – 20 of 20) 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;
271 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_mic()
283 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_camera_mic()
306 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_camera_mic_overlay()
330 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_mic_overlay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DAppOpsPrivacyItemMonitor.kt57 AppOpsManager.OP_PHONE_CALL_CAMERA, AppOpsManager.OP_RECORD_AUDIO, in <lambda>()
213 AppOpsManager.OP_RECORD_AUDIO -> PrivacyType.TYPE_MICROPHONE in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DAppOpsPrivacyItemMonitorTest.kt308 AppOpItem(AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, 0), in testAlwaysGetPhoneCameraOps()
350 val item = AppOpItem(AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, 0) in testDisabledAppOpIsPaused()
361 val item = AppOpItem(AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, 0) in testEnabledAppOpIsNotPaused()
/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h70 OP_RECORD_AUDIO = 27, enumerator
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsStartedWatcherTest.java59 appOpsManager.startOp(AppOpsManager.OP_RECORD_AUDIO); in testWatchStartedOps()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java23 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
267 assertOpBlockedOnSuspend(OP_RECORD_AUDIO); in testRecordAudioBlockedOnSuspend()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java19 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
218 if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { in startAppOpsSettingsActivity()
225 } else if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { in startAppOpsSettingsActivity()
/frameworks/base/services/core/java/com/android/server/policy/
DAppOpsPolicy.java436 return AppOpsManager.OP_RECORD_AUDIO; in resolveRecordAudioOp()
448 && (code == AppOpsManager.OP_RECORD_AUDIO in resolveUid()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DRecentAppOpsAccess.java52 AppOpsManager.OP_RECORD_AUDIO,
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java104 AppOpsManager.OP_RECORD_AUDIO,
539 return op == AppOpsManager.OP_RECORD_AUDIO || op == AppOpsManager.OP_PHONE_CALL_MICROPHONE in isOpMicrophone()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java29 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
273 int[] micAndCameraOps = new int[]{OP_RECORD_AUDIO, OP_PHONE_CALL_MICROPHONE, in SensorPrivacyServiceImpl()
343 if (code == OP_RECORD_AUDIO || code == OP_PHONE_CALL_MICROPHONE) { in onOpNoted()
1067 mAppOpsManagerInternal.setGlobalRestriction(OP_RECORD_AUDIO, enabled, in setGlobalRestriction()
/frameworks/base/core/java/android/permission/
DPermissionUsageHelper.java37 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
190 int[] ops = {OP_CAMERA, OP_RECORD_AUDIO}; in PermissionUsageHelper()
/frameworks/av/media/utils/
DServiceUtilities.cpp82 return AppOpsManager::OP_RECORD_AUDIO; in getOpForSource()
/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java38 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
136 + "," + OP_CAMERA + "," + OP_RECORD_AUDIO + "," + OP_PHONE_CALL_MICROPHONE + ","
DAppOpsService.java47 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
268 OP_RECORD_AUDIO,
616 case OP_RECORD_AUDIO: in evalMode()
3856 int result = checkOperation(OP_RECORD_AUDIO, uid, packageName); in startOperationImpl()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java38 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
326 OP_RECORD_AUDIO, in initController()
/frameworks/base/core/java/android/app/
DAppOpsManager.java968 public static final int OP_RECORD_AUDIO = AppProtoEnums.APP_OP_RECORD_AUDIO; field in AppOpsManager
1869 OP_RECORD_AUDIO,
1947 OP_RECORD_AUDIO, // RECORD_AUDIO
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java2495 AppOpsManager.OP_RECORD_AUDIO,
/frameworks/base/core/api/
Dtest-current.txt246 field public static final int OP_RECORD_AUDIO = 27; // 0x1b