HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 926 - 950 of 1907) sorted by null

<<31323334353637383940>>

  /frameworks/av/media/libstagefright/
MediaCodecList.cpp 5 * you may not use this file except in compliance with the License.
51 FILE *file = fopen("/etc/media_codecs.xml", "r"); local
53 if (file == NULL) {
54 ALOGW("unable to open media codecs configuration xml file.");
58 parseXMLFile(file);
88 fclose(file);
89 file = NULL;
99 void MediaCodecList::parseXMLFile(FILE *file) {
    [all...]
  /frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerBaseTest.java 5 * you may not use this file except in compliance with the License.
44 import java.io.File;
90 // Just a few popular file types used to return from a download
278 protected MockResponse buildResponse(int status, File bodyFile)
332 * Helper to verify the size of a file.
334 * @param pfd The input file to compare the size of
335 * @param size The expected size of the file
342 * Helper to verify the contents of a downloaded file versus a byte[].
344 * @param actual The file of whose contents to verify
345 * @param expected The data we expect to find in the aforementioned file
597 File file = null; local
    [all...]
  /frameworks/base/libs/hwui/
DisplayList.cpp 5 * you may not use this file except in compliance with the License.
33 FILE *file = fdopen(fd, "a"); local
35 fprintf(file, "\nRecent DisplayList operations\n");
36 logBuffer.outputCommands(file);
40 fprintf(file, "\nCaches:\n%s", cachesLog.string());
41 fprintf(file, "\n");
43 fflush(file);
  /frameworks/base/media/java/android/media/
MediaMuxer.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
32 * mp4 file as the output and at most one audio and/or one video elementary
82 /** MPEG4 media file format*/
116 * @param path The path of the output media file.
117 * @param format The format of the output media file.
119 * @throws IOException if failed to open the file for write
130 File file = new File(path) local
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
PackageManagerSettingsTests.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
50 private void writeFile(File file, byte[] data) {
51 file.mkdirs();
53 AtomicFile aFile = new AtomicFile(file);
58 Log.e(TAG, "Cannot write file " + file.getPath());
63 writeFile(new File(getContext().getFilesDir(), "system/packages.xml"),
103 writeFile(new File(getContext().getFilesDir(), "system/packages-stopped.xml")
    [all...]
  /frameworks/base/test-runner/src/android/test/
ClassPathPackageInfoSource.java 5 * you may not use this file except in compliance with the License.
24 import java.io.File;
58 // A cache of jar file contents
59 private final Map<File, Set<String>> jarFiles = Maps.newHashMap();
113 File classPathEntry = new File(entryName);
124 File file = new File(apkPath); local
125 scanForApkFiles(file, packageName, classNames, subpackageNames)
    [all...]
  /frameworks/base/test-runner/src/junit/runner/
TestCaseClassLoader.java 17 * a properties file "excluded.properties" that is located in
33 /** name of excluded properties file */
133 File file= new File(path, fileName); local
134 if (file.exists()) {
135 return getClassData(file);
140 private byte[] getClassData(File f) {
160 File archive= new File(path)
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ResourceHelper.java 5 * you may not use this file except in compliance with the License.
44 import java.io.File;
117 // first check if the value is a file (xml most likely)
118 File f = new File(value);
121 // let the framework inflate the ColorStateList from the XML file, by
137 // this is an error and not warning since the file existence is
140 "Failed to parse file " + value, e, null /*data*/);
183 File file = new File(stringValue) local
    [all...]
  /frameworks/compile/mclinker/include/mcld/LD/
Archive.h 5 // This file is distributed under the University of Illinois Open Source
44 static const char PAD[]; ///< inter-file align padding
49 char name[16]; ///< Name of the file member.
50 char date[12]; ///< File date, decimal seconds since Epoch
53 char mode[8]; ///< file mode in ASCII octal
54 char size[10]; ///< file size in ASCII decimal
89 Input* file; member in struct:mcld::Archive::ArchiveMember
136 /// getARFile - get the Input& of the archive file
139 /// getARFile - get the Input& of the archive file
158 /// @param pFileOffset - file offset in symtab represents a object fil
    [all...]
DiagnosticEngine.h 5 // This file is distributed under the University of Illinois Open Source
103 State() : numArgs(0), ID(-1), severity(None), file(NULL) { }
110 file = NULL;
120 Input* file; member in struct:mcld::DiagnosticEngine::State
  /frameworks/native/opengl/libs/EGL/
Loader.cpp 5 ** you may not use this file except in compliance with the License.
105 FILE * file = fopen(procPath, "r"); local
106 if (file) {
108 char *str = fgets(cmdline, sizeof(cmdline) - 1, file);
109 fclose(file);
egl.cpp 5 ** you may not use this file except in compliance with the License.
140 FILE * file = fopen("/proc/self/cmdline", "r"); local
141 if (file) {
143 if (fgets(cmdline, sizeof(cmdline), file)) {
150 fclose(file);
  /frameworks/wilhelm/tests/native-media/jni/
native-media-jni.c 5 * you may not use this file except in compliance with the License.
66 // handle of the file to play
67 FILE *file; variable
69 // has the app reached the end of the file
120 rewind(file);
193 nbRead = fread(pBufferData, BUFFER_SIZE, 1, file);
301 nbRead = fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file);
349 // open the file to play
350 file = fopen(utf8, "rb")
    [all...]
  /frameworks/wilhelm/tests/sandbox/streamSource/
slesTestPlayStream.cpp 5 * you may not use this file except in compliance with the License.
44 FILE *file; variable
45 /* Has the app reached the end of the file */
87 // to play a .ts file, but rather shows more ways to exercise the API
108 size_t nbRead = fread((void*)dataCache, 1, BUFFER_SIZE*(NB_BUFFERS/2), file);
150 size_t nbRead = fread((void*)pBufferData, 1, BUFFER_SIZE, file);
208 file = fopen(path, "rb");
297 if (fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file) <= 0) {
311 if (fread(dataCache, 1, BUFFER_SIZE * 1, file) <= 0)
    [all...]
  /libcore/crypto/src/main/java/org/conscrypt/
FileClientSessionCache.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
36 * File-based cache implementation. Only one process should access the
46 * This cache creates one file per SSL session using "host.port" for
47 * the file name. Files are created or replaced when session data is put
52 * least-recently-used file. We don't current persist the last access time,
60 final File directory;
63 * Map of name -> File. Keeps track of the order files were accessed in.
65 Map<String, File> accessOrder = newAccessOrder();
79 Impl(File directory) throws IOException
137 File file = accessOrder.get(name); local
189 File file = new File(directory, name); local
    [all...]
  /libcore/dalvik/src/main/java/dalvik/system/
DexPathList.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
40 * a {@code .jar} or {@code .zip} file containing an optional
41 * top-level {@code classes.dex} file as well as arbitrary resources,
42 * or a plain {@code .dex} file (with no possibility of associated
65 private final File[] nativeLibraryDirectories;
78 * {@code File.pathSeparator}
80 * separated by {@code File.pathSeparator}
86 String libraryPath, File optimizedDirectory) {
131 public File[] getNativeLibraryDirectories()
395 private final File file; field in class:DexPathList.Element
    [all...]
  /libcore/luni/src/main/java/libcore/io/
IoUtils.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
126 public static void deleteContents(File dir) throws IOException {
127 File[] files = dir.listFiles();
129 for (File file : files) {
130 if (file.isDirectory()) {
131 deleteContents(file);
133 file.delete();
141 public static File createTemporaryDirectory(String prefix)
    [all...]
  /ndk/sources/host-tools/make-3.81/
filedef.h 1 /* Definition of target file data structures for GNU Make.
5 This file is part of GNU Make.
16 GNU Make; see the file COPYING. If not, write to the Free Software
20 /* Structure that represents the info on one file
26 struct file struct
37 FILE_TIMESTAMP last_mtime; /* File's modtime, if already known. */
38 FILE_TIMESTAMP mtime_before_update; /* File's modtime before any updating
40 struct file *prev; /* Previous entry for same file name;
42 entries for the same file. *
    [all...]
  /ndk/sources/third_party/googletest/googletest/include/gtest/internal/
gtest-death-test-internal.h 34 // This header file defines internal utilities needed for implementing
80 const char* file, int line, DeathTest** test);
144 const char* file, int line, DeathTest** test) = 0;
151 const char* file, int line, DeathTest** test);
248 const std::string& file() const { return file_; } function in class:testing::internal::InternalRunDeathTestFlag
  /ndk/sources/third_party/googletest/googletest/src/
gtest-filepath.cc 69 // noted, a file path can contain either kind of path separators, or a mixture
116 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns
117 // FilePath("dir/file"). If a case-insensitive extension is not
145 // Example: FilePath("path/to/file").RemoveDirectoryName() returns
146 // FilePath("file"). If there is no directory part ("just_a_file"), it returns
147 // the FilePath unmodified. If there is no file part ("just_a_dir/") it
156 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/".
159 // not have a file, like "just/a/dir/", it returns the FilePath unmodified.
182 std::string file; local
184 file = base_name.string() + "." + extension
    [all...]
  /packages/apps/Browser/src/com/android/browser/
WebStorageSizeManager.java 5 * you may not use this file except in compliance with the License.
31 import java.io.File;
114 // The maximum size of the application cache file.
119 * about the underlying file system. This functionality is separated
124 * @return the size of the free space in the file system.
129 * @return the total size of the file system.
154 * about the appcache file. This functionality is separated into its own
159 * @return the current size of the appcache file.
166 // The name of the application cache file. Keep in sync with
176 File file = new File(mAppCachePat local
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
NfceeAccessControl.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
182 File file = new File(Environment.getRootDirectory(), NFCEE_ACCESS_PATH); local
186 reader = new FileReader(file);
  /packages/apps/VideoEditor/src/com/android/videoeditor/util/
FileUtils.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
36 * File utilities
53 * @return The file representing the projects root directory, {@code null} if the external
56 public static File getProjectsRootDir(Context context)
58 final File dir = context.getExternalFilesDir(null);
63 // Create the file which hides the media files
64 if (!new File(dir, ".nomedia").createNewFile()) {
65 throw new FileNotFoundException("Cannot create file .nomedia");
74 * Get the filename for the specified raw resource id. Create the file i
227 final File file = new File(getProjectsRootDir(context), StringUtils.randomString(10)); local
    [all...]
  /packages/experimental/BugReportSender/src/com/android/bugreportsender/
BugReportListActivity.java 5 * you may not use this file except in compliance with the License.
34 import java.io.File;
45 private static final File REPORT_DIR = new File("/sdcard/bugreports");
60 private ArrayList<File> mFiles = null;
68 mFiles = new ArrayList<File>();
109 File file = mFiles.get(position); local
111 intent.putExtra("subject", file.getName());
113 intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file));
139 File file = mFiles.get(info.position); local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/debug/
ExternalDictionaryGetterForDebug.java 5 * you may not use this file except in compliance with the License.
36 import java.io.File;
44 * A class to read a local file as a dictionary for debugging purposes.
51 final File[] files = new File(SOURCE_FOLDER).listFiles();
53 for (File f : files) {
101 final File file = new File(dirPath, fileName.toString()); local
102 final FileHeader header = DictionaryInfoUtils.getDictionaryFileHeaderOrNull(file);
    [all...]

Completed in 726 milliseconds

<<31323334353637383940>>