Home
last modified time | relevance | path

Searched refs:times (Results 1 – 25 of 563) sorted by relevance

12345678910>>...23

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
H A DAppStateTrackerTest.java35 import static org.mockito.Mockito.times;
1036 verify(l, times(0)).updateAllJobs(); in assertNoCallbacks()
1059 verify(l, times(1)).updateAllJobs(); in testPowerSaveListener()
1075 verify(l, times(1)).updateAllJobs(); in testPowerSaveListener()
1107 verify(l, times(0)).updateAllJobs(); in testAllListeners()
1123 verify(l, times(0)).updateAllJobs(); in testAllListeners()
1138 verify(l, times(0)).updateAllJobs(); in testAllListeners()
1157 verify(l, times(1)).updateAllJobs(); in testAllListeners()
1175 verify(l, times(1)).updateAllJobs(); in testAllListeners()
1195 verify(l, times(1)).updateAllJobs(); in testAllListeners()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/
H A DMetadataAnimationHandlerTest.kt33 import org.mockito.Mockito.times
72 verify(exitAnimator, times(1)).start()
80 verify(exitAnimator, times(1)).start()
82 verify(postExitCB, times(1)).invoke()
88 verify(exitAnimator, times(1)).start()
90 verify(postExitCB, times(1)).invoke()
91 verify(postEnterCB, times(1)).invoke()
102 verify(postExitCB, times(1)).invoke()
141 verify(postExitCB, times(1)).invoke()
158 verify(postExitCB, times(1)).invoke()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationSwipeHelperTest.java31 import static org.mockito.Mockito.times;
240 verify(mMenuRow, times(1)).onTouchEnd(); in testHandleUpEvent_menuRowWithoutMenu_dismiss()
256 verify(mMenuRow, times(1)).onTouchEnd(); in testHandleUpEvent_menuRowWithoutMenu_snapback()
259 verify(mMenuRow, times(1)).onSnapClosed(); in testHandleUpEvent_menuRowWithoutMenu_snapback()
274 verify(mMenuRow, times(1)).onTouchEnd(); in testHandleUpEvent_menuRowWithOpenMenu_dismissed()
291 verify(mMenuRow, times(1)).onTouchEnd(); in testHandleUpEvent_menuRowWithOpenMenu_snapback()
309 verify(mMenuRow, times(1)).onTouchEnd(); in testHandleUpEvent_menuRowWithClosedMenu_dismissed()
326 verify(mMenuRow, times(1)).onTouchEnd(); in testHandleUpEvent_menuRowWithClosedMenu_snapback()
391 verify(mCallback, times(1)).onDismiss(); in testDismissChild_notExpanded()
574 verify(animator, times(1)).start(); in testResetExposedMenuView_animate()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
H A DNavBarHelperTest.java33 import static org.mockito.Mockito.times;
194 verify(mNavbarTaskbarStateUpdater, times(1)) in callbacksFiredWhenRegistering()
196 verify(mNavbarTaskbarStateUpdater, times(1)) in callbacksFiredWhenRegistering()
198 verify(mNavbarTaskbarStateUpdater, times(1)) in callbacksFiredWhenRegistering()
200 verify(mNavbarTaskbarStateUpdater, times(1)) in callbacksFiredWhenRegistering()
211 verify(mNavbarTaskbarStateUpdater, times(1)) in assistantCallbacksFiredAfterConnecting()
213 verify(mNavbarTaskbarStateUpdater, times(1)) in assistantCallbacksFiredAfterConnecting()
218 verify(mNavbarTaskbarStateUpdater, times(1)) in assistantCallbacksFiredAfterConnecting()
220 verify(mNavbarTaskbarStateUpdater, times(2)) in assistantCallbacksFiredAfterConnecting()
230 verify(mNavbarTaskbarStateUpdater, times(2)) in a11yCallbacksFiredAfterModeChange()
[all …]
H A DNavigationBarRotationContextTest.java22 import static org.mockito.Mockito.times;
97 verify(mRotationButtonController, times(1)).setRotateSuggestionButtonState( in testOnInvalidRotationProposal()
105 verify(mRotationButtonController, times(1)).setRotateSuggestionButtonState( in testOnSameRotationProposal()
115 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav()
117 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav()
123 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav()
125 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav()
130 verify(mRotationButtonController, times(1)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav()
138 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButton()
140 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButton()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
H A DClipboardOverlayControllerTest.java35 import static org.mockito.Mockito.times;
176 verify(mClipboardOverlayView, times(1)).showShareChip(); in test_setClipData_invalidImageData_legacy()
177 verify(mClipboardOverlayView, times(1)).getEnterAnimation(); in test_setClipData_invalidImageData_legacy()
191 verify(mClipboardOverlayView, times(1)).showShareChip(); in test_setClipData_nonImageUri_legacy()
204 verify(mClipboardOverlayView, times(1)).showShareChip(); in test_setClipData_textData_legacy()
221 verify(mClipboardOverlayView, times(1)).showShareChip(); in test_setClipData_sensitiveTextData_legacy()
247 verify(mClipboardOverlayView, times(1)).showShareChip(); in test_setClipData_invalidImageData()
260 verify(mClipboardOverlayView, times(1)).showShareChip(); in test_setClipData_nonImageUri()
271 verify(mClipboardOverlayView, times(1)).showShareChip(); in test_setClipData_textData()
286 verify(mClipboardOverlayView, times(1)).showShareChip(); in test_setClipData_sensitiveTextData()
[all …]
/aosp14/frameworks/base/core/tests/nfctests/src/android/nfc/
H A DNfcControllerAlwaysOnListenerTest.java25 import static org.mockito.Mockito.times;
62 verify(listener, times(1)).onControllerAlwaysOnChanged(anyBoolean());
76 verify(mNfcAdapter, times(0)).registerControllerAlwaysOnListener(any());
80 verify(mNfcAdapter, times(0)).registerControllerAlwaysOnListener(any());
84 verify(mNfcAdapter, times(0)).registerControllerAlwaysOnListener(any());
89 verify(mNfcAdapter, times(0)).registerControllerAlwaysOnListener(any());
103 verify(mNfcAdapter, times(1)).registerControllerAlwaysOnListener(any());
107 verify(mNfcAdapter, times(1)).registerControllerAlwaysOnListener(any());
111 verify(mNfcAdapter, times(1)).registerControllerAlwaysOnListener(any());
116 verify(mNfcAdapter, times(1)).registerControllerAlwaysOnListener(any());
[all …]
/aosp14/frameworks/base/core/tests/mockingcoretests/src/android/os/
H A DBundleRecyclingTest.java29 import static org.mockito.Mockito.times;
64 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenUnparcelledWithoutLazy_recyclesParcelOnce()
69 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenUnparcelledWithoutLazy_recyclesParcelOnce()
77 verify(mParcelSpy, times(0)).recycle(); in bundleClear_whenParcelled_recyclesParcel()
80 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenParcelled_recyclesParcel()
85 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenParcelled_recyclesParcel()
94 verify(mParcelSpy, times(0)).recycle(); in bundleClear_whenUnparcelledWithLazy_recyclesParcel()
97 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenUnparcelledWithLazy_recyclesParcel()
102 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenUnparcelledWithLazy_recyclesParcel()
148 verify(mParcelSpy, times(1)).recycle(); in bundleGet_whenUnparcelledWithLazyValueUnwrapped_recyclesParcel()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/render/
H A DRenderStageManagerTest.kt39 import org.mockito.Mockito.times
103 verify(spyViewRenderer, times(1)).onRenderList(any())
104 verify(spyViewRenderer, times(1)).getStackController()
107 verify(spyViewRenderer, times(1)).onDispatchComplete()
123 verify(spyViewRenderer, times(1)).onRenderList(any())
124 verify(spyViewRenderer, times(1)).getStackController()
126 verify(spyViewRenderer, times(8)).getRowController(any())
127 verify(spyViewRenderer, times(1)).onDispatchComplete()
146 verify(spyViewRenderer, times(1)).onRenderList(any())
147 verify(spyViewRenderer, times(1)).getStackController()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A DNtpTrustedTimeTest.java27 import static org.mockito.Mockito.times;
304 inOrder.verify(ntpTrustedTime, times(1)) in testForceRefresh_singleServer_queryFailed()
330 inOrder.verify(ntpTrustedTime, times(1)) in testForceRefresh_singleServer_querySucceeded()
358 inOrder.verify(ntpTrustedTime, times(1)) in testForceRefresh_multiServer_firstQueryFailed()
360 inOrder.verify(ntpTrustedTime, times(1)) in testForceRefresh_multiServer_firstQueryFailed()
386 inOrder.verify(ntpTrustedTime, times(1)) in testForceRefresh_multiServer_firstQuerySucceeded()
415 inOrder.verify(ntpTrustedTime, times(1)) in testForceRefresh_multiServer_keepsOldValueOnFailure()
439 inOrder.verify(ntpTrustedTime, times(1)) in testForceRefresh_multiServer_keepsOldValueOnFailure()
441 inOrder.verify(ntpTrustedTime, times(1)) in testForceRefresh_multiServer_keepsOldValueOnFailure()
485 inOrder.verify(ntpTrustedTime, times(1)) in testForceRefresh_multiServer_complex()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/provider/
H A DVisualStabilityProviderTest.kt27 import org.mockito.Mockito.times
55 verify(listener, times(1)).onReorderingAllowed()
59 verify(listener, times(2)).onReorderingAllowed()
67 verify(listener, times(1)).onReorderingAllowed()
71 verify(listener, times(1)).onReorderingAllowed()
98 verify(listener, times(1)).onReorderingAllowed()
102 verify(listener, times(2)).onReorderingAllowed()
111 verify(listener, times(1)).onReorderingAllowed()
115 verify(listener, times(2)).onReorderingAllowed()
145 verify(selfAddingListener, times(1)).onReorderingAllowed()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/stylus/
H A DStylusManagerTest.kt217 verify(inputManager, times(1))
296 verify(stylusCallback, times(1))
309 verify(stylusCallback, times(1))
389 verify(inputManager, times(1))
426 verify(uiEventLogger, times(1))
451 verify(uiEventLogger, times(1))
453 verify(uiEventLogger, times(1))
533 verify(uiEventLogger, times(1))
550 verify(uiEventLogger, times(1))
589 verify(uiEventLogger, times(1))
[all …]
H A DStylusUsiPowerUiTest.kt53 import org.mockito.Mockito.times
115 verify(notificationManager, times(1))
134 verify(notificationManager, times(1))
144 it.verify(notificationManager, times(1))
156 verify(notificationManager, times(2))
176 it.verify(notificationManager, times(1))
179 it.verify(notificationManager, times(1))
200 it.verify(notificationManager, times(1))
222 verify(uiEventLogger, times(1))
261 verify(uiEventLogger, times(1))
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
H A DStationaryThrottlingLocationProviderTest.java26 import static org.mockito.Mockito.times;
98 verify(mListener, times(1)).onReportLocation(any(LocationResult.class)); in testThrottle_lowInterval()
113 verify(mListener, times(1)).onReportLocation(any(LocationResult.class)); in testThrottle_stationaryExit()
123 verify(mDelegate, times(2)).onSetRequest(request); in testThrottle_stationaryExit()
135 verify(mListener, times(1)).onReportLocation(any(LocationResult.class)); in testThrottle_idleExit()
145 verify(mDelegate, times(2)).onSetRequest(request); in testThrottle_idleExit()
161 verify(mListener, times(1)).onReportLocation(any(LocationResult.class)); in testThrottle_NoInitialLocation()
162 verify(mDelegate, times(1)).onSetRequest(ProviderRequest.EMPTY_REQUEST); in testThrottle_NoInitialLocation()
166 verify(mDelegate, times(2)).onSetRequest(request); in testThrottle_NoInitialLocation()
196 verify(mListener, times(1)).onReportLocation(loc); in testNoThrottle_oldLocation()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/model/
H A DSysUiStateTest.java23 import static org.mockito.Mockito.times;
60 verify(mCallback, times(1)).onSystemUiStateChanged(FLAG_1); in addSingle_setFlag()
68 verify(mCallback, times(1)).onSystemUiStateChanged(FLAG_1); in addMultiple_setFlag()
69 verify(mCallback, times(1)) in addMultiple_setFlag()
80 verify(mCallback, times(1)).onSystemUiStateChanged(FLAG_1); in addMultipleRemoveOne_setFlag()
81 verify(mCallback, times(1)) in addMultipleRemoveOne_setFlag()
83 verify(mCallback, times(1)).onSystemUiStateChanged(FLAG_2); in addMultipleRemoveOne_setFlag()
91 verify(mCallback, times(1)).onSystemUiStateChanged(expected); in addMultiple_setFlags()
101 verify(mCallback, times(1)).onSystemUiStateChanged(expected1); in addMultipleRemoveOne_setFlags()
103 verify(mCallback, times(1)).onSystemUiStateChanged(expected2); in addMultipleRemoveOne_setFlags()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest11.java24 import static org.mockito.Mockito.times;
102 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId()
200 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_pinShortcuts_unpinOthers()
337 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_uncacheShortcuts_causeDeletion()
485 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_pushDynamicShortcut_causeDeletion()
554 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_disableShortcuts()
589 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_disableShortcuts_pinnedAndCached()
661 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_removeDynamicShortcuts()
696 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_removeDynamicShortcuts_pinnedAndCached()
729 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_removeAllDynamicShortcuts()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBinderDeathDispatcherTest.java23 import static org.mockito.Mockito.times;
231 verify(r1, times(1)).binderDied(t1); in testRegisterAndKill()
232 verify(r2, times(1)).binderDied(t1); in testRegisterAndKill()
233 verify(r3, times(1)).binderDied(t1); in testRegisterAndKill()
234 verify(r4, times(0)).binderDied(any()); in testRegisterAndKill()
235 verify(r5, times(0)).binderDied(any()); in testRegisterAndKill()
242 verify(r1, times(1)).binderDied(t2); in testRegisterAndKill()
255 verify(r3, times(1)).binderDied(t3); in testRegisterAndKill()
257 verify(r5, times(1)).binderDied(t3); in testRegisterAndKill()
282 verify(r1, times(1)).binderDied(t1); in duplicateRegistrations()
[all …]
H A DKernelCpuUidActiveTimeReaderTest.java99 setCpusAndData(times); in testReadDelta()
102 mCallback.verify(mUids[i], getActiveTime(times[i])); in testReadDelta()
108 final long[][] newTimes1 = increaseTime(times); in testReadDelta()
227 private void setCpusAndData(long[][] times) throws IOException { in setCpusAndData() argument
232 data.put(mUids[i], times[i]); in setCpusAndData()
236 writeToFile(mHeadline + uidLines(mUids, times)); in setCpusAndData()
249 private String uidLines(int[] uids, long[][] times) { in uidLines() argument
253 for (int j = 0; j < times[i].length; j++) { in uidLines()
254 sb.append(' ').append(times[i][j] / 10); in uidLines()
278 private long getActiveTime(long[] times) { in getActiveTime() argument
[all …]
/aosp14/frameworks/base/core/jni/
H A Dcom_android_internal_os_KernelCpuUidBpfMapReader.cpp73 for (auto &[uid, times] : *data) { in KernelCpuUidFreqTimeBpfMapReader_readBpfData()
75 for (const auto &subVec : times) s += subVec.size(); in KernelCpuUidFreqTimeBpfMapReader_readBpfData()
79 copy2DVecToArray(env, ar, times); in KernelCpuUidFreqTimeBpfMapReader_readBpfData()
98 for (auto &[uid, times] : *data) { in KernelCpuUidActiveTimeBpfMapReader_readBpfData()
100 for (auto &time : times.active) time /= NSEC_PER_MSEC; in KernelCpuUidActiveTimeBpfMapReader_readBpfData()
103 env->SetLongArrayRegion(ar, 0, times.active.size(), in KernelCpuUidActiveTimeBpfMapReader_readBpfData()
132 for (auto &[uid, times] : *data) { in KernelCpuUidClusterTimeBpfMapReader_readBpfData()
134 for (const auto &subVec : times.policy) s += subVec.size(); in KernelCpuUidClusterTimeBpfMapReader_readBpfData()
138 copy2DVecToArray(env, ar, times.policy); in KernelCpuUidClusterTimeBpfMapReader_readBpfData()
145 auto times = android::bpf::getUidConcurrentTimes(0); in KernelCpuUidClusterTimeBpfMapReader_getDataDimensions() local
[all …]
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DSyncEngineTests.java24 import static com.android.dx.mockito.inline.extended.ExtendedMockito.times;
85 verify(mWm.mWindowPlacerLocked, times(0)).requestTraversal(); in testTrivialSyncCallback()
88 verify(listener, times(0)).onTransactionReady(anyInt(), any()); in testTrivialSyncCallback()
94 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testTrivialSyncCallback()
98 verify(listener, times(1)).onTransactionReady(anyInt(), any()); in testTrivialSyncCallback()
116 verify(listener, times(0)).onTransactionReady(anyInt(), any()); in testWaitingSyncCallback()
154 verify(listener, times(0)).onTransactionReady(anyInt(), any()); in testInvisibleSyncCallback()
180 verify(listener, times(0)).onTransactionReady(anyInt(), any()); in testWaitForChildrenCallback()
184 verify(listener, times(0)).onTransactionReady(anyInt(), any()); in testWaitForChildrenCallback()
188 verify(listener, times(0)).onTransactionReady(anyInt(), any()); in testWaitForChildrenCallback()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DFingerprintGestureDispatcherTest.java23 import static org.mockito.Mockito.times;
93 verify(mNonGestureCapturingClient, times(0)) in testOneNonCapturingService_doesNotCrashOrConsumeGestures()
95 verify(mNonGestureCapturingClient, times(0)).onFingerprintGesture(anyInt()); in testOneNonCapturingService_doesNotCrashOrConsumeGestures()
104 verify(mGestureCapturingClient, times(1)).onFingerprintGestureDetectionActiveChanged(false); in testOneCapturingService_notifiesClientOfActivityChanges()
105 verify(mGestureCapturingClient, times(0)).onFingerprintGestureDetectionActiveChanged(true); in testOneCapturingService_notifiesClientOfActivityChanges()
108 verify(mGestureCapturingClient, times(1)).onFingerprintGestureDetectionActiveChanged(true); in testOneCapturingService_notifiesClientOfActivityChanges()
117 verify(mGestureCapturingClient, times(1)).onFingerprintGesture( in testOneCapturingService_consumesGesturesAndPassesThemAlong()
121 verify(mGestureCapturingClient, times(1)).onFingerprintGesture( in testOneCapturingService_consumesGesturesAndPassesThemAlong()
125 verify(mGestureCapturingClient, times(1)).onFingerprintGesture( in testOneCapturingService_consumesGesturesAndPassesThemAlong()
129 verify(mGestureCapturingClient, times(1)).onFingerprintGesture( in testOneCapturingService_consumesGesturesAndPassesThemAlong()
[all …]
H A DFingerprintGestureControllerTest.java25 import static org.mockito.Mockito.times;
78 verify(mMockFingerprintGestureCallback, times(1)) in testDetectionActiveCallback_noHandler_shouldCallback()
81 verify(mMockFingerprintGestureCallback, times(1)) in testDetectionActiveCallback_noHandler_shouldCallback()
102 verify(mMockFingerprintGestureCallback, times(0)) in testDetectionActiveCallback_withHandler_shouldPostRunnableToHandler()
105 verify(mMockFingerprintGestureCallback, times(1)) in testDetectionActiveCallback_withHandler_shouldPostRunnableToHandler()
109 verify(mMockFingerprintGestureCallback, times(0)) in testDetectionActiveCallback_withHandler_shouldPostRunnableToHandler()
112 verify(mMockFingerprintGestureCallback, times(1)) in testDetectionActiveCallback_withHandler_shouldPostRunnableToHandler()
131 verify(mMockFingerprintGestureCallback, times(1)) in testGestureCallback_noHandler_shouldCallListener()
151 verify(mMockFingerprintGestureCallback, times(0)) in testGestureCallback_withHandler_shouldPostRunnableToHandler()
154 verify(mMockFingerprintGestureCallback, times(1)) in testGestureCallback_withHandler_shouldPostRunnableToHandler()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/
H A DThermalManagerServiceTest.java302 .times(0)).onStatusChange(anyInt()); in testNotify()
306 .times(0)).onStatusChange(anyInt()); in testNotify()
312 .times(1)).notifyThrottling(newSkin); in testNotify()
314 .times(1)).onStatusChange(status); in testNotify()
316 .times(1)).notifyThrottling(newSkin); in testNotify()
318 .times(1)).onStatusChange(status); in testNotify()
327 .times(0)).onStatusChange(anyInt()); in testNotify()
331 .times(0)).onStatusChange(anyInt()); in testNotify()
337 .times(1)).notifyThrottling(newSkin); in testNotify()
339 .times(1)).onStatusChange(status); in testNotify()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardClockSwitchControllerTest.java26 import static org.mockito.Mockito.times;
55 verifyAttachment(times(1)); in testInit_viewAlreadyAttached()
71 verifyAttachment(times(1)); in testInit_viewNotYetAttached()
87 verifyAttachment(times(1)); in testInit_viewDetached()
103 verify(mClockEventController, times(2)).setClock(mClockController); in testPluginPassesStatusBarState()
121 verify(mSmartspaceController, times(2)).buildAndConnectView(mView); in onLocaleListChangedRebuildsSmartspaceView()
134 verify(mSmartspaceController, times(2)).buildAndConnectView(mView); in onLocaleListChanged_rebuildsSmartspaceViews_whenDecouplingEnabled()
253 private void verifyAttachment(VerificationMode times) { in verifyAttachment() argument
254 verify(mClockRegistry, times).registerClockChangeListener( in verifyAttachment()
256 verify(mClockEventController, times).registerListeners(mView); in verifyAttachment()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/telephony/
H A DTelephonyListenerManagerTest.java21 import static org.mockito.Mockito.times;
70 verify(mTelephonyManager, times(1)) in testAddListenerRegisters_ActiveDataSubscriptionIdListener()
82 verify(mTelephonyManager, times(1)) in testAddListenerRegisters_CallStateListener()
94 verify(mTelephonyManager, times(1)) in testAddListenerRegisters_ServiceStateListener()
108 verify(mTelephonyManager, times(1)) in testAddListenerRegisters_mixed()
119 verify(mTelephonyManager, times(1)) in testRemoveListenerUnregisters_ActiveDataSubscriptionIdListener()
128 verify(mTelephonyManager, times(1)) in testRemoveListenerUnregisters_ActiveDataSubscriptionIdListener()
139 verify(mTelephonyManager, times(1)) in testRemoveListenerUnregisters_CallStateListener()
148 verify(mTelephonyManager, times(1)) in testRemoveListenerUnregisters_CallStateListener()
159 verify(mTelephonyManager, times(1)) in testRemoveListenerUnregisters_ServiceStateListener()
[all …]

12345678910>>...23