Searched defs:open (Results 1 - 25 of 57) sorted by path

123

/frameworks/av/media/img_utils/src/
H A DByteArrayOutput.cpp28 status_t ByteArrayOutput::open() { function in class:android::img_utils::ByteArrayOutput
H A DEndianUtils.cpp27 status_t EndianOutput::open() { function in class:android::img_utils::EndianOutput
29 return mOutput->open();
H A DFileInput.cpp34 status_t FileInput::open() { function in class:android::img_utils::FileInput
36 ALOGW("%s: Open called when file %s already open.", __FUNCTION__, mPath.string());
41 ALOGE("%s: Could not open file %s", __FUNCTION__, mPath.string());
50 ALOGE("%s: Could not read file %s, file not open.", __FUNCTION__, mPath.string());
H A DFileOutput.cpp28 ALOGW("%s: Destructor called with %s still open.", __FUNCTION__, mPath.string());
33 status_t FileOutput::open() { function in class:android::img_utils::FileOutput
35 ALOGW("%s: Open called when file %s already open.", __FUNCTION__, mPath.string());
40 ALOGE("%s: Could not open file %s", __FUNCTION__, mPath.string());
49 ALOGE("%s: Could not write file %s, file not open.", __FUNCTION__, mPath.string());
H A DInput.cpp24 status_t Input::open() { return OK; } function in class:android::img_utils::Input
H A DOutput.cpp24 status_t Output::open() { return OK; } function in class:android::img_utils::Output
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp502 result.append("couldn't open ");
549 result.append("couldn't open ");
728 ALOGE("Couldn't open fd for %s", url);
1299 // If the application wants to decode those, it should open a
1556 status_t MediaPlayerService::AudioOutput::open( function in class:android::MediaPlayerService::AudioOutput
1572 ALOGV("open(%u, %d, 0x%x, 0x%x, %d, %d 0x%x)", sampleRate, channelCount, channelMask,
1604 ALOGE("open() error, can\'t derive mask for %d audio channels", channelCount);
1763 ALOGV("open() DONE status %d", res);
2064 status_t MediaPlayerService::AudioCache::open( function in class:android::MediaPlayerService::AudioCache
2070 ALOGV("open(
[all...]
/frameworks/av/media/mtp/
H A DMtpDevice.cpp53 MtpDevice* MtpDevice::open(const char* deviceName, int fd) { function in class:android::MtpDevice
680 int fd = ::open(destPath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
682 ALOGE("open failed for %s", destPath);
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java32 * This class presents a lower-level API that allows you to open and read raw
40 * Mode for {@link #open(String, int)}: no specific information about how
45 * Mode for {@link #open(String, int)}: Read chunks, and seek forward and
50 * Mode for {@link #open(String, int)}: Read sequentially, with an
55 * Mode for {@link #open(String, int)}: Attempt to load contents into
280 * @param fileName The name of the asset to open. This name can be
283 * @see #open(String, int)
286 public final InputStream open(String fileName) throws IOException { method in class:AssetManager
287 return open(fileName, ACCESS_STREAMING);
296 * @param fileName The name of the asset to open
307 public final InputStream open(String fileName, int accessMode) method in class:AssetManager
[all...]
/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 DSQLiteConnectionPool.java170 public static SQLiteConnectionPool open(SQLiteDatabaseConfiguration configuration) { method in class:SQLiteConnectionPool
177 pool.open(); // might throw
182 private void open() { method in class:SQLiteConnectionPool
188 // Mark the pool as being open for business.
190 mCloseGuard.open("close");
295 // If we are changing open flags and WAL mode at the same time, then
297 // because there can only be one connection open when we change WAL mode.
302 // Try to reopen the primary connection using the new open flags then
463 return SQLiteConnection.open(this, configuration,
813 // There are no connections available and the pool is still open
[all...]
H A DSQLiteDatabase.java98 // configuration, whether it is open or closed, and so on. This lock should
203 * Open flag: Flag for {@link #openDatabase} to open the database for reading and writing.
211 * Open flag: Flag for {@link #openDatabase} to open the database for reading only.
212 * This is the only reliable way to open a database if the disk may be full.
219 * Open flag: Flag for {@link #openDatabase} to open the database without support for
235 * Open flag: Flag for {@link #openDatabase} to open the database file with
356 * the database is not open.
661 * @param path to database file to open and/or create
682 * @param path to database file to open and/or create
694 db.open();
788 private void open() { method in class:SQLiteDatabase
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java70 * <li>Obtain an instance of Camera from {@link #open(int)}.
97 * immediately in {@link android.app.Activity#onPause()} (and re-{@link #open()}
122 * on the event thread {@link #open(int)} was called from. This class's methods
208 * A constant meaning the normal camera connect/open will be used.
324 * thread which called open(). If this thread has no event loop, then
341 public static Camera open(int cameraId) { method in class:Camera
349 * @see #open(int)
351 public static Camera open() { method in class:Camera
376 * thread which called open(). If this thread has no event loop, then
478 * the detailed error code if open fail
[all...]
H A DSerialPort.java54 public void open(ParcelFileDescriptor pfd, int speed) throws IOException { method in class:SerialPort
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java45 /* package */ boolean open(String name, ParcelFileDescriptor pfd) { method in class:UsbDeviceConnection
/frameworks/base/core/java/android/net/http/
H A DAndroidHttpClientConnection.java76 private volatile boolean open; field in class:AndroidHttpClientConnection
124 this.open = true;
142 if (this.open) {
143 throw new IllegalStateException("Connection is already open");
148 if (!this.open) {
149 throw new IllegalStateException("Connection is not open");
155 return (this.open && this.socket != null && this.socket.isConnected());
216 this.open = false;
224 if (!this.open) {
227 this.open
[all...]
/frameworks/base/core/java/android/os/
H A DConditionVariable.java25 * open(), close() and block() are sticky. If open() is called before block(),
62 public void open() method in class:ConditionVariable
77 * Any threads that call block() will block until someone calls open.
H A DParcelFileDescriptor.java93 * For use with {@link #open}: if {@link #MODE_CREATE} has been supplied and
109 * For use with {@link #open}: if {@link #MODE_CREATE} has been supplied and
125 * For use with {@link #open}: open the file with read-only access.
130 * For use with {@link #open}: open the file with write-only access.
135 * For use with {@link #open}: open the file with read and write access.
140 * For use with {@link #open}: create the file if it doesn't already exist.
145 * For use with {@link #open}
198 public static ParcelFileDescriptor open(File file, int mode) throws FileNotFoundException { method in class:ParcelFileDescriptor
223 public static ParcelFileDescriptor open( method in class:ParcelFileDescriptor
[all...]
/frameworks/base/core/java/android/util/
H A DJsonWriter.java203 return open(JsonScope.EMPTY_ARRAY, "[");
222 return open(JsonScope.EMPTY_OBJECT, "{");
238 private JsonWriter open(JsonScope empty, String openBracket) throws IOException { method in class:JsonWriter
/frameworks/base/core/java/android/webkit/
H A DWebIconDatabase.java29 * The main use-case for this class is calling {@link #open}
56 public abstract void open(String path); method in class:WebIconDatabase
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java150 * Invoked when the drawer becomes fully open.
731 * Toggles the drawer open and close. Takes effect immediately.
733 * @see #open()
750 * Toggles the drawer open and close with an animation.
752 * @see #open()
773 public void open() { method in class:SlidingDrawer
785 * @see #open()
798 * @see #open()
820 * @see #open()
883 * Sets the listener that receives a notification when the drawer becomes open
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java745 ss.open = mCollapsibleHeight > 0 && mCollapseOffset == 0;
753 mOpenOnLayout = ss.open;
794 boolean open; field in class:ResolverDrawerLayout.SavedState
802 open = in.readInt() != 0;
808 out.writeInt(open ? 1 : 0);
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp171 status_t open();
197 status_t JniOutputStream::open() { function in class:JniOutputStream
242 status_t open();
309 status_t JniInputStream::open() { function in class:JniInputStream
331 status_t open();
381 status_t JniInputByteBuffer::open() { function in class:JniInputByteBuffer
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp256 ALOGW("failed to open idmap file %s\n", idmapPath.string());
489 Asset* AssetManager::open(const char* fileName, AccessMode mode) function in class:AssetManager
594 pAsset = open(fileName, Asset::ACCESS_STREAMING);
1084 * Return a pointer to one of our open Zip archives. Returns NULL if no
1104 * Try to open an asset from a file on disk.
1869 mZipFile = ZipFileRO::open(mPath.string());
1871 ALOGD("failed to open Zip archive '%s'\n", mPath.string());
1988 * Destructor. Close any open archives.
H A DZipFileRO.cpp38 * We must open binary files using open(path, ... | O_BINARY) under Windows.
70 /* static */ ZipFileRO* ZipFileRO::open(const char* zipFileName) function in class:ZipFileRO
235 * Uncompress an entry, in its entirety, to an open file descriptor.

Completed in 8291 milliseconds

123