HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 1201 - 1225 of 2724) sorted by null

<<41424344454647484950>>

  /frameworks/base/core/jni/android/graphics/
BitmapFactory.cpp 476 doThrowIOE(env, "broken file descriptor");
482 // file description and changes to the file offset in one impact the other.
486 // if we only close the file descriptor and not the file object it is used to
487 // create. If we don't explicitly clean up the file (which in turn closes the
491 FILE* file = fdopen(dupDescriptor, "r"); local
492 if (file == NULL) {
494 // file is cleaned up (fclose)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
RegisteredServicesCacheTest.java 5 * you may not use this file except in compliance with the License.
33 import java.io.File;
58 private File mDataDir;
59 private File mSyncDir;
65 File cacheDir = mContext.getCacheDir();
66 mDataDir = new File(cacheDir, "testServicesCache");
68 mSyncDir = new File(mDataDir, "system/"+RegisteredServicesCache.REGISTERED_SERVICES_DIR);
158 // Prepare "old" file for testing
165 File file = new File(mSyncDir, TestServicesCache.SERVICE_INTERFACE + ".xml") local
197 File file = new File(dir, TestServicesCache.SERVICE_INTERFACE+".xml"); local
    [all...]
  /frameworks/base/libs/androidfw/
BackupHelpers.cpp 5 * you may not use this file except in compliance with the License.
42 #define MAGIC1 0x656c6946 // File
45 * File entity data format (v1):
49 * - the file data itself
51 * i.e. a 16-byte metadata header followed by the raw file data. If the
53 * interpret the file data itself correctly.
105 FileState file; local
108 amt = read(fd, &file, sizeof(FileState));
116 int nameBufSize = round_up(file.nameLen);
122 snapshot->add(String8(filename, file.nameLen), file) local
352 char const* file = files[i]; local
    [all...]
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
PrintPreviewController.java 5 * you may not use this file except in compliance with the License.
39 import java.io.File;
154 // all rendered pages and reopen the file...
179 public void onReleaseRequested(final File file) {
185 // At this point the other end will write to the file, hence
264 File file = mFileProvider.acquireFile(PrintPreviewController.this); local
265 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file,
280 /* ignore - file guaranteed to be there *
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
StorageMeasurement.java 5 * you may not use this file except in compliance with the License.
47 import java.io.File;
369 final File basePath = mSharedVolume.getPathForUser(userId);
376 final File path = new File(basePath, type);
389 final File userPath = mSharedVolume.getPathForUser(user.id);
396 final File file = mVolume.getPath(); local
397 if (file != null) {
398 details.totalSize = file.getTotalSpace()
    [all...]
  /frameworks/base/services/usb/java/com/android/server/usb/
UsbPortManager.java 5 * you may not use this file except in compliance with the License.
35 import java.io.File;
64 // SysFS file that contains a USB port's supported modes. (read-only)
68 // SysFS file that contains a USB port's current mode. (read-write if configurable)
72 // SysFS file that contains a USB port's current power role. (read-write if configurable)
76 // SysFS file that contains a USB port's current data role. (read-write if configurable)
123 mHaveKernelSupport = new File(SYSFS_CLASS).exists();
226 final File portDir = new File(SYSFS_CLASS, portId);
406 final File[] portDirs = new File(SYSFS_CLASS).listFiles()
637 final File file = new File(dir, filename); local
646 final File file = new File(dir, filename); local
    [all...]
  /hardware/qcom/bt/msm8992/libbt-vendor/src/
hw_rome.c 9 * may not use this file except in compliance with the License. You may
66 FILE *file; variable
96 FILE *btversionfile = 0;
245 * Read an VS HCI event from the given file descriptor.
527 /* Initialize the patch base address from the one read from bin file */
611 /* Get handle to the RAMPATCH binary file */
612 ALOGI("%s: Getting handle to the RAMPATCH binary file from %s", __FUNCTION__, ROME_FW_PATH);
613 file = fopen(ROME_FW_PATH, "r");
614 if (file == NULL)
    [all...]
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
BinaryHprofReader.java 5 * you may not use this file except in compliance with the License.
356 String file = readString(); local
364 System.out.println("\tfile=" + file);
367 StackTraceElement stackFrame = new StackTraceElement(className, methodName, file, line);
  /libcore/luni/src/test/java/dalvik/system/
DexClassLoaderTest.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
35 private File srcDir;
36 private File dex1;
37 private File dex2;
38 private File jar1;
39 private File jar2;
40 private File optimizedDir;
43 srcDir = File.createTempFile("src", "");
47 dex1 = new File(srcDir, "loading-test.dex")
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldJarURLConnectionTest.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
21 import java.io.File;
49 File resources = Support_Resources.createTempFolder();
52 File file = new File(resources.toString() + "/net/" + jarFile); local
54 return new URL("jar:file:" + file.getPath() + "!/" + inFile)
190 File file = new File(resources.toString() + "\/hyts_att.jar"); local
228 File file = new File(resources.toString() + "\/hyts_att.jar"); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/zip/
AbstractZipFileTest.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
51 final File f = createTemporaryZipFile();
88 private static void writeBytes(File f, byte[] bytes) throws IOException {
102 // Create the good zip file.
115 // Write the result to a file.
116 File badZip = createTemporaryZipFile();
119 // Check that we refuse to load the modified file.
151 // Write the result to a file.
153 File zipFile = createTemporaryZipFile()
375 File file = createTemporaryZipFile(); local
422 File file = createTemporaryZipFile(); local
435 File file = createTemporaryZipFile(); local
    [all...]
  /ndk/sources/host-tools/make-3.81/
remake.c 5 This file is part of GNU Make.
16 GNU Make; see the file COPYING. If not, write to the Free Software
32 #include <sys/file.h>
42 extern int try_implicit_rule PARAMS ((struct file *file, unsigned int depth));
46 `struct file'. However, double colon targets have seperate `struct
47 file's; make sure we always use the base of the double colon chain. */
63 static int update_file PARAMS ((struct file *file, unsigned int depth));
64 static int update_file_1 PARAMS ((struct file *file, unsigned int depth))
127 struct file *file; local
1478 char *file, **dp; local
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
Storage.java 5 * you may not use this file except in compliance with the License.
39 import java.io.File;
52 public static final File DIRECTORY_FILE = new File(DIRECTORY);
80 * @param title The title of the media file.
81 * @param date The date for the media file.
82 * @param location The location of the media file.
83 * @param orientation The orientation of the media file.
86 * @param width The width of the media file after the orientation is
88 * @param height The height of the media file after the orientation i
176 File file = new File(path); local
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
AttachmentUtilities.java 5 * you may not use this file except in compliance with the License.
41 import java.io.File;
109 // File types that contain malware
114 // File types of common compression/container formats (again, to avoid malware)
170 * This does not create or write the file, or even the directories. It simply builds
173 public static File getAttachmentFilename(Context context, long accountId, long attachmentId) {
174 return new File(getAttachmentDirectory(context, accountId), Long.toString(attachmentId));
184 public static File getAttachmentDirectory(Context context, long accountId) {
229 // Otherwise, try to find a mime type based upon the file extension
271 * TODO: Throws an SQLite exception on a missing DB file (e.g. unknown URI) instead of jus
421 File file = Utility.createUniqueFile(downloads, attachment.mFileName); local
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
ImageManager.java 5 * you may not use this file except in compliance with the License.
43 import java.io.File;
152 File nnnAAAAA = new File(
156 Log.e(TAG, "create NNNAAAAA file: " + nnnAAAAA.getPath()
194 // Stores a bitmap or a jpeg byte array to a file (using the specified
208 File dir = new File(directory);
210 File file = new File(directory, filename) local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
DownloadCache.java 5 * you may not use this file except in compliance with the License.
36 import java.io.File;
73 private final File mRoot;
81 public DownloadCache(GalleryApp application, File root, long capacity) {
96 File file = new File(cursor.getString(QUERY_INDEX_DATA)); local
102 entry = new Entry(id, file);
137 // Finally, we need to download the file ....
176 new File(path).delete()
287 File file = future.get(); local
    [all...]
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/
InstallFlowAnalytics.java 6 ** you may not use this file except in compliance with the License.
31 import java.io.File;
248 * Sets whether an APK file is being installed.
250 * @param fileUri {@code true} if an APK file is being installed, {@code false} if an already
265 * Gets whether an APK file is being installed.
267 * @return {@code true} if an APK file is being installed, {@code false} if an already
575 File file = new File(Uri.parse(mPackageUri).getPath()); local
576 return getSha256ContentsDigest(file);
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
EmlAttachmentProvider.java 6 * you may not use this file except in compliance with the License.
43 import java.io.File;
209 // delete each file and remove each element from the mapping
307 // 2. copy file
310 // update the destination before getting the new file path
322 LogUtils.e(LOG_TAG, "File not found for file %s", oldFilePath);
328 LogUtils.e(LOG_TAG, "File not found for file %s", newFilePath);
349 // if the attachment is an APK, change contentUri to be a direct file ur
    [all...]
  /packages/experimental/PrintService/src/foo/bar/printservice/
MyPrintService.java 5 * you may not use this file except in compliance with the License.
43 import java.io.File;
227 final File file = new File(getFilesDir(), info.getLabel() + ".pdf"); local
236 out = new BufferedOutputStream(new FileOutputStream(file));
266 file.delete();
278 file.setReadable(true, false);
280 // Quick and dirty to show the file - use a content provider instead.
282 intent.setDataAndType(Uri.fromFile(file), "application/pdf")
    [all...]
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadService.java 5 * you may not use this file except in compliance with the License.
52 import java.io.File;
482 final File file = new File(path); local
483 if (file.exists() && !file.delete()) {
484 Log.w(TAG, "file: '" + path + "' couldn't be deleted");
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
maven-aether-provider-3.2.1.jar 
  /prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9.x-google/gcov-src/
gcov-io.c 0 /* File format for coverage information
6 This file is part of GCC.
27 /* Routines declared in gcov-io.h. This file should be #included by
28 another source file, after having #included gcov-io.h. */
44 FILE *file; member in struct:gcov_var
66 /* Save the current position in the gcov file. */
85 return gcov_var.file ? gcov_var.error : 1;
89 /* Move to beginning of file and initialize for writing. */
97 fseek (gcov_var.file, 0L, SEEK_SET)
    [all...]
  /prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9.x-google/gcov-src/
gcov-io.c 0 /* File format for coverage information
6 This file is part of GCC.
27 /* Routines declared in gcov-io.h. This file should be #included by
28 another source file, after having #included gcov-io.h. */
44 FILE *file; member in struct:gcov_var
66 /* Save the current position in the gcov file. */
85 return gcov_var.file ? gcov_var.error : 1;
89 /* Move to beginning of file and initialize for writing. */
97 fseek (gcov_var.file, 0L, SEEK_SET)
    [all...]
  /prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9/gcov-src/
gcov-io.c 0 /* File format for coverage information
6 This file is part of GCC.
27 /* Routines declared in gcov-io.h. This file should be #included by
28 another source file, after having #included gcov-io.h. */
44 FILE *file; member in struct:gcov_var
66 /* Save the current position in the gcov file. */
85 return gcov_var.file ? gcov_var.error : 1;
89 /* Move to beginning of file and initialize for writing. */
97 fseek (gcov_var.file, 0L, SEEK_SET)
    [all...]
  /prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9/gcov-src/
gcov-io.c 0 /* File format for coverage information
6 This file is part of GCC.
27 /* Routines declared in gcov-io.h. This file should be #included by
28 another source file, after having #included gcov-io.h. */
44 FILE *file; member in struct:gcov_var
66 /* Save the current position in the gcov file. */
85 return gcov_var.file ? gcov_var.error : 1;
89 /* Move to beginning of file and initialize for writing. */
97 fseek (gcov_var.file, 0L, SEEK_SET)
    [all...]

Completed in 403 milliseconds

<<41424344454647484950>>