HomeSort by relevance Sort by last modified time
    Searched full:file (Results 501 - 525 of 168772) sorted by null

<<21222324252627282930>>

  /frameworks/base/services/tests/servicestests/src/com/android/server/
EntropyMixerTest.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE);
32 File file = File.createTempFile("testInitialWrite", "dat", dir); local
33 file.deleteOnExit();
34 assertEquals(0, FileUtils.readTextFile(file, 0, null).length());
36 // The constructor has the side effect of writing to file
37 new EntropyMixer(getContext(), "/dev/null", file.getCanonicalPath(), "/dev/null")
    [all...]
  /ndk/tests/build/build-mode/jni/
main.c 1 /* This simple file is used to check that compiler flags are properly
9 # error "This source file should be compiled with an ARM toolchain"
12 # error "This source file should be built in thumb mode!"
16 # error "This source file should be compiled with an ARM toolchain"
19 # error "This source file should be built in thumb2 mode!"
23 # error "This source file should be compiled with an ARM toolchain"
26 # error "This source file should be compiled to 32-bit ARM instructions"
30 # error "This source file should be compiled with an x86 toolchain"
34 # error "This source file should be compiled with a MIPS toolchain"
42 # error "This source file should be compiled with NEON support!
    [all...]
  /packages/apps/Email/tests/src/com/android/emailcommon/utility/
UtilityTest.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
88 public boolean createNewFile(File f) throws IOException {
97 public boolean createNewFile(File f) throws IOException {
105 final File directory =
108 final File created1 =
109 Utility.createUniqueFileInternal(getCountdownFileCreator(), directory, "file");
111 assertFalse(TextUtils.equals(created1.getName(), "file"));
113 final File created2 =
114 Utility.createUniqueFileInternal(getTrueFileCreator(), directory, "file");
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
FileRotator.java 5 * you may not use this file except in compliance with the License.
24 import java.io.File;
38 * a single "active" file, which is periodically rotated into historical files,
44 * enables atomic rewriting of file contents in
54 private final File mBasePath;
62 // TODO: provide method to append to active file
89 * Create a file rotator.
93 * @param rotateAgeMillis Age in milliseconds beyond which an active file
94 * may be rotated into a historical file.
95 * @param deleteAgeMillis Age in milliseconds beyond which a rotated file
115 final File file = new File( local
125 final File file = new File( local
160 final File file = new File(mBasePath, name); local
235 final File file = new File(mBasePath, name); local
295 final File file = new File(mBasePath, name); local
354 final File file = new File(mBasePath, name); local
362 final File file = new File(mBasePath, name); local
    [all...]
  /cts/libs/vogar-expect/src/vogar/commands/
Rm.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
26 public void file(File file) { method in class:Rm
27 new Command("rm", "-f", file.getPath()).execute();
30 public void directoryTree(File directory) {
  /development/tools/idegen/src/
IntelliJ.java 5 * you may not use this file except in compliance with the License.
17 import java.io.File;
33 File templatesDirectory = new File(c.toolDirectory, "templates");
34 String ipr = Files.toString(new File(templatesDirectory, IDEA_IPR));
35 Files.toFile(ipr, new File(IDEA_IPR));
37 String iml = Files.toString(new File(templatesDirectory, IDEA_IML));
40 for (File sourceRoot : c.sourceRoots) {
41 sourceRootsXml.append("<sourceFolder url=\"file://$MODULE_DIR$/")
53 for (File excludedDir : c.excludesUnderSourceRoots())
    [all...]
  /external/bison/lib/
dirname-lgpl.c 1 /* dirname.c -- return all but the last element in a file name
26 /* Return the length of the prefix of FILE that will be used by
27 dir_name. If FILE is in the working directory, this returns zero
28 even though 'dir_name (FILE)' will return ".". Works properly even
32 dir_len (char const *file)
34 size_t prefix_length = FILE_SYSTEM_PREFIX_LEN (file);
40 && ISSLASH (file[prefix_length]))
41 : (ISSLASH (file[0])
43 && ISSLASH (file[1]) && ! ISSLASH (file[2]
    [all...]
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/
FileRetrCommandHandler.java 5 * you may not use this file except in compliance with the License.
30 * CommandHandler for the RETR command. Returns the contents of the specified file on the
34 * The <code>file</code> property specifies the pathname for the file whose contents should
35 * be returned from this command. The file path is relative to the CLASSPATH (using the
38 * An exception is thrown if the <code>file</code> property has not been set or if the specified
39 * file does not exist or cannot be read.
43 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the file submitted on the invocation (the first command parameter)
54 private String file; field in class:FileRetrCommandHandler
63 * Create new instance using the specified file pathname
    [all...]
  /external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/
FileRetrCommandHandler.java 5 * you may not use this file except in compliance with the License.
32 * CommandHandler for the RETR command. Returns the contents of the specified file on the
36 * The <code>file</code> property specifies the pathname for the file whose contents should
37 * be returned from this command. The file path is relative to the CLASSPATH (using the
40 * An exception is thrown if the <code>file</code> property has not been set or if the specified
41 * file does not exist or cannot be read.
45 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the file submitted on the invocation (the first command parameter)
58 private String file; field in class:FileRetrCommandHandler
67 * Create new instance using the specified file pathname
    [all...]
  /external/nanohttpd/core/src/test/resources/
file-upload-test.htm 3 <p>This is a file upload test for NanoHTTPD.</p>
7 <label for="datafile1">First File:</label>
8 <input type="file" id="datafile1" name="datafile1" size="40"><br>
9 <label for="datafile2">Second File:</label>
10 <input type="file" id="datafile2" name="datafile2" size="40"><br>
11 <label for="datafile2">Third File:</label>
12 <input type="file" id="datafile3" name="datafile3" size="40"><br>
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContext.java 13 import java.io.File;
27 public static final File CACHE_DIR = createTempDir("android-cache");
28 public static final File EXTERNAL_CACHE_DIR = createTempDir("android-external-cache");
29 public static final File FILES_DIR = createTempDir("android-tmp");
30 public static final File EXTERNAL_FILES_DIR = createTempDir("android-external-files");
35 public File getDir(String name, int mode) {
37 File file = new File(FILES_DIR, name); local
38 if (!file.exists())
    [all...]
  /external/selinux/libselinux/man/man5/
securetty_types.5 3 securetty_types \- The SELinux secure tty type configuration file
8 file contains a list of types associated to secure tty type that are defined in the policy for use by SELinux-aware applications.
11 will return the active policy path to this file. The default securetty types file is:
16 Where \fI{SELINUXTYPE}\fR is the entry from the selinux configuration file \fIconfig\fR (see \fBselinux_config\fR(5)).
18 .BR selinux_check_securetty_context "(3) reads this file to determine if a context is for a secure tty defined in the active policy. "
23 .SH "FILE FORMAT"
24 Each line in the file consists of the following entry:
virtual_domain_context.5 3 virtual_domain_context \- The SELinux virtual machine domain context configuration file
8 file contains a list of domain contexts that are available for use by the SELinux-aware virtulization API libvirt (see \fBlibvirtd\fR(8)).
11 will return the active policy path to this file. The default virtual domain context file is:
16 Where \fI{SELINUXTYPE}\fR is the entry from the selinux configuration file \fIconfig\fR (see \fBselinux_config\fR(5)).
18 .SH "FILE FORMAT"
19 Each line in the file consists of an entry as follows:
virtual_image_context.5 3 virtual_image_context \- The SELinux virtual machine image context configuration file
8 file contains a list of image contexts for use by the SELinux-aware virtulization API libvirt (see \fBlibvirtd\fR(8)).
11 will return the active policy path to this file. The default virtual image context file is:
16 Where \fI{SELINUXTYPE}\fR is the entry from the selinux configuration file \fIconfig\fR (see \fBselinux_config\fR(5)).
18 .SH "FILE FORMAT"
19 Each line in the file consists of an entry as follows:
  /libcore/tzdata/tools/
tzupdate.properties 7 bionic.file=
8 icu.file=
10 # Edit these as required to point to the file expected to exist on the device.
11 checksum.file.local.1=../../../bionic/libc/zoneinfo/tzdata
12 checksum.file.ondevice.1=/system/usr/share/zoneinfo/tzdata
13 checksum.file.local.2=../../../external/icu/icu4c/source/stubdata/icudt55l.dat
14 checksum.file.ondevice.2=/system/usr/icu/icudt55l.dat
  /external/guava/guava/src/com/google/common/io/
Files.java 5 * you may not use this file except in compliance with the License.
37 import java.io.File;
75 * Returns a buffered reader that reads from a file using the given
78 * @param file the file to read from
83 public static BufferedReader newReader(File file, Charset charset)
85 checkNotNull(file);
88 new InputStreamReader(new FileInputStream(file), charset));
92 * Returns a buffered writer that writes to a file using the give
119 private final File file; field in class:Files.FileByteSource
192 private final File file; field in class:Files.FileByteSink
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
FileUtil.java 5 * you may not use this file except in compliance with the License.
26 import java.io.File;
33 /** Returns a new file name, ensuring that such a file does not already exist. */
34 private static synchronized File getNewFile(File directory, String extension,
39 for (int i = 1; i <= 99; i++) { // Only save 99 of the same file name.
41 File testFile = new File(directory, newName);
47 LogUtil.e(LogUtil.BUGLE_TAG, "Too many duplicate file names: " + numberedFileNameFormat)
    [all...]
  /external/clang/test/Driver/
pch-deps.c 2 // RUN: FileCheck %s -input-file=%t
4 // CHECK: -dependency-file
5 // CHECK: -module-file-deps
8 // RUN: FileCheck %s -check-prefix=CHECK-NOPCH -input-file=%t
9 // CHECK-NOPCH: -dependency-file
10 // CHECK-NOPCH-NOT: -module-file-deps
13 // RUN: -fno-module-file-deps -### 2> %t
14 // RUN: FileCheck %s -check-prefix=CHECK-EXPLICIT -input-file=%t
15 // CHECK-EXPLICIT: -dependency-file
16 // CHECK-EXPLICIT-NOT: -module-file-dep
    [all...]
  /external/icu/icu4c/source/io/
ufile.c 9 * File ufile.c
47 finit_owner(FILE *f,
116 u_finit(FILE *f,
124 u_fadopt(FILE *f,
138 FILE *systemFile = fopen(filename, perm);
151 return result; /* not a file leak */
169 FILE *systemFile = _wfopen(filename, (UChar*)perm);
180 return result; /* not a file leak */
231 u_fflush(UFILE *file)
233 ufile_flush_translit(file);
    [all...]
  /external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/
FileSelector.java 27 import java.io.File;
35 private List<File> javaFileList = new ArrayList<File>();
43 public List<File> selectJavaFilesInFolder(File folder) {
52 private void selectFiles(File file) {
53 if (file.isDirectory()) {
54 pl.onDirectory(file);
55 File[] files = file.listFiles()
    [all...]
  /external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/QA/
runiSACLongtest.txt 25 for file in $INFILES # loop over all input files
31 $ISAC -I $rate -FL 30 $INDIR/"$file" $OUTDIR/i30_$index1"$file" >> $LOGFILE
32 $ISAC -I $rate -FL 60 $INDIR/"$file" $OUTDIR/i60_$index1"$file" >> $LOGFILE
37 $ISAC $INDIR/$channel $INDIR/"$file" $OUTDIR/a$index2"$file" >> $LOGFILE
44 for file in $SUBSET # loop over the subset of input files
47 $ISAC $INDIR/${CHANNELLIST[0]} -FL 30 -FIXED_FL $INDIR/"$file" $OUTDIR/a30_$index1"$file" >> $LOGFIL
    [all...]
runiSACfixfloat.txt 20 for file in $INFILES # loop over all input files
27 $ISACFIXFLOAT $INDIR/$channel -m 1 -PLC $INDIR/"$file" $OUTDIR/flfx$index1"$file" >> $LOGFILE
28 $ISACFIXFLOAT $INDIR/$channel -m 2 -PLC $INDIR/"$file" $OUTDIR/fxfl$index1"$file" >> $LOGFILE
35 for file in $SUBSET # loop over the subset of input files
38 $ISACFIXFLOAT $INDIR/$channel -m 1 -NB 1 $INDIR/"$file" $OUTDIR/flfxnb1_$index1"$file" >> $LOGFILE
39 $ISACFIXFLOAT $INDIR/$channel -m 2 -NB 1 $INDIR/"$file" $OUTDIR/fxflnb1_$index1"$file" >> $LOGFIL
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
FileUtil.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
24 * Common file operations.
34 public static boolean deleteDirectoryRecursively(File directory) {
39 for (File entry : directory.listFiles()) {
51 * Reads the content of a {@code File} as a byte array.
53 * @param file The file to read
54 * @return The content of the file
55 * @throws java.io.IOException if the content of the {@code File} could not be rea
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
IOFileFilter.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
35 * Checks to see if the File should be accepted by this filter.
39 * @param file the File to check
40 * @return true if this file matches the test
42 public boolean accept(File file);
    [all...]
  /external/vogar/src/vogar/android/
DeviceFileCache.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
28 private final File cacheRoot;
32 private Set<File> cachedFiles;
34 public DeviceFileCache(Log log, File deviceDir, AndroidSdk androidSdk) {
36 this.cacheRoot = new File(deviceDir, "md5-cache");
43 cachedFiles = new HashSet<File>();
48 cachedFiles = new HashSet<File>();
51 File cachedFile = new File(cacheRoot, key)
    [all...]

Completed in 1022 milliseconds

<<21222324252627282930>>