Lines Matching refs:constants
7 import common, constants, cryptohome
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.MOCK_OWNER_CERT)
253 utils.open_write_close(constants.OWNER_KEY_FILE,
263 return utils.read_file(os.path.join(dirname, constants.MOCK_OWNER_KEY))
273 constants.MOCK_OWNER_CERT))
393 return os.path.join(constants.USER_POLICY_DIR,
395 constants.USER_POLICY_KEY_FILENAME)