Lines Matching refs:format
75 raise ValueError("{0} is not a valid log severity symbol".format(s))
114 raise FatalError('{0} environmental variable not set.'.format(
128 return ('{0}/dalvik-cache/{1}'.format(android_data_path, arch)
172 logfile.write('Command:\n{0}\n{1}\nReturn code: {2}\n'.format(
294 self._logfile = open('{0}/log'.format(self._env_path), 'w+')
297 os.mkdir('{0}/dalvik-cache'.format(self._env_path))
327 f = open('{0}/{1}'.format(self._env_path, name), 'w+')
332 f.writelines('{0}\n'.format(line) for line in lines)
359 file_path = '{0}/{1}'.format(arch_cache_path, file_path)
386 self._logfile = open('{0}/log'.format(self._host_env_path), 'w+')
389 self._device_env_path = '{0}/{1}'.format(
393 self._AdbMkdir('{0}/dalvik-cache'.format(self._device_env_path))
402 .format(self._device_env_path)))
409 return '{0}/{1}'.format(self._device_env_path, name)
413 temp_file.writelines('{0}\n'.format(line) for line in lines)
436 env_vars_cmd = 'ANDROID_DATA={0} ANDROID_LOG_TAGS=*:i'.format(
494 device_paths.append('{0}/{1}'.format(
500 check_call(shlex.split('adb push "{0}" "{1}"'.format(what, where)),
504 check_call(shlex.split('adb shell mkdir "{0}" -p'.format(path)),
510 cmd = 'adb shell if [ -d "{0}" ]; then rm -f "{0}"/*; fi'.format(