Home
last modified time | relevance | path

Searched refs:currentCallCount (Results 1 – 25 of 45) sorted by relevance

12

/dports/www/chromium-legacy/chromium-88.0.4324.182/base/test/android/javatests/src/org/chromium/base/test/util/
H A DCallbackHelper.java174 public void waitForCallback(String msg, int currentCallCount, int numberOfCallsToWaitFor, in waitForCallback() argument
176 assert mCallCount >= currentCallCount; in waitForCallback() local
180 int callCountWhenDoneWaiting = currentCallCount + numberOfCallsToWaitFor; in waitForCallback()
202 public void waitForCallback(int currentCallCount, int numberOfCallsToWaitFor, long timeout, in waitForCallback() argument
204 waitForCallback(null, currentCallCount, numberOfCallsToWaitFor, timeout, unit); in waitForCallback()
210 public void waitForCallback(int currentCallCount, int numberOfCallsToWaitFor) in waitForCallback() argument
212 waitForCallback(null, currentCallCount, numberOfCallsToWaitFor, in waitForCallback()
219 public void waitForCallback(String msg, int currentCallCount) throws TimeoutException { in waitForCallback() argument
220 waitForCallback(msg, currentCallCount, 1, WAIT_TIMEOUT_SECONDS, TimeUnit.SECONDS); in waitForCallback()
226 public void waitForCallback(int currentCallCount) throws TimeoutException { in waitForCallback() argument
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/site_settings/
H A DCookieControlsBridgeTest.java107 int currentCallCount = mCallbackHelper.getCallCount(); in testCookieBridgeWithTPCookiesDisabled() local
119 mCallbackHelper.waitForCallback(currentCallCount, 2); in testCookieBridgeWithTPCookiesDisabled()
138 int currentCallCount = mCallbackHelper.getCallCount(); in testCookieBridgeWith3PCookiesEnabled() local
150 mCallbackHelper.waitForCallback(currentCallCount, 2); in testCookieBridgeWith3PCookiesEnabled()
176 mCallbackHelper.waitForCallback(currentCallCount, 2); in testCookieBridgeWithChangingAllowedCookiesCount()
183 currentCallCount = mCallbackHelper.getCallCount(); in testCookieBridgeWithChangingAllowedCookiesCount()
185 mCallbackHelper.waitForCallback(currentCallCount, 1); in testCookieBridgeWithChangingAllowedCookiesCount()
217 mCallbackHelper.waitForCallback(currentCallCount, 2); in testCookieBridgeWithChangingBlockedCookiesCount()
224 currentCallCount = mCallbackHelper.getCallCount(); in testCookieBridgeWithChangingBlockedCookiesCount()
226 mCallbackHelper.waitForCallback(currentCallCount, 1); in testCookieBridgeWithChangingBlockedCookiesCount()
[all …]
H A DCookieControlsServiceBridgeTest.java95 int currentCallCount = mCallbackHelper.getCallCount(); in testCookieSettingsCheckedChanges() local
102 mCallbackHelper.waitForCallback(currentCallCount, 1); in testCookieSettingsCheckedChanges()
107 currentCallCount = mCallbackHelper.getCallCount(); in testCookieSettingsCheckedChanges()
109 mCallbackHelper.waitForCallback(currentCallCount, 1); in testCookieSettingsCheckedChanges()
115 currentCallCount = mCallbackHelper.getCallCount(); in testCookieSettingsCheckedChanges()
117 mCallbackHelper.waitForCallback(currentCallCount, 1); in testCookieSettingsCheckedChanges()
125 currentCallCount = mCallbackHelper.getCallCount(); in testCookieSettingsCheckedChanges()
127 mCallbackHelper.waitForCallback(currentCallCount, 1); in testCookieSettingsCheckedChanges()
144 int currentCallCount = mCallbackHelper.getCallCount(); in testCookieBridgeWithTPCookiesDisabled() local
158 mCallbackHelper.waitForCallback(currentCallCount, 2); in testCookieBridgeWithTPCookiesDisabled()
/dports/www/chromium-legacy/chromium-88.0.4324.182/android_webview/javatests/src/org/chromium/android_webview/test/
H A DAwActivityTestRule.java210 int currentCallCount = onPageFinishedHelper.getCallCount();
213 currentCallCount, 1, WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS);
245 int currentCallCount = onPageFinishedHelper.getCallCount();
248 currentCallCount, 1, WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS);
274 int currentCallCount = onPageFinishedHelper.getCallCount();
277 currentCallCount, 1, WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS);
282 int currentCallCount = onPageFinishedHelper.getCallCount();
290 int currentCallCount = onPageFinishedHelper.getCallCount();
311 int currentCallCount = onPageFinishedHelper.getCallCount();
329 int currentCallCount = onPageFinishedHelper.getCallCount();
[all …]
H A DWebViewModalDialogOverrideTest.java182 public void waitForTap(int currentCallCount) throws Throwable { in waitForTap() argument
183 mCallbackHelper.waitForCallback(currentCallCount); in waitForTap()
233 int currentCallCount = jsBeforeUnloadHelper.getCallCount(); in testOverrideBeforeUnloadHandling() local
235 jsBeforeUnloadHelper.waitForCallback(currentCallCount); in testOverrideBeforeUnloadHandling()
H A DClientOnPageFinishedTest.java64 int currentCallCount = onPageFinishedHelper.getCallCount(); in testPassesCorrectUrl() local
67 onPageFinishedHelper.waitForCallback(currentCallCount); in testPassesCorrectUrl()
450 int currentCallCount = onPageFinishedHelper.getCallCount(); in testCalledAfter204Reply() local
452 onPageFinishedHelper.waitForCallback(currentCallCount); in testCalledAfter204Reply()
472 int currentCallCount = onPageFinishedHelper.getCallCount(); in testCalledOnEmptyResponse() local
474 onPageFinishedHelper.waitForCallback(currentCallCount); in testCalledOnEmptyResponse()
H A DAwContentsStaticsTest.java59 int currentCallCount = callbackHelper.getCallCount(); in testClearClientCertPreferences() local
66 callbackHelper.waitForCallback(currentCallCount); in testClearClientCertPreferences()
H A DClientOnReceivedErrorTest.java94 int currentCallCount = onPageFinishedHelper.getCallCount(); in testNoErrorOnFailedSubresourceLoad() local
98 onPageFinishedHelper.waitForCallback(currentCallCount); in testNoErrorOnFailedSubresourceLoad()
H A DAwJavaBridgeTest.java79 int currentCallCount = client2.getOnPageFinishedHelper().getCallCount(); in testDestroyFromJavaObject() local
83 client2.getOnPageFinishedHelper().waitForCallback(currentCallCount); in testDestroyFromJavaObject()
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/public/test/android/javatests/src/org/chromium/content_public/browser/test/util/
H A DHistoryUtils.java129 int currentCallCount = onPageFinishedHelper.getCallCount();
138 currentCallCount, 1, WAIT_TIMEOUT_SECONDS, TimeUnit.SECONDS);
151 int currentCallCount = onPageFinishedHelper.getCallCount();
160 currentCallCount, 1, WAIT_TIMEOUT_SECONDS, TimeUnit.SECONDS);
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/public/android/javatests/src/org/chromium/content/browser/
H A DGestureDetectorResetTest.java117 int currentCallCount = onPageFinishedHelper.getCallCount(); in testSeparateClicksAreRegisteredOnReload() local
124 onPageFinishedHelper.waitForCallback(currentCallCount, 1, in testSeparateClicksAreRegisteredOnReload()
131 currentCallCount = onPageFinishedHelper.getCallCount(); in testSeparateClicksAreRegisteredOnReload()
142 onPageFinishedHelper.waitForCallback(currentCallCount, 1, in testSeparateClicksAreRegisteredOnReload()
H A DJavaBridgeActivityTestRule.java144 int currentCallCount = onPageFinishedHelper.getCallCount(); in injectObjectsAndReload() local
159 onPageFinishedHelper.waitForCallback(currentCallCount); in injectObjectsAndReload()
172 int currentCallCount = onPageFinishedHelper.getCallCount(); in synchronousPageReload() local
179 onPageFinishedHelper.waitForCallback(currentCallCount); in synchronousPageReload()
/dports/www/chromium-legacy/chromium-88.0.4324.182/weblayer/browser/android/javatests/src/org/chromium/weblayer/test/
H A DBrowserFragmentLifecycleTest.java405 int currentCallCount = 0; in twoFragmentsDifferentIncognitoProfiles() local
406 callbackHelper.waitForCallback(currentCallCount++, 1); in twoFragmentsDifferentIncognitoProfiles()
426 callbackHelper.waitForCallback(currentCallCount++, 1); in twoFragmentsDifferentIncognitoProfiles()
443 callbackHelper.waitForCallback(currentCallCount++, 1); in twoFragmentsDifferentIncognitoProfiles()
444 callbackHelper.waitForCallback(currentCallCount++, 1); in twoFragmentsDifferentIncognitoProfiles()
485 int currentCallCount = 0; in twoFragmentsSameIncognitoProfile() local
486 callbackHelper.waitForCallback(currentCallCount++, 1); in twoFragmentsSameIncognitoProfile()
504 callbackHelper.waitForCallback(currentCallCount++, 1); in twoFragmentsSameIncognitoProfile()
515 callbackHelper.waitForCallback(currentCallCount++, 1); in twoFragmentsSameIncognitoProfile()
516 callbackHelper.waitForCallback(currentCallCount++, 1); in twoFragmentsSameIncognitoProfile()
H A DNavigationTest.java103 waitForCallback(currentCallCount); in assertCalledWith()
109 waitForCallback(currentCallCount); in assertCalledWith()
114 public void assertCalledWith(int currentCallCount, List<Uri> redirectChain) in assertCalledWith() argument
116 waitForCallback(currentCallCount); in assertCalledWith()
122 waitForCallback(currentCallCount); in assertCalledWith()
597 int currentCallCount = mCallback.onCompletedCallback.getCallCount(); in testRepostConfirmation() local
600 mCallback.onCompletedCallback.assertCalledWith(currentCallCount, targetUrl); in testRepostConfirmation()
647 int currentCallCount = mCallback.onCompletedCallback.getCallCount(); in navigateAndWaitForCompletion() local
649 mCallback.onCompletedCallback.assertCalledWith(currentCallCount, expectedUrl); in navigateAndWaitForCompletion()
996 int currentCallCount = mCallback.onCompletedCallback.getCallCount(); in testDestroyTabWithModalDialog() local
[all …]
H A DWebMessageTest.java83 int currentCallCount = callbackHelper.getCallCount(); in testPostMessage() local
86 callbackHelper.waitForCallback(currentCallCount); in testPostMessage()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/download/
H A DDownloadLocationChangeTest.java92 int currentCallCount = mDownloadTestRule.getChromeDownloadCallCount(); in testDefaultDialogPositiveButtonClickThrough() local
98 Assert.assertTrue(mDownloadTestRule.waitForChromeDownloadToFinish(currentCallCount)); in testDefaultDialogPositiveButtonClickThrough()
160 int currentCallCount = mDownloadTestRule.getChromeDownloadCallCount(); in testNoDialogWithoutSDCard() local
164 Assert.assertTrue(mDownloadTestRule.waitForChromeDownloadToFinish(currentCallCount)); in testNoDialogWithoutSDCard()
H A DAutoDownloadsTest.java90 int currentCallCount = mDownloadTestRule.getChromeDownloadCallCount(); in testAutoDownloadsDialog() local
91 Assert.assertTrue(mDownloadTestRule.waitForChromeDownloadToFinish(currentCallCount)); in testAutoDownloadsDialog()
H A DDownloadTestRule.java177 public boolean waitForChromeDownloadToFinish(int currentCallCount) { in waitForChromeDownloadToFinish() argument
180 mHttpDownloadFinished.waitForCallback(currentCallCount, 1, 5, TimeUnit.SECONDS); in waitForChromeDownloadToFinish()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/omaha/
H A DUpdateMenuItemHelperTest.java289 int currentCallCount = mMenuObserver.menuShownCallback.getCallCount(); in showAppMenuAndAssertMenuShown() local
293 mMenuObserver.menuShownCallback.waitForCallback(currentCallCount); in showAppMenuAndAssertMenuShown()
297 int currentCallCount = mMenuObserver.menuHiddenCallback.getCallCount(); in hideAppMenuAndAssertMenuShown() local
302 mMenuObserver.menuHiddenCallback.waitForCallback(currentCallCount); in hideAppMenuAndAssertMenuShown()
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/public/android/javatests/src/org/chromium/content/browser/input/
H A DSelectPopupTest.java89 int currentCallCount = onPageFinishedHelper.getCallCount(); in testReloadWhilePopupShowing() local
95 onPageFinishedHelper.waitForCallback(currentCallCount, 1, in testReloadWhilePopupShowing()
/dports/devel/kcachegrind/kcachegrind-21.12.3/libcore/
H A Dcachegrindloader.cpp97 SubCost currentCallCount; member in CachegrindLoader
682 currentCallCount = 0; in clearPosition()
854 line.stripUInt64(currentCallCount); in loadInternal()
1085 line.stripUInt64(currentCallCount); in loadInternal()
1216 currentCallCount, line); in loadInternal()
1226 partInstrCall->addCallCount(currentCallCount); in loadInternal()
1251 partLineCall->addCallCount(currentCallCount); in loadInternal()
1263 currentCallCount = 0; in loadInternal()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/incognito/
H A DIncognitoDownloadLeakageTest.java188 int currentCallCount = mHttpDownloadFinishedCallback.getCallCount(); in waitForDownloadToFinish() local
190 currentCallCount, currentCallCount + 1, 5, TimeUnit.SECONDS); in waitForDownloadToFinish()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/
H A DTabTest.java88 int currentCallCount = mOnTitleUpdatedHelper.getCallCount(); in testTitleDelayUpdate() local
90 mOnTitleUpdatedHelper.waitForCallback(currentCallCount); in testTitleDelayUpdate()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/widget/bottomsheet/
H A DBottomSheetControllerTest.java359 int currentCallCount = pageLoadStartedHelper.getCallCount(); in testCustomLifecycleContent() local
361 pageLoadStartedHelper.waitForCallback(currentCallCount, 1); in testCustomLifecycleContent()
628 int currentCallCount = contentChangedHelper.getCallCount(); in requestContentInSheet() local
635 if (expectContentChange) contentChangedHelper.waitForCallback(currentCallCount, 1); in requestContentInSheet()
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/shell/android/javatests/src/org/chromium/content_shell_apk/
H A DContentShellActivityTestRule.java303 int currentCallCount = callbackHelper.getCallCount();
306 currentCallCount, 1, WAIT_PAGE_LOADING_TIMEOUT_SECONDS, TimeUnit.SECONDS);

12