Searched refs:open (Results 201 - 225 of 432) sorted by last modified time

1234567891011>>

/frameworks/base/packages/SystemUI/scripts/
H A Dnew_merge.py135 fin = open(inFile)
136 fout = open(outFile, "w")
/frameworks/base/packages/DefaultContainerService/jni/
H A Dcom_android_defcontainer_MeasurementUtils.cpp40 int dirfd = open(path, O_DIRECTORY, O_RDONLY);
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java65 * 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 DOctopusDrawable.java185 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 DMtpFileWriter.java40 mCacheFd = ParcelFileDescriptor.open(
H A DMtpManager.java98 "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 Dasset_manager.cpp108 Asset* asset = mgr->open(filename, amMode);
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcExecutionEnvironment.java137 * <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 DBasicNfcEeTest.java57 mEe.open();
76 mEe.open();
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfDocument.java94 mCloseGuard.open("close");
H A DPdfEditor.java88 mCloseGuard.open("close");
H A DPdfRenderer.java44 * 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 DAsset.cpp141 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 DAssetManager.cpp235 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 DBackupHelpers.cpp296 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 DObbFile.cpp91 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 DZipFileRO.cpp65 /* 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 DAssetManager.h133 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 DZipFileRO.h59 * "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 DBackupData_test.cpp60 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 DObbFile_test.cpp46 int fd = ::open(mFileName.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
/frameworks/base/libs/hwui/hwui/
H A DTypeface.cpp182 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 DCanvasContext.cpp650 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 DGraphicsStatsService.cpp51 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 Dmain.cpp116 int fd = open(buffer, O_WRONLY | O_CLOEXEC);

Completed in 345 milliseconds

1234567891011>>