Home
last modified time | relevance | path

Searched refs:OP_RECORD_AUDIO (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java98 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/
DAppOpsInfoTest.java20 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()
DNotificationGutsManagerTest.java20 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()
DNotificationContentViewTest.java95 ops.add(AppOpsManager.OP_RECORD_AUDIO); in testShowAppOpsIcons()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DAppOpsInfo.java134 } else if (mAppOps.contains(AppOpsManager.OP_RECORD_AUDIO)) { in getPrompt()
141 if (mAppOps.contains(AppOpsManager.OP_RECORD_AUDIO)) { in getPrompt()
DNotificationGutsManager.java19 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/
DAppOpsStartedWatcherTest.java59 appOpsManager.startOp(AppOpsManager.OP_RECORD_AUDIO); in testWatchStartedOps()
/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h69 OP_RECORD_AUDIO = 27, enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceController.java44 AppOpsManager.OP_RECORD_AUDIO,
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java23 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
569 assertOpBlockedOnSuspend(OP_RECORD_AUDIO); in testRecordAudioBlockedOnSuspend()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java76 AppOpsManager.OP_RECORD_AUDIO,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationHeaderViewWrapper.java160 mMicIcon.setVisibility(appOps.contains(AppOpsManager.OP_RECORD_AUDIO) in showAppOpsIcons()
/frameworks/av/services/audioflinger/
DTracks.cpp1997 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/
DAppOpsService.java41 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/
DAppOpsManager.java884 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/
DActiveServices.java1583 AppOpsManager.OP_RECORD_AUDIO,
/frameworks/base/api/
Dtest-current.txt269 field public static final int OP_RECORD_AUDIO = 27; // 0x1b