Home
last modified time | relevance | path

Searched refs:invocationCount (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/lifecycle/
DRepeatWhenAttachedTest.kt112 assertThat(block.invocationCount).isEqualTo(0) in repeatWhenAttached_viewStartsDetached_runsBlockWhenAttached()
118 assertThat(block.invocationCount).isEqualTo(1) in repeatWhenAttached_viewStartsDetached_runsBlockWhenAttached()
130 assertThat(block.invocationCount).isEqualTo(1) in repeatWhenAttached_viewAlreadyAttached_immediatelyRunsBlock()
143 assertThat(block.invocationCount).isEqualTo(1) in repeatWhenAttached_startsVisibleWithoutFocus_STARTED()
156 assertThat(block.invocationCount).isEqualTo(1) in repeatWhenAttached_startsWithFocusButInvisible_CREATED()
170 assertThat(block.invocationCount).isEqualTo(1) in repeatWhenAttached_startsVisibleAndWithFocus_RESUMED()
186 assertThat(block.invocationCount).isEqualTo(1) in repeatWhenAttached_becomesVisibleWithoutFocus_STARTED()
202 assertThat(block.invocationCount).isEqualTo(1) in repeatWhenAttached_gainsFocusButInvisible_CREATED()
222 assertThat(block.invocationCount).isEqualTo(1) in repeatWhenAttached_becomesVisibleAndGainsFocus_RESUMED()
236 assertThat(block.invocationCount).isEqualTo(1) in repeatWhenAttached_viewGetsDetached_destroysTheLifecycle()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java200 public AtomicInteger invocationCount = new AtomicInteger(0); field in TelephonyRegistryTest.TelephonyCallbackWrapper
204 invocationCount.incrementAndGet(); in onSrvccStateChanged()
210 invocationCount.incrementAndGet(); in onServiceStateChanged()
216 invocationCount.incrementAndGet(); in onPhoneCapabilityChanged()
221 invocationCount.incrementAndGet(); in onActiveDataSubscriptionIdChanged()
226 invocationCount.incrementAndGet(); in onRadioPowerStateChanged()
231 invocationCount.incrementAndGet(); in onPreciseDataConnectionStateChanged()
235 invocationCount.incrementAndGet(); in onDataConnectionStateChanged()
262 invocationCount.incrementAndGet(); in onCellInfoChanged()
268 invocationCount.incrementAndGet(); in onBarringInfoChanged()
[all …]
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnGatewayConnectionTestBase.java363 protected void verifySafeModeStateAndCallbackFired(int invocationCount, boolean isInSafeMode) { in verifySafeModeStateAndCallbackFired() argument
364 verify(mGatewayStatusCallback, times(invocationCount)).onSafeModeStatusChanged(); in verifySafeModeStateAndCallbackFired()