/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/ |
CtsSyncManagerTest.java | 230 final int calls = res.getSyncInvocations().getSyncInvocationsCount(); 231 Log.i(TAG, "NumSyncInvocations=" + calls); 232 return calls > 4; // Arbitrarily bigger than 4. 264 // final int calls = res.getSyncInvocations().getSyncInvocationsCount(); 265 // Log.i(TAG, "NumSyncInvocations=" + calls); 266 // return calls >= 4; // First sync + 3 retries == 4, so at least 4 times. 274 // final int calls = res.getSyncInvocations().getSyncInvocationsCount(); 275 // assertTrue("# of syncs must be equal or less than 5, but was " + calls, calls <= 5);
|
/external/python/cpython3/Lib/test/ |
test_rlcompleter.py | 86 calls = 0 variable in class:TestRlcompleter.test_excessive_getattr.Foo 89 self.calls += 1 94 self.assertEqual(f.calls, 1)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
TraceFileParserTask.java | 181 // if there are multiple contexts, then the calls may arrive at the 225 /** Assign GL calls to GL Frames. */ 226 private List<GLFrame> createFrames(List<GLCall> calls) { 231 for (int i = 0; i < calls.size(); i++) { 232 GLCall c = calls.get(i); 240 // assign left over calls at the end to the last frame
|
/tools/acloud/internal/lib/ |
gcompute_client_test.py | 274 calls = [mock.call( 277 resource_mock.delete.assert_has_calls(calls, any_order=True) 300 calls = [ 305 resource_mock.list.assert_has_calls(calls) 337 calls = [ 349 resource_mock.list.assert_has_calls(calls) 450 calls = [ 459 resource_mock.delete.assert_has_calls(calls, any_order=True) 473 calls = [mock.call(instance="fake_instance_1"), 475 action.assert_has_calls(calls, any_order=True [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
TelephonyMetrics.java | 127 * session (might contains multiple calls). Having a sparse array in case we need to support 188 * Dump the state of various objects, add calls to other objects as desired. 382 for (RilCall call : event.calls) { 1157 RilCall[] calls = convertConnectionsToRilCalls(connections); local 1178 RilCall[] calls = new RilCall[mConnections.size()]; local 1182 convertConnectionToRilCall(mConnections.get(i), calls[i]); local 1244 RilCall[] calls = new RilCall[1]; local 1281 RilCall[] calls = new RilCall[1]; local [all...] |
/external/fio/ |
gettime.c | 56 unsigned long calls; member in struct:gtod_log 85 log->calls = 0; 91 log->calls++; 112 printf("function %p, calls %lu\n", log->caller, 113 log->calls); 114 total_calls += log->calls;
|
/prebuilts/go/darwin-x86/src/crypto/cipher/ |
example_test.go | 19 // Seal/Open calls. (Obviously don't use this example key for anything 48 // Seal/Open calls. (Obviously don't use this example key for anything 77 // NewCipher calls. (Obviously don't use this example key for anything 120 // NewCipher calls. (Obviously don't use this example key for anything 159 // NewCipher calls. (Obviously don't use this example key for anything 188 // NewCipher calls. (Obviously don't use this example key for anything 218 // NewCipher calls. (Obviously don't use this example key for anything 257 // NewCipher calls. (Obviously don't use this example key for anything 296 // NewCipher calls. (Obviously don't use this example key for anything 337 // NewCipher calls. (Obviously don't use this example key for anythin [all...] |
/prebuilts/go/linux-x86/src/crypto/cipher/ |
example_test.go | 19 // Seal/Open calls. (Obviously don't use this example key for anything 48 // Seal/Open calls. (Obviously don't use this example key for anything 77 // NewCipher calls. (Obviously don't use this example key for anything 120 // NewCipher calls. (Obviously don't use this example key for anything 159 // NewCipher calls. (Obviously don't use this example key for anything 188 // NewCipher calls. (Obviously don't use this example key for anything 218 // NewCipher calls. (Obviously don't use this example key for anything 257 // NewCipher calls. (Obviously don't use this example key for anything 296 // NewCipher calls. (Obviously don't use this example key for anything 337 // NewCipher calls. (Obviously don't use this example key for anythin [all...] |
/tools/test/connectivity/acts/framework/acts/test_utils/car/ |
car_telecom_utils.py | 17 # Defines utilities that can be used for making calls indenpendent of 18 # subscription IDs. This can be useful when making calls over mediums not SIM 26 # NOTE: This util is applicable to only non-conference type calls. It is best 201 # All calls that needs disconnecting (Parent + Children) 224 log.info("Removed call {} left calls {}".format(removed_call_id, all_calls)) 268 calls = ad.droid.telecomCallGetCallIds() 269 if len(calls) > 1: 270 log.info("More than one call {} {}".format(calls, ad.serial)) 273 if len(calls) > 0: 274 log.info("Got calls {} for {}".format [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
ExtendedInCallServiceTest.java | 537 assertEquals("InCallService should have 2 calls", 2, inCallService.getCallCount()); 540 "Should not be able to add call with two calls already present"); 546 "Should not be able to add call with two calls already present"); 672 List<Call> calls = inCallService.getCalls(); local 673 assertEquals("InCallService.getCalls() should return list with 1 call.", 1, calls.size()); 674 assertEquals(call1, calls.get(0)); 680 calls = inCallService.getCalls(); 681 assertEquals("InCallService.getCalls() should return list with 2 calls.", 2, calls.size()); 682 assertEquals(call1, calls.get(0)) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
_lsprof.c | 95 rotating_node_t *calls;
member in struct:_ProfilerEntry 249 self->calls = EMPTY_ROTATING_TREE;
263 return (ProfilerSubEntry*) RotatingTree_Get(&caller->calls,
282 RotatingTree_Add(&caller->calls, &self->header);
296 RotatingTree_Enum(entry->calls, freeSubEntry, NULL);
508 {"calls", "details of the calls"},
576 if (entry->calls != EMPTY_ROTATING_TREE) {
580 if (RotatingTree_Enum(entry->calls,
619 calls details of the calls\n\ [all...] |
/external/autotest/scheduler/ |
drone_utility.py | 7 3. Each invocation is responsible for the initiation of a set of batched calls. 8 4. The batched calls may be synchronous or asynchronous. 9 5. The caller is responsible for monitoring asynchronous calls through pidfiles. 83 This class executes actual OS calls on the drone machine. 407 def _report_long_execution(self, calls, duration): 409 for call in calls: 417 def execute_calls(self, calls): 421 for method_call in calls: 429 self._report_long_execution(calls, duration) 567 # drone_utility calls that don't actually interact with DUTs [all...] |
/external/python/cpython2/Modules/ |
_lsprof.c | 95 rotating_node_t *calls; member in struct:_ProfilerEntry 249 self->calls = EMPTY_ROTATING_TREE; 263 return (ProfilerSubEntry*) RotatingTree_Get(&caller->calls, 282 RotatingTree_Add(&caller->calls, &self->header); 296 RotatingTree_Enum(entry->calls, freeSubEntry, NULL); 508 {"calls", "details of the calls"}, 576 if (entry->calls != EMPTY_ROTATING_TREE) { 580 if (RotatingTree_Enum(entry->calls, 619 calls details of the calls\n [all...] |
/external/python/cpython3/Modules/ |
_lsprof.c | 85 rotating_node_t *calls; member in struct:_ProfilerEntry 248 self->calls = EMPTY_ROTATING_TREE; 262 return (ProfilerSubEntry*) RotatingTree_Get(&caller->calls, 281 RotatingTree_Add(&caller->calls, &self->header); 295 RotatingTree_Enum(entry->calls, freeSubEntry, NULL); 505 {"calls", "details of the calls"}, 573 if (entry->calls != EMPTY_ROTATING_TREE) { 577 if (RotatingTree_Enum(entry->calls, 616 calls details of the calls\n [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_urllib2.py | 323 self.parent.calls.append((self, fn_name, args, kwds))
347 self.parent.calls = []
489 calls = [(handlers[0], "http_open"), (handlers[2], "http_open")]
490 for expected, got in zip(calls, o.calls):
510 self.assertEqual(o.calls[0][0], handlers[1])
511 self.assertEqual(o.calls[1][0], handlers[0])
524 self.assertEqual(o.calls, [(handlers[0], "http_open", (req,), {})])
548 assert len(o.calls) == 2
549 calls = [(handlers[0], "http_open", (req,)), [all...] |
/external/python/cpython2/Lib/test/ |
test_urllib2.py | 343 self.parent.calls.append((self, fn_name, args, kwds)) 367 self.parent.calls = [] 509 calls = [(handlers[0], "http_open"), (handlers[2], "http_open")] 510 for expected, got in zip(calls, o.calls): 530 self.assertEqual(o.calls[0][0], handlers[1]) 531 self.assertEqual(o.calls[1][0], handlers[0]) 544 self.assertEqual(o.calls, [(handlers[0], "http_open", (req,), {})]) 568 assert len(o.calls) == 2 569 calls = [(handlers[0], "http_open", (req,)) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_urllib2.py | 328 self.parent.calls.append((self, fn_name, args, kwds)) 352 self.parent.calls = [] 494 calls = [(handlers[0], "http_open"), (handlers[2], "http_open")] 495 for expected, got in zip(calls, o.calls): 515 self.assertEqual(o.calls[0][0], handlers[1]) 516 self.assertEqual(o.calls[1][0], handlers[0]) 529 self.assertEqual(o.calls, [(handlers[0], "http_open", (req,), {})]) 553 assert len(o.calls) == 2 554 calls = [(handlers[0], "http_open", (req,)) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_urllib2.py | 328 self.parent.calls.append((self, fn_name, args, kwds)) 352 self.parent.calls = [] 494 calls = [(handlers[0], "http_open"), (handlers[2], "http_open")] 495 for expected, got in zip(calls, o.calls): 515 self.assertEqual(o.calls[0][0], handlers[1]) 516 self.assertEqual(o.calls[1][0], handlers[0]) 529 self.assertEqual(o.calls, [(handlers[0], "http_open", (req,), {})]) 553 assert len(o.calls) == 2 554 calls = [(handlers[0], "http_open", (req,)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urllib2.py | 328 self.parent.calls.append((self, fn_name, args, kwds)) 352 self.parent.calls = [] 494 calls = [(handlers[0], "http_open"), (handlers[2], "http_open")] 495 for expected, got in zip(calls, o.calls): 515 self.assertEqual(o.calls[0][0], handlers[1]) 516 self.assertEqual(o.calls[1][0], handlers[0]) 529 self.assertEqual(o.calls, [(handlers[0], "http_open", (req,), {})]) 553 assert len(o.calls) == 2 554 calls = [(handlers[0], "http_open", (req,)) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_urllib2.py | 328 self.parent.calls.append((self, fn_name, args, kwds)) 352 self.parent.calls = [] 494 calls = [(handlers[0], "http_open"), (handlers[2], "http_open")] 495 for expected, got in zip(calls, o.calls): 515 self.assertEqual(o.calls[0][0], handlers[1]) 516 self.assertEqual(o.calls[1][0], handlers[0]) 529 self.assertEqual(o.calls, [(handlers[0], "http_open", (req,), {})]) 553 assert len(o.calls) == 2 554 calls = [(handlers[0], "http_open", (req,)) [all...] |
/prebuilts/go/darwin-x86/src/text/template/ |
template.go | 77 // associated templates is, so further calls to Parse in the copy will add 150 // subsequent calls to Parse, ParseFiles, or ParseGlob. Nested template 153 // The return value is the template, so calls can be chained. 166 // so calls can be chained. 190 // Templates can be redefined in successive calls to Parse.
|
/prebuilts/go/linux-x86/src/text/template/ |
template.go | 77 // associated templates is, so further calls to Parse in the copy will add 150 // subsequent calls to Parse, ParseFiles, or ParseGlob. Nested template 153 // The return value is the template, so calls can be chained. 166 // so calls can be chained. 190 // Templates can be redefined in successive calls to Parse.
|
/prebuilts/go/darwin-x86/src/runtime/ |
cgo_sigaction.go | 70 // returns EINVAL for sigaction calls on those signals. If we get EINVAL, 82 // sysSigaction calls the rt_sigaction system call. It is implemented in assembly. 86 // callCgoSigaction calls the sigaction function in the runtime/cgo package
|
/prebuilts/go/linux-x86/src/runtime/ |
cgo_sigaction.go | 70 // returns EINVAL for sigaction calls on those signals. If we get EINVAL, 82 // sysSigaction calls the rt_sigaction system call. It is implemented in assembly. 86 // callCgoSigaction calls the sigaction function in the runtime/cgo package
|
/external/guava/guava-tests/test/com/google/common/eventbus/ |
EventBusTest.java | 297 final AtomicInteger calls = new AtomicInteger(); local 302 calls.incrementAndGet(); 308 assertEquals(1, calls.get());
|