Searched refs:open (Results 126 - 150 of 300) sorted by relevance

1234567891011>>

/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.java94 mCloseGuard.open("close");
/frameworks/base/libs/androidfw/
H A DAsset.cpp134 fd = open(fileName, O_RDONLY | O_BINARY);
141 * always open things read-only it doesn't really matter, so there's
195 fd = open(fileName, O_RDONLY | O_BINARY);
239 * Create a new Asset from part of an open file.
257 * Create a new Asset from compressed data in an open file.
641 return open(fname, O_RDONLY | O_BINARY);
648 return open(mFileName, O_RDONLY | O_BINARY);
707 assert(mFd < 0); // no re-open
739 assert(mFd < 0); // no re-open
/frameworks/base/libs/usb/tests/accessorytest/
H A Dhid.c137 int fd = open(path, O_RDWR);
/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/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceTargetFilter.java138 public void open(FilterContext context) { method in class:SurfaceTargetFilter
/frameworks/base/native/android/
H A Dasset_manager.cpp108 Asset* asset = mgr->open(filename, amMode);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPageContentRepository.java87 mCloseGuard.open("destroy");
90 public void open(ParcelFileDescriptor source, final OpenDocumentCallback callback) { method in class:PageContentRepository
96 mRenderer.open(source, callback);
458 public void open(ParcelFileDescriptor source, OpenDocumentCallback callback) { method in class:PageContentRepository.AsyncRenderer
689 Log.e(LOG_TAG, "Cannot open PDF document");
/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? */
/frameworks/base/tools/aapt2/
H A DZipFile.h69 status_t open(const char* zipFileName, int flags);
262 /* did we open this read-only? */
/frameworks/native/cmds/atrace/
H A Datrace.cpp232 int fd = open(filename, flags);
365 int fd = open(k_traceClockPath, O_RDONLY);
490 int fd = open(k_ftraceFilterPath, O_RDONLY);
656 int traceFD = open(k_tracePath, O_RDWR);
/frameworks/native/libs/binder/
H A DMemoryHeapBase.cpp69 int fd = open(device, open_flags);
/frameworks/native/services/surfaceflinger/
H A DMessageQueue.cpp47 barrier.open();
/frameworks/opt/telephony/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/rs/api/
H A DUtilities.cpp198 open(path.c_str(), ios::out | ios::trunc);
200 cerr << "Error. Can't open the output file: " << path << "\n";
/frameworks/base/core/java/android/database/
H A DCursorWindow.java111 mCloseGuard.open("close");
141 mCloseGuard.open("close");
/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DBackupDataTest.java241 mDataFile = ParcelFileDescriptor.open(mFile,
248 mDataFile = ParcelFileDescriptor.open(mFile,
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintPreviewController.java265 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file,
269 mPageAdapter.open(pfd, new Runnable() {
/frameworks/base/services/core/jni/
H A Dcom_android_server_fingerprint_FingerprintService.cpp204 ALOGE("Can't open fingerprint HW Module, error: %d", err);
214 if (gContext.module->common.methods->open == NULL) {
215 ALOGE("No valid open method");
221 if (0 != (err = gContext.module->common.methods->open(hw_module, NULL, &device))) {
222 ALOGE("Can't open fingerprint methods, error: %d", err);
/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/jni/
H A Dandroid_util_Process.cpp202 fd = open(proc_path, O_RDONLY);
389 int fd = open(text, O_WRONLY);
439 int fd = open("/proc/meminfo", O_RDONLY);
442 ALOGW("Unable to open /proc/meminfo");
552 int fd = open(file.string(), O_RDONLY);
603 ALOGW("Unable to open %s", file.string());
853 int fd = open(file8, O_RDONLY);
857 ALOGW("Unable to open process file: %s\n", file8);
870 ALOGW("Unable to open process file: %s fd=%d\n", file8, fd);
993 int fd = open(pat
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java781 ss.open = mCollapsibleHeight > 0 && mCollapseOffset == 0;
789 mOpenOnLayout = ss.open;
830 boolean open; field in class:ResolverDrawerLayout.SavedState
838 open = in.readInt() != 0;
844 out.writeInt(open ? 1 : 0);
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp643 int fd = open(fileName, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
645 fprintf(stderr, "ERROR: couldn't open file\n");
779 int fd = open("/dev/null", O_WRONLY);
991 int fd = open(fileName, O_CREAT | O_RDWR, 0644);
993 fprintf(stderr, "Unable to open '%s': %s\n", fileName, strerror(errno));

Completed in 787 milliseconds

1234567891011>>