Searched defs:open (Results 1 - 25 of 67) 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.cpp475 result.append("couldn't open ");
522 result.append("couldn't open ");
746 ALOGE("Couldn't open fd for %s", url);
1651 status_t MediaPlayerService::AudioOutput::open( function in class:android::MediaPlayerService::AudioOutput
1660 ALOGV("open(%u, %d, 0x%x, 0x%x, %d, %d 0x%x)", sampleRate, channelCount, channelMask,
1705 ALOGE("open() error, can\'t derive mask for %d audio channels", channelCount);
1788 // based on mPlaybackRate at the time of open (instead of kMaxRequiredSpeed),
1879 ALOGV("open() DONE status %d", res);
/frameworks/av/media/mtp/
H A DMtpDevice.cpp67 MtpDevice* MtpDevice::open(const char* deviceName, int fd) { function in class:android::MtpDevice
654 int fd = ::open(destPath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
656 ALOGE("open failed for %s", destPath);
/frameworks/av/services/audioflinger/
H A DAudioStreamOut.cpp112 status_t AudioStreamOut::open( function in class:android::AudioStreamOut
132 ALOGV("AudioStreamOut::open(), HAL returned "
155 ALOGV("AudioStreamOut::open(), treat IEC61937 as PCM, status = %d", status);
H A DSpdifStreamOut.cpp47 status_t SpdifStreamOut::open( function in class:android::SpdifStreamOut
71 ALOGE("ERROR SpdifStreamOut::open() unrecognized format 0x%08X\n",
82 // Print before open() because HAL may modify customConfig.
83 ALOGI("SpdifStreamOut::open() AudioFlinger requested"
88 ALOGI("SpdifStreamOut::open() HAL configured for"
94 status_t status = AudioStreamOut::open(
100 ALOGI("SpdifStreamOut::open() status = %d", status);
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraModule.cpp317 int CameraModule::open(const char* id, struct hw_device_t** device) { function in class:android::CameraModule
319 ATRACE_BEGIN("camera_module->open");
320 res = filterOpenErrorCode(mModule->common.methods->open(&mModule->common, id, device));
/frameworks/base/cmds/hid/jni/
H A Dcom_android_commands_hid_Device.cpp85 Device* Device::open(int32_t id, const char* name, int32_t vid, int32_t pid, function in class:android::uhid::Device
89 int fd = ::open(UHID_PATH, O_RDWR | O_CLOEXEC);
91 ALOGE("Failed to open uhid: %s", strerror(errno));
199 uhid::Device* d = uhid::Device::open(
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java38 * This class presents a lower-level API that allows you to open and read raw
46 * Mode for {@link #open(String, int)}: no specific information about how
51 * Mode for {@link #open(String, int)}: Read chunks, and seek forward and
56 * Mode for {@link #open(String, int)}: Read sequentially, with an
61 * Mode for {@link #open(String, int)}: Attempt to load contents into
314 * @param fileName The name of the asset to open. This name can be
317 * @see #open(String, int)
320 public final InputStream open(String fileName) throws IOException { method in class:AssetManager
321 return open(fileName, ACCESS_STREAMING);
330 * @param fileName The name of the asset to open
341 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.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/
H A DCamera.java72 * <li>Obtain an instance of Camera from {@link #open(int)}.
99 * immediately in {@link android.app.Activity#onPause()} (and re-{@link #open()}
124 * on the event thread {@link #open(int)} was called from. This class's methods
211 * A constant meaning the normal camera connect/open will be used.
327 * thread which called open(). If this thread has no event loop, then
344 public static Camera open(int cameraId) { method in class:Camera
352 * @see #open(int)
354 public static Camera open() { method in class:Camera
379 * 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/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.java94 * For use with {@link #open}: if {@link #MODE_CREATE} has been supplied and
110 * For use with {@link #open}: if {@link #MODE_CREATE} has been supplied and
126 * For use with {@link #open}: open the file with read-only access.
131 * For use with {@link #open}: open the file with write-only access.
136 * For use with {@link #open}: open the file with read and write access.
141 * For use with {@link #open}: create the file if it doesn't already exist.
146 * For use with {@link #open}
199 public static ParcelFileDescriptor open(File file, int mode) throws FileNotFoundException { method in class:ParcelFileDescriptor
224 public static ParcelFileDescriptor open(File file, int mode, Handler handler, 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.java147 * Invoked when the drawer becomes fully open.
727 * Toggles the drawer open and close. Takes effect immediately.
729 * @see #open()
746 * Toggles the drawer open and close with an animation.
748 * @see #open()
769 public void open() { method in class:SlidingDrawer
781 * @see #open()
794 * @see #open()
816 * @see #open()
872 * Sets the listener that receives a notification when the drawer becomes open
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java894 ss.open = mCollapsibleHeight > 0 && mCollapseOffset == 0;
902 mOpenOnLayout = ss.open;
948 boolean open; field in class:ResolverDrawerLayout.SavedState
956 open = in.readInt() != 0;
962 out.writeInt(open ? 1 : 0);

Completed in 284 milliseconds

123