Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsDeviceAwareServiceTest.java77 .setDevicePolicy(POLICY_TYPE_CAMERA, DEVICE_POLICY_CUSTOM) in setUp()
DAppOpsActiveWatcherTest.java159 .setDevicePolicy(POLICY_TYPE_CAMERA, DEVICE_POLICY_CUSTOM) in testWatchActiveOpsForExternalDevice()
/frameworks/base/core/java/android/companion/virtual/
DIVirtualDevice.aidl96 void setDevicePolicy(int policyType, int devicePolicy); in setDevicePolicy() method
DVirtualDeviceInternal.java251 void setDevicePolicy(@VirtualDeviceParams.DynamicPolicyType int policyType, in setDevicePolicy() method in VirtualDeviceInternal
254 mVirtualDevice.setDevicePolicy(policyType, devicePolicy); in setDevicePolicy()
DVirtualDeviceManager.java740 public void setDevicePolicy(@VirtualDeviceParams.DynamicPolicyType int policyType, in setDevicePolicy() method in VirtualDeviceManager.VirtualDevice
742 mVirtualDeviceInternal.setDevicePolicy(policyType, devicePolicy); in setDevicePolicy()
DVirtualDeviceParams.java996 public Builder setDevicePolicy(@PolicyType int policyType, @DevicePolicy int devicePolicy) { in setDevicePolicy() method in VirtualDeviceParams.Builder
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DVirtualDeviceManagerServiceTest.java507 .setDevicePolicy(POLICY_TYPE_SENSORS, DEVICE_POLICY_CUSTOM) in getDevicePolicy_returnsCustom()
536 .setDevicePolicy(POLICY_TYPE_RECENTS, DEVICE_POLICY_CUSTOM) in getDevicePolicy_customRecentsPolicy_gwpcCannotShowRecentsOnHostDevice()
589 .setDevicePolicy(POLICY_TYPE_SENSORS, DEVICE_POLICY_CUSTOM) in getVirtualSensor_returnsCorrectSensor()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceImpl.java656 public void setDevicePolicy(@VirtualDeviceParams.DynamicPolicyType int policyType,
/frameworks/base/core/api/
Dsystem-current.txt3489 …ermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void setDevicePolicy(int, int);
3540 …method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setDevicePolicy(int, …