Home
last modified time | relevance | path

Searched defs:whenever (Results 1 – 5 of 5) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DMockitoExtensions.kt28 fun <T> whenever(methodCall: T): OngoingStubbing<T> = `when`(methodCall) method
30 fun <T> Stubber.whenever(mock: T): T = `when`(mock) method
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/utils/
DMockitoUtils.kt29 fun <Type> whenever(mock: Type) = Mockito.`when`(mock) in whenever() method
35 fun <Type> whenever(mock: Type, block: InvocationOnMock.() -> Type) = in whenever() method
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/
DMockitoKotlinHelpers.kt189 inline fun <T> whenever(methodCall: T): OngoingStubbing<T> = Mockito.`when`(methodCall) in anyArray() method
208 inline fun <T> Stubber.whenever(mock: T): T = `when`(mock) in anyArray() method
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/
DPolicyBuilder.kt255 fun ConditionalUsage.whenever(vararg usageTypes: UsageType): PolicyFieldBuilder { in build() method in com.android.libraries.pcc.chronicle.api.policy.builder.PolicyFieldBuilder
/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/domain/interactor/
DFingerprintManagerInteractorTest.kt403 private fun <T> whenever(methodCall: T): OngoingStubbing<T> = `when`(methodCall) method in com.android.settings.fingerprint2.domain.interactor.FingerprintManagerInteractorTest