Home
last modified time | relevance | path

Searched refs:Invalid (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/validation/types/
DParceledArrayTest.kt23 import com.android.intentresolver.validation.Invalid
54 assertThat(result).isInstanceOf(Invalid::class.java) in wrongElementType()
55 result as Invalid<List<Intent>> in wrongElementType()
77 assertThat(result).isInstanceOf(Invalid::class.java) in missing()
78 result as Invalid<List<Intent>> in missing()
90 assertThat(result).isInstanceOf(Invalid::class.java) in optional()
91 result as Invalid<List<Intent>> in optional()
104 assertThat(result).isInstanceOf(Invalid::class.java) in wrongType()
105 result as Invalid<List<Intent>> in wrongType()
DIntentOrUriTest.kt26 import com.android.intentresolver.validation.Invalid
68 assertThat(result).isInstanceOf(Invalid::class.java) in missing()
69 result as Invalid<Intent> in missing()
81 assertThat(result).isInstanceOf(Invalid::class.java) in optional()
82 result as Invalid<List<Intent>> in optional()
96 assertThat(result).isInstanceOf(Invalid::class.java) in wrongType_required()
97 result as Invalid<Intent> in wrongType_required()
118 assertThat(result).isInstanceOf(Invalid::class.java) in wrongType_optional()
119 result as Invalid<Intent> in wrongType_optional()
DSimpleValueTest.kt21 import com.android.intentresolver.validation.Invalid
51 assertThat(result).isInstanceOf(Invalid::class.java) in wrongType()
52 result as Invalid<Double> in wrongType()
71 assertThat(result).isInstanceOf(Invalid::class.java) in missing()
72 result as Invalid<Double> in missing()
84 assertThat(result).isInstanceOf(Invalid::class.java) in optional()
85 result as Invalid<Double> in optional()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/validation/types/
DParceledArray.kt19 import com.android.intentresolver.validation.Invalid
42 Importance.WARNING -> Invalid() // No warnings if optional, but missing in validate()
43 Importance.CRITICAL -> Invalid(NoValue(key, importance, elementType)) in validate()
60 Invalid( in validate()
74 Invalid( in validate()
DIntentOrUri.kt21 import com.android.intentresolver.validation.Invalid
45 Importance.WARNING -> Invalid() // No warnings if optional, but missing in validate()
46 Importance.CRITICAL -> Invalid(NoValue(key, importance, Intent::class)) in validate()
51 return Invalid( in validate()
DSimpleValue.kt19 import com.android.intentresolver.validation.Invalid
42 Importance.WARNING -> Invalid() // No warnings if optional, but missing in validate()
43 Importance.CRITICAL -> Invalid(NoValue(key, importance, expected)) in validate()
48 Invalid( in validate()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/validation/
DValidationTest.kt52 assertThat(result).isInstanceOf(Invalid::class.java) in required_valueAbsent()
53 result as Invalid<String> in required_valueAbsent()
126 assertThat(result).isInstanceOf(Invalid::class.java) in thrown_exception()
127 result as Invalid<String> in thrown_exception()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/validation/
DValidation.kt90 is InvalidResultError -> Invalid(validation.findings) in validate()
93 else -> Invalid(error = UncaughtException(it)) in validate()
125 is Invalid -> { in validate()
DValidationResult.kt24 data class Invalid<T>(val errors: List<Finding> = emptyList()) : ValidationResult<T> { class
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/viewmodel/
DFingerprintGatekeeperViewModel.kt36 object Invalid : GatekeeperInfo object
78 _gatekeeperInfo.update { GatekeeperInfo.Invalid } in onConfirmDevice()
112 return GatekeeperInfo.Invalid in toGateKeeperInfo()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverHelper.kt32 import com.android.intentresolver.validation.Invalid
114 is Invalid -> reportErrorsAndFinish(request) in onCreate()
118 private fun reportErrorsAndFinish(request: Invalid<ResolverRequest>) { in reportErrorsAndFinish()
DChooserHelper.kt36 import com.android.intentresolver.validation.Invalid in <lambda>()
138 is Invalid -> reportErrorsAndFinish(request) in <lambda>()
190 private fun reportErrorsAndFinish(request: Invalid<ChooserRequest>) { in <lambda>()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ui/viewmodel/
DResolverRequestTest.kt28 import com.android.intentresolver.validation.Invalid
78 assertThat(result).isInstanceOf(Invalid::class.java) in createActivityModel()
79 result as Invalid<ResolverRequest> in createActivityModel()
DChooserRequestTest.kt37 import com.android.intentresolver.validation.Invalid
72 assertThat(result).isInstanceOf(Invalid::class.java) in missingIntent()
73 result as Invalid<ChooserRequest> in missingIntent()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/viewmodel/
DResolverViewModel.kt25 import com.android.intentresolver.validation.Invalid
67 is Invalid -> Log.w(TAG, "initialRequest is Invalid, initialization failed")
DChooserViewModel.kt31 import com.android.intentresolver.validation.Invalid
90 if (initialRequest is Invalid) {
/packages/modules/Gki/libkver/
Dtest.cpp43 TEST(KmiVersion, Invalid) { in TEST() argument
82 TEST(KernelRelease, Invalid) { in TEST() argument
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/update/
DSelectionChangeCallback.kt42 import com.android.intentresolver.validation.Invalid in <lambda>()
98 is Invalid -> { in bundle()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dmod.rs26 Invalid = 0x7fff_fffe, enumerator
Dgatt.rs505 Invalid = 0, enumerator
513 LeDiscMode::from_u32(num).unwrap_or(LeDiscMode::Invalid) in from()
525 LeDiscMode::Invalid in default()
533 Invalid = 0, enumerator
553 LePhy::Invalid in default()
/packages/modules/DnsResolver/
Dstats.proto241 SYS_EINVAL = 22; // Invalid argument
270 SYS_EBADE = 52; // Invalid exchange
271 SYS_EBADR = 53; // Invalid request descriptor
274 SYS_EBADRQC = 56; // Invalid request code
275 SYS_EBADSLT = 57; // Invalid slot
/packages/modules/OnDevicePersonalization/framework/api/
Dlint-baseline.txt3Invalid nullability on parameter `intent` in method `onBind`. Parameters of overrides cannot be No…
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/paging/
DFakeInMemoryAlbumPagingSource.kt89 return LoadResult.Invalid() in <lambda>()
DFakeInMemoryMediaPagingSource.kt92 return LoadResult.Invalid() in <lambda>()
/packages/modules/Bluetooth/floss/hcidoc/src/
Dparser.rs96 Invalid = 0xffff, enumerator
120 LinuxSnoopOpcodes::from_u32(self.flags & 0xffff).unwrap_or(LinuxSnoopOpcodes::Invalid) in opcode()

12