/frameworks/base/services/tests/servicestests/src/com/android/server/appops/ |
H A D | AppOpsActiveWatcherTest.java | 59 appOpsManager.startWatchingActive(new int[] {AppOpsManager.OP_CAMERA, 63 appOpsManager.startOp(AppOpsManager.OP_CAMERA); 67 .times(1)).onOpActiveChanged(eq(AppOpsManager.OP_CAMERA), 77 assertThat(appOpsManager.isOperationActive(AppOpsManager.OP_CAMERA, 81 appOpsManager.finishOp(AppOpsManager.OP_CAMERA); 85 .times(1)).onOpActiveChanged(eq(AppOpsManager.OP_CAMERA), 89 assertThat(appOpsManager.isOperationActive(AppOpsManager.OP_CAMERA, 102 appOpsManager.startOp(AppOpsManager.OP_CAMERA); 108 appOpsManager.finishOp(AppOpsManager.OP_CAMERA); 118 appOpsManager.startOp(AppOpsManager.OP_CAMERA); [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | AppOpsInfoTest.java | 19 import static android.app.AppOpsManager.OP_CAMERA; 115 expectedOps.add(OP_CAMERA); 134 expectedOps.add(OP_CAMERA); 153 expectedOps.add(OP_CAMERA); 180 expectedOps.add(OP_CAMERA); 190 expectedOps.add(OP_CAMERA); 202 expectedOps.add(OP_CAMERA);
|
H A D | NotificationGutsManagerTest.java | 19 import static android.app.AppOpsManager.OP_CAMERA; 196 ops.add(OP_CAMERA); 216 ops.add(OP_CAMERA); 237 ops.add(OP_CAMERA); 249 ops.add(OP_CAMERA);
|
H A D | NotificationDataTest.java | 20 import static android.app.AppOpsManager.OP_CAMERA; 163 expectedOps.add(OP_CAMERA); 189 expectedOps.add(OP_CAMERA); 201 assertTrue(mRow.getEntry().key + " doesn't have op " + OP_CAMERA, 202 mNotificationData.get(mRow.getEntry().key).mActiveAppOps.contains(OP_CAMERA)); 203 assertTrue(row2.getEntry().key + " doesn't have op " + OP_CAMERA, 204 mNotificationData.get(row2.getEntry().key).mActiveAppOps.contains(OP_CAMERA));
|
H A D | NotificationEntryManagerTest.java | 302 AppOpsManager.OP_CAMERA, mEntry.notification.getUid(), 307 AppOpsManager.OP_CAMERA)); 316 mEntryManager.updateNotificationsForAppOp(AppOpsManager.OP_CAMERA, 1000, "pkg", true);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | AppOpsListener.java | 41 protected static final int[] OPS = new int[] {AppOpsManager.OP_CAMERA,
|
H A D | AppOpsInfo.java | 128 if (mAppOps.contains(AppOpsManager.OP_CAMERA)) { 136 if (mAppOps.contains(AppOpsManager.OP_CAMERA)) {
|
H A D | NotificationGutsManager.java | 18 import static android.app.AppOpsManager.OP_CAMERA; 136 if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) { 143 } else if (ops.contains(OP_CAMERA) || ops.contains(OP_RECORD_AUDIO)) {
|
/frameworks/native/include/binder/ |
H A D | AppOpsManager.h | 66 OP_CAMERA = 26, enumerator in enum:android::AppOpsManager::__anon1439
|
/frameworks/native/libs/binder/include/binder/ |
H A D | AppOpsManager.h | 66 OP_CAMERA = 26, enumerator in enum:android::AppOpsManager::__anon1559
|
/frameworks/base/core/java/android/app/ |
H A D | AppOpsManager.java | 251 public static final int OP_CAMERA = 26; field in class:AppOpsManager 639 OP_CAMERA, 686 OP_CAMERA, // CAMERA
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 2228 mAppOpsManager.startWatchingMode(AppOpsManager::OP_CAMERA, 2230 res = mAppOpsManager.startOpNoThrow(AppOpsManager::OP_CAMERA, 2268 mAppOpsManager.finishOp(AppOpsManager::OP_CAMERA, mClientUid, 2305 if (op != AppOpsManager::OP_CAMERA) { 2311 res = mAppOpsManager.checkOp(AppOpsManager::OP_CAMERA,
|
/frameworks/base/core/java/android/view/ |
H A D | NotificationHeaderView.java | 332 mCameraIcon.setVisibility(appOps.contains(AppOpsManager.OP_CAMERA)
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | StorageManagerService.java | 2886 if (appOps.isOperationActive(AppOpsManager.OP_CAMERA, callingUid, callingPackage)) {
|