Searched refs:_CONSENT_FILE (Results 1 – 3 of 3) sorted by relevance
88 _CONSENT_FILE = '/home/chronos/Consent To Send Stats' variable in platform_MetricsUploader204 if os.path.exists(self._CONSENT_FILE):205 shutil.move(self._CONSENT_FILE, self._get_saved_consent_file_path())207 utils.open_write_close(self._CONSENT_FILE, 'foo')222 os.remove(self._CONSENT_FILE)234 if os.path.exists(self._CONSENT_FILE):235 os.remove(self._CONSENT_FILE)238 shutil.move(self._get_saved_consent_file_path(), self._CONSENT_FILE)
72 _CONSENT_FILE = '/home/chronos/Consent To Send Stats' variable in CrashTest218 temp_file = self._CONSENT_FILE + '.tmp';221 shutil.move(temp_file, self._CONSENT_FILE)222 logging.info('Created ' + self._CONSENT_FILE)231 utils.system('rm -f "%s"' % (self._CONSENT_FILE))263 if os.path.exists(self._CONSENT_FILE):264 shutil.move(self._CONSENT_FILE,279 self._CONSENT_FILE)281 utils.system('rm -f "%s"' % self._CONSENT_FILE)
64 (CrashTestDefs._CONSENT_FILE, None, 'chronos'),