/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; 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/ |
D | AppOpsStartedWatcherTest.java | 59 appOpsManager.startOp(AppOpsManager.OP_RECORD_AUDIO); in testWatchStartedOps()
|
/frameworks/native/libs/permission/include/binder/ |
D | AppOpsManager.h | 70 OP_RECORD_AUDIO = 27, enumerator
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
D | PrivacyItemController.kt | 61 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/ |
D | NotificationGutsManager.java | 19 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/ |
D | AppOpsPolicy.java | 402 return AppOpsManager.OP_RECORD_AUDIO; in resolveRecordAudioOp() 414 && (code == AppOpsManager.OP_RECORD_AUDIO in resolveUid()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 105 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/ |
D | PrivacyItemControllerTest.kt | 402 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/ |
D | PermissionUsageHelper.java | 36 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/ |
D | SuspendPackagesTest.java | 23 import static android.app.AppOpsManager.OP_RECORD_AUDIO; 569 assertOpBlockedOnSuspend(OP_RECORD_AUDIO); in testRecordAudioBlockedOnSuspend()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SensorPrivacyService.java | 28 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/ |
D | ServiceUtilities.cpp | 80 return AppOpsManager::OP_RECORD_AUDIO; in getOpForSource()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | DiscreteRegistry.java | 37 import static android.app.AppOpsManager.OP_RECORD_AUDIO; 135 + "," + OP_CAMERA + "," + OP_RECORD_AUDIO + "," + OP_PHONE_CALL_MICROPHONE + ","
|
D | AppOpsService.java | 46 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/ |
D | AppOpsManager.java | 968 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/ |
D | ActiveServices.java | 2364 AppOpsManager.OP_RECORD_AUDIO,
|
/frameworks/base/core/api/ |
D | test-current.txt | 224 field public static final int OP_RECORD_AUDIO = 27; // 0x1b
|