Searched refs:read_file (Results 1 - 25 of 63) sorted by relevance

123

/external/autotest/client/site_tests/power_PSROccupancyTest/
H A Dpower_PSROccupancyTest.py33 return int(utils.read_file(enable_psr_file_path)) == 1
40 psr_status = utils.read_file(debugfs_file_path).splitlines()
51 return int(utils.read_file('/sys/module/drm/parameters/vblankoffdelay'))
/external/llvm/test/Bindings/OCaml/
H A Dbitwriter.ml17 let read_file name = var
34 let temp_buf = read_file temp_name in
44 let file_buf = read_file Sys.argv.(1) in
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/ANTLR/Runtime/
H A DTest.pm17 sub read_file { subroutine
127 my $err = read_file('err.tmp');
133 my $out = read_file('out.tmp');
/external/autotest/client/site_tests/power_NoConsoleSuspend/
H A Dpower_NoConsoleSuspend.py19 self.old_console_suspend = utils.read_file(SYSFS_CONSOLE_SUSPEND)
/external/autotest/client/site_tests/power_Thermal/
H A Dpower_Thermal.py123 count += int(utils.read_file(
131 return int(utils.read_file(
138 return float(utils.read_file(
152 return float(utils.read_file(
204 current_gov = utils.read_file(gov_file).strip()
205 available_govs = utils.read_file(PER_CORE_FREQ_TEMPLATE % (
276 present = utils.read_file(os.path.join(CPU_INFO_ROOT, 'present'))
281 min_freq = int(utils.read_file(
283 max_freq = int(utils.read_file(
/external/skia/tools/
H A Dskdiff_utils.h26 SkData* read_file(const char* file_path);
/external/autotest/client/site_tests/kernel_VbootContextEC/
H A Dkernel_VbootContextEC.py25 media = utils.read_file(self.dts_node_path).strip('\n\x00')
46 vc_got = utils.read_file(sysfs_entry).strip('\n\x00')
/external/autotest/client/site_tests/platform_CleanShutdown/
H A Dplatform_CleanShutdown.py29 contents = utils.read_file(filename).strip()
/external/libdrm/intel/
H A Dtest_decode.c53 read_file(const char *filename, void **ptr, size_t *size) function
80 read_file(batch_filename, &batch_ptr, &batch_size);
105 read_file(batch_filename, &batch_ptr, &batch_size);
106 read_file(ref_filename, &ref_ptr, &ref_size);
/external/autotest/client/site_tests/kernel_CrosECSysfsAccel/
H A Dkernel_CrosECSysfsAccel.py39 content = utils.read_file(fullpath)
54 content = utils.read_file(namepath)
/external/iw/
H A Dvendor.c16 static int read_file(FILE *file, char *buf, size_t size) function
78 count = read_file(file, buf, sizeof(buf));
/external/squashfs-tools/squashfs-tools/
H A DAndroid.mk22 read_file.c \
H A DMakefile114 sort.o progressbar.o read_file.o info.o restore.o process_fragments.o \
254 read_file.o: read_file.c error.h
H A Dread_file.c22 * read_file.c
45 int read_file(char *filename, char *type, int (parse_line)(char *)) function
/external/autotest/client/cros/faft/utils/
H A Dshell_wrapper.py74 def read_file(self, path): member in class:LocalShell
162 def read_file(self, path): member in class:AdbShell
167 return self._host_shell.read_file(f.name)
H A Dos_interface.py139 def read_file(self, path): member in class:OSInterface
141 return self.shell.read_file(path)
253 removable = int(self.read_file('/sys/block/%s/removable' % base_dev))
372 data = self.read_file(tmp_file)
/external/autotest/client/site_tests/login_OwnershipRetaken/
H A Dlogin_OwnershipRetaken.py59 if (utils.read_file(constants.OWNER_KEY_FILE) != pubkey):
74 if (utils.read_file(constants.OWNER_KEY_FILE) == pubkey):
/external/autotest/client/site_tests/power_HotCPUSuspend/
H A Dpower_HotCPUSuspend.py27 proc_stat = utils.read_file('/proc/stat')
66 self.is_cpuquiet_enabled = utils.read_file(SYSFS_CPUQUIET_ENABLE)
/external/autotest/server/site_tests/kernel_BootMessagesServer/
H A Dkernel_BootMessagesServer.py79 return utils.read_file(filename)
100 return utils.read_file(filename)
/external/autotest/client/site_tests/kernel_CrosECSysfs/
H A Dkernel_CrosECSysfs.py28 content = utils.read_file(filename)
/external/autotest/client/site_tests/logging_AsanCrash/
H A Dlogging_AsanCrash.py21 if not 'asan' in utils.read_file('/etc/ui_use_flags.txt'):
/external/autotest/client/tests/tracing_microbenchmark/
H A Dtracers.py52 for line in utils.read_file(cpu_stats).splitlines():
/external/autotest/client/site_tests/logging_UserCrash/
H A Dlogging_UserCrash.py32 output = utils.read_file(self._CORE_PATTERN).rstrip()
50 output = utils.read_file(self._CORE_PATTERN).rstrip()
87 symbols = utils.read_file(sym_name)
315 lsb_release = utils.read_file('/etc/lsb-release')
540 old_core_pattern = utils.read_file(self._CORE_PATTERN)[:-1]
554 log_contents = utils.read_file(result['log'])
596 contents = utils.read_file(result['log'])
599 if not ('log=' + result['log']) in utils.read_file(result['meta']):
/external/autotest/client/site_tests/platform_OSLimits/
H A Dplatform_OSLimits.py43 output = utils.read_file(path)
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
H A Ddependency_manager_util_unittest.py29 with open(self.read_only_path, 'w+') as read_file:
30 read_file.write('Read-only file')
44 with open(self.sub_read_only_path, 'w+') as read_file:
45 read_file.write('Read-only sub file')

Completed in 1046 milliseconds

123