/frameworks/base/core/java/android/os/ |
H A D | ConditionVariable.java | 25 * 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 D | ParcelFileDescriptor.java | 41 * For use with {@link #open}: if {@link #MODE_CREATE} has been supplied 48 * For use with {@link #open}: if {@link #MODE_CREATE} has been supplied 55 * For use with {@link #open}: open the file with read-only access. 60 * For use with {@link #open}: open the file with write-only access. 65 * For use with {@link #open}: open the file with read and write access. 70 * For use with {@link #open}: create the file if it doesn't already exist. 75 * For use with {@link #open} 100 public static ParcelFileDescriptor open(File file, int mode) method in class:ParcelFileDescriptor [all...] |
/frameworks/base/services/surfaceflinger/ |
H A D | Barrier.h | 31 void open() { function in class:android::Barrier
|
/frameworks/base/nfc-extras/java/com/android/nfc_extras/ |
H A D | NfcExecutionEnvironment.java | 121 * <p>Only one process may open the secure element at a time. If it is 122 * already open, an {@link IOException} is thrown. 124 * <p>All other NFC functionality is disabled while the NFC-EE is open 130 * @throws IOException if the NFC-EE is already open, or some other error occurs 132 public void open() throws IOException { method in class:NfcExecutionEnvironment 134 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken); 148 * @throws IOException if the NFC-EE is already open, or some other error occurs 165 * @throws IOException if the NFC-EE is not open, or some other error occurs 173 throw new IOException("NFC Service was dead, need to re-open");
|
/frameworks/base/libs/utils/ |
H A D | Tokenizer.cpp | 51 status_t Tokenizer::open(const String8& filename, Tokenizer** outTokenizer) { function in class:android::Tokenizer 55 int fd = ::open(filename.string(), O_RDONLY);
|
H A D | ZipFileRO.cpp | 44 * 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 D | AssetManager.cpp | 227 int fd = TEMP_FAILURE_RETRY(::open(idmapPath.string(), O_RDONLY)); 229 LOGW("failed to open file %s: %s\n", idmapPath.string(), strerror(errno)); 327 fd = TEMP_FAILURE_RETRY(::open(idmapPath.string(), O_WRONLY | O_CREAT | O_TRUNC, 0644)); 329 LOGW("failed to write idmap file %s (open: %s)\n", idmapPath.string(), strerror(errno)); 481 Asset* AssetManager::open(const char* fileName, AccessMode mode) function in class:AssetManager 586 pAsset = open(fileName, Asset::ACCESS_STREAMING); 1008 * Return a pointer to one of our open Zip archives. Returns NULL if no 1028 * Try to open an asset from a file on disk. 1786 if (mZipFile->open(mPath.string()) != NO_ERROR) { 1787 LOGD("failed to open Zi [all...] |
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
H A D | FileHandle.cpp | 32 int FileHandle::open(char const *filename, OpenMode::ModeType mode) { function in class:bcc::FileHandle 49 // Try to open the file 50 mFD = ::open(filename, open_flags[mode], 0644); 58 LOGW("Unable to open %s in %s mode. (reason: %s)\n", 96 // Good, we have open and lock the file correctly. 101 LOGW("Unable to open %s in %s mode.\n", filename, open_mode_str[mode]);
|
/frameworks/base/core/java/android/net/http/ |
H A D | AndroidHttpClientConnection.java | 80 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/core/java/android/util/ |
H A D | JsonWriter.java | 203 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/media/java/android/media/ |
H A D | Ringtone.java | 195 void open(FileDescriptor fd) throws IOException { method in class:Ringtone 200 void open(AssetFileDescriptor fd) throws IOException { method in class:Ringtone 205 void open(Uri uri) throws IOException { method in class:Ringtone
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | SummarizerDBHelper.java | 106 public void open() throws SQLException { method in class:SummarizerDBHelper
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbDeviceConnection.java | 46 /* package */ boolean open(String name, ParcelFileDescriptor pfd) { method in class:UsbDeviceConnection
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebIconDatabase.java | 199 public void open(String path) { method in class:WebIconDatabase
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDevice.java | 28 * device and objects stored on it, as well as open the connection and transfer data. 50 * Opens the MTP device. Once the device is open it takes ownership of the 55 * @param connection an open {@link android.hardware.usb.UsbDeviceConnection} for the device 58 public boolean open(UsbDeviceConnection connection) { method in class:MtpDevice 68 * After this is called, the object can not be used until {@link #open} is called again
|
/frameworks/base/opengl/libs/EGL/ |
H A D | Loader.cpp | 175 void* Loader::open(EGLNativeDisplayType display, int impl, egl_connection_t* cnx) function in class:android::Loader
|
/frameworks/base/voip/java/android/net/sip/ |
H A D | SipManager.java | 40 * 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 D | SlidingDrawer.java | 144 * 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/media/mtp/ |
H A D | MtpDevice.cpp | 53 MtpDevice* MtpDevice::open(const char* deviceName, int fd) { function in class:android::MtpDevice 670 int fd = ::open(destPath, O_RDWR | O_CREAT | O_TRUNC); 672 LOGE("open failed for %s", destPath);
|
/frameworks/base/tools/aapt/ |
H A D | ZipFile.cpp | 59 status_t ZipFile::open(const char* zipFileName, int flags) function in class:ZipFile 86 /* open the file */
|
/frameworks/base/cmds/keystore/ |
H A D | keystore.cpp | 132 bool open() { function in class:Entropy 134 mRandom = ::open(randomDevice, O_RDONLY); 136 LOGE("open: %s: %s", randomDevice, strerror(errno)); 228 int out = open(tmpFileName, O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR); 244 int in = open(filename, O_RDONLY); 329 int in = open(MASTER_KEY_FILE, O_RDONLY); 766 if (!entropy.open()) {
|
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipService.java | 145 public synchronized void open(SipProfile localProfile) { method in class:SipService
|
/frameworks/media/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 381 status_t VideoEditorPlayer::VeAudioOutput::open( function in class:android::VideoEditorPlayer::VeAudioOutput 395 LOGV("open(%u, %d, %d, %d)", sampleRate, channelCount, format, bufferCount);
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 31 * This class presents a lower-level API that allows you to open and read raw 39 * Mode for {@link #open(String, int)}: no specific information about how 44 * Mode for {@link #open(String, int)}: Read chunks, and seek forward and 49 * Mode for {@link #open(String, int)}: Read sequentially, with an 54 * Mode for {@link #open(String, int)}: Attempt to load contents into 282 * @param fileName The name of the asset to open. This name can be 285 * @see #open(String, int) 288 public final InputStream open(String fileName) throws IOException { method in class:AssetManager 289 return open(fileName, ACCESS_STREAMING); 298 * @param fileName The name of the asset to open 309 public final InputStream open(String fileName, int accessMode) method in class:AssetManager [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 471 private boolean open() { method in class:SensorManager.SensorThread.SensorThreadRunnable 486 if (!open()) { 491 // we've open the driver, we're ready to open the sensors
|