Searched refs:fileContents (Results 1 – 4 of 4) sorted by relevance
169 private String runReadNullSeparatedFile(String fileContents) throws IOException { in runReadNullSeparatedFile() argument171 Files.write(tempFile.toPath(), fileContents.getBytes()); in runReadNullSeparatedFile()177 private String runReadSingleLineProcFile(String fileContents) throws IOException { in runReadSingleLineProcFile() argument179 Files.write(tempFile.toPath(), fileContents.getBytes()); in runReadSingleLineProcFile()186 String fileContents, byte terminator) throws IOException { in runReadTerminatedProcFile() argument188 Files.write(tempFile.toPath(), fileContents.getBytes()); in runReadTerminatedProcFile()
83 private boolean runHasFileLocks(String fileContents, int pid) throws Exception { in runHasFileLocks() argument85 Files.write(tempFile.toPath(), fileContents.getBytes()); in runHasFileLocks()
107 byte[] fileContents = "<keyChainSnapshot></keyChainSnapshot>".getBytes( in get_deletesFileIfItIsInvalidSnapshot()109 Files.write(fileContents, file); in get_deletesFileIfItIsInvalidSnapshot()
535 String fileContents = FileUtils.readTextFile(file, maxSize, TAG_TRUNCATED); in addFileWithFootersToDropBox() local536 String text = headers + fileContents + footers; in addFileWithFootersToDropBox()538 if (tag.equals(TAG_TOMBSTONE) && fileContents.contains(">>> system_server <<<")) { in addFileWithFootersToDropBox()