Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java92 new int[]{AppOpsManager.OP_RECORD_AUDIO, AppOpsManager.OP_FINE_LOCATION}, in addCallback_includedCode()
95 AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, true); in addCallback_includedCode()
98 verify(mCallback).onActiveStateChanged(AppOpsManager.OP_RECORD_AUDIO, in addCallback_includedCode()
106 AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, true); in addCallback_notIncludedCode()
113 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in removeCallback_sameCode()
114 mController.removeCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in removeCallback_sameCode()
116 AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, true); in removeCallback_sameCode()
123 mController.addCallback(new int[]{AppOpsManager.OP_RECORD_AUDIO}, mCallback); in addCallback_notSameCode()
126 AppOpsManager.OP_RECORD_AUDIO, TEST_UID, TEST_PACKAGE_NAME, true); in addCallback_notSameCode()
127 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;
169 if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { in startAppOpsSettingsActivity()
176 } 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/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java73 AppOpsManager.OP_RECORD_AUDIO,
/frameworks/base/core/java/android/view/
DNotificationHeaderView.java347 mMicIcon.setVisibility(appOps.contains(AppOpsManager.OP_RECORD_AUDIO) in showAppOpsIcons()
/frameworks/base/core/java/android/app/
DAppOpsManager.java662 public static final int OP_RECORD_AUDIO = 27; field in AppOpsManager
1152 OP_RECORD_AUDIO,
1213 OP_RECORD_AUDIO, // RECORD_AUDIO
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java609 AppOpsManager.OP_RECORD_AUDIO,
/frameworks/base/api/
Dtest-current.txt211 field public static final int OP_RECORD_AUDIO = 27; // 0x1b