/frameworks/compile/libbcc/include/bcc/Support/ |
File.h | 5 * you may not use this file except in compliance with the License. 33 // FileAttribute for accessing read-only file 40 // FileAttribute for accessing writable file 48 class File : public FileBase { 50 File(const std::string &pFilename, unsigned pFlags)
|
/frameworks/support/v4/java/android/support/v4/os/ |
EnvironmentCompat.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 37 * @see #getStorageState(File) 55 public static String getStorageState(File path) {
|
/frameworks/testing/uiautomator/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
FileUtil.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 42 public void writeDateToFile(File file) { 44 FileOutputStream fos = new FileOutputStream(file); 50 Log.e("FileUtil", "exception writing date to file", ioe);
|
/libcore/luni/src/main/java/libcore/io/ |
DeleteOnExit.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; 58 * Schedules a file for deletion. 60 * @param filename The file to delete. 79 new File(files.get(i)).delete();
|
/packages/apps/Camera/tests/src/com/android/camera/stress/ |
ShotToShotLatency.java | 5 * you may not use this file except in compliance with the License. 27 import java.io.File; 62 File sdcard = new File(CAMERA_IMAGE_DIRECTORY); 63 File[] pics = null; 65 public boolean accept(File dir, String name) { 70 for (File f : pics) { 124 File outFile = new File(CAMERA_TEST_OUTPUT_FILE); 139 Log.e(TAG, "Error closing file: " + e.toString()) [all...] |
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
ShotToShotLatency.java | 5 * you may not use this file except in compliance with the License. 27 import java.io.File; 62 File sdcard = new File(CAMERA_IMAGE_DIRECTORY); 63 File[] pics = null; 65 public boolean accept(File dir, String name) { 70 for (File f : pics) { 123 File outFile = new File(CAMERA_TEST_OUTPUT_FILE); 138 Log.e(TAG, "Error closing file: " + e.toString()) [all...] |
/packages/apps/Camera2/tests_camera/src/com/android/camera/stress/ |
ShotToShotLatency.java | 5 * you may not use this file except in compliance with the License. 27 import java.io.File; 62 File sdcard = new File(CAMERA_IMAGE_DIRECTORY); 63 File[] pics = null; 65 public boolean accept(File dir, String name) { 70 for (File f : pics) { 124 File outFile = new File(CAMERA_TEST_OUTPUT_FILE); 139 Log.e(TAG, "Error closing file: " + e.toString()) [all...] |
/packages/apps/Mms/src/com/android/mms/ |
TempFileProvider.java | 6 import java.io.File; 19 * The TempFileProvider manages a uri, backed by a file, for passing to the camera app for 20 * capturing pictures and videos and storing the data in a file in the messaging app. 68 File file = new File(fileName); local 70 // make sure the path is valid and directories created for this file. 71 File parentFile = file.getParentFile(); 86 pfd = ParcelFileDescriptor.open(file, modeFlags) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
PersonalizationDictionary.java | 5 * you may not use this file except in compliance with the License. 24 import java.io.File; 38 final Locale locale, final File dictFile, final String dictNamePrefix) {
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadDrmHelper.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 46 * Modifies the file extension for a DRM Forward Lock file NOTE: This 47 * function shouldn't be called if the file shouldn't be DRM converted 62 * Return the original MIME type of the given file, using the DRM framework 63 * if the file is protected content. 65 public static String getOriginalMimeType(Context context, File file, String currentMime) { 68 final String rawFile = file.toString() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ |
BuildFileCreator.java | 5 * you may not use this file except in compliance with the License. 56 import java.io.File; 113 File gradleLocation = new File(Sdk.getCurrent().getSdkOsLocation(), GRADLE_WRAPPER_LOCATION); 120 for (File wrapperFile : getGradleWrapperFiles(gradleLocation)) { 132 // add the build.gradle file for all modules. 134 // build.gradle file 135 IFile file = module.getProject().getFile(BuildFileCreator.BUILD_FILE); local 136 files.add(file); 154 File settingsFile = new File(commonRoot.toFile(), SETTINGS_FILE) 177 IFile file = workspaceRoot.getFile(path); local 200 IFile file = moduleProject.getFile(BuildFileCreator.BUILD_FILE); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_opt_constant_fold.c | 39 if (inst->SrcReg[i].File != PROGRAM_CONSTANT) 54 src.File = PROGRAM_CONSTANT; 69 src.File = PROGRAM_CONSTANT; 80 return (a->File == b->File) 157 inst->SrcReg[1].File = PROGRAM_UNDEFINED; 187 inst->SrcReg[1].File = PROGRAM_UNDEFINED; 189 inst->SrcReg[2].File = PROGRAM_UNDEFINED; 222 inst->SrcReg[1].File = PROGRAM_UNDEFINED; 246 inst->SrcReg[1].File = PROGRAM_UNDEFINED [all...] |
/external/mesa3d/src/mesa/program/ |
prog_opt_constant_fold.c | 39 if (inst->SrcReg[i].File != PROGRAM_CONSTANT) 54 src.File = PROGRAM_CONSTANT; 69 src.File = PROGRAM_CONSTANT; 80 return (a->File == b->File) 157 inst->SrcReg[1].File = PROGRAM_UNDEFINED; 187 inst->SrcReg[1].File = PROGRAM_UNDEFINED; 189 inst->SrcReg[2].File = PROGRAM_UNDEFINED; 222 inst->SrcReg[1].File = PROGRAM_UNDEFINED; 246 inst->SrcReg[1].File = PROGRAM_UNDEFINED [all...] |
/art/compiler/ |
elf_fixup.h | 5 * you may not use this file except in compliance with the License. 31 // Fixup an ELF file so that that oat header will be loaded at oat_begin. 33 static bool Fixup(File* file, uintptr_t oat_data_begin);
|
file_output_stream.cc | 5 * you may not use this file except in compliance with the License. 26 FileOutputStream::FileOutputStream(File* file) : OutputStream(file->GetPath()), file_(file) {}
|
/cts/tests/tests/content/src/android/content/cts/ |
ImageCaptureActivity.java | 5 * you may not use this file except in compliance with the License. 27 import java.io.File; 55 // Note: since this activity is in the same package as the test we can write to the file 61 File file = getFileFromIntent(intent); local 62 if (file == null) { 63 Log.e(TAG, "Could not get file from clipdata."); 67 FileWriter writer = new FileWriter(file); 72 Log.e(TAG, "File IO failure while writing."); 79 private File getFileFromIntent(Intent intent) [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
NoExecutePermissionTest.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File;
|
/cts/tools/vm-tests-tf/src/util/build/ |
JarBuildStep.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 40 File tempFile = new File(inputFile.folder, destFileName); 53 File outDir = outputFile.fileName.getParentFile();
|
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
BasicGLSurfaceViewActivity.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File;
|
/external/chromium_org/base/ |
file_descriptor_posix.h | 3 // found in the LICENSE file. 8 #include "base/files/file.h" 13 // We introduct a special structure for file descriptors in order that we are 26 FileDescriptor(File file) : fd(file.TakePlatformFile()), auto_close(true) {} 42 // If true, this file descriptor should be closed after it has been used. For 44 // file descriptor it has been given should be closed after use.
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
resource_entry_conversion.h | 3 // found in the LICENSE file. 10 #include "base/files/file.h" 27 // This requirement is needed to represent contents in Drive as a file system 47 // Converts the resource entry to the platform file info. 49 base::File::Info* file_info);
|
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
native_process_launcher_posix.cc | 3 // found in the LICENSE file. 54 base::File* read_file, 55 base::File* write_file) { 93 *read_file = base::File(read_pipe_read_fd.release()); 94 *write_file = base::File(write_pipe_write_fd.release());
|
/external/chromium_org/chrome/browser/local_discovery/storage/ |
privet_filesystem_backend.cc | 3 // found in the LICENSE file. 46 callback.Run(root_url, std::string(), base::File::FILE_OK); 61 fileapi::FileSystemType type, base::File::Error* error_code) { 63 *error_code = base::File::FILE_OK; 71 base::File::Error* error_code) const {
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
mtp_device_async_delegate.h | 3 // found in the LICENSE file. 9 #include "base/files/file.h" 22 // media device file system operations. Class that implements this 30 void(const base::File::Info& file_info)> GetFileInfoSuccessCallback; 39 typedef base::Callback<void(base::File::Error error)> ErrorCallback; 43 void(const base::File::Info& file_info, 48 void(const base::File::Info& file_info, 89 // snapshot file. Blobs are instead FileSystemURL backed and read in a stream.
|
supported_audio_video_checker.h | 3 // found in the LICENSE file. 9 #include "base/files/file.h" 20 // virus scan them. The entire file is not decoded so a positive result from 21 // this class does not make the file safe to use in the browser process. 34 explicit SupportedAudioVideoChecker(const base::FilePath& file); 36 void OnFileOpen(base::File file);
|