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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/tools/telemetry/telemetry/page/actions/
seek.py 34 assert hasattr(self, 'seek_time')
35 selector = self.selector if hasattr(self, 'selector') else ''
36 log_seek = self.log_seek == True if hasattr(self, 'log_seek') else True
37 seek_label = self.seek_label if hasattr(self, 'seek_label') else ''
40 timeout = self.wait_timeout if hasattr(self, 'wait_timeout') else 60
42 if hasattr(self, 'wait_for_seeked') and self.wait_for_seeked:
scroll.py 28 if (hasattr(self, 'scroll_requires_touch') and
36 if hasattr(self, 'scroll_distance_function'):
55 if hasattr(self, 'left_start_percentage'):
57 if hasattr(self, 'top_start_percentage'):
59 if hasattr(self, 'direction'):
64 if hasattr(self, 'scroll_requires_touch') and self.scroll_requires_touch:
66 if hasattr(self, 'scrollable_element_function'):
loop.py 30 assert hasattr(self, 'loop_count') and self.loop_count > 0
31 selector = self.selector if hasattr(self, 'selector') else ''
34 timeout = (self.wait_timeout if hasattr(self, 'wait_timeout')
37 if hasattr(self, 'wait_for_loop') and not self.wait_for_loop:
play.py 31 selector = self.selector if hasattr(self, 'selector') else ''
33 timeout = self.wait_timeout if hasattr(self, 'wait_timeout') else 60
35 if hasattr(self, 'wait_for_playing') and self.wait_for_playing:
38 if hasattr(self, 'wait_for_ended') and self.wait_for_ended:
tap.py 35 if hasattr(self, 'left_position_percentage'):
37 if hasattr(self, 'top_position_percentage'):
39 if hasattr(self, 'duration_ms'):
41 if hasattr(self, 'element_function'):
swipe.py 39 if hasattr(self, 'left_start_percentage'):
41 if hasattr(self, 'top_start_percentage'):
43 if hasattr(self, 'direction'):
48 if hasattr(self, 'distance'):
50 if hasattr(self, 'element_function'):
wait.py 25 if hasattr(self, 'seconds'):
48 if hasattr(self, 'text'):
53 elif hasattr(self, 'selector'):
57 elif hasattr(self, 'xpath'):
68 elif hasattr(self, 'javascript'):
tap_element.py 24 assert hasattr(self, 'find_element_expression')
33 if hasattr(self, 'wait_for_event'):
javascript.py 13 assert hasattr(self, 'expression')
click_element.py 20 if hasattr(self, 'selector'):
28 elif hasattr(self, 'text'):
35 elif hasattr(self, 'xpath'):
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
xmltests.py 12 if hasattr(module, "test_main"):
test_errno.py 17 self.assertTrue(hasattr(errno, error_code),
23 self.assertTrue(hasattr(errno, value), 'no %s attr in errno' % value)
test_posix.py 56 if hasattr(posix, 'getresuid'):
63 if hasattr(posix, 'getresgid'):
70 if hasattr(posix, 'setresuid'):
84 if hasattr(posix, 'setresgid'):
98 @unittest.skipUnless(hasattr(posix, 'initgroups'),
124 if hasattr(posix, 'statvfs'):
128 if hasattr(posix, 'fstatvfs'):
136 if hasattr(posix, 'ftruncate'):
147 if hasattr(posix, 'dup'):
157 if hasattr(posix, 'confstr')
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
xmltests.py 12 if hasattr(module, "test_main"):
test_errno.py 17 self.assertTrue(hasattr(errno, error_code),
23 self.assertTrue(hasattr(errno, value), 'no %s attr in errno' % value)
  /prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/share/gdb/python/gdb/
printing.py 105 if not hasattr(printer, "__name__") and not hasattr(printer, "name"):
107 if hasattr(printer, "name") and not hasattr(printer, "enabled"):
109 if not hasattr(printer, "__call__"):
121 if hasattr(printer, "name"):
135 if hasattr(p, "name") and p.name == printer.name:
  /prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/share/gdb/python/gdb/
printing.py 105 if not hasattr(printer, "__name__") and not hasattr(printer, "name"):
107 if hasattr(printer, "name") and not hasattr(printer, "enabled"):
109 if not hasattr(printer, "__call__"):
121 if hasattr(printer, "name"):
135 if hasattr(p, "name") and p.name == printer.name:
  /prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/share/gdb/python/gdb/
printing.py 105 if not hasattr(printer, "__name__") and not hasattr(printer, "name"):
107 if hasattr(printer, "name") and not hasattr(printer, "enabled"):
109 if not hasattr(printer, "__call__"):
121 if hasattr(printer, "name"):
135 if hasattr(p, "name") and p.name == printer.name:
  /prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/share/gdb/python/gdb/
printing.py 105 if not hasattr(printer, "__name__") and not hasattr(printer, "name"):
107 if hasattr(printer, "name") and not hasattr(printer, "enabled"):
109 if not hasattr(printer, "__call__"):
121 if hasattr(printer, "name"):
135 if hasattr(p, "name") and p.name == printer.name:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/
__init__.py 64 if hasattr(__builtin__, "unicode") and isinstance(encoding, unicode):
126 if not hasattr(entry[0], '__call__') or \
127 not hasattr(entry[1], '__call__') or \
128 (entry[2] is not None and not hasattr(entry[2], '__call__')) or \
129 (entry[3] is not None and not hasattr(entry[3], '__call__')) or \
130 (len(entry) > 4 and entry[4] is not None and not hasattr(entry[4], '__call__')) or \
131 (len(entry) > 5 and entry[5] is not None and not hasattr(entry[5], '__call__')):
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/
__init__.py 64 if hasattr(__builtin__, "unicode") and isinstance(encoding, unicode):
126 if not hasattr(entry[0], '__call__') or \
127 not hasattr(entry[1], '__call__') or \
128 (entry[2] is not None and not hasattr(entry[2], '__call__')) or \
129 (entry[3] is not None and not hasattr(entry[3], '__call__')) or \
130 (len(entry) > 4 and entry[4] is not None and not hasattr(entry[4], '__call__')) or \
131 (len(entry) > 5 and entry[5] is not None and not hasattr(entry[5], '__call__')):
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/curses/
__init__.py 48 if hasattr(_curses, 'COLORS'):
50 if hasattr(_curses, 'COLOR_PAIRS'):
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/curses/
__init__.py 48 if hasattr(_curses, 'COLORS'):
50 if hasattr(_curses, 'COLOR_PAIRS'):
  /external/chromium_org/tools/gyp/test/generator-output/
gyptest-symlink.py 18 if not hasattr(os, 'symlink'):
  /external/chromium_org/tools/telemetry/telemetry/
test.py 26 if hasattr(cls, 'tag'):
28 if hasattr(cls, 'page_set'):
34 assert hasattr(self, 'test'), 'This test has no "test" attribute.'
71 assert hasattr(self, 'page_set'), 'This test has no "page_set" attribute.'
81 if hasattr(self, 'expectations'):

Completed in 221 milliseconds

1 2 3 4 5 6 7 8 91011>>