/frameworks/base/packages/SystemUI/scripts/ |
H A D | new_merge.py | 135 fin = open(inFile) 136 fout = open(outFile, "w")
|
/frameworks/base/packages/DefaultContainerService/jni/ |
H A D | com_android_defcontainer_MeasurementUtils.cpp | 40 int dirfd = open(path, O_DIRECTORY, O_RDONLY);
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
H A D | DefaultContainerService.java | 65 * open files that cause the kernel to kill it when the underlying device is 390 target.open(targetName, ParcelFileDescriptor.MODE_READ_WRITE));
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/ |
H A D | OctopusDrawable.java | 185 private void drawPupil(Canvas canvas, float x, float y, float size, boolean open, argument 187 final float r = open ? size*.33f : size * .1f;
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | MtpFileWriter.java | 40 mCacheFd = ParcelFileDescriptor.open(
|
H A D | MtpManager.java | 98 "Failed to open a USB connection."); 100 if (!device.open(connection)) { 101 // We cannot open connection when another application use the device. 277 Log.e(MtpDocumentsProvider.TAG, "Failed to open device", exp);
|
/frameworks/base/native/android/ |
H A D | asset_manager.cpp | 108 Asset* asset = mgr->open(filename, amMode);
|
/frameworks/base/nfc-extras/java/com/android/nfc_extras/ |
H A D | NfcExecutionEnvironment.java | 137 * <li>Only one process may open the secure element at a time. Additionally, 153 * <p>All other NFC functionality is disabled while the NFC-EE is open 159 * @throws EeAlreadyOpenException if the NFC-EE is already open 166 public void open() throws EeIOException { method in class:NfcExecutionEnvironment 168 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken); 182 * @throws IOException if the NFC-EE is already open, or some other error occurs 199 * @throws IOException if the NFC-EE is not open, or some other error occurs 207 throw new IOException("NFC Service was dead, need to re-open");
|
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/ |
H A D | BasicNfcEeTest.java | 57 mEe.open(); 76 mEe.open();
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfDocument.java | 94 mCloseGuard.open("close");
|
H A D | PdfEditor.java | 88 mCloseGuard.open("close");
|
H A D | PdfRenderer.java | 44 * to render, you open the page, render it, and close the page. After you are done 175 mCloseGuard.open("close"); 307 mCloseGuard.open("close");
|
/frameworks/base/libs/androidfw/ |
H A D | Asset.cpp | 141 fd = open(fileName, O_RDONLY | O_BINARY); 148 * always open things read-only it doesn't really matter, so there's 202 fd = open(fileName, O_RDONLY | O_BINARY); 246 * Create a new Asset from part of an open file. 264 * Create a new Asset from compressed data in an open file. 686 return open(fname, O_RDONLY | O_BINARY); 693 return open(mFileName, O_RDONLY | O_BINARY); 759 assert(mFd < 0); // no re-open 791 assert(mFd < 0); // no re-open
|
H A D | AssetManager.cpp | 235 ALOGW("failed to open idmap file %s\n", idmapPath.string()); 391 Asset* AssetManager::open(const char* fileName, AccessMode mode) function in class:AssetManager 484 pAsset = open(fileName, Asset::ACCESS_STREAMING); 813 * Return a pointer to one of our open Zip archives. Returns NULL if no 824 * Try to open an asset from a file on disk. 1371 mZipFile = ZipFileRO::open(mPath.string()); 1373 ALOGD("failed to open Zip archive '%s'\n", mPath.string()); 1486 * Destructor. Close any open archives.
|
H A D | BackupHelpers.cpp | 296 int fd = open(realFilename, O_RDONLY); 308 int fd = open(file, O_RDONLY); 374 ALOGW("Unable to open file %s", file); 412 int fd = open(g.file.string(), O_RDONLY); 544 int fd = open(filepath.string(), O_RDONLY); 547 ALOGE("Error %d (%s) from open(%s)", err, strerror(err), filepath.string()); 782 fd = open(filename.string(), O_CREAT|O_RDWR|O_TRUNC, mode); 784 ALOGW("Could not open file %s -- %s", filename.string(), strerror(errno)); 862 fd = open(path, O_RDONLY); 941 fd = open(filenam [all...] |
H A D | ObbFile.cpp | 91 fd = ::open(filename, O_RDONLY); 93 ALOGW("couldn't open file %s: %s", filename, strerror(errno)); 231 fd = ::open(filename, O_WRONLY); 316 fd = ::open(filename, O_RDWR);
|
H A D | ZipFileRO.cpp | 65 /* static */ ZipFileRO* ZipFileRO::open(const char* zipFileName) function in class:ZipFileRO 240 * Uncompress an entry, in its entirety, to an open file descriptor.
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | AssetManager.h | 133 Asset* open(const char* fileName, AccessMode mode); 153 * To open the top-level directory, pass in "". 160 * To open the top-level directory, pass in "".
|
H A D | ZipFileRO.h | 59 * "open" and "find entry by name" are fast operations and use as little 80 static ZipFileRO* open(const char* zipFileName); 151 * Uncompress the data to an open file descriptor.
|
/frameworks/base/libs/androidfw/tests/ |
H A D | BackupData_test.cpp | 60 int fd = ::open(mFilename.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); 75 int fd = ::open(mFilename.string(), O_WRONLY); 84 fd = ::open(mFilename.string(), O_RDONLY); 117 int fd = ::open(mFilename.string(), O_WRONLY); 125 fd = ::open(mFilename.string(), O_RDONLY); 165 int fd = ::open(mFilename.string(), O_WRONLY); 175 fd = ::open(mFilename.string(), O_RDONLY); 220 int fd = ::open(mFilename.string(), O_WRONLY); 227 fd = ::open(mFilename.string(), O_RDONLY); 259 int fd = ::open(mFilenam [all...] |
H A D | ObbFile_test.cpp | 46 int fd = ::open(mFileName.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Typeface.cpp | 182 int fd = open(kRobotoFont, O_RDONLY); 183 LOG_ALWAYS_FATAL_IF(fd == -1, "Failed to open file %s", kRobotoFont);
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.cpp | 650 int fd = open(path, O_CREAT | O_WRONLY, S_IRWXU | S_IRGRP | S_IROTH); 652 ALOGD("Failed to open '%s'", path);
|
/frameworks/base/libs/hwui/service/ |
H A D | GraphicsStatsService.cpp | 51 int fd = open(path.c_str(), O_RDONLY); 57 ALOGW("Failed to open '%s', errno=%d (%s)", path.c_str(), err, strerror(err)); 200 int outFd = open(path.c_str(), O_CREAT | O_RDWR | O_TRUNC, 0660); 203 ALOGW("Failed to open '%s', error=%d (%s)", path.c_str(), err, strerror(err));
|
/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | main.cpp | 116 int fd = open(buffer, O_WRONLY | O_CLOEXEC);
|