Home
last modified time | relevance | path

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

/aosp_15_r20/frameworks/base/services/tests/servicestests/utils-mockito/com/android/server/testutils/
H A DMockitoUtils.kt66 fun <Type> Stubber.whenever(mock: Type) = this.`when`(mock) in whenever() method
67 fun <Type : Any?> whenever(mock: Type) = Mockito.`when`(mock) in whenever() method
70 fun <Type> whenever(mock: Type, block: InvocationOnMock.() -> Type) = in whenever() method
73 fun whenever(mock: Unit) = Mockito.`when`(mock).thenAnswer { } in <lambda>() method
/aosp_15_r20/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/util/test/
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
/aosp_15_r20/out/soong/.intermediates/packages/modules/OnDevicePersonalization/OnDevicePersonalization/android_common_apex33/kapt/gen/stubs/com/android/libraries/pcc/chronicle/api/policy/builder/
DPolicyFieldBuilder.java66 …s.pcc.chronicle.api.policy.builder.PolicyFieldBuilder whenever(@org.jetbrains.annotations.NotNull() in whenever() method in PolicyFieldBuilder
/aosp_15_r20/frameworks/base/libs/dream/lowlight/tests/src/com/android/dream/lowlight/utils/
H A DKotlinMockitoHelpers.kt71 fun <T> whenever(methodCall: T): OngoingStubbing<T> = `when`(methodCall) in whenever() method
72 fun <T> Stubber.whenever(mock: T): T = `when`(mock) in whenever() method
/aosp_15_r20/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/mockito/
H A DKotlinMockitoHelpers.kt162 fun <T> whenever(methodCall: T): OngoingStubbing<T> = `when`(methodCall) in whenever() method
177 fun <T> Stubber.whenever(mock: T): T = `when`(mock) in whenever() method
/aosp_15_r20/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
/aosp_15_r20/external/mockito-kotlin/mockito-kotlin/src/main/kotlin/org/mockito/kotlin/
H A DOngoingStubbing.kt42 inline fun <T> whenever(methodCall: T): OngoingStubbing<T> { in whenever() method
H A DStubber.kt65 fun <T> Stubber.whenever(mock: T) = `when`(mock) method
/aosp_15_r20/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
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilityInputFilterInputTest.kt518 private fun <T> whenever(methodCall: T): OngoingStubbing<T> = `when`(methodCall) method
/aosp_15_r20/frameworks/base/tests/Input/src/com/android/server/input/
H A DInputManagerServiceTests.kt569 private fun <T> whenever(methodCall: T): OngoingStubbing<T> = `when`(methodCall) method
/aosp_15_r20/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/domain/interactor/
DFingerprintManagerInteractorTest.kt502 private fun <T> whenever(methodCall: T): OngoingStubbing<T> = `when`(methodCall) method in com.android.settings.fingerprint2.domain.interactor.FingerprintManagerInteractorTest
/aosp_15_r20/out/soong/.intermediates/packages/modules/OnDevicePersonalization/OnDevicePersonalization/android_common_apex33/kotlin/
DOnDevicePersonalization.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/packages__modules__OnDevicePersonalization__android_common_apex33__OnDevicePersonalization.kotlin_module com ...
/aosp_15_r20/out/soong/.intermediates/packages/modules/OnDevicePersonalization/OnDevicePersonalization/android_common_apex33/kotlin_headers/
DOnDevicePersonalization.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/packages__modules__OnDevicePersonalization__android_common_apex33__OnDevicePersonalization.kotlin_module com ...
/aosp_15_r20/out/soong/.intermediates/packages/modules/OnDevicePersonalization/OnDevicePersonalization/android_common_apex33/withres/
DOnDevicePersonalization.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/androidx.annotation_annotation- ...