Searched defs:open (Results 1 - 18 of 18) sorted by relevance

/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.java40 * For use with {@link #open}: if {@link #MODE_CREATE} has been supplied
47 * For use with {@link #open}: if {@link #MODE_CREATE} has been supplied
54 * For use with {@link #open}: open the file with read-only access.
59 * For use with {@link #open}: open the file with write-only access.
64 * For use with {@link #open}: open the file with read and write access.
69 * For use with {@link #open}: create the file if it doesn't already exist.
74 * For use with {@link #open}
99 public static ParcelFileDescriptor open(File file, int mode) method in class:ParcelFileDescriptor
[all...]
/frameworks/base/services/surfaceflinger/
H A DBarrier.h31 void open() { function in class:android::Barrier
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcExecutionEnvironment.java123 * <p>Only one process may open the secure element at a time. If it is
124 * already open, an {@link IOException} is thrown.
126 * <p>All other NFC functionality is disabled while the NFC-EE is open
132 * @throws IOException if the NFC-EE is already open, or some other error occurs
134 public void open() throws IOException { method in class:NfcExecutionEnvironment
136 Bundle b = mExtras.getService().open(new Binder());
150 * @throws IOException if the NFC-EE is already open, or some other error occurs
167 * @throws IOException if the NFC-EE is not open, or some other error occurs
175 throw new IOException("NFC Service was dead, need to re-open");
/frameworks/base/core/java/android/net/http/
H A DAndroidHttpClientConnection.java80 private volatile boolean open; field in class:AndroidHttpClientConnection
128 this.open = true;
146 if (this.open) {
147 throw new IllegalStateException("Connection is already open");
152 if (!this.open) {
153 throw new IllegalStateException("Connection is not open");
159 return (this.open && this.socket != null && this.socket.isConnected());
220 this.open = false;
228 if (!this.open) {
231 this.open
[all...]
/frameworks/base/media/java/android/media/
H A DRingtone.java192 void open(FileDescriptor fd) throws IOException { method in class:Ringtone
197 void open(AssetFileDescriptor fd) throws IOException { method in class:Ringtone
202 void open(Uri uri) throws IOException { method in class:Ringtone
/frameworks/base/opengl/libs/EGL/
H A DLoader.cpp131 void* Loader::open(EGLNativeDisplayType display, int impl, egl_connection_t* cnx) function in class:android::Loader
/frameworks/base/core/java/android/webkit/
H A DWebIconDatabase.java199 public void open(String path) { method in class:WebIconDatabase
/frameworks/base/voip/java/android/net/sip/
H A DSipManager.java40 * be video, audio, or other, and are initiated with {@link #open open()}. Audio-only SIP calls
60 * @see #open(SipProfile, PendingIntent, SipRegistrationListener)
66 * @see #open(SipProfile, PendingIntent, SipRegistrationListener)
73 * @see #open(SipProfile, PendingIntent, SipRegistrationListener)
165 * {@link #open(SipProfile, PendingIntent, SipRegistrationListener)}
172 public void open(SipProfile localProfile) throws SipException { method in class:SipManager
174 mSipService.open(localProfile);
176 throw new SipException("open()", e);
209 public void open(SipProfil method in class:SipManager
[all...]
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java144 * Invoked when the drawer becomes fully open.
704 * Toggles the drawer open and close. Takes effect immediately.
706 * @see #open()
723 * Toggles the drawer open and close with an animation.
725 * @see #open()
746 public void open() { method in class:SlidingDrawer
758 * @see #open()
771 * @see #open()
793 * @see #open()
844 * Sets the listener that receives a notification when the drawer becomes open
[all...]
/frameworks/base/libs/utils/
H A DZipFileRO.cpp44 * We must open binary files using open(path, ... | O_BINARY) under Windows.
134 status_t ZipFileRO::open(const char* zipFileName) function in class:ZipFileRO
143 fd = ::open(zipFileName, O_RDONLY | O_BINARY);
145 LOGW("Unable to open zip '%s': %s\n", zipFileName, strerror(errno));
700 * access if the file we're prying open is small. Bottom line is we
729 * Uncompress an entry, in its entirety, to an open file descriptor.
845 * Uncompress "deflate" data from one buffer to an open file descriptor.
H A DAssetManager.cpp265 Asset* AssetManager::open(const char* fileName, AccessMode mode) function in class:AssetManager
370 pAsset = open(fileName, Asset::ACCESS_STREAMING);
773 * Return a pointer to one of our open Zip archives. Returns NULL if no
793 * Try to open an asset from a file on disk.
1551 if (mZipFile->open(mPath.string()) != NO_ERROR) {
1552 LOGD("failed to open Zip archive '%s'\n", mPath.string());
1653 * Destructor. Close any open archives.
/frameworks/base/tools/aapt/
H A DZipFile.cpp59 status_t ZipFile::open(const char* zipFileName, int flags) function in class:ZipFile
86 /* open the file */
/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
281 * @param fileName The name of the asset to open. This name can be
284 * @see #open(String, int)
287 public final InputStream open(String fileName) throws IOException { method in class:AssetManager
288 return open(fileName, ACCESS_STREAMING);
297 * @param fileName The name of the asset to open
308 public final InputStream open(String fileName, int accessMode) method in class:AssetManager
[all...]
/frameworks/base/core/java/android/hardware/
H A DSensorManager.java419 private boolean open() { method in class:SensorManager.SensorThread.SensorThreadRunnable
434 if (!open()) {
439 // we've open the driver, we're ready to open the sensors
H A DCamera.java53 * <li>Obtain an instance of Camera from {@link #open(int)}.
80 * immediately in {@link android.app.Activity#onPause()} (and re-{@link #open()}
105 * on the event thread {@link #open(int)} was called from. This class's methods
204 * thread which called open(). If this thread has no event loop, then
219 public static Camera open(int cameraId) { method in class:Camera
227 * @see #open(int)
229 public static Camera open() { method in class:Camera
372 * on the event thread {@link #open(int)} was called from.
/frameworks/base/media/libmediaplayerservice/
H A DMediaPlayerService.cpp547 result.append("couldn't open ");
594 result.append("couldn't open ");
819 LOGE("Couldn't open fd for %s", url);
1207 // If the application wants to decode those, it should open a
1380 status_t MediaPlayerService::AudioOutput::open( function in class:android::MediaPlayerService::AudioOutput
1393 LOGV("open(%u, %d, %d, %d, %d)", sampleRate, channelCount, format, bufferCount,mSessionId);
1645 status_t MediaPlayerService::AudioCache::open( function in class:android::MediaPlayerService::AudioCache
1649 LOGV("open(%u, %d, %d, %d)", sampleRate, channelCount, format, bufferCount);
/frameworks/base/voip/java/com/android/server/sip/
H A DSipService.java179 public synchronized void open(SipProfile localProfile) { method in class:SipService

Completed in 1027 milliseconds