Home
last modified time | relevance | path

Searched full:times (Results 1 – 25 of 23356) sorted by relevance

12345678910>>...935

/aosp_15_r20/external/testng/doc/
H A Dbook-toc.html11 …</a></font></td></tr></table><font size="3" face="Times"><span style="font-size:16px;font-family:T…
14 <font size="6" face="Times"><span style="font-size:48px;font-family:Times">
18 <font size="8" face="Times"><span style="font-size:12px;font-family:Times">
29 <font size="8" face="Times"><span style="font-size:16px;font-family:Times">
34 <font size="8" face="Times"><span style="font-size:12px;font-family:Times">
39 <font size="8" face="Times"><span style="font-size:11px;font-family:Times">
42 <font size="8" face="Times"><span style="font-size:12px;font-family:Times">
45 <font size="8" face="Times"><span style="font-size:11px;font-family:Times">
48 <font size="8" face="Times"><span style="font-size:12px;font-family:Times">
51 <font size="8" face="Times"><span style="font-size:11px;font-family:Times">
[all …]
/aosp_15_r20/packages/services/Telephony/tests/src/com/android/phone/
DImsStateCallbackControllerTest.java41 import static org.mockito.Mockito.times;
205 verify(mCallback0, times(1)).onUnavailable(REASON_IMS_SERVICE_DISCONNECTED); in testMmTelRegisterThenUnregisterCallback()
221 verify(mCallback0, times(1)).onUnavailable(REASON_IMS_SERVICE_DISCONNECTED); in testMmTelConnectionUnavailable()
226 verify(mCallback0, times(1)).onUnavailable(REASON_IMS_SERVICE_NOT_READY); in testMmTelConnectionUnavailable()
231 verify(mCallback0, times(1)).onUnavailable(REASON_NO_IMS_SERVICE_CONFIGURED); in testMmTelConnectionUnavailable()
247 verify(mCallback0, times(1)).onUnavailable(REASON_IMS_SERVICE_DISCONNECTED); in testMmTelConnectionReady()
248 verify(mCallback0, times(0)).onAvailable(); in testMmTelConnectionReady()
268 verify(mCallback0, times(1)).onUnavailable(REASON_IMS_SERVICE_DISCONNECTED); in testMmTelIgnoreDuplicatedConsecutiveReason()
273 verify(mCallback0, times(1)).onUnavailable(REASON_NO_IMS_SERVICE_CONFIGURED); in testMmTelIgnoreDuplicatedConsecutiveReason()
278 verify(mCallback0, times(1)).onUnavailable(REASON_NO_IMS_SERVICE_CONFIGURED); in testMmTelIgnoreDuplicatedConsecutiveReason()
[all …]
/aosp_15_r20/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
H A DAppStateTrackerTest.java35 import static org.mockito.Mockito.times;
287 verify(mMockContext, times(2)).registerReceiver( in callStart()
1038 verify(l, times(0)).updateAllJobs(); in assertNoCallbacks()
1039 verify(l, times(0)).updateJobsForUid(anyInt(), anyBoolean()); in assertNoCallbacks()
1040 verify(l, times(0)).updateJobsForUidPackage(anyInt(), anyString(), anyBoolean()); in assertNoCallbacks()
1042 verify(l, times(0)).unblockAllUnrestrictedAlarms(); in assertNoCallbacks()
1043 verify(l, times(0)).unblockAlarmsForUid(anyInt()); in assertNoCallbacks()
1044 verify(l, times(0)).unblockAlarmsForUidPackage(anyInt(), anyString()); in assertNoCallbacks()
1061 verify(l, times(1)).updateAllJobs(); in testPowerSaveListener()
1062 verify(l, times(0)).updateJobsForUid(anyInt(), anyBoolean()); in testPowerSaveListener()
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/signature/
DProtectedAudienceSignatureManagerTest.java28 import static org.mockito.Mockito.times;
219 verify(mSignatureVerificationLoggerMock, times(1)).startKeyFetchForSignatureVerification(); in verifyLogSuccessfulSignatureVerification()
220 verify(mSignatureVerificationLoggerMock, times(1)).endKeyFetchForSignatureVerification(); in verifyLogSuccessfulSignatureVerification()
221 verify(mSignatureVerificationLoggerMock, times(1)) in verifyLogSuccessfulSignatureVerification()
223 verify(mSignatureVerificationLoggerMock, times(1)) in verifyLogSuccessfulSignatureVerification()
225 verify(mSignatureVerificationLoggerMock, times(1)).startSignatureVerification(); in verifyLogSuccessfulSignatureVerification()
226 verify(mSignatureVerificationLoggerMock, times(1)).endSignatureVerification(); in verifyLogSuccessfulSignatureVerification()
227 verify(mSignatureVerificationLoggerMock, times(1)) in verifyLogSuccessfulSignatureVerification()
229 verify(mSignatureVerificationLoggerMock, times(1)).close(verified); in verifyLogSuccessfulSignatureVerification()
230 verify(mSignatureVerificationLoggerMock, times(0)) in verifyLogSuccessfulSignatureVerification()
[all …]
/aosp_15_r20/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/
DAbstractLogVerifierTest.java68 .contains("Detected @TestAnnotation with times < 0!"); in testValidateTimes_withLessThanZeroTimes_throwsException()
83 "Detected @TestAnnotation with times = 0. Remove annotation as the test" in testValidateTimes_withZeroTimes_throwsException()
107 new TestLogCall(/* times= */ 2, /* param= */ 2), in testVerify_withMatchingExpectedAndActualCalls_throwsNoException()
108 new TestLogCall(/* times= */ 1, /* param= */ 3))); in testVerify_withMatchingExpectedAndActualCalls_throwsNoException()
111 testLogVerifier.recordActualCall(new TestLogCall(/* times= */ 1, /* param= */ 2)); in testVerify_withMatchingExpectedAndActualCalls_throwsNoException()
112 testLogVerifier.recordActualCall(new TestLogCall(/* times= */ 1, /* param= */ 3)); in testVerify_withMatchingExpectedAndActualCalls_throwsNoException()
113 testLogVerifier.recordActualCall(new TestLogCall(/* times= */ 1, /* param= */ 2)); in testVerify_withMatchingExpectedAndActualCalls_throwsNoException()
124 testLogVerifier.recordActualCall(new TestLogCall(/* times= */ 1, /* param= */ 2)); in testVerify_withNoExpectedAndNonEmptyActualCalls_throwsException()
125 testLogVerifier.recordActualCall(new TestLogCall(/* times= */ 1, /* param= */ 3)); in testVerify_withNoExpectedAndNonEmptyActualCalls_throwsException()
126 testLogVerifier.recordActualCall(new TestLogCall(/* times= */ 1, /* param= */ 2)); in testVerify_withNoExpectedAndNonEmptyActualCalls_throwsException()
[all …]
/aosp_15_r20/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogPerfServiceTest.cpp251 EXPECT_CALL(*mMockDataProcessor, terminate()).Times(1); in TearDown()
268 EXPECT_CALL(*mMockDataProcessor, init()).Times(1); in startService()
269 EXPECT_CALL(*mMockDataProcessor, onSystemStartup()).Times(1); in startService()
273 EXPECT_CALL(*mMockUidStatsCollector, init()).Times(1); in startService()
274 EXPECT_CALL(*mMockProcStatCollector, init()).Times(1); in startService()
275 EXPECT_CALL(*mMockProcDiskStatsCollector, init()).Times(1); in startService()
289 EXPECT_CALL(*mMockUidStatsCollector, collect()).Times(bootIterations); in startPeriodicCollection()
290 EXPECT_CALL(*mMockProcStatCollector, collect()).Times(bootIterations); in startPeriodicCollection()
294 .Times(bootIterations); in startPeriodicCollection()
316 EXPECT_CALL(*mMockDataProcessor, onPeriodicMonitor(_, _, _)).Times(2); in skipPeriodicMonitorEvents()
[all …]
/aosp_15_r20/frameworks/base/core/tests/packagemonitortests/src/com/android/internal/content/
H A DPackageMonitorTest.java26 import static org.mockito.Mockito.times;
114 verify(mMockContext, times(1)).registerReceiverAsUser(any(), eq(UserHandle.ALL), any(), in testPackageMonitorRegisterWithSupportPackageRestartQuery()
127 verify(spyPackageMonitor, times(1)).onBeginPackageChanges(); in testPackageMonitorDoHandlePackageEventUidRemoved()
128 verify(spyPackageMonitor, times(1)).onUidRemoved(eq(FAKE_PACKAGE_UID)); in testPackageMonitorDoHandlePackageEventUidRemoved()
129 verify(spyPackageMonitor, times(1)).onFinishPackageChanges(); in testPackageMonitorDoHandlePackageEventUidRemoved()
142 verify(spyPackageMonitor, times(1)).onBeginPackageChanges(); in testPackageMonitorDoHandlePackageEventPackageSuspended()
143 verify(spyPackageMonitor, times(1)).onPackagesSuspended(eq(packageList)); in testPackageMonitorDoHandlePackageEventPackageSuspended()
144 verify(spyPackageMonitor, times(1)).onSomePackagesChanged(); in testPackageMonitorDoHandlePackageEventPackageSuspended()
145 verify(spyPackageMonitor, times(1)).onFinishPackageChanges(); in testPackageMonitorDoHandlePackageEventPackageSuspended()
158 verify(spyPackageMonitor, times(1)).onBeginPackageChanges(); in testPackageMonitorDoHandlePackageEventPackageUnSuspended()
[all …]
/aosp_15_r20/frameworks/native/services/surfaceflinger/tests/unittests/
H A DRefreshRateStatsTest.cpp64 EXPECT_CALL(mTimeStats, recordRefreshRate(0, _)).Times(AtLeast(1)); in TEST_F()
65 EXPECT_CALL(mTimeStats, recordRefreshRate(90, _)).Times(AtLeast(1)); in TEST_F()
67 auto times = mRefreshRateStats->getTotalTimes(); in TEST_F() local
68 ASSERT_TRUE(times.contains("ScreenOff")); in TEST_F()
69 EXPECT_EQ(1u, times.size()); in TEST_F()
72 std::chrono::milliseconds screenOff = times.get("ScreenOff")->get(); in TEST_F()
74 times = mRefreshRateStats->getTotalTimes(); in TEST_F()
76 EXPECT_LT(screenOff, times.get("ScreenOff")->get()); in TEST_F()
77 EXPECT_FALSE(times.contains("90.00 Hz")); in TEST_F()
83 times = mRefreshRateStats->getTotalTimes(); in TEST_F()
[all …]
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DPythonUnitTestResultParserTest.java21 import static org.mockito.Mockito.times;
219 verify(mMockListener, times(1)).testRunStarted("test", 0); in testParseNoTests()
220 verify(mMockListener, times(1)).testRunEnded(0L, new HashMap<String, Metric>()); in testParseNoTests()
233 inOrder.verify(mMockListener, times(1)).testRunStarted("test", 1); in testParseSingleTestPass()
234 inOrder.verify(mMockListener, times(1)).testStarted(Mockito.eq(id)); in testParseSingleTestPass()
235 inOrder.verify(mMockListener, times(1)) in testParseSingleTestPass()
237 inOrder.verify(mMockListener, times(1)).testRunEnded(1000L, new HashMap<String, Metric>()); in testParseSingleTestPass()
254 inOrder.verify(mMockListener, times(1)).testRunStarted("test", 1); in testParsePartialSingleLineMatchSkipped()
255 inOrder.verify(mMockListener, times(1)).testRunEnded(1000L, new HashMap<String, Metric>()); in testParsePartialSingleLineMatchSkipped()
273 inOrder.verify(mMockListener, times(1)).testRunStarted("test", 1); in testParseSingleTestPassWithExpectedFailure()
[all …]
/aosp_15_r20/packages/modules/Bluetooth/system/bta/le_audio/
Dstate_machine_test.cc1719 .Times(1); in TEST_F()
1724 EXPECT_CALL(*mock_iso_manager_, CreateCig).Times(1); in TEST_F()
1833 * Expect 3 times: for Codec Configure & QoS Configure & Enable */ in TEST_F()
1837 .Times(3); in TEST_F()
1841 EXPECT_CALL(*mock_iso_manager_, CreateCig).Times(1); in TEST_F()
1890 .Times(AtLeast(1)); in TEST_F()
1901 EXPECT_CALL(*mock_iso_manager_, CreateCig).Times(1); in TEST_F()
1939 .Times(3); in TEST_F()
1941 EXPECT_CALL(*mock_iso_manager_, CreateCig(_, _)).Times(1); in TEST_F()
1942 EXPECT_CALL(*mock_iso_manager_, EstablishCis(_)).Times(0); in TEST_F()
[all …]
Dle_audio_client_test.cc1549 EXPECT_CALL(*mock_le_audio_source_hal_client_, Stop).Times(1); in TearDown()
1551 EXPECT_CALL(*mock_le_audio_source_hal_client_, OnDestroyed()).Times(1); in TearDown()
1556 EXPECT_CALL(*mock_le_audio_sink_hal_client_, Stop).Times(1); in TearDown()
1558 EXPECT_CALL(*mock_le_audio_sink_hal_client_, OnDestroyed()).Times(1); in TearDown()
1571 EXPECT_CALL(mock_gatt_interface_, AppDeregister(gatt_if)).Times(1); in TearDown()
1728 .Times(1); in ConnectLeAudio()
1736 .Times(1); in ConnectLeAudio()
1753 .Times(1); in DisconnectLeAudioWithGattClose()
1760 EXPECT_CALL(mock_btm_interface_, AclDisconnectFromHandle(conn_id, _)).Times(0); in DisconnectLeAudioWithGattClose()
1761 EXPECT_CALL(mock_gatt_interface_, Close(conn_id)).Times(1); in DisconnectLeAudioWithGattClose()
[all …]
/aosp_15_r20/external/libvpx/vp8/common/x86/
H A Dsubpixel_mmx.asm209 times 4 dw 0x40
214 times 8 dw 0
215 times 8 dw 0
216 times 8 dw 128
217 times 8 dw 0
218 times 8 dw 0
219 times 8 dw 0
221 times 8 dw 0
222 times 8 dw -6
223 times 8 dw 123
[all …]
/aosp_15_r20/frameworks/base/media/java/android/media/
H A DToneGenerator.java257 * repeated 3 times in a 100 ms on, 100 ms off cycle
300 * CDMA Abbr Reorder tone: 480Hz+620Hz 250ms ON, 250ms OFF repeated for 8 times
311 * CDMA Confirm tone: 350Hz+440Hz 100ms ON, 100ms OFF repeated for 3 times
329 * CDMA PIP tone: 480Hz 100ms ON, 100ms OFF repeated for 4 times
335 * ISDN Call Signal Normal tone: {2091Hz 32ms ON, 2556 64ms ON} 20 times,
342 * ISDN Call Signal Intergroup tone: {2091Hz 32ms ON, 2556 64ms ON} 8 times,
343 * 2091Hz 32ms ON, 400ms OFF, {2091Hz 32ms ON, 2556Hz 64ms ON} times,
350 * ISDN Call Signal SP PRI tone:{2091Hz 32ms ON, 2556 64ms ON} 4 times
351 * 2091Hz 16ms ON, 200ms OFF, {2091Hz 32ms ON, 2556Hz 64ms ON} 4 times,
364 * ISDN Ping Ring tone: {2091Hz 32ms ON, 2556Hz 64ms ON} 5 times
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/numeric/odeint/test/
Dintegrate_times.cpp67 push_back_time( std::vector< double > &times ) in push_back_time()
68 : m_times( times ) { } in push_back_time()
86 std::vector< double > times; in BOOST_AUTO_TEST_CASE() local
92 dt , push_back_time( times ) ); in BOOST_AUTO_TEST_CASE()
95 // check if observer was called at times 0,1,2,... in BOOST_AUTO_TEST_CASE()
96 BOOST_CHECK_EQUAL( times[i] , static_cast<double>(i) ); in BOOST_AUTO_TEST_CASE()
97 times.clear(); in BOOST_AUTO_TEST_CASE()
104 dt , push_back_time( times ) ); in BOOST_AUTO_TEST_CASE()
107 // check if observer was called at times 0,1,2,... in BOOST_AUTO_TEST_CASE()
108 BOOST_CHECK_EQUAL( times[i] , static_cast<double>(i) ); in BOOST_AUTO_TEST_CASE()
[all …]
/aosp_15_r20/external/webrtc/net/dcsctp/timer/
H A Dtimer_test.cc67 EXPECT_CALL(on_expired_, Call).Times(0); in TEST_F()
73 EXPECT_CALL(on_expired_, Call).Times(1); in TEST_F()
82 EXPECT_CALL(on_expired_, Call).Times(0); in TEST_F()
89 EXPECT_CALL(on_expired_, Call).Times(1); in TEST_F()
94 EXPECT_CALL(on_expired_, Call).Times(0); in TEST_F()
98 EXPECT_CALL(on_expired_, Call).Times(1); in TEST_F()
103 EXPECT_CALL(on_expired_, Call).Times(0); in TEST_F()
107 EXPECT_CALL(on_expired_, Call).Times(1); in TEST_F()
119 EXPECT_CALL(on_expired_, Call).Times(0); in TEST_F()
124 EXPECT_CALL(on_expired_, Call).Times(1); in TEST_F()
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationSwipeHelperTest.java33 import static org.mockito.Mockito.times;
140 verify(mSwipeHelper, times(1)).setExposedMenuView(null); in testClearExposedMenuView()
156 verify(mSwipeHelper, times(1)).setTranslatingParentView(null); in testClearTranslatingParentView()
175 verify(mSwipeHelper, times(1)).setCurrentMenuRow(null); in testClearCurrentMenuRow()
188 verify(mSwipeHelper, times(1)).clearCurrentMenuRow(); in testOnDownUpdate_ExpandableNotificationRow()
189 verify(mHandler, times(1)).removeCallbacks(mFalsingCheck); in testOnDownUpdate_ExpandableNotificationRow()
190 verify(mSwipeHelper, times(1)).resetExposedMenuView(true, false); in testOnDownUpdate_ExpandableNotificationRow()
191 verify(mSwipeHelper, times(1)).initializeRow(mNotificationRow); in testOnDownUpdate_ExpandableNotificationRow()
204 verify(mSwipeHelper, times(1)).clearCurrentMenuRow(); in testOnDownUpdate_notExpandableNotificationRow()
205 verify(mHandler, times(1)).removeCallbacks(mFalsingCheck); in testOnDownUpdate_notExpandableNotificationRow()
[all …]
/aosp_15_r20/tools/loganalysis/javatests/com/android/loganalysis/parser/
H A DDumpsysBatteryStatsParserTest.java48 " Kernel Wake lock PowerManagerService.WakeLocks: 1h 3m 50s 5ms (8 times) realtime", in testBatteryStatsParser()
49 " Kernel Wake lock event0-2656 : 3m 49s 268ms (2399 times) realtime", in testBatteryStatsParser()
50 " Kernel Wake lock wlan_wd_wake: 3m 34s 639ms (1751 times) realtime", in testBatteryStatsParser()
51 " Kernel Wake lock wlan_rx_wake: 3m 19s 887ms (225 times) realtime", in testBatteryStatsParser()
52 " Kernel Wake lock wlan_tx_wake: 2m 19s 887ms (225 times) realtime", in testBatteryStatsParser()
53 " Kernel Wake lock tx_wake: 1m 19s 887ms (225 times) realtime", in testBatteryStatsParser()
56 " Wake lock u0a7 NlpWakeLock: 8m 13s 203ms (1479 times) realtime", in testBatteryStatsParser()
57 " Wake lock u0a7 NlpCollectorWakeLock: 6m 29s 18ms (238 times) realtime", in testBatteryStatsParser()
58 " Wake lock u0a7 GCM_CONN_ALARM: 6m 8s 587ms (239 times) realtime", in testBatteryStatsParser()
59 " Wake lock 1000 *alarm*: 5m 11s 316ms (1469 times) realtime", in testBatteryStatsParser()
[all …]
/aosp_15_r20/art/test/1926-missed-frame-pop/src/art/
H A DTest1926.java38 public static void recurTimesA(int times, Runnable safepoint) { in recurTimesA() argument
39 if (times == 0) { in recurTimesA()
43 recurTimesB(times - 1, safepoint); in recurTimesA()
46 public static void recurTimesB(int times, Runnable safepoint) { in recurTimesB() argument
47 if (times == 0) { in recurTimesB()
51 recurTimesC(times - 1, safepoint); in recurTimesB()
54 public static void recurTimesC(int times, Runnable safepoint) { in recurTimesC() argument
55 if (times == 0) { in recurTimesC()
59 recurTimesD(times - 1, safepoint); in recurTimesC()
62 public static void recurTimesD(int times, Runnable safepoint) { in recurTimesD() argument
[all …]
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparerTest.java30 import static org.mockito.Mockito.times;
495 verify(mMockDevice, times(3)).getActiveApexes(); in testSetupAndTearDown_Optimize_APEXANDAPK_NoReboot()
497 verify(mMockDevice, times(1)).getMainlineModuleInfo(); in testSetupAndTearDown_Optimize_APEXANDAPK_NoReboot()
589 verify(mMockDevice, times(2)).uninstallPackage(Mockito.any()); in testSetupAndTearDown_Optimize_APEXANDAPK_UnInstallAPKAndReboot()
622 verify(mMockDevice, times(2)).uninstallPackage(Mockito.any()); in testSetupAndTearDown_Optimize_APEXANDAPK_UnInstallAPEXANDReboot()
659 verify(mMockDevice, times(2)).getActiveApexes(); in testSetupAndTearDown_Optimize_MultipleAPEX_NoReboot()
660 verify(mMockDevice, times(1)).getMainlineModuleInfo(); in testSetupAndTearDown_Optimize_MultipleAPEX_NoReboot()
700 verify(mMockDevice, times(4)).getActiveApexes(); in testSetupAndTearDown_Optimize_MultipleAPEX_UninstallThenInstallAndReboot()
702 verify(mMockDevice, times(1)).getMainlineModuleInfo(); in testSetupAndTearDown_Optimize_MultipleAPEX_UninstallThenInstallAndReboot()
703 verify(mMockDevice, times(1)).uninstallPackage(Mockito.any()); in testSetupAndTearDown_Optimize_MultipleAPEX_UninstallThenInstallAndReboot()
[all …]
/aosp_15_r20/frameworks/base/services/incremental/test/
H A DIncrementalServiceTest.cpp539 MockJniWrapper() { EXPECT_CALL(*this, initializeForCurrentThread()).Times(2); } in MockJniWrapper()
871 EXPECT_CALL(*mDataLoaderManager, bindToDataLoader(_, _, _, _, _)).Times(0); in TEST_F()
881 EXPECT_CALL(*mDataLoaderManager, bindToDataLoader(_, _, _, _, _)).Times(0); in TEST_F()
882 EXPECT_CALL(*mDataLoaderManager, unbindFromDataLoader(_)).Times(0); in TEST_F()
893 EXPECT_CALL(*mDataLoaderManager, bindToDataLoader(_, _, _, _, _)).Times(0); in TEST_F()
894 EXPECT_CALL(*mDataLoaderManager, unbindFromDataLoader(_)).Times(0); in TEST_F()
907 EXPECT_CALL(*mDataLoaderManager, bindToDataLoader(_, _, _, _, _)).Times(0); in TEST_F()
908 EXPECT_CALL(*mDataLoaderManager, unbindFromDataLoader(_)).Times(0); in TEST_F()
922 EXPECT_CALL(*mDataLoaderManager, bindToDataLoader(_, _, _, _, _)).Times(1); in TEST_F()
923 EXPECT_CALL(*mDataLoaderManager, unbindFromDataLoader(_)).Times(0); in TEST_F()
[all …]
/aosp_15_r20/art/test/1925-self-frame-pop/src/art/
H A DTest1925.java38 public static void recurTimesA(int times, Runnable safepoint) { in recurTimesA() argument
39 if (times == 0) { in recurTimesA()
43 recurTimesB(times - 1, safepoint); in recurTimesA()
46 public static void recurTimesB(int times, Runnable safepoint) { in recurTimesB() argument
47 if (times == 0) { in recurTimesB()
51 recurTimesC(times - 1, safepoint); in recurTimesB()
54 public static void recurTimesC(int times, Runnable safepoint) { in recurTimesC() argument
55 if (times == 0) { in recurTimesC()
59 recurTimesD(times - 1, safepoint); in recurTimesC()
62 public static void recurTimesD(int times, Runnable safepoint) { in recurTimesD() argument
[all …]
/aosp_15_r20/packages/modules/Uwb/framework/tests/src/android/uwb/
DRangingManagerTest.java26 import static org.mockito.Mockito.times;
75 verify(adapter, times(1)) in testOpenSession_OpenRangingInvoked()
86 verify(adapter, times(1)) in testOpenSession_validChipId_OpenRangingInvoked()
118 verify(adapter, times(0)) in testOpenSession_invalidChipId_IllegalArgumentException()
129 verify(callback, times(0)).onOpened(any()); in testOnRangingOpened_InvalidSessionHandle()
143 verify(adapter, times(1)) in testOnRangingOpened_MultipleSessionsRegistered()
154 verify(adapter, times(2)) in testOnRangingOpened_MultipleSessionsRegistered()
164 verify(callback1, times(1)).onOpened(any()); in testOnRangingOpened_MultipleSessionsRegistered()
165 verify(callback2, times(0)).onOpened(any()); in testOnRangingOpened_MultipleSessionsRegistered()
168 verify(callback1, times(1)).onOpened(any()); in testOnRangingOpened_MultipleSessionsRegistered()
[all …]
/aosp_15_r20/hardware/google/aemu/base/
DHealthMonitor_unittest.cpp93 EXPECT_CALL(logger, logMetricEvent(VariantWith<MetricEventHang>(_))).Times(1); in TEST_F()
98 .Times(1); in TEST_F()
108 EXPECT_CALL(logger, logMetricEvent(_)).Times(0); in TEST_F()
118 EXPECT_CALL(logger, logMetricEvent(VariantWith<MetricEventHang>(_))).Times(1); in TEST_F()
128 EXPECT_CALL(logger, logMetricEvent(VariantWith<MetricEventHang>(_))).Times(1); in TEST_F()
133 .Times(1); in TEST_F()
146 EXPECT_CALL(logger, logMetricEvent(VariantWith<MetricEventHang>(_))).Times(1); in TEST_F()
152 .Times(1); in TEST_F()
153 EXPECT_CALL(logger, logMetricEvent(VariantWith<MetricEventHang>(_))).Times(1); in TEST_F()
159 .Times(1); in TEST_F()
[all …]
/aosp_15_r20/external/angle/src/tests/preprocessor_tests/
H A Ddefine_test.cpp29 .Times(1); in TEST_F()
57 .Times(1); in TEST_F()
79 .Times(1); in TEST_F()
95 .Times(1); in TEST_F()
111 .Times(1); in TEST_F()
130 .Times(1); in TEST_F()
131 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F()
147 .Times(1); in TEST_F()
166 .Times(1); in TEST_F()
167 EXPECT_CALL(mDiagnostics, print(_, _, _)).Times(0); in TEST_F()
[all …]
/aosp_15_r20/art/test/1923-frame-pop/src/art/
H A DTest1923.java38 public static void recurTimesA(int times, Runnable safepoint) { in recurTimesA() argument
39 if (times == 0) { in recurTimesA()
43 recurTimesB(times - 1, safepoint); in recurTimesA()
46 public static void recurTimesB(int times, Runnable safepoint) { in recurTimesB() argument
47 if (times == 0) { in recurTimesB()
51 recurTimesC(times - 1, safepoint); in recurTimesB()
54 public static void recurTimesC(int times, Runnable safepoint) { in recurTimesC() argument
55 if (times == 0) { in recurTimesC()
59 recurTimesD(times - 1, safepoint); in recurTimesC()
62 public static void recurTimesD(int times, Runnable safepoint) { in recurTimesD() argument
[all …]

12345678910>>...935