HomeSort by relevance Sort by last modified time
    Searched refs:self (Results 1 - 25 of 14461) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/autotest/client/site_tests/desktopui_SonicExtension/extension_pages/
e2e_test_utils.py 13 def __init__(self, driver, extension_id):
15 self._test_utils_url = ('chrome-extension://%s/e2e_test_utils.html' %
17 ExtensionPages.__init__(self, driver, self._test_utils_url)
20 def stop_activity_id_text_box(self):
22 return self._get_text_box('activityIdToStop', 'stop_activity_id')
25 def receiver_ip_or_name_text_box(self):
27 return self._get_text_box('receiverIpAddress', 'receiver_ip_name')
30 def url_to_open_text_box(self):
32 return self._get_text_box('urlToOpen', 'url_to_open'
    [all...]
  /external/autotest/client/cros/cellular/wardmodem/state_machines/
call_machine_e362.py 17 def __init__(self, state, transceiver, modem_conf):
31 super(CallMachineE362, self).__init__(state, transceiver, modem_conf)
34 self._add_response_function('wm_response_qmi_call_result_success')
35 self._add_response_function('wm_response_qmi_call_state_connected')
36 self._add_response_function('wm_response_qmi_call_state_disconnected')
37 self._add_response_function('wm_response_qmi_call_end_reason')
38 self._add_response_function('wm_response_qmi_call_duration')
41 self._call_duration = 0
46 def connect_call(self):
53 super(CallMachineE362, self).connect_call(
    [all...]
call_machine.py 17 def get_well_known_name(self):
24 def connect_call(self):
26 power_level = self._state['power_level']
28 self._update_state({'call_status': 'CONNECTED'}, 3000)
30 self._update_state({'level_call': 1}, 3000)
32 self._logger.info(self._tag_with_name(
35 self._respond_ok()
38 def disconnect_call(self):
40 self._update_state({'call_status': 'DISCONNECTED'}, 3000
    [all...]
  /external/autotest/client/site_tests/bluetooth_RegressionClient/
bluetooth_RegressionClient.py 15 def _test_init(self, test_type):
20 self._test_type = test_type
22 self.start_dump()
23 self.collect_logs(message=('Before %s.' % test_type))
25 def _power_off(self):
26 self._test_init('power_off')
28 def _os_idle(self):
29 self._test_init('os_idle')
30 self.ask_user('OS Idle test: after pressing PASS, the OS will idle '
36 self.os_idle_time_set(
    [all...]
  /frameworks/rs/tests/lldb/tests/testcases/
test_write_local.py 35 def _try_modifying_local(self, local_name, new_value, data_type_in,
59 self.try_command('expr %s = %s%s'
63 self.try_command('frame variable ' + local_name,
69 def test_setup(self):
70 self.try_command('language renderscript status',
74 self.try_command('b -f simple.rs -l 145', [])
76 self.try_command('process continue',
82 def test_modify_char(self):
83 self._try_modifying_local('char_local', '-2',
87 def test_modify_primitive(self)
    [all...]
test_allocation_dump_2_cpp.py 29 def test_case(self):
37 self.try_command('language renderscript kernel breakpoint all enable',
40 self.try_command('process continue',
45 self.try_command('breakpoint del 1',
49 self.try_command('process continue',
55 self.try_command('language renderscript allocation dump 20',
82 self.try_command('language renderscript allocation dump 21',
97 self.try_command('language renderscript allocation dump 22',
106 self.try_command('language renderscript allocation dump 23',
115 self.try_command('language renderscript allocation dump 24'
    [all...]
test_allocation_dump_2_jni.py 29 def test_case(self):
37 self.try_command('language renderscript kernel breakpoint all enable',
40 self.try_command('process continue',
45 self.try_command('breakpoint del 1',
49 self.try_command('process continue',
55 self.try_command('language renderscript allocation dump 20',
82 self.try_command('language renderscript allocation dump 21',
97 self.try_command('language renderscript allocation dump 22',
106 self.try_command('language renderscript allocation dump 23',
115 self.try_command('language renderscript allocation dump 24'
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
Configuration.py 30 def __init__(self, Filename):
31 self.Filename = Filename
33 self.Version = 0.1
39 self.CheckAll = 0
52 self.AutoCorrect = 0
56 self.ModifierList = MODIFIER_LIST
59 self.GeneralCheckAll = 0
62 self.GeneralCheckNoTab = 1
64 self.GeneralCheckTabWidth = 2
66 self.GeneralCheckIndentation = 1
    [all...]
  /external/autotest/client/cros/cellular/wardmodem/
task_loop_unittest.py 24 def setUp(self):
25 self._mox = mox.Mox()
26 self._callback_mocker = self._mox.CreateMock(TaskLoopTestCase)
27 self._task_loop = task_loop.get_instance()
32 def test_post_task_simple(self):
34 self._callback_mocker._callback()
36 self._mox.ReplayAll()
37 self._task_loop.post_task(self._callback_mocker._callback
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/
InfCommonObject.py 29 def __init__(self):
30 self.HeaderComments = ''
31 self.TailComments = ''
33 def SetHeaderComments(self, HeaderComments):
34 self.HeaderComments = HeaderComments
36 def GetHeaderComments(self):
37 return self.HeaderComments
39 def SetTailComments(self, TailComments):
40 self.TailComments = TailComments
42 def GetTailComments(self):
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/CommonDataClass/
CommonClass.py 45 def __init__(self, Usage = None, FeatureFlag = '', SupArchList = None, HelpText = ''):
46 self.Usage = Usage
47 if self.Usage == None:
48 self.Usage = []
49 self.FeatureFlag = FeatureFlag
50 self.SupArchList = SupArchList
51 if self.SupArchList == None:
52 self.SupArchList = []
53 self.HelpText = HelpText
54 self.HelpTextList = []
    [all...]
ModuleClass.py 55 def __init__(self):
56 IdentificationClass.__init__(self)
57 CommonHeaderClass.__init__(self)
58 DefineClass.__init__(self)
59 self.ModuleType = ''
60 self.SupModuleList = []
61 self.SupArchList = []
62 self.BinaryModule = False
63 self.OutputFileBasename = ''
64 self.ClonedFrom = []
    [all...]
  /external/skia/infra/bots/recipe_modules/vars/
api.py 18 def make_path(self, *path):
21 self.m.path.c.base_paths[key] = tuple(path)
22 return self.m.path[key]
24 def setup(self):
27 self.builder_name = self.m.properties['buildername']
29 self.slave_dir = self.m.path['start_dir']
30 self.checkout_root = self.slave_di
    [all...]
  /external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/userInteraction/
DynamicCallHelper.py 54 def __init__(self, func, *args):
64 self.__func = func
65 self.__args = args
67 def __call__(self):
74 return self.__func(*self.__args)
  /external/trappy/trappy/plotter/
PlotLayout.py 42 def __init__(self, cols, num_plots, **kwargs):
44 self.cols = cols
45 self._attr = {}
46 self.num_plots = num_plots
47 self._single_plot = False
48 if self.num_plots == 0:
51 if self.num_plots < self.cols:
52 self.cols = self.num_plot
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/
test_util.py 25 def assertStr(self, node, string):
28 self.assertEqual(str(node), string)
32 def is_tuple(self, string):
35 def test_valid(self):
36 self.assertTrue(self.is_tuple("(a, b)"))
37 self.assertTrue(self.is_tuple("(a, (b, c))"))
38 self.assertTrue(self.is_tuple("((a, (b, c)),)"))
    [all...]
  /external/python/cpython2/Lib/lib2to3/tests/
test_util.py 25 def assertStr(self, node, string):
28 self.assertEqual(str(node), string)
32 def is_tuple(self, string):
35 def test_valid(self):
36 self.assertTrue(self.is_tuple("(a, b)"))
37 self.assertTrue(self.is_tuple("(a, (b, c))"))
38 self.assertTrue(self.is_tuple("((a, (b, c)),)")
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_util.py 25 def assertStr(self, node, string):
28 self.assertEqual(str(node), string)
32 def is_tuple(self, string):
35 def test_valid(self):
36 self.assertTrue(self.is_tuple("(a, b)"))
37 self.assertTrue(self.is_tuple("(a, (b, c))"))
38 self.assertTrue(self.is_tuple("((a, (b, c)),)")
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_util.py 25 def assertStr(self, node, string):
28 self.assertEqual(str(node), string)
32 def is_tuple(self, string):
35 def test_valid(self):
36 self.assertTrue(self.is_tuple("(a, b)"))
37 self.assertTrue(self.is_tuple("(a, (b, c))"))
38 self.assertTrue(self.is_tuple("((a, (b, c)),)")
    [all...]
  /frameworks/base/tools/orientationplot/
orientationplot.py 40 def __init__(self, stream):
42 self.stream = stream
43 self.buffer = ''
44 self.pos = 0
46 def readline(self):
48 index = self.buffer.find('\n', self.pos)
50 result = self.buffer[self.pos:index]
51 self.pos = index +
    [all...]
  /development/testrunner/test_defs/
test_suite.py 27 def __init__(self):
28 self._name = None
29 self._build_path = None
30 self._build_dependencies = []
31 self._is_continuous = False
32 self._suite = None
33 self._description = ''
34 self._extra_build_args = ''
35 self._is_full_make = False
36 self._is_granted_permissions = Tru
    [all...]
  /external/webrtc/tools/network_emulator/
config.py 16 def __init__(self, num, name, receive_bw_kbps, send_bw_kbps, delay_ms,
18 self.num = num
19 self.name = name
20 self.receive_bw_kbps = receive_bw_kbps
21 self.send_bw_kbps = send_bw_kbps
22 self.delay_ms = delay_ms
23 self.packet_loss_percent = packet_loss_percent
24 self.queue_slots = queue_slots
26 def __str__(self):
33 left_aligned_name = self.name.ljust(24, ' '
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_sets.py 15 def test_repr(self):
16 if self.repr is not None:
17 self.assertEqual(repr(self.set), self.repr)
19 def test_length(self):
20 self.assertEqual(len(self.set), self.length)
22 def test_self_equality(self):
    [all...]
  /external/autotest/client/cros/networking/
wimax_proxy.py 11 def set_logging_for_wimax_test(self):
19 self.set_logging_for_test(self.TECHNOLOGY_WIMAX)
22 def find_wimax_service_object(self):
29 return self.find_object('Service', {'Type': self.TECHNOLOGY_WIMAX})
32 def find_wimax_device_object(self):
39 return self.find_object('Device', {'Type': self.TECHNOLOGY_WIMAX})
  /external/python/cpython2/Lib/test/
test_sets.py 13 def test_repr(self):
14 if self.repr is not None:
15 self.assertEqual(repr(self.set), self.repr)
17 def test_length(self):
18 self.assertEqual(len(self.set), self.length)
20 def test_self_equality(self)
    [all...]

Completed in 1137 milliseconds

1 2 3 4 5 6 7 8 91011>>