Home
last modified time | relevance | path

Searched refs:Importance (Results 1 – 14 of 14) sorted by relevance

/packages/modules/IntentResolver/java/src/com/android/intentresolver/validation/
DFindings.kt19 import com.android.intentresolver.validation.Importance.CRITICAL
20 import com.android.intentresolver.validation.Importance.WARNING
24 val importance: Importance
28 enum class Importance { class
61 override val importance: Importance,
79 override val importance: Importance,
96 override val importance: Importance,
111 override val importance: Importance
DValidation.kt18 import com.android.intentresolver.validation.Importance.CRITICAL in <lambda>()
19 import com.android.intentresolver.validation.Importance.WARNING in <lambda>()
69 fun validate(source: (String) -> Any?, importance: Importance): ValidationResult<T> in validate()
116 private fun <T> validate(property: Validator<T>, importance: Importance): T? { in validate()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/validation/types/
DIntentOrUri.kt20 import com.android.intentresolver.validation.Importance
32 importance: Importance in validate()
45 Importance.WARNING -> Invalid() // No warnings if optional, but missing in validate()
46 Importance.CRITICAL -> Invalid(NoValue(key, importance, Intent::class)) in validate()
DSimpleValue.kt18 import com.android.intentresolver.validation.Importance
33 override fun validate(source: (String) -> Any?, importance: Importance): ValidationResult<T> { in validate()
42 Importance.WARNING -> Invalid() // No warnings if optional, but missing in validate()
43 Importance.CRITICAL -> Invalid(NoValue(key, importance, expected)) in validate()
DParceledArray.kt18 import com.android.intentresolver.validation.Importance
36 importance: Importance in validate()
42 Importance.WARNING -> Invalid() // No warnings if optional, but missing in validate()
43 Importance.CRITICAL -> Invalid(NoValue(key, importance, elementType)) in validate()
/packages/modules/NetworkStack/tests/hostlib/src/com/android/testutils/host/
DDeflakeHostTestBase.kt59 importance = Option.Importance.ALWAYS) in <lambda>()
78 importance = Option.Importance.ALWAYS, in <lambda>()
91 importance = Option.Importance.ALWAYS) in <lambda>()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/validation/types/
DSimpleValueTest.kt19 import com.android.intentresolver.validation.Importance.CRITICAL
20 import com.android.intentresolver.validation.Importance.WARNING
DParceledArrayTest.kt21 import com.android.intentresolver.validation.Importance.CRITICAL
22 import com.android.intentresolver.validation.Importance.WARNING
DIntentOrUriTest.kt24 import com.android.intentresolver.validation.Importance.CRITICAL
25 import com.android.intentresolver.validation.Importance.WARNING
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ui/viewmodel/
DChooserRequestTest.kt36 import com.android.intentresolver.validation.Importance
76 .containsExactly(NoValue(EXTRA_INTENT, Importance.CRITICAL, Intent::class)) in missingIntent()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/validation/
DValidationTest.kt55 assertThat(result.errors).containsExactly(NoValue("key", Importance.CRITICAL, Int::class)) in required_valueAbsent()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DNotificationHelper.java83 @NotificationManager.Importance int importance) { in showPrivacyReminderNotification()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/src/com/android/cts/netpolicy/
DHostsideNetworkPolicyTestCase.java52 @Option(name = "custom-url", importance = Option.Importance.IF_UNSET,
/packages/services/Car/service-builtin/src/com/android/car/admin/
DNotificationHelper.java76 @NotificationManager.Importance int importance) { in newNotificationBuilder()