/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 96 new int[]{AppOpsManager.OP_RECORD_AUDIO, AppOpsManager.OP_FINE_LOCATION}, in addCallback_includedCode() 99 AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, true); in addCallback_includedCode() 103 verify(mCallback).onActiveStateChanged(AppOpsManager.OP_RECORD_AUDIO, in addCallback_includedCode() 111 AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, true); in addCallback_notIncludedCode() 119 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in removeCallback_sameCode() 120 mController.removeCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in removeCallback_sameCode() 122 AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, true); in removeCallback_sameCode() 130 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in addCallback_notSameCode() 133 AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, true); in addCallback_notSameCode() 135 verify(mCallback).onActiveStateChanged(AppOpsManager.OP_RECORD_AUDIO, in addCallback_notSameCode() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | AppOpsInfoTest.java | 20 import static android.app.AppOpsManager.OP_RECORD_AUDIO; 162 expectedOps.add(OP_RECORD_AUDIO); in testPrompt_mic() 181 expectedOps.add(OP_RECORD_AUDIO); in testPrompt_camera_mic() 191 expectedOps.add(OP_RECORD_AUDIO); in testPrompt_camera_mic_overlay() 213 expectedOps.add(OP_RECORD_AUDIO); in testPrompt_mic_overlay()
|
D | NotificationGutsManagerTest.java | 20 import static android.app.AppOpsManager.OP_RECORD_AUDIO; 242 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_mic() 254 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_camera_mic() 277 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_camera_mic_overlay() 301 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_mic_overlay()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | AppOpsInfo.java | 128 } else if (mAppOps.contains(AppOpsManager.OP_RECORD_AUDIO)) { in getPrompt() 135 if (mAppOps.contains(AppOpsManager.OP_RECORD_AUDIO)) { in getPrompt()
|
D | NotificationGutsManager.java | 19 import static android.app.AppOpsManager.OP_RECORD_AUDIO; 170 if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { in startAppOpsSettingsActivity() 177 } else if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { in startAppOpsSettingsActivity()
|
/frameworks/native/libs/binder/include/binder/ |
D | AppOpsManager.h | 67 OP_RECORD_AUDIO = 27, enumerator
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsActiveWatcherTest.java | 61 AppOpsManager.OP_RECORD_AUDIO}, listener); in testWatchActiveOps()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SuspendPackagesTest.java | 23 import static android.app.AppOpsManager.OP_RECORD_AUDIO; 567 assertOpBlockedOnSuspend(OP_RECORD_AUDIO); in testRecordAudioBlockedOnSuspend()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 74 AppOpsManager.OP_RECORD_AUDIO,
|
/frameworks/base/core/java/android/view/ |
D | NotificationHeaderView.java | 347 mMicIcon.setVisibility(appOps.contains(AppOpsManager.OP_RECORD_AUDIO) in showAppOpsIcons()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 1963 mAppOpsManager.startWatchingMode(AppOpsManager::OP_RECORD_AUDIO, mPackage, mOpCallback); in onFirstRef() 1978 const int32_t mode = mAppOpsManager.checkOp(AppOpsManager::OP_RECORD_AUDIO, in checkRecordAudio() 1995 if (op != AppOpsManager::OP_RECORD_AUDIO) { in opChanged()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 665 public static final int OP_RECORD_AUDIO = 27; field in AppOpsManager 1187 OP_RECORD_AUDIO, 1248 OP_RECORD_AUDIO, // RECORD_AUDIO
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 25 import static android.app.AppOpsManager.OP_RECORD_AUDIO; 183 OP_RECORD_AUDIO,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBar.java | 628 AppOpsManager.OP_RECORD_AUDIO,
|
/frameworks/base/api/ |
D | test-current.txt | 216 field public static final int OP_RECORD_AUDIO = 27; // 0x1b
|