/packages/modules/IntentResolver/java/src/com/android/intentresolver/validation/ |
D | Validation.kt | 37 @Throws(InvalidResultError::class) fun <T> required(property: Validator<T>): T in <lambda>() 47 fun <T> optional(property: Validator<T>): T? in <lambda>() 54 fun <T> ignored(property: Validator<T>, reason: String) in <lambda>() 58 interface Validator<T> { interface 102 override fun <T> optional(property: Validator<T>): T? = validate(property, WARNING) in optional() 104 override fun <T> required(property: Validator<T>): T { in optional() 108 override fun <T> ignored(property: Validator<T>, reason: String) { in ignored() 116 private fun <T> validate(property: Validator<T>, importance: Importance): T? { in validate()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | ValidatedEditTextPreference.java | 35 public interface Validator { interface in ValidatedEditTextPreference 40 private Validator mValidator; 75 public void setValidator(Validator validator) { in setValidator() 83 public Validator getValidator() { in getValidator()
|
D | ValidatedEditTextPreferenceDialogFragment.java | 40 private ValidatedEditTextPreference.Validator mValidator; 61 ValidatedEditTextPreference.Validator validator = in onBindDialogView() 76 private void attachValidatorToView(View view, ValidatedEditTextPreference.Validator validator) { in attachValidatorToView()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/validation/types/ |
D | Validators.kt | 18 import com.android.intentresolver.validation.Validator 20 inline fun <reified T : Any> value(key: String): Validator<T> { in value() 24 inline fun <reified T : Any> array(key: String): Validator<List<T>> { in array()
|
D | IntentOrUri.kt | 25 import com.android.intentresolver.validation.Validator 28 class IntentOrUri(override val key: String) : Validator<Intent> {
|
D | SimpleValue.kt | 23 import com.android.intentresolver.validation.Validator 31 ) : Validator<T> {
|
D | ParceledArray.kt | 23 import com.android.intentresolver.validation.Validator 32 ) : Validator<List<T>> {
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ValidatedEditTextPreference.java | 40 public interface Validator { interface in ValidatedEditTextPreference 45 private Validator mValidator; 114 public void setValidator(Validator validator) { in setValidator()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | CustomAudienceNameValidator.java | 23 import com.android.adservices.service.common.Validator; 32 public class CustomAudienceNameValidator implements Validator<String> {
|
D | CustomAudienceUserBiddingSignalsValidator.java | 25 import com.android.adservices.service.common.Validator; 38 public class CustomAudienceUserBiddingSignalsValidator implements Validator<AdSelectionSignals> {
|
D | CustomAudienceImpl.java | 33 import com.android.adservices.service.common.Validator; 58 @NonNull private final Validator<CustomAudience> mCustomAudienceValidator; 67 @NonNull Validator<CustomAudience> customAudienceValidator, in CustomAudienceImpl()
|
D | CustomAudienceActivationTimeValidator.java | 23 import com.android.adservices.service.common.Validator; 34 public class CustomAudienceActivationTimeValidator implements Validator<Instant> {
|
D | CustomAudienceTimestampValidator.java | 23 import com.android.adservices.service.common.Validator; 34 public class CustomAudienceTimestampValidator implements Validator<CustomAudience> {
|
D | CustomAudienceBlobValidator.java | 24 import com.android.adservices.service.common.Validator; 34 public class CustomAudienceBlobValidator implements Validator<CustomAudienceBlob> {
|
D | CustomAudienceFieldSizeValidator.java | 30 import com.android.adservices.service.common.Validator; 41 public class CustomAudienceFieldSizeValidator implements Validator<CustomAudience> {
|
D | CustomAudienceValidator.java | 34 import com.android.adservices.service.common.Validator; 45 public class CustomAudienceValidator implements Validator<CustomAudience> {
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AdvertiserSetValidator.java | 23 import com.android.adservices.service.common.Validator; 38 public class AdvertiserSetValidator implements Validator<Set<AdTechIdentifier>> {
|
D | AuctionResultValidator.java | 30 import com.android.adservices.service.common.Validator; 42 public class AuctionResultValidator implements Validator<AuctionResult> {
|
D | AdSelectionFromOutcomesConfigValidator.java | 28 import com.android.adservices.service.common.Validator; 39 implements Validator<AdSelectionFromOutcomesConfig> {
|
D | AdSelectionConfigValidator.java | 32 import com.android.adservices.service.common.Validator; 43 public class AdSelectionConfigValidator implements Validator<AdSelectionConfig> {
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | ValidatedEditTextPreferenceDialogFragmentTest.java | 97 new ValidatedEditTextPreference.Validator() { in onInvalidInput_shouldDisablePositiveButton_and_disallowEnterToSubmit() 118 new ValidatedEditTextPreference.Validator() { in onValidInput_shouldEnablePositiveButton_and_allowEnterToSubmit()
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | editor.rs | 9 use rustyline::validate::Validator; 80 impl Validator for BtHelper {}
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiDeviceNameTextValidator.java | 25 public class WifiDeviceNameTextValidator implements ValidatedEditTextPreference.Validator {
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | FrequencyCapAdDataValidator.java | 28 public interface FrequencyCapAdDataValidator extends Validator<AdData> {
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingNameTextValidator.java | 27 public class AudioSharingNameTextValidator implements ValidatedEditTextPreference.Validator {
|