/aosp12/art/test/1925-self-frame-pop/src/art/ |
H A D | Test1925.java | 39 if (times == 0) { in recurTimesA() 47 if (times == 0) { in recurTimesB() 55 if (times == 0) { in recurTimesC() 63 if (times == 0) { in recurTimesD() 71 if (times == 0) { in recurTimesE() 79 if (times == 0) { in recurTimesF() 87 if (times == 0) { in recurTimesG() 95 if (times == 0) { in recurTimesH() 103 if (times == 0) { in recurTimesI() 111 if (times == 0) { in recurTimesJ() [all …]
|
/aosp12/art/test/1926-missed-frame-pop/src/art/ |
H A D | Test1926.java | 39 if (times == 0) { in recurTimesA() 47 if (times == 0) { in recurTimesB() 55 if (times == 0) { in recurTimesC() 63 if (times == 0) { in recurTimesD() 71 if (times == 0) { in recurTimesE() 79 if (times == 0) { in recurTimesF() 87 if (times == 0) { in recurTimesG() 95 if (times == 0) { in recurTimesH() 103 if (times == 0) { in recurTimesI() 111 if (times == 0) { in recurTimesJ() [all …]
|
/aosp12/art/test/1923-frame-pop/src/art/ |
H A D | Test1923.java | 39 if (times == 0) { in recurTimesA() 47 if (times == 0) { in recurTimesB() 55 if (times == 0) { in recurTimesC() 63 if (times == 0) { in recurTimesD() 71 if (times == 0) { in recurTimesE() 79 if (times == 0) { in recurTimesF() 87 if (times == 0) { in recurTimesG() 95 if (times == 0) { in recurTimesH() 103 if (times == 0) { in recurTimesI() 111 if (times == 0) { in recurTimesJ() [all …]
|
/aosp12/art/test/1924-frame-pop-toggle/src/art/ |
H A D | Test1924.java | 39 if (times == 0) { in recurTimesA() 47 if (times == 0) { in recurTimesB() 55 if (times == 0) { in recurTimesC() 63 if (times == 0) { in recurTimesD() 71 if (times == 0) { in recurTimesE() 79 if (times == 0) { in recurTimesF() 87 if (times == 0) { in recurTimesG() 95 if (times == 0) { in recurTimesH() 103 if (times == 0) { in recurTimesI() 111 if (times == 0) { in recurTimesJ() [all …]
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | RefreshRateStatsTest.cpp | 101 ASSERT_EQ(1, times.size()); in TEST_F() 106 auto screenOff = times["ScreenOff"]; in TEST_F() 122 EXPECT_LT(0, times["90.00fps"]); in TEST_F() 129 EXPECT_EQ(ninety, times["90.00fps"]); in TEST_F() 150 ASSERT_EQ(1, times.size()); in TEST_F() 155 auto screenOff = times["ScreenOff"]; in TEST_F() 171 EXPECT_LT(0, times["90.00fps"]); in TEST_F() 181 EXPECT_LT(0, times["60.00fps"]); in TEST_F() 189 EXPECT_EQ(sixty, times["60.00fps"]); in TEST_F() 197 EXPECT_LT(sixty, times["60.00fps"]); in TEST_F() [all …]
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dpsink/ |
H A D | A2dpSinkStreamHandlerTest.java | 92 verify(mMockAudioManager, times(0)).requestAudioFocus(any()); in testSrcStart() 93 verify(mMockA2dpSink, times(0)).informAudioFocusStateNative(1); in testSrcStart() 102 verify(mMockAudioManager, times(0)).requestAudioFocus(any()); in testSrcStop() 111 verify(mMockAudioManager, times(1)).requestAudioFocus(any()); in testSnkPlay() 120 verify(mMockAudioManager, times(0)).requestAudioFocus(any()); in testSnkPause() 131 verify(mMockAudioManager, times(0)).abandonAudioFocus(any()); in testDisconnect() 139 verify(mMockAudioManager, times(0)).requestAudioFocus(any()); in testSrcPlay() 149 verify(mMockAudioManager, times(1)).requestAudioFocus(any()); in testSrcPlayIot() 158 verify(mMockAudioManager, times(0)).requestAudioFocus(any()); in testSrcPause() 170 verify(mMockAudioManager, times(1)).requestAudioFocus(any()); in testFocusGain() [all …]
|
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
H A D | AppStateTrackerTest.java | 35 import static org.mockito.Mockito.times; 932 verify(l, times(0)).updateAllJobs(); in assertNoCallbacks() 955 verify(l, times(1)).updateAllJobs(); in testPowerSaveListener() 971 verify(l, times(1)).updateAllJobs(); in testPowerSaveListener() 1003 verify(l, times(0)).updateAllJobs(); in testAllListeners() 1017 verify(l, times(0)).updateAllJobs(); in testAllListeners() 1030 verify(l, times(0)).updateAllJobs(); in testAllListeners() 1047 verify(l, times(1)).updateAllJobs(); in testAllListeners() 1063 verify(l, times(1)).updateAllJobs(); in testAllListeners() 1081 verify(l, times(1)).updateAllJobs(); in testAllListeners() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationSwipeHelperTest.java | 26 import static org.mockito.Mockito.times; 187 verify(mMenuRow, times(1)).onTouchMove(10); in testOnMoveUpdate_menuRow() 213 verify(mMenuRow, times(1)).onTouchEnd(); in testHandleUpEvent_menuRow() 227 verify(mCallback, times(1)).onDismiss(); in testDismissChild_notExpanded() 236 verify(mCallback, times(1)).onDragCancelled(mView); in testSnapchild_targetIsZero() 247 verify(mCallback, times(1)).onDragCancelled(mView); in testSnapchild_targetNotZero() 307 verify(mSwipeHelper, times(1)).swipedFastEnough(); in testDismiss() 348 verify(mCallback, times(1)).isAntiFalsingNeeded(); in onMenuShown_noAntiFalsing() 366 verify(mCallback, times(1)).isAntiFalsingNeeded(); in onMenuShown_antiFalsing() 401 verify(animator, times(1)).start(); in testResetExposedMenuView_animate() [all …]
|
/aosp12/packages/modules/NeuralNetworks/tools/systrace_parser/parser/ |
H A D | aggregate.py | 50 times = {} 54 times[app_phase] = {} 57 times[app_phase][phase] = {} 60 times[phase] = {} 90 if not times[PHASE_OVERALL][layer]: 91 times[PHASE_OVERALL][layer] = sum(nan_to_zero(times[phase][layer]) for phase in phases) 94 times[phase][LAYER_TOTAL] = max_ignoring_nans(times[phase].values()) 97 times[app_phase][phase][LAYER_TOTAL] = max_ignoring_nans(times[app_phase][phase].values()) 110 elif times[phase][layer] == 0.0: 120 self_times[phase][layer] = times[phase][layer] - times[phase][LAYER_DRIVER] [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
H A D | FileUpdaterTest.java | 26 import static org.mockito.Mockito.times; 137 private void veriryWtf(int times) { in veriryWtf() argument 138 verify(mInjector, times(times)).injectWtf(anyOrNullString(), anyOrNull(Throwable.class)); in veriryWtf() 178 verify(mInjector, times(1)).injectWriteToFile("file1", "11"); in testSimpleWrite() 205 verify(mInjector, times(1)).injectWriteToFile("file1", "11"); in testMultiWrites() 206 verify(mInjector, times(1)).injectWriteToFile("file2", "22"); in testMultiWrites() 207 verify(mInjector, times(1)).injectWriteToFile("file3", "33"); in testMultiWrites() 234 verify(mInjector, times(0)).injectWriteToFile("file1", "11"); in testCantReadDefault() 235 verify(mInjector, times(1)).injectWriteToFile("file2", "22"); in testCantReadDefault() 267 verify(mInjector, times(1)).injectWriteToFile("file1", "11"); in testWriteGiveUp() [all …]
|
/aosp12/frameworks/base/core/tests/uwbtests/src/android/uwb/ |
H A D | RangingManagerTest.java | 23 import static org.mockito.Mockito.times; 60 verify(adapter, times(1)).openRanging( in testOpenSession_OpenRangingInvoked() 84 verify(adapter, times(1)).openRanging( in testOnRangingOpened_MultipleSessionsRegistered() 89 verify(adapter, times(2)).openRanging( in testOnRangingOpened_MultipleSessionsRegistered() 112 verify(adapter, times(1)).openRanging( in testCorrectCallbackInvoked() 158 verify(adapter, times(1)).openRanging( in testOnRangingClosed_MultipleSessionsRegistered() 163 verify(adapter, times(2)).openRanging( in testOnRangingClosed_MultipleSessionsRegistered() 187 verify(adapter, times(1)).openRanging( in testOnRangingReport_MultipleSessionsRegistered() 193 verify(adapter, times(2)).openRanging( in testOnRangingReport_MultipleSessionsRegistered() 241 verify(adapter, times(1)).openRanging( in runReason() [all …]
|
/aosp12/art/test/901-hello-ti-agent/ |
H A D | expected-stdout.txt | 13 1 times JVMTI_ERROR_ILLEGAL_ARGUMENT 15 9 times JVMTI_ERROR_ILLEGAL_ARGUMENT 22 4 times JVMTI_ERROR_ILLEGAL_ARGUMENT 29 5 times JVMTI_ERROR_ILLEGAL_ARGUMENT 32 1 times JVMTI_ERROR_ILLEGAL_ARGUMENT 35 4 times JVMTI_ERROR_ILLEGAL_ARGUMENT 38 8 times JVMTI_ERROR_ILLEGAL_ARGUMENT 42 7 times JVMTI_ERROR_ILLEGAL_ARGUMENT 55 7 times JVMTI_ERROR_ILLEGAL_ARGUMENT 65 1 times JVMTI_ERROR_ILLEGAL_ARGUMENT [all …]
|
/aosp12/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
H A D | CellBroadcastConfigServiceTest.java | 25 import static org.mockito.Mockito.times; 220 verify(mMockedSmsService, times(1)).enableCellBroadcastRangeForSubscriber( in testEnablingChannelsDefault() 226 verify(mMockedSmsService, times(1)).enableCellBroadcastRangeForSubscriber( in testEnablingChannelsDefault() 232 verify(mMockedSmsService, times(1)).enableCellBroadcastRangeForSubscriber( in testEnablingChannelsDefault() 238 verify(mMockedSmsService, times(1)).enableCellBroadcastRangeForSubscriber( in testEnablingChannelsDefault() 252 verify(mMockedSmsService, times(1)).enableCellBroadcastRangeForSubscriber( in testEnablingChannelsDefault() 258 verify(mMockedSmsService, times(1)).enableCellBroadcastRangeForSubscriber( in testEnablingChannelsDefault() 270 verify(mMockedSmsService, times(1)).enableCellBroadcastRangeForSubscriber( in testEnablingChannelsDefault() 276 verify(mMockedSmsService, times(1)).enableCellBroadcastRangeForSubscriber( in testEnablingChannelsDefault() 282 verify(mMockedSmsService, times(1)).enableCellBroadcastRangeForSubscriber( in testEnablingChannelsDefault() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
H A D | NavBarHelperTest.java | 22 import static org.mockito.Mockito.times; 111 verify(mNavbarTaskbarStateUpdater, times(1)) in callbacksFiredWhenRegistering() 113 verify(mNavbarTaskbarStateUpdater, times(1)) in callbacksFiredWhenRegistering() 125 verify(mNavbarTaskbarStateUpdater, times(1)) in assistantCallbacksFiredAfterConnecting() 127 verify(mNavbarTaskbarStateUpdater, times(1)) in assistantCallbacksFiredAfterConnecting() 132 verify(mNavbarTaskbarStateUpdater, times(1)) in assistantCallbacksFiredAfterConnecting() 134 verify(mNavbarTaskbarStateUpdater, times(2)) in assistantCallbacksFiredAfterConnecting() 145 verify(mNavbarTaskbarStateUpdater, times(2)) in a11yCallbacksFiredAfterModeChange() 147 verify(mNavbarTaskbarStateUpdater, times(1)) in a11yCallbacksFiredAfterModeChange() 158 verify(mNavbarTaskbarStateUpdater, times(1)) in assistantCallbacksFiredAfterNavModeChange() [all …]
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | SyncEngineTests.java | 21 import static com.android.dx.mockito.inline.extended.ExtendedMockito.times; 73 verify(mWm.mWindowPlacerLocked, times(1)).requestTraversal(); in testTrivialSyncCallback() 76 verify(listener, times(0)).onTransactionReady(anyInt(), any()); in testTrivialSyncCallback() 80 verify(mWm.mWindowPlacerLocked, times(2)).requestTraversal(); in testTrivialSyncCallback() 86 verify(listener, times(1)).onTransactionReady(anyInt(), any()); in testTrivialSyncCallback() 102 verify(mWm.mWindowPlacerLocked, times(2)).requestTraversal(); in testWaitingSyncCallback() 104 verify(listener, times(0)).onTransactionReady(anyInt(), any()); in testWaitingSyncCallback() 108 verify(mWm.mWindowPlacerLocked, times(3)).requestTraversal(); in testWaitingSyncCallback() 126 verify(mWm.mWindowPlacerLocked, times(2)).requestTraversal(); in testInvisibleSyncCallback() 128 verify(listener, times(0)).onTransactionReady(anyInt(), any()); in testInvisibleSyncCallback() [all …]
|
/aosp12/art/test/2003-double-virtual-structural/ |
H A D | expected-stdout.txt | 1 Hi(SubTransform called 1 times) 2 Hi(SubTransform called 2 times) 3 Hi(SubTransform called 3 times) 4 Hello(SubTransform called 4 times, Transform called 1 times) 5 Hello(SubTransform called 5 times, Transform called 2 times) 6 Hello(SubTransform called 6 times, Transform called 3 times)
|
/aosp12/frameworks/base/core/tests/nfctests/src/android/nfc/ |
H A D | NfcControllerAlwaysOnListenerTest.java | 25 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 …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/backup/transport/ |
H A D | DelegatingTransportTest.java | 21 import static org.mockito.Mockito.times; 78 verify(mBackupTransport, times(1)).name(); in testName() 90 verify(mBackupTransport, times(1)).configurationIntent(); in testConfigurationIntent() 138 verify(mBackupTransport, times(1)).transportDirName(); in testTransportDirName() 150 verify(mBackupTransport, times(1)).requestBackupTime(); in testRequestBackupTime() 162 verify(mBackupTransport, times(1)).initializeDevice(); in testInitializeDevice() 198 verify(mBackupTransport, times(1)).finishBackup(); in testFinishBackup() 259 verify(mBackupTransport, times(1)).getRestoreData(mFd); in testGetRestoreData() 267 verify(mBackupTransport, times(1)).finishRestore(); in tesFinishRestore() 323 verify(mBackupTransport, times(1)).cancelFullBackup(); in testCancelFullBackup() [all …]
|
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | DefaultDialerCacheTest.java | 45 import static org.mockito.Mockito.times; 80 verify(mContext, times(2)).registerReceiverAsUser( in setUp() 123 verify(mRoleManagerAdapter, times(4)) in testThreeUsers() 125 verify(mRoleManagerAdapter, times(2)) in testThreeUsers() 127 verify(mRoleManagerAdapter, times(2)) in testThreeUsers() 143 verify(mRoleManagerAdapter, times(2)).getDefaultDialerApp(eq(USER0)); in testDialer1PackageChanged() 144 verify(mRoleManagerAdapter, times(2)).getDefaultDialerApp(eq(USER1)); in testDialer1PackageChanged() 145 verify(mRoleManagerAdapter, times(2)).getDefaultDialerApp(eq(USER2)); in testDialer1PackageChanged() 160 verify(mRoleManagerAdapter, times(2)).getDefaultDialerApp(eq(USER0)); in testRandomOtherPackageChanged() 161 verify(mRoleManagerAdapter, times(2)).getDefaultDialerApp(eq(USER1)); in testRandomOtherPackageChanged() [all …]
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | SubscriptionInfoUpdaterTest.java | 31 import static org.mockito.Mockito.times; 232 verify(mSubscriptionController, times(0)).clearSubInfo(); in testSimUnknown() 345 verify(mSubscriptionController, times(0)).clearSubInfo(); in testSimError() 362 verify(mSubscriptionController, times(0)).clearSubInfo(); in testWrongSimState() 416 verify(mSubscriptionController, times(0)).clearSubInfo(); in testSimLoaded() 463 verify(mSubscriptionController, times(0)).clearSubInfo(); in testSimLoadedEmptyOperatorNumeric() 489 verify(mSubscriptionController, times(0)).clearSubInfo(); in testSimLockedWithOutIccId() 781 verify(mContentProvider, times(1)).update( in testUpdateFromCarrierConfigOpportunisticSetOpportunistic() 814 verify(mContentProvider, times(1)).update( in testUpdateFromCarrierConfigOpportunisticAddToGroup() 851 verify(mContentProvider, times(1)).update( in testUpdateFromCarrierConfigOpportunisticRemoveFromGroup() [all …]
|
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
H A D | StationaryThrottlingLocationProviderTest.java | 26 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 …]
|
/aosp12/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/taskbar/ |
H A D | TaskbarNavButtonControllerTest.java | 14 import static org.mockito.Mockito.times; 60 verify(mockSystemUiProxy, times(1)).onBackPressed(); in testPressBack() 66 verify(mockSystemUiProxy, times(1)).onImeSwitcherPressed(); in testPressImeSwitcher() 72 verify(mockSystemUiProxy, times(1)) in testPressA11yShortClick() 85 verify(mockSystemUiProxy, times(1)).startAssistant(any()); in testLongPressHome() 91 verify(mockCommandHelper, times(1)).addCommand(TYPE_HOME); in testPressHome() 111 verify(mockSystemUiProxy, times(0)).stopScreenPinning(); in testLongPressBackRecentsNotPinned() 119 verify(mockSystemUiProxy, times(1)).stopScreenPinning(); in testLongPressBackRecentsPinned() 132 verify(mockSystemUiProxy, times(0)).stopScreenPinning(); in testLongPressBackRecentsTooLongPinned() 145 verify(mockSystemUiProxy, times(0)).stopScreenPinning(); in testLongPressBackRecentsMultipleAttemptPinned() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | ShortcutManagerTest11.java | 24 import static org.mockito.Mockito.times; 100 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId() 198 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_pinShortcuts_unpinOthers() 335 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_uncacheShortcuts_causeDeletion() 483 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_pushDynamicShortcut_causeDeletion() 552 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_disableShortcuts() 587 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_disableShortcuts_pinnedAndCached() 659 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_removeDynamicShortcuts() 694 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_removeDynamicShortcuts_pinnedAndCached() 727 verify(callback, times(1)).onShortcutsRemoved( in testShortcutChangeCallback_removeAllDynamicShortcuts() [all …]
|
/aosp12/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
H A D | NavigationBarRotationContextTest.java | 22 import static org.mockito.Mockito.times; 72 verify(mRotationButtonController, times(1)) in testOnInvalidRotationProposal() 80 verify(mRotationButtonController, times(1)) in testOnSameRotationProposal() 90 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav() 92 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav() 98 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav() 100 verify(mRotationButtonController, times(0)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav() 105 verify(mRotationButtonController, times(1)).setRotateSuggestionButtonState( in testOnRotationProposalShowButtonShowNav() 113 verify(mRotationButtonController, times(0)) in testOnRotationProposalShowButton() 115 verify(mRotationButtonController, times(0)) in testOnRotationProposalShowButton() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
H A D | ThermalManagerServiceTest.java | 293 .times(0)).onStatusChange(anyInt()); in testNotify() 297 .times(0)).onStatusChange(anyInt()); in testNotify() 303 .times(1)).notifyThrottling(newSkin); in testNotify() 305 .times(1)).onStatusChange(status); in testNotify() 307 .times(1)).notifyThrottling(newSkin); in testNotify() 309 .times(1)).onStatusChange(status); in testNotify() 318 .times(0)).onStatusChange(anyInt()); in testNotify() 322 .times(0)).onStatusChange(anyInt()); in testNotify() 328 .times(1)).notifyThrottling(newSkin); in testNotify() 330 .times(1)).onStatusChange(status); in testNotify() [all …]
|