/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 156 fd = ParcelFileDescriptor.open(file, 161 String msg = "Unable to open file " + path + ": " + e;
|
/frameworks/base/cmds/idmap/ |
H A D | inspect.cpp | 43 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 D | Reporter.cpp | 287 *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 D | screencap.cpp | 121 fd = open(fn, O_WRONLY | O_CREAT | O_TRUNC, 0664);
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnection.java | 170 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 D | SQLiteDatabase.java | 100 // 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 D | UsbManager.java | 336 * @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 D | IpSecTransform.java | 154 mCloseGuard.open("build");
|
H A D | Network.java | 298 return okUrlFactory.open(url);
|
/frameworks/base/core/java/android/os/ |
H A D | DropBoxManager.java | 168 mFileDescriptor = ParcelFileDescriptor.open(data, ParcelFileDescriptor.MODE_READ_ONLY);
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfEditor.java | 88 mCloseGuard.open("close");
|
/frameworks/base/libs/androidfw/ |
H A D | ZipFileRO.cpp | 65 /* 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 D | AssetManager.h | 133 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 D | Typeface.cpp | 182 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 D | main.cpp | 116 int fd = open(buffer, O_WRONLY | O_CLOEXEC);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMuxer.java | 313 * @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 D | SoundPool.java | 196 ParcelFileDescriptor fd = ParcelFileDescriptor.open(f,
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/ |
H A D | SurfaceRenderFilter.java | 130 public void open(FilterContext context) { method in class:SurfaceRenderFilter
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | MtpClient.java | 168 * @param device the device to open 179 if (mtpDevice.open(connection)) {
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | PageContentRepository.java | 96 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 D | BugreportStorageProvider.java | 108 throw new FileNotFoundException("Failed to open: " + documentId + ", mode = " + mode); 110 return ParcelFileDescriptor.open(getFileForDocId(documentId),
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Program.java | 79 guard.open("destroy");
|
H A D | ScriptGroup.java | 152 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 D | FaceSquareFilterTest.java | 62 Bitmap bitmap = BitmapFactory.decodeStream(assetMgr.open("XZZ019.jpg"));
|
/frameworks/compile/mclinker/lib/Core/ |
H A D | Linker.cpp | 274 bool result = file.open(sys::fs::Path(pPath), open_mode, permission);
|