Searched refs:open (Results 251 - 275 of 432) sorted by relevance

<<1112131415161718

/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java156 fd = ParcelFileDescriptor.open(file,
161 String msg = "Unable to open file " + path + ": " + e;
/frameworks/base/cmds/idmap/
H A Dinspect.cpp43 if ((fd = TEMP_FAILURE_RETRY(open(idmap_path, O_RDONLY))) < 0) {
44 printe("failed to open idmap '%s': %s\n", idmap_path, strerror(errno));
/frameworks/base/cmds/incidentd/src/
H A DReporter.cpp287 *fd = open(filename, O_CREAT | O_TRUNC | O_RDWR, 0660);
289 ALOGE("Couldn't open incident file: %s (%s)", filename, strerror(errno));
315 ALOGE("Couldn't open incident directory: %s", INCIDENT_DIRECTORY.string());
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp121 fd = open(fn, O_WRONLY | O_CREAT | O_TRUNC, 0664);
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java170 mCloseGuard.open("close");
187 static SQLiteConnection open(SQLiteConnectionPool pool, method in class:SQLiteConnection
193 connection.open();
208 private void open() { method in class:SQLiteConnection
331 // open in WAL mode and another tries to change it to non-WAL.
335 // there is another open connection to the database somewhere.
348 + "there are other open connections to the database which prevents "
H A DSQLiteDatabase.java100 // configuration, whether it is open or closed, and so on. This lock should
205 * Open flag: Flag for {@link #openDatabase} to open the database for reading and writing.
213 * Open flag: Flag for {@link #openDatabase} to open the database for reading only.
214 * This is the only reliable way to open a database if the disk may be full.
221 * Open flag: Flag for {@link #openDatabase} to open the database without support for
237 * Open flag: Flag for {@link #openDatabase} to open the database file with
358 * the database is not open.
663 * @param path to database file to open and/or create
684 * @param path to database file to open and/or create
696 db.open();
790 private void open() { method in class:SQLiteDatabase
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbManager.java336 * @param device the device to open
337 * @return a {@link UsbDeviceConnection}, or {@code null} if open failed
345 boolean result = connection.open(deviceName, pfd, mContext);
379 * @param accessory the USB accessory to open
/frameworks/base/core/java/android/net/
H A DIpSecTransform.java154 mCloseGuard.open("build");
H A DNetwork.java298 return okUrlFactory.open(url);
/frameworks/base/core/java/android/os/
H A DDropBoxManager.java168 mFileDescriptor = ParcelFileDescriptor.open(data, ParcelFileDescriptor.MODE_READ_ONLY);
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfEditor.java88 mCloseGuard.open("close");
/frameworks/base/libs/androidfw/
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 "".
/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/tests/macrobench/
H A Dmain.cpp116 int fd = open(buffer, O_WRONLY | O_CLOEXEC);
/frameworks/base/media/java/android/media/
H A DMediaMuxer.java313 * @throws IOException if failed to open the file for write.
319 // Use RandomAccessFile so we can open the file with RW access;
343 * @throws IOException if failed to open the file for write.
356 mCloseGuard.open("release");
H A DSoundPool.java196 ParcelFileDescriptor fd = ParcelFileDescriptor.open(f,
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceRenderFilter.java130 public void open(FilterContext context) { method in class:SurfaceRenderFilter
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DMtpClient.java168 * @param device the device to open
179 if (mtpDevice.open(connection)) {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPageContentRepository.java96 mCloseGuard.open("destroy");
99 public void open(ParcelFileDescriptor source, final OpenDocumentCallback callback) { method in class:PageContentRepository
105 mRenderer.open(source, callback);
479 public void open(ParcelFileDescriptor source, OpenDocumentCallback callback) { method in class:PageContentRepository.AsyncRenderer
755 Log.e(LOG_TAG, "Cannot open PDF document");
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportStorageProvider.java108 throw new FileNotFoundException("Failed to open: " + documentId + ", mode = " + mode);
110 return ParcelFileDescriptor.open(getFileForDocId(documentId),
/frameworks/base/rs/java/android/renderscript/
H A DProgram.java79 guard.open("destroy");
H A DScriptGroup.java152 guard.open("destroy");
187 guard.open("destroy");
406 guard.open("destroy");
423 guard.open("destroy");
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilterTest.java62 Bitmap bitmap = BitmapFactory.decodeStream(assetMgr.open("XZZ019.jpg"));
/frameworks/compile/mclinker/lib/Core/
H A DLinker.cpp274 bool result = file.open(sys::fs::Path(pPath), open_mode, permission);

Completed in 5899 milliseconds

<<1112131415161718