Home
last modified time | relevance | path

Searched refs:OP_PHONE_CALL_CAMERA (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DAppOpsPrivacyItemMonitor.kt58 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/
DAppOpsManager.h137 OP_PHONE_CALL_CAMERA = 101, enumerator
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java946 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/
DSensorPrivacyService.java26 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/
DAppOpsPrivacyItemMonitorTest.kt319 AppOpItem(AppOpsManager.OP_PHONE_CALL_CAMERA, TEST_UID, TEST_PACKAGE_NAME, 0)) in testAlwaysGetPhoneCameraOps()
/frameworks/base/services/core/java/com/android/server/policy/
DAppOpsPolicy.java204 appOps.setUserRestrictionForUser(AppOpsManager.OP_PHONE_CALL_CAMERA, true, mToken, in AppOpsPolicy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java114 AppOpsManager.OP_PHONE_CALL_CAMERA
/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java35 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/
DAppOpsManager.java1255 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")