/dports/www/chromium-legacy/chromium-88.0.4324.182/base/test/android/javatests/src/org/chromium/base/test/util/ |
H A D | CallbackHelper.java | 174 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 D | CookieControlsBridgeTest.java | 107 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 D | CookieControlsServiceBridgeTest.java | 95 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 D | AwActivityTestRule.java | 210 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 D | WebViewModalDialogOverrideTest.java | 182 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 D | ClientOnPageFinishedTest.java | 64 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 D | AwContentsStaticsTest.java | 59 int currentCallCount = callbackHelper.getCallCount(); in testClearClientCertPreferences() local 66 callbackHelper.waitForCallback(currentCallCount); in testClearClientCertPreferences()
|
H A D | ClientOnReceivedErrorTest.java | 94 int currentCallCount = onPageFinishedHelper.getCallCount(); in testNoErrorOnFailedSubresourceLoad() local 98 onPageFinishedHelper.waitForCallback(currentCallCount); in testNoErrorOnFailedSubresourceLoad()
|
H A D | AwJavaBridgeTest.java | 79 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 D | HistoryUtils.java | 129 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 D | GestureDetectorResetTest.java | 117 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 D | JavaBridgeActivityTestRule.java | 144 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 D | BrowserFragmentLifecycleTest.java | 405 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 D | NavigationTest.java | 103 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 D | WebMessageTest.java | 83 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 D | DownloadLocationChangeTest.java | 92 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 D | AutoDownloadsTest.java | 90 int currentCallCount = mDownloadTestRule.getChromeDownloadCallCount(); in testAutoDownloadsDialog() local 91 Assert.assertTrue(mDownloadTestRule.waitForChromeDownloadToFinish(currentCallCount)); in testAutoDownloadsDialog()
|
H A D | DownloadTestRule.java | 177 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 D | UpdateMenuItemHelperTest.java | 289 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 D | SelectPopupTest.java | 89 int currentCallCount = onPageFinishedHelper.getCallCount(); in testReloadWhilePopupShowing() local 95 onPageFinishedHelper.waitForCallback(currentCallCount, 1, in testReloadWhilePopupShowing()
|
/dports/devel/kcachegrind/kcachegrind-21.12.3/libcore/ |
H A D | cachegrindloader.cpp | 97 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 D | IncognitoDownloadLeakageTest.java | 188 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 D | TabTest.java | 88 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 D | BottomSheetControllerTest.java | 359 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 D | ContentShellActivityTestRule.java | 303 int currentCallCount = callbackHelper.getCallCount(); 306 currentCallCount, 1, WAIT_PAGE_LOADING_TIMEOUT_SECONDS, TimeUnit.SECONDS);
|