Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java96 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/
DAppOpsInfoTest.java20 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()
DNotificationGutsManagerTest.java20 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/
DAppOpsInfo.java128 } else if (mAppOps.contains(AppOpsManager.OP_RECORD_AUDIO)) { in getPrompt()
135 if (mAppOps.contains(AppOpsManager.OP_RECORD_AUDIO)) { in getPrompt()
DNotificationGutsManager.java19 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/
DAppOpsManager.h67 OP_RECORD_AUDIO = 27, enumerator
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsActiveWatcherTest.java61 AppOpsManager.OP_RECORD_AUDIO}, listener); in testWatchActiveOps()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java23 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
567 assertOpBlockedOnSuspend(OP_RECORD_AUDIO); in testRecordAudioBlockedOnSuspend()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java74 AppOpsManager.OP_RECORD_AUDIO,
/frameworks/base/core/java/android/view/
DNotificationHeaderView.java347 mMicIcon.setVisibility(appOps.contains(AppOpsManager.OP_RECORD_AUDIO) in showAppOpsIcons()
/frameworks/av/services/audioflinger/
DTracks.cpp1963 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/
DAppOpsManager.java665 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/
DAppOpsService.java25 import static android.app.AppOpsManager.OP_RECORD_AUDIO;
183 OP_RECORD_AUDIO,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java628 AppOpsManager.OP_RECORD_AUDIO,
/frameworks/base/api/
Dtest-current.txt216 field public static final int OP_RECORD_AUDIO = 27; // 0x1b