Searched refs:setGlobalRestriction (Results 1 – 5 of 5) sorted by relevance
/aosp12/frameworks/base/services/core/java/com/android/server/ |
H A D | SensorPrivacyService.java | 1300 setGlobalRestriction(MICROPHONE, micState); in userSwitching() 1304 setGlobalRestriction(CAMERA, camState); in userSwitching() 1308 private void setGlobalRestriction(int sensor, boolean enabled) { in setGlobalRestriction() method in SensorPrivacyService.SensorPrivacyServiceImpl 1311 mAppOpsManagerInternal.setGlobalRestriction(OP_RECORD_AUDIO, enabled, in setGlobalRestriction() 1313 mAppOpsManagerInternal.setGlobalRestriction(OP_PHONE_CALL_MICROPHONE, enabled, in setGlobalRestriction() 1317 mAppOpsManagerInternal.setGlobalRestriction(OP_CAMERA, enabled, in setGlobalRestriction() 1319 mAppOpsManagerInternal.setGlobalRestriction(OP_PHONE_CALL_CAMERA, enabled, in setGlobalRestriction() 1700 mSensorPrivacyServiceImpl.setGlobalRestriction(sensor, enabled); in handleSensorPrivacyChanged()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | AppOpsManagerInternal.java | 218 public abstract void setGlobalRestriction(int code, boolean restricted, IBinder token); in setGlobalRestriction() method in AppOpsManagerInternal
|
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/ |
H A D | SensorPrivacyServiceMockingTest.java | 223 }).when(mMockedAppOpsManagerInternal).setGlobalRestriction(anyInt(), anyBoolean(), in testServiceInit_AppOpsRestricted()
|
/aosp12/frameworks/base/services/core/java/com/android/server/appop/ |
H A D | AppOpsService.java | 7283 public void setGlobalRestriction(int code, boolean restricted, IBinder token) {
|
/aosp12/frameworks/base/services/ |
H A D | art-profile | 2818 PLcom/android/server/SensorPrivacyService;->setGlobalRestriction()V 9774 PLcom/android/server/appop/AppOpsService$AppOpsManagerInternalImpl;->lambda$setGlobalRestriction$0(… 9775 PLcom/android/server/appop/AppOpsService$AppOpsManagerInternalImpl;->lambda$setGlobalRestriction$1(… 9777 PLcom/android/server/appop/AppOpsService$AppOpsManagerInternalImpl;->setGlobalRestriction(IZLandroi…
|