Home
last modified time | relevance | path

Searched refs:__name__ (Results 1 – 25 of 352) sorted by relevance

12345678910>>...15

/tools/test/connectivity/acts/framework/tests/libs/ota/ota_tools/
Dota_tool_factory_test.py32 MockOtaTool.__name__: lambda command: MockOtaTool(command),
34 ret = ota_tool_factory.create(MockOtaTool.__name__, 'command')
41 ota_tool_factory.create(MockOtaTool.__name__, 'command')
45 MockOtaTool.__name__: lambda command: MockOtaTool(command),
47 ret_a = ota_tool_factory.create(MockOtaTool.__name__, 'command')
48 ret_b = ota_tool_factory.create(MockOtaTool.__name__, 'command')
/tools/test/connectivity/acts/framework/tests/
Dacts_context_test.py193 self.assertEqual(context.test_class_name, TestClass.__name__)
201 self.assertEqual(context._get_default_context_dir(), TestClass.__name__)
209 self.assertEqual(context.identifier, TestClass.__name__)
228 self.assertEqual(context.test_class_name, TestClass.__name__)
234 context_dir = TestClass.__name__ + '/' + TEST_CASE
241 identifier = TestClass.__name__ + '.' + TEST_CASE
245 if __name__ == '__main__':
Dacts_test_decorators_test.py164 self.assertEqual(test_func.__name__, "test_func")
301 cls.MOCK_TEST_RUN_LIST = [(MockTest.__name__,
415 if __name__ == '__main__':
/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py87 if not func.__name__.startswith('test_'):
113 i, func.__name__)))
162 self.__name__ = func.__name__
339 self.__name__ = target.__name__
Dbase_test.py249 return a_module.__name__.split('.')[-1]
501 func.__name__, self.current_test_name)
502 tr_record.add_error(func.__name__, e)
515 class_name = self.__class__.__name__
726 func.__name__, self.TAG)
819 if any([substr in self.__class__.__name__ for substr in
885 class_name = self.__class__.__name__
Dcontext.py295 return self.test_class.__class__.__name__
335 return self.test_class.__class__.__name__
/tools/test/connectivity/acts/framework/tests/metrics/loggers/
Dusage_metadata_logger_test.py62 '%s.%s' % (HurloWorld.__name__, test_case))
63 class_key = UsageMetadataKey(joined_name, YerAHarryWizard.__name__)
91 '%s.%s' %(HurlowWorld.__name__, test_case))
111 key = UsageMetadataKey(joined_name, YerAHarryWizard.__name__)
170 if __name__ == '__main__':
Dblackbox_test.py180 setattr(mock_module, test_class.__name__, test_class)
184 test_class.__name__,
311 self.assertEqual(metric.test_identifier, MyTest.__name__)
320 if __name__ == '__main__':
Dbounded_metrics_test.py179 setattr(mock_module, test_class.__name__, test_class)
183 test_class.__name__,
278 if __name__ == '__main__':
/tools/test/connectivity/acts/framework/acts/libs/
Dversion_selector.py83 func_name = func.__name__
162 def __name__(self): member in _VersionSelector
164 return self.entry_list[0].func.__name__
165 return '%s<%s>' % (self.__class__.__name__, self.get_version.__name__)
/tools/acloud/setup/
Dbase_task_runner.py30 logger = logging.getLogger(__name__)
64 logger.debug("No welcome message for %s", self.__class__.__name__)
101 logger.info("Skipping setup step: %s", self.__class__.__name__)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/loggers/
Dbluetooth_metric_logger.py81 data = {'device_class': device.__class__.__name__}
83 if device.__class__.__name__ == 'AndroidDevice':
94 if device.__class__.__name__ == 'ParentDevice':
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/
Dbase_test_actions.py37 func_name = self._convert_default_action_name(method.__name__)
39 func_name = method.__name__
190 if __name__ == '__main__':
/tools/test/connectivity/acts_tests/tests/google/experimental/
DBluetoothThroughputTest.py137 self.__class__.__name__,
172 self.__class__.__name__,
207 self.__class__.__name__,
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/
Dota_tool_factory.py21 AdbSideloadOtaTool.__name__: lambda command: AdbSideloadOtaTool(command),
22 UpdateDeviceOtaTool.__name__: lambda command: UpdateDeviceOtaTool(command),
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/
Dbluetooth_handsfree_abstract_device.py43 controller.__class__.__name__,
53 controller_func.__qualname__, controller_func.__name__,
335 class_name = controller.__class__.__name__
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
DBluetoothBaseTest.py75 test_id = "{}:{}:{}".format(self.__class__.__name__, fn.__name__,
154 self.android_devices, self.__class__.__name__)
/tools/acloud/internal/lib/
Dota_tools_test.py200 self.fail(expected_error.__name__ + " is not raised.")
279 self.fail(expected_error.__name__ + " is not raised.")
313 if __name__ == "__main__":
/tools/test/connectivity/acts/framework/acts/libs/test_binding/
Dbinding.py38 self.__name__ = inner.__name__
/tools/repohooks/rh/
Dshell_unittest.py51 self._assertEqual(functor.__name__, test_input, test_output, result)
135 if __name__ == '__main__':
/tools/test/connectivity/acts_tests/tests/google/bt/
Drelay_tool.py156 if len(e.args) == 1 and func.__name__ in e.args[0]:
174 if __name__ == '__main__':
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveStressTest.py545 call_verification_func.__name__,
547 if call_verification_func.__name__ == "is_phone_in_call_iwlan":
560 call_verification_func.__name__,
1024 msg = "%s setup %s failed" % (self.test_name, setup_func.__name__)
1027 setup_func.__name__),
1140 self.log.error("Test setup %s failed", setup_func.__name__)
1168 msg = "%s setup %s failed" % (self.test_name, setup_func.__name__)
1171 setup_func.__name__),
/tools/asuite/aidegen/lib/
Dcommon_util.py93 func.__module__, func.__name__, timestamp))
526 func.__module__, func.__name__, err))
550 fname = func.__name__
/tools/test/connectivity/acts_tests/tests/google/bt/performance/
DBtCodecSweepTest.py155 self.__class__.__name__)
157 return self.bt_logger.get_proto_dict(self.__class__.__name__,
DBtA2dpRangeTest.py89 self.__class__.__name__)
91 proto_dict = self.bt_logger.get_proto_dict(self.__class__.__name__,

12345678910>>...15