/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | MemoryFileProvider.java | 146 return ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY);
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfDocument.java | 35 * 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 D | Asset.cpp | 128 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 D | MediaMuxer.java | 119 * @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 D | SyncRunner.java | 92 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 D | asset_manager.cpp | 108 Asset* asset = mgr->open(filename, amMode);
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | SocketTest.java | 141 // 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 D | TextureViewActivity.java | 102 mCamera = Camera.open();
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | ColladaScene.java | 80 is = mRes.getAssets().open(names[0]); 86 Log.e(TAG, "Could not open collada file");
|
/frameworks/base/tools/aapt/ |
H A D | ZipFile.h | 66 status_t open(const char* zipFileName, int flags); 254 /* did we open this read-only? */
|
H A D | Package.cpp | 80 // 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 D | MemoryHeapBase.cpp | 74 int fd = open(device, open_flags);
|
/frameworks/native/services/surfaceflinger/ |
H A D | MessageQueue.cpp | 47 barrier.open();
|
/frameworks/opt/mms/src/java/com/google/android/mms/util/ |
H A D | DrmConvertSession.java | 47 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 D | CursorWindow.java | 107 mCloseGuard.open("close"); 137 mCloseGuard.open("close");
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 122 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 D | touchlag.cpp | 170 fd = open("/dev/input/event1", O_RDONLY); 224 int fd = open("/dev/graphics/fb0", O_RDWR);
|
/frameworks/base/core/java/android/os/ |
H A D | ParcelFileDescriptor.java | 92 * 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 D | atrace.cpp | 204 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 D | MediaPlayerService.h | 90 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 D | TimeZoneData.java | 324 is = am.open("backward"); 375 is = am.open("zone.tab");
|
/frameworks/av/include/media/ |
H A D | MediaPlayerInterface.h | 60 // 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 D | VideoEditorPlayer.h | 52 virtual status_t open(
|
/frameworks/av/media/libstagefright/ |
H A D | AMRWriter.cpp | 39 mFd = open(filename, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
|
/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 229 // 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...] |