/external/autotest/server/site_tests/bluetooth_AdapterQRHealth/ |
D | bluetooth_AdapterQRHealth.py | 28 test_method, 77 test_method() 100 test_method = lambda: self.qr_a2dp(device, test_profile) function 102 self.run_test_method(device, test_method, test_profile) 113 test_method = lambda: self.qr_power_cycle_a2dp(device, test_profile) function 115 self.run_test_method(device, test_method, test_profile) 126 test_method = lambda: self.qr_hfp_dut_as_src(device, test_profile) function 128 self.run_test_method(device, test_method, test_profile) 139 test_method = lambda: self.qr_hfp_dut_as_src(device, test_profile) function 141 self.run_test_method(device, test_method, test_profile) [all …]
|
/external/pigweed/pw_rpc/pw_rpc_private/ |
D | test_method.h | 57 const auto& test_method = static_cast<const TestMethod&>(context.method()); in InvokeForTest() local 58 test_method.last_channel_id_ = context.channel_id(); in InvokeForTest() 59 test_method.last_request_ = request; in InvokeForTest() 60 test_method.invocations_ += 1; in InvokeForTest() 67 if (test_method.move_to_call_ != nullptr) { in InvokeForTest() 68 *test_method.move_to_call_ = std::move(fake_call); in InvokeForTest() 102 constexpr const TestMethod& test_method() const { return impl_.test; } in test_method() function
|
/external/antlr/runtime/Python3/unittests/ |
D | testbase.py | 13 def wrapper(test_method): argument 16 test_method(*args, **kwargs) 20 raise BrokenTest(test_method.__name__, reason) 21 replacement.__doc__ = test_method.__doc__ 22 replacement.__name__ = 'XXX_' + test_method.__name__
|
/external/antlr/runtime/Python/unittests/ |
D | testbase.py | 13 def wrapper(test_method): argument 16 test_method(*args, **kwargs) 20 raise BrokenTest(test_method.__name__, reason) 21 replacement.__doc__ = test_method.__doc__ 22 replacement.__name__ = 'XXX_' + test_method.__name__
|
/external/cronet/stable/third_party/protobuf/python/google/protobuf/internal/ |
D | _parameterized.py | 195 def __init__(self, test_method, testcases, naming_type): argument 209 self._test_method = test_method 220 test_method = self._test_method 224 @functools.wraps(test_method) 227 test_method(self, **testcase_params) 229 test_method(self, *testcase_params) 231 test_method(self, testcase_params) 251 if test_method.__doc__: 252 BoundParamTest.__doc__ += '\n%s' % (test_method.__doc__,)
|
/external/protobuf/benchmarks/python/ |
D | py_benchmark.py | 109 def __init__(self, module=None, test_method=None, argument 113 self.test_method = test_method 117 def set_test_method(self, test_method): argument 118 self.test_method = test_method 122 setup_code += "from %s import %s\n" % (self.module, self.test_method) 128 return timeit.timeit(stmt="%s(%s)" % (self.test_method, test_method_args), 138 t = timeit.timeit(stmt="%s(%s)" % (self.test_method, test_method_args),
|
/external/cronet/tot/third_party/protobuf/python/google/protobuf/internal/ |
D | _parameterized.py | 195 def __init__(self, test_method, testcases, naming_type): argument 209 self._test_method = test_method 220 test_method = self._test_method 224 @functools.wraps(test_method) 227 test_method(self, **testcase_params) 229 test_method(self, *testcase_params) 231 test_method(self, testcase_params) 251 if test_method.__doc__: 252 BoundParamTest.__doc__ += '\n%s' % (test_method.__doc__,)
|
/external/cronet/stable/third_party/protobuf/benchmarks/python/ |
D | py_benchmark.py | 109 def __init__(self, module=None, test_method=None, argument 113 self.test_method = test_method 117 def set_test_method(self, test_method): argument 118 self.test_method = test_method 122 setup_code += "from %s import %s\n" % (self.module, self.test_method) 128 return timeit.timeit(stmt="%s(%s)" % (self.test_method, test_method_args), 138 t = timeit.timeit(stmt="%s(%s)" % (self.test_method, test_method_args),
|
/external/protobuf/python/google/protobuf/internal/ |
D | _parameterized.py | 195 def __init__(self, test_method, testcases, naming_type): argument 209 self._test_method = test_method 220 test_method = self._test_method 224 @functools.wraps(test_method) 227 test_method(self, **testcase_params) 229 test_method(self, *testcase_params) 231 test_method(self, testcase_params) 251 if test_method.__doc__: 252 BoundParamTest.__doc__ += '\n%s' % (test_method.__doc__,)
|
/external/cronet/tot/third_party/protobuf/benchmarks/python/ |
D | py_benchmark.py | 109 def __init__(self, module=None, test_method=None, argument 113 self.test_method = test_method 117 def set_test_method(self, test_method): argument 118 self.test_method = test_method 122 setup_code += "from %s import %s\n" % (self.module, self.test_method) 128 return timeit.timeit(stmt="%s(%s)" % (self.test_method, test_method_args), 138 t = timeit.timeit(stmt="%s(%s)" % (self.test_method, test_method_args),
|
/external/python/absl-py/absl/testing/ |
D | parameterized.py | 276 def __init__(self, test_method, testcases, naming_type, original_name=None): argument 295 self._test_method = test_method 299 original_name = test_method.__name__ 312 test_method = self._test_method 316 @functools.wraps(test_method) 319 return test_method(self, **testcase_params) 321 return test_method(self, *testcase_params) 323 return test_method(self, testcase_params) 376 if test_method.__doc__: 377 bound_param_test.__doc__ += '\n%s' % (test_method.__doc__,) [all …]
|
/external/tensorflow/tensorflow/python/autograph/impl/ |
D | api_test.py | 147 def test_method(self, x, s, a): member in ApiTest.test_decorator_recursive.TestClass 153 x = tc.test_method( 167 def test_method(self, x, s, a): member in ApiTest.test_decorator_not_recursive.TestClass 173 x = tc.test_method( 188 def test_method(self, x, s, a): member in ApiTest.test_convert_then_do_not_convert.TestClass 194 x = tc.test_method( 211 def test_method(self, x, s, a): member in ApiTest.test_decorator_calls_decorated.TestClass 217 x = tc.test_method( 226 def test_method(self, a): member in ApiTest.test_decorator_preserves_argspec.TestClass 231 test_method_converted = api.convert()(test_method) [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | test_combinations.py | 269 for name, test_method in class_object.__dict__.copy().items(): 271 isinstance(test_method, types.FunctionType)): 278 test_method, test_combinations=test_combinations), 285 test_method = _augment_with_special_arguments( 287 return parameterized.named_parameters(*named_combinations)(test_method) 292 def _augment_with_special_arguments(test_method, test_combinations): argument 317 requested_parameters = tf_inspect.getfullargspec(test_method).args 343 test_method(**kwargs_to_pass)
|
/external/python/mobly/mobly/ |
D | base_test.py | 679 def _exec_one_test_with_retry(self, test_name, test_method, max_count): argument 697 previous_record = self.exec_one_test(test_name, test_method) 707 previous_record = self.exec_one_test(retry_name, test_method, new_record) 712 self, test_name, test_method, repeat_count, max_consecutive_error argument 743 new_test_name, test_method, new_record 763 def exec_one_test(self, test_name, test_method, record=None): argument 785 tr_record.uid = getattr(test_method, 'uid', None) 801 test_method() 1012 test_method = getattr(self, test_name) 1014 test_method = self._generated_test_table[test_name] [all …]
|
/external/google-smali/examples/BracketedMemberNames/ |
D | BracketedMemberNames.smali | 10 invoke-static {}, LBracketedMemberNames;->test_method()V 15 .method public static test_method()V 27 .method public static <test_method>()V 37 invoke-static {}, LBracketedMemberNames;-><test_method>()V
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | tkinter_testing_utils.py | 30 def decorator(test_method): argument 31 @functools.wraps(test_method) 33 test_generator = test_method(self)
|
/external/autotest/client/common_lib/cros/bluetooth/ |
D | bluetooth_quick_tests_base.py | 151 def decorator(test_method): argument 159 @functools.wraps(test_method) 203 test_method(self) 206 test_method.__name__, str(e)) 211 test_method.__name__, str(e)) 216 test_method.__name__, str(e)) 221 test_method.__name__, str(e))
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | train_test.py | 28 def requires_contrib(test_method): argument 32 test_method = unittest.skip( 34 test_method) 36 return test_method
|
/external/tensorflow/tensorflow/python/util/ |
D | decorator_utils_test.py | 31 def test_method(self): member in GetQualifiedNameTest 34 decorator_utils.get_qualified_name(GetQualifiedNameTest.test_method)) 100 def test_method(self): member in ValidateCallableTest 101 decorator_utils.validate_callable(self.test_method, "test")
|
/external/autotest/server/site_tests/bluetooth_AdapterAUHealth/ |
D | bluetooth_AdapterAUHealth.py | 31 def au_run_method(self, device, test_method, test_profile): argument 46 test_method() 146 def au_hfp_run_method(self, device, test_method, test_profile): argument 184 device, lambda: test_method(device, test_profile), test_profile) 310 def au_run_avrcp_method(self, device, test_method): argument 322 test_method(device)
|
/external/clang/test/CodeGenCXX/ |
D | exceptions-seh-filter-captures.cpp | 36 void test_method(void); 39 void S::test_method() { in test_method() function in S
|
/external/tensorflow/tensorflow/python/distribute/ |
D | combinations.py | 396 for name, test_method in six.iteritems(class_object.__dict__.copy()): 398 isinstance(test_method, types.FunctionType)): 399 setattr(class_object, name, _multi_worker_test(test_method)) 524 def _multi_worker_test(test_method): argument 559 test_method(self, **kwargs) 610 argspec = tf_inspect.getfullargspec(test_method) 616 test_method, decorator, decorator_argspec=decorator_argspec)
|
/external/clang/test/SemaCXX/ |
D | warn-thread-safety-parsing.cpp | 123 void test_method() NO_THREAD_SAFETY_ANALYSIS; 247 void test_method() LOCKABLE; // \ 287 void test_method() SCOPED_LOCKABLE; // \ 591 void test_method() EXCLUSIVE_LOCK_FUNCTION(); 666 void test_method() SHARED_LOCK_FUNCTION(); 739 void test_method() EXCLUSIVE_TRYLOCK_FUNCTION(1); 816 void test_method() SHARED_TRYLOCK_FUNCTION(1); 882 void test_method() UNLOCK_FUNCTION(); 961 void test_method() LOCK_RETURNED(mu1); 1028 void test_method() LOCKS_EXCLUDED(mu1); [all …]
|
/external/tensorflow/tensorflow/python/autograph/converters/ |
D | call_trees_test.py | 235 def test_method(self, a): member in CallTreesTest.test_class_method.TestClass 239 tr, mock = self._transform_with_mock(TestClass.test_method) 251 def test_method(self, a): member in CallTreesTest.test_object_method.TestClass 255 tr, mock = self._transform_with_mock(tc.test_method)
|
/external/tensorflow/tensorflow/python/autograph/operators/ |
D | py_builtins_test.py | 508 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_unary_call.TestSubclass 516 self.assertEqual(tc.test_method(), 21) 526 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_binary_call.TestSubclass 533 self.assertEqual(tc.test_method(), 21) 543 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_niladic_call.TestSubclass 549 self.assertEqual(tc.test_method(), 21) 559 def test_method(self, x): member in PyBuiltinsTest.test_super_in_original_context_caller_with_locals.TestSubclass 567 self.assertEqual(tc.test_method(1), 21) 577 def test_method(self, x): member in PyBuiltinsTest.test_super_in_original_context_inner_function.TestSubclass 591 self.assertEqual(tc.test_method(1), 21) [all …]
|