Home
last modified time | relevance | path

Searched refs:callCount (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwWebContentsObserverTest.java49 int callCount = mContentsClient.getOnPageFinishedHelper().getCallCount(); in testOnPageFinished() local
51 assertEquals("onPageFinished should only be called for the main frame.", callCount, in testOnPageFinished()
54 callCount = mContentsClient.getOnPageFinishedHelper().getCallCount(); in testOnPageFinished()
56 assertEquals("onPageFinished should not be called for the error url.", callCount, in testOnPageFinished()
59 callCount = mContentsClient.getOnPageFinishedHelper().getCallCount(); in testOnPageFinished()
61 assertEquals("onPageFinished should be called for main frame navigations.", callCount + 1, in testOnPageFinished()
66 callCount = mContentsClient.getOnPageFinishedHelper().getCallCount(); in testOnPageFinished()
69 assertEquals("onPageFinished should be called for main frame errors.", callCount + 1, in testOnPageFinished()
72 callCount = mContentsClient.getOnPageFinishedHelper().getCallCount(); in testOnPageFinished()
75 assertEquals("onPageFinished should only be called for main frame errors.", callCount, in testOnPageFinished()
[all …]
DClientAddMessageToConsoleTest.java66 int callCount = addMessageToConsoleHelper.getCallCount(); in testAddMessageToConsoleCalledWithCorrectLevel() local
70 addMessageToConsoleHelper.waitForCallback(callCount); in testAddMessageToConsoleCalledWithCorrectLevel()
74 callCount = addMessageToConsoleHelper.getCallCount(); in testAddMessageToConsoleCalledWithCorrectLevel()
78 addMessageToConsoleHelper.waitForCallback(callCount); in testAddMessageToConsoleCalledWithCorrectLevel()
82 callCount = addMessageToConsoleHelper.getCallCount(); in testAddMessageToConsoleCalledWithCorrectLevel()
86 addMessageToConsoleHelper.waitForCallback(callCount); in testAddMessageToConsoleCalledWithCorrectLevel()
100 int callCount = addMessageToConsoleHelper.getCallCount(); in testAddMessageToConsoleCalledWithCorrectMessage() local
105 addMessageToConsoleHelper.waitForCallback(callCount); in testAddMessageToConsoleCalledWithCorrectMessage()
108 callCount = addMessageToConsoleHelper.getCallCount(); in testAddMessageToConsoleCalledWithCorrectMessage()
112 addMessageToConsoleHelper.waitForCallback(callCount); in testAddMessageToConsoleCalledWithCorrectMessage()
[all …]
DAwContentsClientShouldInterceptRequestTest.java178 int callCount = mShouldInterceptRequestHelper.getCallCount(); in testCalledWithCorrectUrlParam() local
180 mShouldInterceptRequestHelper.waitForCallback(callCount); in testCalledWithCorrectUrlParam()
197 int callCount = mShouldInterceptRequestHelper.getCallCount(); in testCalledWithCorrectIsMainFrameParam() local
199 mShouldInterceptRequestHelper.waitForCallback(callCount, 2); in testCalledWithCorrectIsMainFrameParam()
215 int callCount = mShouldInterceptRequestHelper.getCallCount(); in testCalledWithCorrectMethodParam() local
217 mShouldInterceptRequestHelper.waitForCallback(callCount); in testCalledWithCorrectMethodParam()
221 callCount = mShouldInterceptRequestHelper.getCallCount(); in testCalledWithCorrectMethodParam()
224 mShouldInterceptRequestHelper.waitForCallback(callCount); in testCalledWithCorrectMethodParam()
237 int callCount = mShouldInterceptRequestHelper.getCallCount(); in testCalledWithCorrectHasUserGestureParam() local
239 mShouldInterceptRequestHelper.waitForCallback(callCount); in testCalledWithCorrectHasUserGestureParam()
[all …]
DMediaAccessPermissionRequestTest.java89 int callCount = helper.getCallCount(); in testGrantAccess() local
91 helper.waitForCallback(callCount); in testGrantAccess()
111 int callCount = helper.getCallCount(); in testDenyAccess() local
113 helper.waitForCallback(callCount); in testDenyAccess()
153 int callCount = helper.getCallCount(); in testCancelPermission() local
155 helper.waitForCallback(callCount); in testCancelPermission()
156 callCount = helper.getCallCount(); in testCancelPermission()
159 helper.waitForCallback(callCount); in testCancelPermission()
DAwContentsClientVisitedHistoryTest.java78 int callCount = doUpdateVisitedHistoryHelper.getCallCount(); in testUpdateVisitedHistoryCallback() local
80 doUpdateVisitedHistoryHelper.waitForCallback(callCount); in testUpdateVisitedHistoryCallback()
85 callCount = doUpdateVisitedHistoryHelper.getCallCount(); in testUpdateVisitedHistoryCallback()
87 doUpdateVisitedHistoryHelper.waitForCallback(callCount); in testUpdateVisitedHistoryCallback()
103 final int callCount = visitedHistoryHelper.getCallCount(); in testGetVisitedHistoryExerciseCodePath() local
118 visitedHistoryHelper.waitForCallback(callCount); in testGetVisitedHistoryExerciseCodePath()
136 final int callCount = visitedHistoryHelper.getCallCount(); in testGetVisitedHistoryCallbackAfterDestroy() local
140 visitedHistoryHelper.waitForCallback(callCount); in testGetVisitedHistoryCallbackAfterDestroy()
DAwContentsClientShouldOverrideUrlLoadingTest.java135 final int callCount = onPageFinishedHelper.getCallCount(); in waitForNavigationRunnableAndAssertTitleChanged() local
138 onPageFinishedHelper.waitForCallback(callCount); in waitForNavigationRunnableAndAssertTitleChanged()
331 int callCount = shouldOverrideUrlLoadingHelper.getCallCount(); in testCalledWhenLinkClicked() local
335 shouldOverrideUrlLoadingHelper.waitForCallback(callCount); in testCalledWhenLinkClicked()
356 int callCount = shouldOverrideUrlLoadingHelper.getCallCount(); in testCalledWhenTopLevelAboutBlankNavigation() local
360 shouldOverrideUrlLoadingHelper.waitForCallback(callCount); in testCalledWhenTopLevelAboutBlankNavigation()
383 int callCount = shouldOverrideUrlLoadingHelper.getCallCount(); in testCalledWhenSelfLinkClicked() local
387 shouldOverrideUrlLoadingHelper.waitForCallback(callCount); in testCalledWhenSelfLinkClicked()
408 int callCount = shouldOverrideUrlLoadingHelper.getCallCount(); in testCalledWhenNavigatingFromJavaScriptUsingAssign() local
412 shouldOverrideUrlLoadingHelper.waitForCallback(callCount); in testCalledWhenNavigatingFromJavaScriptUsingAssign()
[all …]
DAwContentsClientFaviconTest.java111 int callCount = mContentsClient.mFaviconHelper.getCallCount(); in testReceiveBasicFavicon() local
120 mContentsClient.mFaviconHelper.waitForCallback(callCount); in testReceiveBasicFavicon()
131 mContentsClient.mFaviconHelper.waitForCallback(callCount); in testReceiveBasicFavicon()
161 int callCount = mContentsClient.mFaviconHelper.getCallCount(); in testReceiveBasicTouchIconLinkRel() local
168 mContentsClient.mFaviconHelper.waitForCallback(callCount, 2); in testReceiveBasicTouchIconLinkRel()
DCookieManagerTest.java177 int callCount = callback.getOnReceiveValueHelper().getCallCount(); in testSetCookieCallback() local
180 callback.getOnReceiveValueHelper().waitForCallback(callCount); in testSetCookieCallback()
184 callCount = callback.getOnReceiveValueHelper().getCallCount(); in testSetCookieCallback()
187 callback.getOnReceiveValueHelper().waitForCallback(callCount); in testSetCookieCallback()
215 int callCount = callback.getOnReceiveValueHelper().getCallCount(); in testRemoveAllCookiesCallback() local
221 callback.getOnReceiveValueHelper().waitForCallback(callCount); in testRemoveAllCookiesCallback()
225 callCount = callback.getOnReceiveValueHelper().getCallCount(); in testRemoveAllCookiesCallback()
229 callback.getOnReceiveValueHelper().waitForCallback(callCount); in testRemoveAllCookiesCallback()
257 int callCount = callback.getOnReceiveValueHelper().getCallCount(); in testRemoveSessionCookiesCallback() local
264 callback.getOnReceiveValueHelper().waitForCallback(callCount); in testRemoveSessionCookiesCallback()
[all …]
DAwQuotaManagerBridgeTest.java99 int callCount = callbackHelper.getCallCount(); in getQuotaForOrigin() local
113 callbackHelper.waitForCallback(callCount); in getQuotaForOrigin()
123 int callCount = callbackHelper.getCallCount(); in getUsageForOrigin() local
137 callbackHelper.waitForCallback(callCount); in getUsageForOrigin()
DAwContentsClientOnScaleChangedTest.java40 int callCount = mContentsClient.getOnScaleChangedHelper().getCallCount(); in testScaleUp() local
45 mContentsClient.getOnScaleChangedHelper().waitForCallback(callCount); in testScaleUp()
/external/chromium_org/v8/test/webkit/
Darray-reduceRight.js64 var callCount = 0; variable
66 callCount = 0;
68 var callCount = 0;
70 callCount = 0;
72 callCount = 0;
74 callCount = 0;
76 callCount = 0;
78 callCount = 0;
80 callCount = 0;
82 callCount = 0;
[all …]
Darray-reduce.js64 var callCount = 0; variable
66 callCount = 0;
68 var callCount = 0;
70 callCount = 0;
72 callCount = 0;
74 callCount = 0;
76 callCount = 0;
78 callCount = 0;
80 callCount = 0;
82 callCount = 0;
Darray-reduceRight-expected.txt43 PASS sparseArray.reduceRight(function(a,b){ callCount++; }); callCount is 0
44 PASS toObject(sparseArray).reduceRight(function(a,b){ callCount++; }); callCount is 0
45 PASS sparseArray.reduceRight(function(a,b){ callCount++; }, 0); callCount is 1
46 PASS toObject(sparseArray).reduceRight(function(a,b){ callCount++; }, 0); callCount is 1
47 PASS [0,1,2,3,4].reduceRight(function(a,b){ callCount++; }, 0); callCount is 5
48 PASS [0,1,2,3,4].reduceRight(function(a,b){ callCount++; }); callCount is 4
49 …duceRight(function(a,b, i, thisObj){ thisObj.length--; callCount++; return a + b; }, 0); callCount
50 …ceRight(function(a,b, i, thisObj){ thisObj.length = 1; callCount++; return a + b; }, 0); callCount
51 …duceRight(function(a,b, i, thisObj){ thisObj.length++; callCount++; return a + b; }, 0); callCount
52 …duceRight(function(a,b, i, thisObj){ thisObj.length--; callCount++; return a + b; }, 0); callCount
[all …]
Darray-reduce-expected.txt43 PASS sparseArray.reduce(function(a,b){ callCount++; }); callCount is 0
44 PASS toObject(sparseArray).reduce(function(a,b){ callCount++; }); callCount is 0
45 PASS sparseArray.reduce(function(a,b){ callCount++; }, 0); callCount is 1
46 PASS toObject(sparseArray).reduce(function(a,b){ callCount++; }, 0); callCount is 1
47 PASS [0,1,2,3,4].reduce(function(a,b){ callCount++; }, 0); callCount is 5
48 PASS [0,1,2,3,4].reduce(function(a,b){ callCount++; }); callCount is 4
49 …4].reduce(function(a,b, i, thisObj){ thisObj.length--; callCount++; return a + b; }, 0); callCount
50 …4].reduce(function(a,b, i, thisObj){ thisObj.length++; callCount++; return a + b; }, 0); callCount
51 …]).reduce(function(a,b, i, thisObj){ thisObj.length--; callCount++; return a + b; }, 0); callCount
52 …]).reduce(function(a,b, i, thisObj){ thisObj.length++; callCount++; return a + b; }, 0); callCount
Ddfg-inline-function-dot-caller.js28 var callCount = 0; variable
38 if (++callCount == 999999) {
/external/chromium_org/third_party/WebKit/Tools/Scripts/
Dparse-malloc-history74 my ($callCount, $byteCount);
78 ($callCount, $byteCount) = ($line =~ /(\d+) calls for (\d+) bytes/);
84 if (!$callCount || !$byteCount) {
85 $callCount = 1;
100 if (!$callCount || !$byteCount) {
101 $callCount = 1;
119 next if (!$callCount || !$byteCount);
151 $callstacks{$callstack}{"callCount"} += $callCount;
157 my $callCount = $callstacks{$callstack}{"callCount"};
162 print commify($callCount) . " calls for " . commify($byteCount) . " bytes: $callstack\n";
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
Dmemoized_unittest.py36 self.callCount = 0
41 self.callCount += 1
50 test.callCount = 0
52 self.assertEqual(test.callCount, 1)
54 self.assertEqual(test.callCount, 1)
58 self.assertEqual(test.callCount, 2)
65 self.assertEqual(test.callCount, 1)
/external/deqp/modules/gles31/functional/
Des31fAtomicCounterTests.cpp92 , callCount (0) in TestSpec()
102 int callCount; member
122 deUint32 getInitialValue (void) const { return m_spec.callCount * m_spec.threadCount + 1; } in getInitialValue()
242 src << " uint preGet[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource()
245 …src << " uint increment[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource()
248 …src << " uint decrement[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource()
251 src << " uint postGet[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource()
254 src << " uint get[" << spec.threadCount * spec.atomicCounterCount * spec.callCount << "];\n"; in generateShaderSource()
415 if (spec.callCount > 1) in generateShaderSource()
416 src << "\tfor (uint i = 0u; i < " << spec.callCount << "u; i++)\n"; in generateShaderSource()
[all …]
/external/easymock/src/org/easymock/internal/
DResults.java27 private int callCount; field in Results
50 callCount += 1; in next()
54 if (currentPosition > callCount) { in next()
55 callCount += 1; in next()
87 return callCount; in getCallCount()
/external/deqp/modules/gles3/performance/
Des3pStateChangeCallTests.cpp58 virtual void execCalls (const glw::Functions& gl, int iterNdx, int callCount)\
61 for (int callNdx = 0; callNdx < callCount; callNdx++)\
63 const int baseNdx = iterNdx*callCount + callNdx;\
81 virtual void execCalls (const glw::Functions& gl, int iterNdx, int callCount)\
85 for (int callNdx = 0; callNdx < callCount; callNdx++)\
87 const int baseNdx = iterNdx*callCount + callNdx;\
106 virtual void execCalls (const glw::Functions& gl, int iterNdx, int callCount)\
111 for (int callNdx = 0; callNdx < callCount; callNdx++)\
113 const int baseNdx = iterNdx*callCount + callNdx;\
133 virtual void execCalls (const glw::Functions& gl, int iterNdx, int callCount)\
[all …]
/external/deqp/modules/gles2/performance/
Des2pStateChangeCallTests.cpp58 virtual void execCalls (const glw::Functions& gl, int iterNdx, int callCount)\
61 for (int callNdx = 0; callNdx < callCount; callNdx++)\
63 const int baseNdx = iterNdx*callCount + callNdx;\
81 virtual void execCalls (const glw::Functions& gl, int iterNdx, int callCount)\
85 for (int callNdx = 0; callNdx < callCount; callNdx++)\
87 const int baseNdx = iterNdx*callCount + callNdx;\
106 virtual void execCalls (const glw::Functions& gl, int iterNdx, int callCount)\
111 for (int callNdx = 0; callNdx < callCount; callNdx++)\
113 const int baseNdx = iterNdx*callCount + callNdx;\
133 virtual void execCalls (const glw::Functions& gl, int iterNdx, int callCount)\
[all …]
/external/chromium_org/v8/test/mjsunit/es6/
Dunscopables.js375 var callCount = 0;
378 callCount++;
387 assertEquals(1, callCount);
389 callCount = 0;
392 callCount++;
401 assertEquals(1, callCount);
403 callCount = 0;
406 callCount++;
407 return callCount == 1 ? {} : {x: true};
415 assertEquals(1, callCount);
[all …]
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
DAwQuotaManagerBridgeTestUtil.java49 int callCount = callbackHelper.getCallCount();
63 callbackHelper.waitForCallback(callCount);
DCookieUtils.java73 int callCount = callback.getOnReceiveValueHelper().getCallCount(); in clearCookies() local
81 callback.getOnReceiveValueHelper().waitForCallback(callCount); in clearCookies()
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DWebContentsObserverAndroidTest.java66 int callCount = observer.getDidFirstVisuallyNonEmptyPaintCallbackHelper().getCallCount(); in testDidFirstVisuallyNonEmptyPaint() local
74 observer.getDidFirstVisuallyNonEmptyPaintCallbackHelper().waitForCallback(callCount); in testDidFirstVisuallyNonEmptyPaint()

12