Searched refs:constants (Results 1 - 25 of 512) 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.py9 from autotest_lib.client.cros import constants namespace
35 return host.run(constants.LOGIN_PROMPT_STATUS_COMMAND).stdout
36 return utils.run(constants.LOGIN_PROMPT_STATUS_COMMAND).stdout
141 restart(lambda: utils.nuke_process_by_name(constants.SESSION_MANAGER))
151 for filename in [constants.UI_RESPAWN_TIMESTAMPS_FILE,
152 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/tensorflow/tensorflow/python/saved_model/
H A Dloader_impl.py32 from tensorflow.python.saved_model import constants namespace
53 compat.as_bytes(constants.SAVED_MODEL_FILENAME_PBTXT))
57 compat.as_bytes(constants.SAVED_MODEL_FILENAME_PB))
78 constants.SAVED_MODEL_FILENAME_PBTXT,
79 constants.SAVED_MODEL_FILENAME_PB))
97 if constants.ASSETS_KEY in collection_def:
101 compat.as_bytes(constants.ASSETS_DIRECTORY))
102 assets_any_proto = collection_def[constants.ASSETS_KEY].any_list.value
128 if constants.MAIN_OP_KEY in collection_def:
129 main_ops = collection_def[constants
[all...]
/external/tensorflow/tensorflow/contrib/session_bundle/
H A Dsession_bundle.py26 from tensorflow.contrib.session_bundle import constants namespace
50 constants.META_GRAPH_DEF_FILENAME)
83 constants.META_GRAPH_DEF_FILENAME)
97 constants.VARIABLES_INDEX_FILENAME_V2)
104 export_dir, constants.VARIABLES_FILENAME_PATTERN_V2)
109 variables_filename = os.path.join(export_dir, constants.VARIABLES_FILENAME)
114 constants.VARIABLES_FILENAME_PATTERN)
124 restore_files = constants.VARIABLES_FILENAME
126 restore_files = constants.VARIABLES_FILENAME_PATTERN
128 assets_dir = os.path.join(export_dir, constants
[all...]
/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
41 shutil.copy2(constants.VIDEO_HTML_FILEPATH, self.bindir)
43 file_utils.make_leaf_dir(constants.TEST_DIR)
93 box = (0, 0, constants.DESIRED_WIDTH, constants.DESIRED_HEIGHT)
96 for n in xrange(constants.NUM_CAPTURE_TRIES):
99 player, max_frame_count = constants.FCOUNT,
107 constants.MAX_FRAME_REPEAT_COUNT)
117 '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/tensorflow/tensorflow/contrib/saved_model/python/saved_model/
H A Dreader.py27 from tensorflow.python.saved_model import constants namespace
46 compat.as_bytes(constants.SAVED_MODEL_FILENAME_PBTXT))
50 compat.as_bytes(constants.SAVED_MODEL_FILENAME_PB))
75 (saved_model_dir, constants.SAVED_MODEL_FILENAME_PBTXT,
76 constants.SAVED_MODEL_FILENAME_PB))
/external/autotest/site_utils/lxc/
H A D__init__.py14 from constants import *
/external/autotest/client/site_tests/video_ChromeHWDecodeUsed/
H A Dvideo_ChromeHWDecodeUsed.py14 from autotest_lib.client.cros.video import constants namespace
71 shutil.copy2(constants.VIDEO_HTML_FILEPATH, self.bindir)
72 video_path = os.path.join(constants.CROS_VIDEO_DIR,
95 constants.MEDIA_GVD_INIT_STATUS,
96 constants.MEDIA_GVD_BUCKET)
101 constants.MEDIA_GVD_ERROR):
103 cr, constants.MEDIA_GVD_ERROR))
/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/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)

Completed in 655 milliseconds

1234567891011>>