/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 163 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/ |
D | NotificationGutsManagerTest.java | 20 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/ |
D | AppOpsPrivacyItemMonitor.kt | 57 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/ |
D | AppOpsPrivacyItemMonitorTest.kt | 308 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/ |
D | AppOpsManager.h | 70 OP_RECORD_AUDIO = 27, enumerator
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsStartedWatcherTest.java | 59 appOpsManager.startOp(AppOpsManager.OP_RECORD_AUDIO); in testWatchStartedOps()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 23 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/ |
D | NotificationGutsManager.java | 19 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/ |
D | AppOpsPolicy.java | 436 return AppOpsManager.OP_RECORD_AUDIO; in resolveRecordAudioOp() 448 && (code == AppOpsManager.OP_RECORD_AUDIO in resolveUid()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | RecentAppOpsAccess.java | 52 AppOpsManager.OP_RECORD_AUDIO,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 104 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/ |
D | SensorPrivacyService.java | 29 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/ |
D | PermissionUsageHelper.java | 37 import static android.app.AppOpsManager.OP_RECORD_AUDIO; 190 int[] ops = {OP_CAMERA, OP_RECORD_AUDIO}; in PermissionUsageHelper()
|
/frameworks/av/media/utils/ |
D | ServiceUtilities.cpp | 82 return AppOpsManager::OP_RECORD_AUDIO; in getOpForSource()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | DiscreteRegistry.java | 38 import static android.app.AppOpsManager.OP_RECORD_AUDIO; 136 + "," + OP_CAMERA + "," + OP_RECORD_AUDIO + "," + OP_PHONE_CALL_MICROPHONE + ","
|
D | AppOpsService.java | 47 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/ |
D | BackgroundRestrictionTest.java | 38 import static android.app.AppOpsManager.OP_RECORD_AUDIO; 326 OP_RECORD_AUDIO, in initController()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 968 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/ |
D | ActiveServices.java | 2495 AppOpsManager.OP_RECORD_AUDIO,
|
/frameworks/base/core/api/ |
D | test-current.txt | 246 field public static final int OP_RECORD_AUDIO = 27; // 0x1b
|