Home
last modified time | relevance | path

Searched refs:DevicePolicyOperation (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DDevicePolicySafetyChecker.java19 import android.app.admin.DevicePolicyManager.DevicePolicyOperation;
35 int getUnsafeOperationReason(@DevicePolicyOperation int operation); in getUnsafeOperationReason()
46 default UnsafeStateException newUnsafeStateException(@DevicePolicyOperation int operation, in newUnsafeStateException()
DUnsafeStateException.java22 import android.app.admin.DevicePolicyManager.DevicePolicyOperation;
43 private final @DevicePolicyOperation int mOperation;
48 public UnsafeStateException(@DevicePolicyOperation int operation, in UnsafeStateException()
59 public @DevicePolicyOperation int getOperation() { in getOperation()
DDevicePolicyManager.java4011 public static @interface DevicePolicyOperation { annotation in DevicePolicyManager
4017 public static String operationToString(@DevicePolicyOperation int operation) { in operationToString()
16767 public void setNextOperationSafety(@DevicePolicyOperation int operation, in setNextOperationSafety()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOneTimeSafetyChecker.java22 import android.app.admin.DevicePolicyManager.DevicePolicyOperation;
51 private final @DevicePolicyOperation int mOperation;
58 @DevicePolicyOperation int operation, @OperationSafetyReason int reason) { in OneTimeSafetyChecker()
72 public int getUnsafeOperationReason(@DevicePolicyOperation int operation) { in getUnsafeOperationReason()
DDevicePolicyManagerService.java320 import android.app.admin.DevicePolicyManager.DevicePolicyOperation;
1579 private void checkCanExecuteOrThrowUnsafe(@DevicePolicyOperation int operation) { in checkCanExecuteOrThrowUnsafe()
1595 int getUnsafeOperationReason(@DevicePolicyOperation int operation) { in getUnsafeOperationReason()
1601 public void setNextOperationSafety(@DevicePolicyOperation int operation, in setNextOperationSafety()
/frameworks/opt/car/services/builtInServices/tests/src/com/android/internal/car/
DCarDevicePolicySafetyCheckerTest.java25 import android.app.admin.DevicePolicyManager.DevicePolicyOperation;
55 private final @DevicePolicyOperation int mOperation;
112 public CarDevicePolicySafetyCheckerTest(@DevicePolicyOperation int operation, boolean safe) { in CarDevicePolicySafetyCheckerTest()
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/
DCarDevicePolicySafetyChecker.java35 import android.app.admin.DevicePolicyManager.DevicePolicyOperation;
94 boolean isDevicePolicyOperationSafe(@DevicePolicyOperation int operation) { in isDevicePolicyOperationSafe()
DCarServiceHelperService.java41 import android.app.admin.DevicePolicyManager.DevicePolicyOperation;
506 public int getUnsafeOperationReason(@DevicePolicyOperation int operation) { in getUnsafeOperationReason()