Searched refs:open (Results 101 - 125 of 229) sorted by relevance

12345678910

/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProvider.java146 return ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY);
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfDocument.java35 * open a new document and then for every page you want to add you start a page,
94 mCloseGuard.open("close");
/frameworks/base/libs/androidfw/
H A DAsset.cpp128 fd = open(fileName, O_RDONLY | O_BINARY);
135 * always open things read-only it doesn't really matter, so there's
189 fd = open(fileName, O_RDONLY | O_BINARY);
233 * Create a new Asset from part of an open file.
251 * Create a new Asset from compressed data in an open file.
635 return open(fname, O_RDONLY | O_BINARY);
642 return open(mFileName, O_RDONLY | O_BINARY);
701 assert(mFd < 0); // no re-open
734 assert(mFd < 0); // no re-open
/frameworks/base/media/java/android/media/
H A DMediaMuxer.java119 * @throws IOException if failed to open the file for write
135 mCloseGuard.open("release");
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSyncRunner.java92 throw new RuntimeException("Trying to process graph that is not open!");
185 conditionToWake.open();
198 // If a node is still open, it is blocked (by input or output)
/frameworks/base/native/android/
H A Dasset_manager.cpp108 Asset* asset = mgr->open(filename, amMode);
/frameworks/base/tests/CoreTests/android/core/
H A DSocketTest.java141 // Just leave this connection open from the client side. It will be
178 SocketChannel.open();
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTextureViewActivity.java102 mCamera = Camera.open();
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DColladaScene.java80 is = mRes.getAssets().open(names[0]);
86 Log.e(TAG, "Could not open collada file");
/frameworks/base/tools/aapt/
H A DZipFile.h66 status_t open(const char* zipFileName, int flags);
254 /* did we open this read-only? */
H A DPackage.cpp80 // okay, open it below
104 status = zip->open(outputFile.string(), ZipFile::kOpenReadWrite | ZipFile::kOpenCreate);
106 fprintf(stderr, "ERROR: unable to open '%s' as Zip file for writing\n",
490 err = jar.open(jars[i], ZipFile::kOpenReadOnly);
492 fprintf(stderr, "ERROR: unable to open '%s' as a zip file: %d\n",
/frameworks/native/libs/binder/
H A DMemoryHeapBase.cpp74 int fd = open(device, open_flags);
/frameworks/native/services/surfaceflinger/
H A DMessageQueue.cpp47 barrier.open();
/frameworks/opt/mms/src/java/com/google/android/mms/util/
H A DDrmConvertSession.java47 public static DrmConvertSession open(Context context, String mimeType) { method in class:DrmConvertSession
149 Log.w(TAG, "Could not open file in mode: rw", e);
/frameworks/base/core/java/android/database/
H A DCursorWindow.java107 mCloseGuard.open("close");
137 mCloseGuard.open("close");
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp122 int fd = TEMP_FAILURE_RETRY(open(filePath, O_RDONLY));
124 ALOGV("Couldn't open file %s: %s", filePath, strerror(errno));
225 ALOGI("Couldn't open temporary file name: %s: %s\n", localTmpFileName, strerror(errno));
278 if (zipFile.open(filePath.c_str()) != NO_ERROR) {
279 ALOGI("Couldn't open APK %s\n", filePath.c_str());
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp170 fd = open("/dev/input/event1", O_RDONLY);
224 int fd = open("/dev/graphics/fb0", O_RDWR);
/frameworks/base/core/java/android/os/
H A DParcelFileDescriptor.java92 * For use with {@link #open}: if {@link #MODE_CREATE} has been supplied and
108 * For use with {@link #open}: if {@link #MODE_CREATE} has been supplied and
124 * For use with {@link #open}: open the file with read-only access.
129 * For use with {@link #open}: open the file with write-only access.
134 * For use with {@link #open}: open the file with read and write access.
139 * For use with {@link #open}: create the file if it doesn't already exist.
144 * For use with {@link #open}
197 public static ParcelFileDescriptor open(File file, int mode) throws FileNotFoundException { method in class:ParcelFileDescriptor
222 public static ParcelFileDescriptor open( method in class:ParcelFileDescriptor
[all...]
/frameworks/native/cmds/atrace/
H A Datrace.cpp204 int fd = open(filename, flags);
409 int fd = open(k_ftraceFilterPath, O_RDONLY);
574 int traceFD = open(k_tracePath, O_RDWR);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h90 virtual status_t open(
138 uint32_t mSampleRateHz; // sample rate of the content, as set in open()
199 virtual status_t open(
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneData.java324 is = am.open("backward");
375 is = am.open("zone.tab");
/frameworks/av/include/media/
H A DMediaPlayerInterface.h60 // when the channel mask isn't known, use the channel count to derive a mask in AudioSink::open()
91 virtual bool ready() const = 0; // audio output is open and ready
106 virtual status_t open(
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.h52 virtual status_t open(
/frameworks/av/media/libstagefright/
H A DAMRWriter.cpp39 mFd = open(filename, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
/frameworks/av/media/mtp/
H A DMtpServer.cpp229 // commit any open edits
729 mfr.fd = open(filePath, O_RDONLY);
794 mfr.fd = open(filePath, O_RDONLY);
935 mfr.fd = open(mSendObjectFilePath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
1102 ALOGE("object not open for edit in doSendPartialObject");
1159 ALOGE("object not open for edit in doTruncateObject");
1177 ALOGE("object already open for edit in doBeginEditObject");
1188 int fd = open((const char *)path, O_RDWR | O_EXCL);
1190 ALOGE("open failed for %s in doBeginEditObject (%d)", (const char *)path, errno);
1202 ALOGE("object not open fo
[all...]

Completed in 1063 milliseconds

12345678910