Searched refs:OP_PHONE_CALL_CAMERA (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
D | AppOpsPrivacyItemMonitor.kt | 58 AppOpsManager.OP_PHONE_CALL_CAMERA, in <lambda>() 68 val USER_INDEPENDENT_OPS = intArrayOf(AppOpsManager.OP_PHONE_CALL_CAMERA, in <lambda>() 211 AppOpsManager.OP_PHONE_CALL_CAMERA, in <lambda>()
|
/frameworks/native/libs/permission/include/binder/ |
D | AppOpsManager.h | 137 OP_PHONE_CALL_CAMERA = 101, enumerator
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 946 new int[]{AppOpsManager.OP_RECORD_AUDIO, AppOpsManager.OP_PHONE_CALL_CAMERA}, in testPhoneCallCameraFilteredWhenCameraDisabled() 955 assertEquals(AppOpsManager.OP_PHONE_CALL_CAMERA, list.get(0).getCode()); in testPhoneCallCameraFilteredWhenCameraDisabled() 973 int cameraIdx = list.get(0).getCode() == AppOpsManager.OP_PHONE_CALL_CAMERA ? 0 : 1; in testPhoneCallCameraFilteredWhenCameraDisabled() 974 assertEquals(AppOpsManager.OP_PHONE_CALL_CAMERA, list.get(cameraIdx).getCode()); in testPhoneCallCameraFilteredWhenCameraDisabled()
|
/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
D | SensorPrivacyService.java | 26 import static android.app.AppOpsManager.OP_PHONE_CALL_CAMERA; 310 OP_CAMERA, OP_PHONE_CALL_CAMERA, OP_RECEIVE_EXPLICIT_USER_INTERACTION_AUDIO}; in SensorPrivacyServiceImpl() 411 } else if (code == OP_CAMERA || code == OP_PHONE_CALL_CAMERA) { in onOpNoted() 1426 mAppOpsManagerInternal.setGlobalRestriction(OP_PHONE_CALL_CAMERA, enabled, in setGlobalRestriction()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/ |
D | AppOpsPrivacyItemMonitorTest.kt | 319 AppOpItem(AppOpsManager.OP_PHONE_CALL_CAMERA, TEST_UID, TEST_PACKAGE_NAME, 0)) in testAlwaysGetPhoneCameraOps()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | AppOpsPolicy.java | 204 appOps.setUserRestrictionForUser(AppOpsManager.OP_PHONE_CALL_CAMERA, true, mToken, in AppOpsPolicy()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 114 AppOpsManager.OP_PHONE_CALL_CAMERA
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | DiscreteRegistry.java | 35 import static android.app.AppOpsManager.OP_PHONE_CALL_CAMERA; 139 + OP_PHONE_CALL_CAMERA + "," + OP_RECEIVE_AMBIENT_TRIGGER_AUDIO + ","
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 1255 public static final int OP_PHONE_CALL_CAMERA = AppProtoEnums.APP_OP_PHONE_CALL_CAMERA; field in AppOpsManager 2935 new AppOpInfo.Builder(OP_PHONE_CALL_CAMERA, OPSTR_PHONE_CALL_CAMERA, "PHONE_CALL_CAMERA")
|