Home
last modified time | relevance | path

Searched refs:ValidationFailedException (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DSystemUpdatePolicy.java178 public static final class ValidationFailedException extends IllegalArgumentException class in SystemUpdatePolicy
234 private ValidationFailedException(int errorCode, String message) { in ValidationFailedException() method in SystemUpdatePolicy.ValidationFailedException
247 public static ValidationFailedException duplicateOrOverlapPeriods() { in duplicateOrOverlapPeriods()
248 return new ValidationFailedException(ERROR_DUPLICATE_OR_OVERLAP, in duplicateOrOverlapPeriods()
253 public static ValidationFailedException freezePeriodTooLong(String message) { in freezePeriodTooLong()
254 return new ValidationFailedException(ERROR_NEW_FREEZE_PERIOD_TOO_LONG, message); in freezePeriodTooLong()
258 public static ValidationFailedException freezePeriodTooClose(String message) { in freezePeriodTooClose()
259 return new ValidationFailedException(ERROR_NEW_FREEZE_PERIOD_TOO_CLOSE, message); in freezePeriodTooClose()
263 public static ValidationFailedException combinedPeriodTooLong(String message) { in combinedPeriodTooLong()
264 return new ValidationFailedException(ERROR_COMBINED_FREEZE_PERIOD_TOO_LONG, message); in combinedPeriodTooLong()
[all …]
DFreezePeriod.java18 import android.app.admin.SystemUpdatePolicy.ValidationFailedException;
265 throw SystemUpdatePolicy.ValidationFailedException.duplicateOrOverlapPeriods(); in validatePeriods()
270 throw SystemUpdatePolicy.ValidationFailedException.freezePeriodTooLong("Freeze " in validatePeriods()
287 throw SystemUpdatePolicy.ValidationFailedException.freezePeriodTooClose("Freeze" in validatePeriods()
342 throw ValidationFailedException.combinedPeriodTooClose("Previous freeze period " in validateAgainstPreviousFreezePeriod()
350 throw ValidationFailedException.combinedPeriodTooLong("Combined freeze period " in validateAgainstPreviousFreezePeriod()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DSystemUpdatePolicyTest.java18 import static android.app.admin.SystemUpdatePolicy.ValidationFailedException.ERROR_COMBINED_FREEZE_…
19 import static android.app.admin.SystemUpdatePolicy.ValidationFailedException.ERROR_COMBINED_FREEZE_…
20 import static android.app.admin.SystemUpdatePolicy.ValidationFailedException.ERROR_DUPLICATE_OR_OVE…
21 import static android.app.admin.SystemUpdatePolicy.ValidationFailedException.ERROR_NEW_FREEZE_PERIO…
22 import static android.app.admin.SystemUpdatePolicy.ValidationFailedException.ERROR_NEW_FREEZE_PERIO…
412 } catch (SystemUpdatePolicy.ValidationFailedException e) { in testFreezePeriodsFails()
428 } catch (SystemUpdatePolicy.ValidationFailedException e) { in testPrevFreezePeriodFails()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt3530 Landroid/app/admin/SystemUpdatePolicy$ValidationFailedException;-><init>(ILjava/lang/String;)V
3531 …atePolicy$ValidationFailedException;->combinedPeriodTooClose(Ljava/lang/String;)Landroid/app/admin…
3532 …atePolicy$ValidationFailedException;->combinedPeriodTooLong(Ljava/lang/String;)Landroid/app/admin/…
3533 …stemUpdatePolicy$ValidationFailedException;->duplicateOrOverlapPeriods()Landroid/app/admin/SystemU…
3534 Landroid/app/admin/SystemUpdatePolicy$ValidationFailedException;->ERROR_NONE:I
3535 …datePolicy$ValidationFailedException;->freezePeriodTooClose(Ljava/lang/String;)Landroid/app/admin/…
3536 …datePolicy$ValidationFailedException;->freezePeriodTooLong(Ljava/lang/String;)Landroid/app/admin/S…
3537 Landroid/app/admin/SystemUpdatePolicy$ValidationFailedException;->mErrorCode:I
/frameworks/base/non-updatable-api/
Dcurrent.txt7099 …public static final class SystemUpdatePolicy.ValidationFailedException extends java.lang.IllegalAr…
7103 …roid.os.Parcelable.Creator<android.app.admin.SystemUpdatePolicy.ValidationFailedException> CREATOR;
/frameworks/base/api/
Dcurrent.txt7099 …public static final class SystemUpdatePolicy.ValidationFailedException extends java.lang.IllegalAr…
7103 …roid.os.Parcelable.Creator<android.app.admin.SystemUpdatePolicy.ValidationFailedException> CREATOR;