/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/services/ |
PrepareUpdateService.java | 44 import java.nio.file.Files; 51 * This IntentService will download/extract the necessary files from the package zip 78 * Invoked when files are downloaded and payload spec is constructed. 112 * The files that should be downloaded before streaming. 141 * 1. Downloads files for streaming updates. 142 * 2. Makes sure required files are present. 211 Files.deleteIfExists(metadataPath); 233 * Downloads files defined in {@link UpdateConfig#getAbConfig()} 241 Log.d(TAG, "Deleting existing files from " + dir); 243 Files.deleteIfExists(Paths.get(OTA_PACKAGE_DIR, file)) [all...] |
/external/emma/core/java12/com/vladium/emma/report/ |
ReportProcessor.java | 15 import com.vladium.util.Files; 58 m_dataPath = Files.pathToFiles (path, true); 69 m_sourcePath = Files.pathToFiles (path, true); // always canonicalize source path 156 log.info ("processing input files ..."); 167 // merge all data files: 211 log.warning ("nothing to do: no metadata found in any of the data files"); 218 log.warning ("nothing to do: no runtime coverage data found in any of the data files"); 225 log.warning ("no collected coverage data found in any of the data files [all reports will be empty]");
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Finder/ |
__init__.py | 13 import Files 25 'fndr' : Files, 39 'fndr' : ('Finder.Files', 'Files'), 50 from Files import *
|
/external/turbine/java/com/google/turbine/options/ |
TurbineOptionsParser.java | 26 import java.nio.file.Files; 38 * Parses command line options into {@link TurbineOptions}, expanding any {@code @params} files. 48 * {@code @params} files. 159 if (!Files.exists(paramsPath)) { 163 argumentDeque, ARG_SPLITTER.split(new String(Files.readAllBytes(paramsPath), UTF_8)));
|
/external/turbine/javatests/com/google/turbine/options/ |
TurbineOptionsTest.java | 26 import java.nio.file.Files; 196 Files.write(params, paramsArgs, StandardCharsets.UTF_8); 198 // @ is a prefix for external repository targets, and the prefix for params files. Targets 214 // @ is a prefix for external repository targets, and the prefix for params files. Targets 252 Files.write(params, new byte[0]);
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/ |
FixedLengthBlockOutputStreamTest.java | 37 import java.nio.file.Files; 194 final Path tempFile = Files.createTempFile("xxx", "yyy"); 199 Files.deleteIfExists(tempFile); 216 assertEquals("file size",expectedFileSize, Files.size(tempFile)); 217 DataInputStream din = new DataInputStream(Files.newInputStream(tempFile));
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
Desugar.java | 49 import java.nio.file.Files; 391 Files.isDirectory(inputPath) || !Files.isDirectory(outputPath), 501 // the try-with-resources desugaring pass does nothing, so no need to copy these class files. 594 try (InputStream bytecode = Files.newInputStream(lambdaClass.getKey())) { 644 // checkState above implies that we want Java 7 .class files, so send through that visitor. [all...] |
/external/llvm/unittests/ProfileData/ |
CoverageMappingTest.cpp | 85 // Maps the global file index from CoverageMappingTest.Files 101 StringMap<unsigned> Files; 115 auto R = Files.find(Name); 116 if (R != Files.end()) 118 unsigned Index = Files.size(); 119 Files.emplace_second(Name, Index); 169 SmallVector<StringRef, 8> Filenames(Files.size()); 170 for (const auto &E : Files)
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerTest.java | 100 String files[] = new File(mFileDir).list(); local 101 if (files != null) { 102 for (String f: files) { 204 // Give the 2nd stage scan that makes the unhidden files visible again 221 res.delete(MediaStore.Files.getContentUri("external"), 222 MediaStore.Files.FileColumns.DATA + "=?", 224 res.delete(MediaStore.Files.getContentUri("external"), 225 MediaStore.Files.FileColumns.DATA + "=?", 228 // write some more files 318 file1Uri = MediaStore.Files.getContentUri("external", file1id) [all...] |
/external/curl/packages/vms/ |
compare_curl_source.com | 5 $! This procedure compares the files in two directories and reports the 16 $! me because VMS Backup can create a saveset of files from a 19 $! First the files in the original source directory which is assumed to be 22 $! Then the files are are only in the copy directory are listed. 24 $! The result will five diagnostics about of files: 25 $! 1. Files that are not generation 1. 26 $! 2. Files missing in the copy directory. 27 $! 3. Files in the copy directory not in the source directory. 28 $! 4. Files different from the source directory. 29 $! 5. Files that VMS DIFF can not process [all...] |
/external/emma/core/java12/com/vladium/emma/instr/ |
InstrProcessorST.java | 36 import com.vladium.util.Files; 79 final File fullArchiveFile = Files.newFile (parentDir, archive); 126 m_origArchiveFile = Files.newFile (parentDir, archive); 129 final String archiveName = Files.getFileName (archive) + IAppConstants.APP_NAME_LC; 134 m_tempArchiveFile = Files.createTempFile (parentDir, archiveName, archiveExt); 172 // files represent the same class; in the future I might use a more 369 if (! Files.renameFile (m_tempArchiveFile, m_origArchiveFile, true)) // overwrite the original archive 426 // files represent the same class; in the future I might use a more 435 final File inFile = Files.newFile (pathDir, file.getPath ()); 539 // copy excluded .class files in full copy mode [all...] |
/build/make/core/tasks/ |
sdk-addon.mk | 41 $(hide) $(JAVA) -jar $(call module-installed-files,mkstubs) $(if $(hide),,--v) \ 45 # Files that are built and then copied into the sdk-addon 48 $(eval _src := $(call module-stubs-files,$(call word-colon,1,$(cf)))) \ 57 # Files that are copied directly into the sdk-addon 67 # Files copied in the system-image directory 83 # Generate rules to copy the requested files 108 # We don't know about all of the docs files, so depend on the timestamps for
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/ |
SourceRoot.java | 12 import java.nio.file.Files; 36 * A collection of Java source files located in one directory and its subdirectories on the file system. Files can be 67 if (!Files.isDirectory(root)) { 80 * Tries to parse a .java files under the source root and returns the ParseResult. It keeps track of the parsed file 82 * don't need saveAll(), or you don't ask SourceRoot to parse files multiple times (where the cache is useful) you 85 * @param startPackage files in this package and deeper are parsed. Pass "" to parse all files. 95 * Tries to parse a .java files under the source root and returns the ParseResult. It keeps track of the parsed file 97 * don't need saveAll(), or you don't ask SourceRoot to parse files multiple times (where the cache is useful) yo [all...] |
/development/tools/idegen/src/com/android/idegen/ |
Module.java | 25 import com.google.common.io.Files; 39 * sub-directories. Make files can include sources that are not sub-directories. For example, the 80 // Implicit module dependencies come from src files that fall outside the module root directory. 81 // For example, if packages/apps/Contacts includes src files from packages/apps/ContactsCommon, 83 // perspective but it needs to be a separate module in intellij so that the src files can be 181 // Check if source files are subdirectories of generic parent src 219 String imlTemplate = Files.toString( 268 Files.write(imlTemplate, imlFile, IntellijProject.CHARSET); 386 .add("iml files", allDependentImlFiles).add("imlFile", imlFile)
|
/external/clang/unittests/libclang/ |
LibclangTest.cpp | 353 std::set<std::string> Files; 371 for (const std::string &Path : Files) 380 Files.insert(Filename); 424 ASSERT_TRUE(ReparseTU(0, nullptr /* No unsaved files. */)); 432 ASSERT_TRUE(ReparseTU(0, nullptr /* No unsaved files. */)); 459 ASSERT_TRUE(ReparseTU(0, nullptr /* No unsaved files. */)); 467 ASSERT_TRUE(ReparseTU(0, nullptr /* No unsaved files. */));
|
/external/emma/core/java12/com/vladium/emma/rt/ |
ClassPathProcessorST.java | 26 import com.vladium.util.Files; 83 m_archiveFile = Files.newFile (parentDir, archive.getPath ()); 201 final File inFile = Files.newFile (pathDir, file.getPath ());
|
/external/syzkaller/syz-manager/ |
cover.go | 138 d.Files = append(d.Files, &templateFile{ 146 sort.Sort(templateFileArray(d.Files)) 151 files := make(map[string]map[int]bool) 154 if files[frame.File] == nil { 155 files[frame.File] = make(map[int]bool) 157 files[frame.File][frame.Line] = true 164 if files[frame.File] == nil { 165 files[frame.File] = make(map[int]bool) 167 if !files[frame.File][frame.Line] [all...] |
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/examples/ |
LabelImage.java | 21 import java.nio.file.Files; 142 return Files.readAllBytes(path); 152 return Files.readAllLines(path, Charset.forName("UTF-8"));
|
/external/turbine/java/com/google/turbine/main/ |
Main.java | 47 import java.nio.file.Files; 118 new BufferedOutputStream(Files.newOutputStream(Paths.get(options.outputDeps().get())))) { 171 /** Parse all source files and source jars. */ 196 try (OutputStream os = Files.newOutputStream(path);
|
/build/soong/cmd/diff_target_files/ |
compare.go | 22 // compareTargetFiles takes two ZipArtifacts and compares the files they contain by examining 25 priZipFiles, err := priZip.Files() 30 refZipFiles, err := refZip.Files() 51 // zipDiff contains the list of files that differ between two zip files. 57 // String pretty-prints the list of files that differ between two zip files. 70 must(fmt.Fprintln(buf, "files modified:")) 78 must(fmt.Fprintln(buf, "files removed:")) 86 must(fmt.Fprintln(buf, "files added:") [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_FilesTest.java | 40 import android.provider.MediaStore.Files.FileColumns; 80 mExternalFiles = MediaStore.Files.getContentUri(mVolumeName); 140 cursor = mResolver.query(fileUri, new String[] { MediaStore.Files.FileColumns.PARENT }, 185 final Uri internalFiles = MediaStore.Files.getContentUri(MediaStore.VOLUME_INTERNAL);
|
/external/clang/tools/scan-build/libexec/ |
ccc-analyzer | 120 # Remove any stale files at exit. 142 # Set this to 1 if we want to include 'parser rejects' files. 334 # Add this file to the list of files that contained this attribute. 453 my @Files; 650 # Input files. 654 while (<IN>) { s/\015?\012//; push @Files,$_; } 683 push @Files, $Arg; 707 foreach my $file (@Files) { 758 # If the HtmlDir is not set, we should clean up the plist files.
|
/external/lzma/CPP/7zip/UI/Console/ |
UpdateCallbackConsole.cpp | 170 _percent.Files = st.NumDirs + st.NumFiles + st.NumAltStreams;
304 // Print_UInt64_and_String(s, _percent.Files == 1 ? "file" : "files", _percent.Files);
305 PrintPropPair(s, "Files read from disk", _percent.Files);
341 *_so << endl << ": Removing files after including to archive" << endl;
369 _percent.Files++;
558 _percent.Files++;
|
/art/test/1948-obsolete-const-method-handle/util-src/src/art/constmethodhandle/ |
TestGenerator.java | 34 // This test will modify in place the compiled java files to fill in the transformed version and 102 Path tempDir = Files.createTempDirectory("FinalTestInvoker_Gen"); 103 File tempInput = Files.createTempFile(tempDir, "temp_input_class", ".class").toFile();
|
/art/tools/class2greylist/src/com/android/class2greylist/ |
Class2Greylist.java | 25 import com.google.common.io.Files; 46 * Build time tool for extracting a list of members from jar files that have the @UsedByApps 101 .withDescription("Dump all members from jar files to stdout. Ignore annotations. " + 135 System.err.println("Error: no jar files specified."); 181 Files.readLines(new File(stubApiFlagsFile), Charset.forName("UTF-8")).stream() 266 "Extracts greylist entries from classes jar files given",
|