/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 98 new int[]{AppOpsManager.OP_RECORD_AUDIO, AppOpsManager.OP_FINE_LOCATION}, in addCallback_includedCode() 101 AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, true); in addCallback_includedCode() 105 verify(mCallback).onActiveStateChanged(AppOpsManager.OP_RECORD_AUDIO, in addCallback_includedCode() 113 AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, true); in addCallback_notIncludedCode() 121 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in removeCallback_sameCode() 122 mController.removeCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in removeCallback_sameCode() 124 AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, true); in removeCallback_sameCode() 132 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in addCallback_notSameCode() 135 AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, true); in addCallback_notSameCode() 137 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; 172 expectedOps.add(OP_RECORD_AUDIO); in testPrompt_mic() 191 expectedOps.add(OP_RECORD_AUDIO); in testPrompt_camera_mic() 201 expectedOps.add(OP_RECORD_AUDIO); in testPrompt_camera_mic_overlay() 223 expectedOps.add(OP_RECORD_AUDIO); in testPrompt_mic_overlay()
|
D | NotificationGutsManagerTest.java | 20 import static android.app.AppOpsManager.OP_RECORD_AUDIO; 274 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_mic() 286 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_camera_mic() 309 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_camera_mic_overlay() 333 ops.add(OP_RECORD_AUDIO); in testAppOpsSettingsIntent_mic_overlay()
|
D | NotificationContentViewTest.java | 95 ops.add(AppOpsManager.OP_RECORD_AUDIO); in testShowAppOpsIcons()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | AppOpsInfo.java | 134 } else if (mAppOps.contains(AppOpsManager.OP_RECORD_AUDIO)) { in getPrompt() 141 if (mAppOps.contains(AppOpsManager.OP_RECORD_AUDIO)) { in getPrompt()
|
D | NotificationGutsManager.java | 19 import static android.app.AppOpsManager.OP_RECORD_AUDIO; 213 if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { in startAppOpsSettingsActivity() 220 } else if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { in startAppOpsSettingsActivity()
|
/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/binder/include/binder/ |
D | AppOpsManager.h | 69 OP_RECORD_AUDIO = 27, enumerator
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ForegroundServiceController.java | 44 AppOpsManager.OP_RECORD_AUDIO,
|
/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/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 76 AppOpsManager.OP_RECORD_AUDIO,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationHeaderViewWrapper.java | 160 mMicIcon.setVisibility(appOps.contains(AppOpsManager.OP_RECORD_AUDIO) in showAppOpsIcons()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 1997 mAppOpsManager.startWatchingMode(AppOpsManager::OP_RECORD_AUDIO, mPackage, mOpCallback); in onFirstRef() 2012 const int32_t mode = mAppOpsManager.checkOp(AppOpsManager::OP_RECORD_AUDIO, in checkRecordAudio() 2029 if (op != AppOpsManager::OP_RECORD_AUDIO) { in opChanged()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 41 import static android.app.AppOpsManager.OP_RECORD_AUDIO; 243 OP_RECORD_AUDIO, 562 case OP_RECORD_AUDIO: in evalMode() 586 case OP_RECORD_AUDIO: in evalMode()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 884 public static final int OP_RECORD_AUDIO = AppProtoEnums.APP_OP_RECORD_AUDIO; field in AppOpsManager 1497 OP_RECORD_AUDIO, 1563 OP_RECORD_AUDIO, // RECORD_AUDIO
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 1583 AppOpsManager.OP_RECORD_AUDIO,
|
/frameworks/base/api/ |
D | test-current.txt | 269 field public static final int OP_RECORD_AUDIO = 27; // 0x1b
|