Home
last modified time | relevance | path

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

12345678910>>...17

/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')
52 if __name__ == '__main__':
/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/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_logger_test.py35 if __name__ == "__main__":
/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__':
/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__
/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/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/bt/loggers/
Dbluetooth_metric_logger.py81 data = {'device_class': device.__class__.__name__}
83 if device.__class__.__name__ == 'AndroidDevice':
96 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/framework/acts/libs/test_binding/
Dbinding.py38 self.__name__ = inner.__name__
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_ss_utils.py387 ad.log.info("Call is in %s state", call_func.__name__)
389 ad.log.error("Call is in %s state", call_func.__name__)
394 call_func.__name__,
432 call_func.__name__, time_message,
438 call_func.__name__, time_message)
441 call_func.__name__, time_message)
1097 ad.log.info("Call is in %s state", call_func.__name__)
1100 call_func.__name__,
1258 ad.log.info("2nd call is in %s state", call_func.__name__)
1261 call_func.__name__,
[all …]
/tools/test/connectivity/acts_tests/tests/google/experimental/
DBluetoothThroughputTest.py137 self.__class__.__name__,
172 self.__class__.__name__,
207 self.__class__.__name__,
/tools/asuite/atest/integration_tests/
Dsplit_build_test_script.py214 'type': exception.__class__.__name__,
503 return cls._cache_first(func, cls.run_in_parallel.__name__)
510 return cls._cache_first(func, cls.run_in_parallel_in_build_env.__name__)
517 return cls._cache_first(func, cls.run_in_parallel_in_test_env.__name__)
522 return cls._cache_first(func, cls.setup_parallel.__name__)
529 return cls._cache_first(func, cls.setup_parallel_in_build_env.__name__)
536 return cls._cache_first(func, cls.setup_parallel_in_test_env.__name__)
565 and decorator.__name__ == getattr(func, cls._DECORATOR_NAME, None),
587 is_decorated = lambda decorator, test: decorator.__name__ == getattr(
Dadevice_integration_tests.py24 if __name__ == '__main__':
Datest_integration_tests.py26 if __name__ == '__main__':
/tools/treble/build/
Dsample_test.py25 if __name__ == '__main__':
/tools/acloud/public/
D__main__.py28 if __name__ == "__main__":
/tools/repohooks/rh/
Dshell_unittest.py52 self._assertEqual(functor.__name__, test_input, test_output, result)
148 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/asuite/atest/
Datest_flag_list_generator.py36 if __name__ == '__main__':
Dcc_test_filter_generator_test.py62 if __name__ == '__main__':
/tools/asuite/atest/logstorage/httplib2/
Dca_certs_locater_unittest.py29 if __name__ == '__main__':
/tools/asuite/aidegen/lib/
Dsingleton_unittest.py37 if __name__ == '__main__':

12345678910>>...17