Searched refs:setDevicePolicy (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsDeviceAwareServiceTest.java | 77 .setDevicePolicy(POLICY_TYPE_CAMERA, DEVICE_POLICY_CUSTOM) in setUp()
|
D | AppOpsActiveWatcherTest.java | 159 .setDevicePolicy(POLICY_TYPE_CAMERA, DEVICE_POLICY_CUSTOM) in testWatchActiveOpsForExternalDevice()
|
/frameworks/base/core/java/android/companion/virtual/ |
D | IVirtualDevice.aidl | 96 void setDevicePolicy(int policyType, int devicePolicy); in setDevicePolicy() method
|
D | VirtualDeviceInternal.java | 251 void setDevicePolicy(@VirtualDeviceParams.DynamicPolicyType int policyType, in setDevicePolicy() method in VirtualDeviceInternal 254 mVirtualDevice.setDevicePolicy(policyType, devicePolicy); in setDevicePolicy()
|
D | VirtualDeviceManager.java | 740 public void setDevicePolicy(@VirtualDeviceParams.DynamicPolicyType int policyType, in setDevicePolicy() method in VirtualDeviceManager.VirtualDevice 742 mVirtualDeviceInternal.setDevicePolicy(policyType, devicePolicy); in setDevicePolicy()
|
D | VirtualDeviceParams.java | 996 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/ |
D | VirtualDeviceManagerServiceTest.java | 507 .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/ |
D | VirtualDeviceImpl.java | 656 public void setDevicePolicy(@VirtualDeviceParams.DynamicPolicyType int policyType,
|
/frameworks/base/core/api/ |
D | system-current.txt | 3489 …ermission(android.Manifest.permission.CREATE_VIRTUAL_DEVICE) public void setDevicePolicy(int, int); 3540 …method @NonNull public android.companion.virtual.VirtualDeviceParams.Builder setDevicePolicy(int, …
|