Searched refs:constants (Results 1 - 25 of 409) sorted by relevance

1234567891011>>

/external/jmdns/src/javax/jmdns/impl/constants/
H A Dpackage-info.java1 package javax.jmdns.impl.constants;
/external/autotest/client/cros/
H A Dflimflam_test_path.py7 import constants namespace
10 constants.FLIMFLAM_TEST_PATH)
H A Dlogin.py7 import constants, cros_logging, cros_ui, cryptohome namespace
79 lambda: os.system('pgrep ^%s$ >/dev/null' % constants.BROWSER) == 0,
82 process=constants.BROWSER,
98 lambda: os.system('pgrep ^%s$ >/dev/null' % constants.BROWSER) != 0,
101 process=constants.BROWSER,
124 def wait_for_ownership(timeout=constants.DEFAULT_OWNERSHIP_TIMEOUT):
131 if os.access(constants.OWNER_KEY_FILE, os.F_OK):
134 condition=lambda: os.access(constants.OWNER_KEY_FILE, os.F_OK),
137 process=constants.BROWSER,
H A Dcros_ui.py10 from autotest_lib.client.cros import constants namespace
36 return host.run(constants.LOGIN_PROMPT_STATUS_COMMAND).stdout
37 return utils.run(constants.LOGIN_PROMPT_STATUS_COMMAND).stdout
142 restart(lambda: utils.nuke_process_by_name(constants.SESSION_MANAGER))
152 for filename in [constants.UI_RESPAWN_TIMESTAMPS_FILE,
153 constants.UI_TOO_CRASHY_TIMESTAMPS_FILE]:
H A Downership.py7 import common, constants, cryptohome namespace
103 __unlink(constants.OWNER_KEY_FILE)
104 __unlink(constants.SIGNED_POLICY_FILE)
105 __unlink(os.path.join(constants.USER_DATA_DIR, 'Local State'))
112 mock_certfile = os.path.join(dirname, constants.MOCK_OWNER_CERT)
114 constants.MOCK_OWNER_POLICY)
115 utils.open_write_close(constants.OWNER_KEY_FILE,
118 constants.SIGNED_POLICY_FILE)
250 mock_keyfile = os.path.join(dirname, constants.MOCK_OWNER_KEY)
251 mock_certfile = os.path.join(dirname, constants
[all...]
H A Ddark_resume_xmlrpc_server.py11 from autotest_lib.client.cros import constants namespace
54 'localhost', constants.DARK_RESUME_XMLRPC_SERVER_PORT)
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A D__init__.py147 from constants import *
/external/autotest/server/site_tests/testbed_DummyTest/
H A Dtestbed_DummyTest.py7 from autotest_lib.server import constants namespace
31 adb_host, constants.SL4A_APK, constants.SL4A_ARTIFACT,
32 package_name=constants.SL4A_PACKAGE)
/external/v8/tools/testrunner/server/
H A Dstatus_handler.py33 from . import constants namespace
38 code = sock.connect_ex((peer.address, constants.STATUS_PORT))
43 compression.Send(constants.END_OF_STREAM, sock)
56 pubkey_list = _StatusQuery(peer, [constants.LIST_TRUSTED_PUBKEYS])
59 result = _StatusQuery(peer, [constants.GET_SIGNED_PUBKEY, pubkey])
64 _StatusQuery(peer, [constants.NOTIFY_NEW_TRUSTED] + data)
68 _StatusQuery(peer, [constants.TRUST_YOU_NOW])
72 if _StatusQuery(peer, [constants.DO_YOU_TRUST, pubkey]):
73 result = _StatusQuery(peer, [constants.GET_SIGNED_PUBKEY, pubkey])
84 if action == constants
[all...]
H A Dlocal_handler.py34 from . import constants namespace
39 code = sock.connect_ex(("localhost", constants.CLIENT_PORT))
42 compression.Send(constants.END_OF_STREAM, sock)
61 if action == constants.REQUEST_PEERS:
67 elif action == constants.UNRESPONSIVE_PEER:
70 elif action == constants.REQUEST_PUBKEY_FINGERPRINT:
74 elif action == constants.REQUEST_STATUS:
77 elif action == constants.ADD_TRUSTED:
81 elif action == constants.INFORM_DURATION:
88 elif action == constants
[all...]
/external/autotest/server/hosts/
H A Dcommon_label.py9 from autotest_lib.server.cros.dynamic_suite import constants namespace
16 _NAME = constants.OS_PREFIX
H A Dadb_label.py10 from autotest_lib.server.cros.dynamic_suite import constants namespace
21 _NAME = constants.BOARD_PREFIX.rstrip(':')
H A Dtestbed_label.py9 from autotest_lib.server.cros.dynamic_suite import constants namespace
36 if label.startswith(constants.BOARD_PREFIX):
/external/autotest/client/site_tests/desktopui_GmailLatency/
H A Ddesktopui_GmailLatency.py8 from autotest_lib.client.cros import constants, cros_ui namespace
36 constants.SESSION_MANAGER)
37 open(constants.DISABLE_BROWSER_RESTART_MAGIC_FILE, 'w').close()
45 utils.nuke_process_by_name(name=constants.BROWSER)
51 constants.SESSION_MANAGER)
71 os.unlink(constants.DISABLE_BROWSER_RESTART_MAGIC_FILE)
/external/autotest/client/site_tests/desktopui_HangDetector/
H A Ddesktopui_HangDetector.py10 from autotest_lib.client.cros import constants, cros_logging, cros_ui, login namespace
43 os.mknod(constants.ENABLE_BROWSER_HANG_DETECTION_FILE)
46 browser_pid = self._get_oldest_pid_by_name(constants.BROWSER)
47 sm_pid = self._get_oldest_pid_by_name(constants.SESSION_MANAGER)
82 if sm_pid != self._get_oldest_pid_by_name(constants.SESSION_MANAGER):
87 if os.path.exists(constants.ENABLE_BROWSER_HANG_DETECTION_FILE):
88 os.remove(constants.ENABLE_BROWSER_HANG_DETECTION_FILE)
/external/autotest/client/site_tests/video_GlitchDetection/
H A Dvideo_GlitchDetection.py12 from autotest_lib.client.cros import constants as cros_constants
17 from autotest_lib.client.cros.video import constants namespace
40 shutil.copy2(constants.VIDEO_HTML_FILEPATH, self.bindir)
42 file_utils.make_leaf_dir(constants.TEST_DIR)
91 box = (0, 0, constants.DESIRED_WIDTH, constants.DESIRED_HEIGHT)
94 for n in xrange(constants.NUM_CAPTURE_TRIES):
97 player, max_frame_count = constants.FCOUNT,
105 constants.MAX_FRAME_REPEAT_COUNT)
115 'tries. Checksums: %s' % (constants
[all...]
/external/autotest/server/cros/
H A Dinteractive_client.py5 from autotest_lib.client.cros import constants namespace
32 constants.INTERACTIVE_XMLRPC_SERVER_COMMAND,
33 constants.INTERACTIVE_XMLRPC_SERVER_PORT,
35 constants.INTERACTIVE_XMLRPC_SERVER_CLEANUP_PATTERN,
37 constants.INTERACTIVE_XMLRPC_SERVER_READY_METHOD,
/external/autotest/server/cros/network/
H A Dapmanager_service_provider.py6 from autotest_lib.client.cros import constants namespace
24 constants.APMANAGER_XMLRPC_SERVER_COMMAND,
25 constants.APMANAGER_XMLRPC_SERVER_PORT,
26 command_name=constants.APMANAGER_XMLRPC_SERVER_CLEANUP_PATTERN,
27 ready_test_name=constants.APMANAGER_XMLRPC_SERVER_READY_METHOD,
/external/autotest/client/site_tests/video_ChromeVidResChangeHWDecode/
H A Dvideo_ChromeVidResChangeHWDecode.py12 from autotest_lib.client.cros.video import constants namespace
29 shutil.copy2(constants.VIDEO_HTML_FILEPATH, self.bindir)
45 constants.MEDIA_GVD_INIT_STATUS,
46 constants.MEDIA_GVD_BUCKET)
/external/autotest/client/site_tests/video_VideoSanity/
H A Dvideo_VideoSanity.py11 from autotest_lib.client.cros.video import constants namespace
54 shutil.copy2(constants.VIDEO_HTML_FILEPATH, self.bindir)
55 video_path = os.path.join(constants.CROS_VIDEO_DIR,
71 player.verify_video_can_play(constants.PLAYBACK_TEST_TIME_S)
/external/autotest/client/site_tests/login_OwnershipNotRetaken/
H A Dlogin_OwnershipNotRetaken.py11 from autotest_lib.client.cros import constants, cryptohome, ownership namespace
46 key = open(constants.OWNER_KEY_FILE, 'rb')
49 mtime = os.stat(constants.OWNER_KEY_FILE).st_mtime
59 if os.stat(constants.OWNER_KEY_FILE).st_mtime > mtime:
63 key2 = open(constants.OWNER_KEY_FILE, 'rb')
/external/autotest/client/site_tests/video_ChromeHWDecodeUsed/
H A Dvideo_ChromeHWDecodeUsed.py13 from autotest_lib.client.cros.video import constants namespace
67 shutil.copy2(constants.VIDEO_HTML_FILEPATH, self.bindir)
68 video_path = os.path.join(constants.CROS_VIDEO_DIR,
89 constants.MEDIA_GVD_INIT_STATUS,
90 constants.MEDIA_GVD_BUCKET)
/external/autotest/client/common_lib/cros/
H A Ddark_resume_xmlrpc_server.py11 from autotest_lib.client.cros import constants namespace
54 'localhost', constants.DARK_RESUME_XMLRPC_SERVER_PORT)
/external/autotest/client/site_tests/video_VideoCorruption/
H A Dvideo_VideoCorruption.py10 from autotest_lib.client.cros.video import constants namespace
24 shutil.copy2(constants.VIDEO_HTML_FILEPATH, self.bindir)
/external/v8/src/parsing/
H A Dduplicate-finder.h19 explicit DuplicateFinder(UnicodeCache* constants) argument
20 : unicode_constants_(constants), backing_store_(16), map_(&Match) {}

Completed in 577 milliseconds

1234567891011>>