Searched refs:invocationCount (Results 1 – 3 of 3) sorted by relevance
112 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 …]
200 public AtomicInteger invocationCount = new AtomicInteger(0); field in TelephonyRegistryTest.TelephonyCallbackWrapper204 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 …]
363 protected void verifySafeModeStateAndCallbackFired(int invocationCount, boolean isInSafeMode) { in verifySafeModeStateAndCallbackFired() argument364 verify(mGatewayStatusCallback, times(invocationCount)).onSafeModeStatusChanged(); in verifySafeModeStateAndCallbackFired()