Home
last modified time | relevance | path

Searched refs:InternalValidator (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/service/autofill/
DValidators.java69 Preconditions.checkArgument(validator instanceof InternalValidator, in not()
71 return new NegationValidator((InternalValidator) validator); in not()
74 private static InternalValidator[] getInternalValidators(Validator[] validators) { in getInternalValidators()
77 final InternalValidator[] internals = new InternalValidator[validators.length]; in getInternalValidators()
80 Preconditions.checkArgument((validators[i] instanceof InternalValidator), in getInternalValidators()
82 internals[i] = (InternalValidator) validators[i]; in getInternalValidators()
DOptionalValidators.java36 final class OptionalValidators extends InternalValidator {
40 @NonNull private final InternalValidator[] mValidators;
42 OptionalValidators(@NonNull InternalValidator[] validators) { in OptionalValidators()
48 for (InternalValidator validator : mValidators) { in isValid()
87 .readParcelableArray(null, InternalValidator.class));
DRequiredValidators.java36 final class RequiredValidators extends InternalValidator {
40 @NonNull private final InternalValidator[] mValidators;
42 RequiredValidators(@NonNull InternalValidator[] validators) { in RequiredValidators()
48 for (InternalValidator validator : mValidators) { in isValid()
86 .readParcelableArray(null, InternalValidator.class));
DCustomDescription.java94 private final ArrayList<Pair<InternalValidator, BatchUpdates>> mUpdates;
118 public ArrayList<Pair<InternalValidator, BatchUpdates>> getUpdates() { in getUpdates()
137 private ArrayList<Pair<InternalValidator, BatchUpdates>> mUpdates;
277 Preconditions.checkArgument((condition instanceof InternalValidator), in batchUpdate()
283 mUpdates.add(new Pair<>((InternalValidator) condition, updates)); in batchUpdate()
407 final InternalValidator[] conditions = new InternalValidator[size]; in writeToParcel()
411 final Pair<InternalValidator, BatchUpdates> pair = mUpdates.get(i); in writeToParcel()
452 final InternalValidator[] conditions =
453 parcel.readParcelableArray(null, InternalValidator.class);
DNegationValidator.java32 final class NegationValidator extends InternalValidator {
33 @NonNull private final InternalValidator mValidator;
35 NegationValidator(@NonNull InternalValidator validator) { in NegationValidator()
DSaveInfo.java331 private final InternalValidator mValidator;
410 public InternalValidator getValidator() { in getValidator()
447 private InternalValidator mValidator;
689 Preconditions.checkArgument((validator instanceof InternalValidator), in setValidator()
691 mValidator = (InternalValidator) validator; in setValidator()
897 final InternalValidator validator = parcel.readParcelable(null);
DInternalValidator.java29 public abstract class InternalValidator implements Validator, Parcelable { class
DRegexValidator.java37 public final class RegexValidator extends InternalValidator implements Validator, Parcelable {
DLuhnChecksumValidator.java38 public final class LuhnChecksumValidator extends InternalValidator implements Validator,
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DSaveUi.java41 import android.service.autofill.InternalValidator;
404 final ArrayList<Pair<InternalValidator, BatchUpdates>> updates = in applyCustomDescription()
414 final Pair<InternalValidator, BatchUpdates> pair = updates.get(i); in applyCustomDescription()
415 final InternalValidator condition = pair.first; in applyCustomDescription()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java78 import android.service.autofill.InternalValidator;
2131 final InternalValidator validator = saveInfo.getValidator();
/frameworks/base/api/
Dtest-lint-baseline.txt2404 ParcelCreator: android.service.autofill.InternalValidator:
2428 ParcelNotFinal: android.service.autofill.InternalValidator:
Dtest-current.txt3513 …public abstract class InternalValidator implements android.os.Parcelable android.service.autofill.…
3514 ctor public InternalValidator();
3518 …public final class LuhnChecksumValidator extends android.service.autofill.InternalValidator implem…
3522 …public final class RegexValidator extends android.service.autofill.InternalValidator implements an…