/frameworks/base/core/tests/coretests/src/com/android/server/ |
MountServiceTests.java | 5 * you may not use this file except in compliance with the License. 32 import java.io.File; 113 private File getFilePath(String name) { 114 final File filesDir = mContext.getFilesDir(); 115 final File outFile = new File(filesDir, name); 119 private void copyRawToFile(int rawResId, File outFile) { 138 private void mountObb(StorageManager sm, final int resource, final File file, 140 copyRawToFile(resource, file); [all...] |
/external/protobuf/src/google/protobuf/ |
descriptor_database_unittest.cc | 35 // This file makes extensive use of RFC 3092. :) 86 virtual bool AddToDatabase(const FileDescriptorProto& file) = 0; 104 virtual bool AddToDatabase(const FileDescriptorProto& file) { 105 return database_.Add(file); 124 virtual bool AddToDatabase(const FileDescriptorProto& file) { 126 file.SerializeToString(&data); 147 virtual bool AddToDatabase(const FileDescriptorProto& file) { 148 return pool_.BuildFile(file); 191 FileDescriptorProto file; local 192 EXPECT_TRUE(database_->FindFileByName("foo.proto", &file)); 198 FileDescriptorProto file; local 206 FileDescriptorProto file; local 236 FileDescriptorProto file; local 243 FileDescriptorProto file; local 250 FileDescriptorProto file; local 257 FileDescriptorProto file; local 264 FileDescriptorProto file; local 271 FileDescriptorProto file; local 278 FileDescriptorProto file; local 285 FileDescriptorProto file; local 292 FileDescriptorProto file; local 299 FileDescriptorProto file; local 306 FileDescriptorProto file; local 312 FileDescriptorProto file; local 339 FileDescriptorProto file; local 345 FileDescriptorProto file; local 352 FileDescriptorProto file; local 360 FileDescriptorProto file; local 368 FileDescriptorProto file; local 374 FileDescriptorProto file; local 381 FileDescriptorProto file; local 564 FileDescriptorProto file; local 572 FileDescriptorProto file; local 580 FileDescriptorProto file; local 588 FileDescriptorProto file; local 596 FileDescriptorProto file; local 604 FileDescriptorProto file; local 612 FileDescriptorProto file; local 620 FileDescriptorProto file; local 628 FileDescriptorProto file; local 637 FileDescriptorProto file; local 644 FileDescriptorProto file; local 653 FileDescriptorProto file; local 662 FileDescriptorProto file; local 671 FileDescriptorProto file; local 680 FileDescriptorProto file; local 690 FileDescriptorProto file; local 697 FileDescriptorProto file; local [all...] |
/development/ide/intellij/moduleDefinitions/ |
testing.iml | 5 <content url="file://$MODULE_DIR$/../../../device/dalvik/libcore"> 6 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/android/src/main/java" isTestSource="false" /> 7 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/annotation/src/main/java" isTestSource="false" /> 8 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/apache-commons-logging/src/main/java" isTestSource="false" /> 9 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/apache-commons/src/main/java" isTestSource="false" /> 10 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/archive/src/main/java" isTestSource="false" /> 11 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/auth/src/main/java" isTestSource="false" /> 12 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/awt/src/main/java" isTestSource="false" /> 13 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/beans/src/main/java" isTestSource="false" /> 14 <sourceFolder url="file://$MODULE_DIR$/../../../device/dalvik/libcore/concurrent/src/main/java" isTestSource="false" / [all...] |
/external/chromium/sdch/open-vcdiff/vsprojects/gtest/ |
gtest.vcproj | 157 <File 160 </File> 161 <File 164 </File> 165 <File 168 </File> 169 <File 172 </File> 173 <File 176 </File> [all...] |
/libcore/support/src/test/java/tests/support/resource/ |
Support_Resources.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 22 import java.io.File; 50 File resources = createTempFolder(); 63 url = new URL("file:/" + resPath + "/" + fileName); 71 public static File createTempFolder() { 73 File folder = null; 75 folder = File.createTempFile("hyts_resources", "", null); 86 public static File copyFile(File root, String folder, String file) [all...] |
/external/bison/src/ |
files.h | 0 /* File names and variables for bison, 4 This file is part of Bison, the GNU Compiler Compiler. 17 along with Bison; see the file COPYING. If not, write to 26 /* File name specified with -o for the output file, or 0 if no -o. */ 29 /* File name for the parser (i.e., the one above, or its default.) */ 35 /* File name prefix specified with -b, or 0 if no -b. */ 41 /* File name specified for the output VCG graph. */ 44 /* File name specified with --defines. */ 47 /* Directory prefix of output file names. * [all...] |
/external/chromium/net/disk_cache/ |
block_files.h | 3 // found in the LICENSE file. 32 // Returns the file that stores a given address. 35 // Creates a new entry on a block file. block_type indicates the size of block 50 // Set force to true to overwrite the file if it exists. 54 // Attemp to grow this file. Fails if the file cannot be extended anymore. 55 bool GrowBlockFile(MappedFile* file, BlockFileHeader* header); 57 // Returns the appropriate file to use for a new block. 60 // Returns the next block file on this chain, creating new files if needed. 61 MappedFile* NextFile(const MappedFile* file); [all...] |
/external/chromium/third_party/zlib/contrib/minizip/ |
unzip.h | 6 This unzip package allow extract file from .ZIP file, compatible with PKZip 2.04g 102 /* unz_file_info contain information about a file in the zipfile */ 109 uLong dosDate; /* last mod file date in Dos fmt 4 bytes */ 115 uLong size_file_comment; /* file comment length 2 bytes */ 118 uLong internal_fa; /* internal file attributes 2 bytes */ 119 uLong external_fa; /* external file attributes 4 bytes */ 139 Open a Zip file. path contain the full pathname (by example, 142 If the zipfile cannot be opened (file don't exist or in not valid), the 151 Open a Zip file, like unzOpen, but provide a set of file low level AP [all...] |
/packages/apps/Email/src/org/apache/commons/io/comparator/ |
LastModifiedFileComparator.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;
25 * (see {@link File#lastModified()}).
33 * List<File> list = ...
40 * File[] array = ...
59 * @param obj1 The first file to compare
60 * @param obj2 The second file to compare
61 * @return a negative value if the first file's lastmodified date/time [all...] |
/packages/apps/Email/src/org/apache/commons/io/filefilter/ |
DelegateFileFilter.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;
36 /** The File filter */
40 * Constructs a delegate file filter around an existing FilenameFilter.
53 * Constructs a delegate file filter around an existing FileFilter.
68 * @param file the file to check
71 public boolean accept(File file) { [all...] |
/external/proguard/src/proguard/io/ |
DirectoryPump.java | 27 * This class can read a given file or directory, recursively, applying a given 34 private final File directory; 37 public DirectoryPump(File directory) 50 throw new IOException("No such file or directory"); 61 private void readFiles(File file, DataEntryReader dataEntryReader) 64 // Pass the file data entry to the reader. 65 dataEntryReader.read(new FileDataEntry(directory, file)); 67 if (file.isDirectory()) 70 File[] files = file.listFiles() [all...] |
/external/webkit/WebCore/html/ |
FormDataList.h | 15 * along with this library; see the file COPYING.LIB. If not, write to 25 #include "File.h" 40 void appendFile(const String& key, PassRefPtr<File> file) 41 { appendString(key); m_list.append(file); } 47 Item(PassRefPtr<File> file) : m_file(file) { } 50 File* file() const { return m_file.get(); function in class:WebCore::FormDataList::Item [all...] |
/external/bluetooth/glib/docs/reference/glib/ |
glib-sections.txt | 5 <FILE>types</FILE> 53 <FILE>limits</FILE> 108 <FILE>version</FILE> 125 <FILE>macros</FILE> 168 <FILE>type_conversion</FILE> [all...] |
/packages/apps/Email/src/org/apache/commons/io/ |
FileCleaner.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;
25 * This utility creates a background thread to handle file deletion.
26 * Each file to be deleted is registered with a handler object.
27 * When the handler object is garbage collected, the file is deleted.
48 * Track the specified file, using the provided marker, deleting the file
52 * @param file the file to be tracked, not null [all...] |
FileDeleteStrategy.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;
25 * There is more than one way to delete a file.
38 * The singleton instance for normal file deletion, which does not permit
43 * The singleton instance for forced file deletion, which always deletes,
44 * even if the file represents a non-empty directory.
63 * Deletes the file object, which may be a file or a directory. [all...] |
FileUtils.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;
46 * General file manipulation utilities.
50 * <li>writing to a file
51 * <li>reading from a file
57 * <li>comparing file content
58 * <li>file last changed date
105 * An empty array of type <code>File</code>. 1042 File file = files[i]; local 1452 File file = files[i]; local 1519 File file = files[i]; local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/ |
Handler.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 29 * Returns a connection to the jar file pointed by this <code>URL</code> 30 * in the file system 59 String file = url.getFile(); local 60 if (file == null) { 61 file = ""; 68 if (spec.indexOf("!/") == -1 && (file.indexOf("!/") == -1)) { 71 if (file.isEmpty()) [all...] |
/external/bluetooth/glib/gio/ |
gfile.c | 1 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ 50 * @short_description: File and Directory Handling 55 * virtual file system. #GFile<!-- -->s are lightweight, immutable 57 * #GFile objects do not represent files, merely an identifier for a file. All 58 * file content I/O is implemented as streaming operations (see #GInputStream and 73 * files on a filesystem. You can move through the file system with #GFile using 81 * are byte strings that are used to identify the file on the filesystem (relative to 87 * store the real basename or the #GFile to use to actually access the file, because 91 * there may be multiple aliases for the same file. For instance, hard or 92 * soft links may cause two different #GFile<!-- -->s to refer to the same file 4510 GFile *file; member in struct:__anon2012 4529 GFile *file; local 4951 GFile *file; local 5222 GFile *file; member in struct:__anon2016 5353 GFile *file = G_FILE (obj); local 5667 GFile *file; member in struct:__anon2017 5759 GFile *file = G_FILE (obj); local [all...] |
/external/bluetooth/glib/gio/tests/ |
g-file.c | 48 "/non-existent-file", 52 const char *uris[] = {"file:///", 53 "file:///tmp///", 55 "file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88", 59 GFile *file = NULL; local 64 file = g_file_new_for_path (paths[i++]); 65 g_assert (file != NULL); 66 g_object_unref (file); 72 file = g_file_new_for_uri (uris[i++]); 73 g_assert (file != NULL) 328 GFile *file; local [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
FieldIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 22 * Representation of a field reference inside a Dalvik file. 42 public void addContents(DexFile file) { 43 super.addContents(file); 45 TypeIdsSection typeIds = file.getTypeIds(); 60 protected int getTypoidIdx(DexFile file) { 61 TypeIdsSection typeIds = file.getTypeIds();
|
MemberIdsSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 20 * Member (field or method) refs list section of a {@code .dex} file. 24 * Constructs an instance. The file offset is initially unknown. 28 * @param file {@code non-null;} file that this instance is part of 30 public MemberIdsSection(String name, DexFile file) { 31 super(name, file, 4);
|
MethodIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 22 * Representation of a method reference inside a Dalvik file. 42 public void addContents(DexFile file) { 43 super.addContents(file); 45 ProtoIdsSection protoIds = file.getProtoIds(); 60 protected int getTypoidIdx(DexFile file) { 61 ProtoIdsSection protoIds = file.getProtoIds();
|
/dalvik/dx/tests/043-dex-two-classes/ |
info.txt | 3 file are not checked for correctness. This test just makes sure that 4 an attempt to combine two classes into a .dex file succeeds.
|
/dalvik/dx/tests/089-dex-define-object/ |
info.txt | 2 fact be converted to a dex file. This test ensures that the conversion 3 runs without failure, though the contents of the converted file are
|
/development/host/windows/usb/legacy/driver/ |
android_usb_bulk_file_object.h | 5 * you may not use this file except in compliance with the License.
19 /** \file
20 This file consists of declaration of class AndroidUsbBulkPipeFileObject
21 that encapsulates extension to a bulk pipe file objects.
26 /** AndroidUsbBulkPipeFileObject class encapsulates extension to a KMDF file
35 @param dev_obj[in] Our device object for which this file has been created
36 @param wdf_fo[in] KMDF file object this extension wraps
37 @param wdf_pipe_obj[in] KMDF pipe for this file
|