/frameworks/base/cmds/hid/jni/ |
H A D | com_android_commands_hid_Device.cpp | 85 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 D | AssetManager.java | 41 * This class presents a lower-level API that allows you to open and read raw 49 * Mode for {@link #open(String, int)}: no specific information about how 54 * Mode for {@link #open(String, int)}: Read chunks, and seek forward and 59 * Mode for {@link #open(String, int)}: Read sequentially, with an 64 * Mode for {@link #open(String, int)}: Attempt to load contents into 341 * @param fileName The name of the asset to open. This name can be 344 * @see #open(String, int) 347 public final InputStream open(String fileName) throws IOException { method in class:AssetManager 348 return open(fileName, ACCESS_STREAMING); 357 * @param fileName The name of the asset to open 368 public final InputStream open(String fileName, int accessMode) method in class:AssetManager [all...] |
/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 | SQLiteConnectionPool.java | 170 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 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/ |
H A D | Camera.java | 72 * <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 225 * A constant meaning the normal camera connect/open will be used. 341 * thread which called open(). If this thread has no event loop, then 358 public static Camera open(int cameraId) { method in class:Camera 366 * @see #open(int) 368 public static Camera open() { method in class:Camera 393 * thread which called open(). If this thread has no event loop, then 492 * the detailed error code if open fail [all...] |
H A D | SerialPort.java | 54 public void open(ParcelFileDescriptor pfd, int speed) throws IOException { method in class:SerialPort
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbDeviceConnection.java | 60 /* package */ boolean open(String name, ParcelFileDescriptor pfd, @NonNull Context context) { method in class:UsbDeviceConnection 65 mCloseGuard.open("close");
|
/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 | 105 * For use with {@link #open}: if {@link #MODE_CREATE} has been supplied and 121 * For use with {@link #open}: if {@link #MODE_CREATE} has been supplied and 137 * For use with {@link #open}: open the file with read-only access. 142 * For use with {@link #open}: open the file with write-only access. 147 * For use with {@link #open}: open the file with read and write access. 152 * For use with {@link #open}: create the file if it doesn't already exist. 157 * For use with {@link #open} 210 public static ParcelFileDescriptor open(File file, int mode) throws FileNotFoundException { method in class:ParcelFileDescriptor 235 public static ParcelFileDescriptor open(File file, int mode, Handler handler, method in class:ParcelFileDescriptor [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/core/java/android/webkit/ |
H A D | WebIconDatabase.java | 29 * 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 D | SlidingDrawer.java | 145 * Invoked when the drawer becomes fully open. 726 * Toggles the drawer open and close. Takes effect immediately. 728 * @see #open() 745 * Toggles the drawer open and close with an animation. 747 * @see #open() 768 public void open() { method in class:SlidingDrawer 780 * @see #open() 793 * @see #open() 815 * @see #open() 871 * Sets the listener that receives a notification when the drawer becomes open [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ResolverDrawerLayout.java | 878 ss.open = mCollapsibleHeight > 0 && mCollapseOffset == 0; 886 mOpenOnLayout = ss.open; 932 boolean open; field in class:ResolverDrawerLayout.SavedState 940 open = in.readInt() != 0; 946 out.writeInt(open ? 1 : 0);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_DngCreator.cpp | 316 status_t open(); 342 status_t JniOutputStream::open() { function in class:JniOutputStream 387 status_t open(); 454 status_t JniInputStream::open() { function in class:JniInputStream 476 status_t open(); 526 status_t JniInputByteBuffer::open() { function in class:JniInputByteBuffer
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 235 ALOGW("failed to open idmap file %s\n", idmapPath.string()); 391 Asset* AssetManager::open(const char* fileName, AccessMode mode) function in class:AssetManager 484 pAsset = open(fileName, Asset::ACCESS_STREAMING); 813 * Return a pointer to one of our open Zip archives. Returns NULL if no 824 * Try to open an asset from a file on disk. 1371 mZipFile = ZipFileRO::open(mPath.string()); 1373 ALOGD("failed to open Zip archive '%s'\n", mPath.string()); 1486 * Destructor. Close any open archives.
|
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/hwui/thread/ |
H A D | Barrier.h | 30 void open() { function in class:android::uirenderer::Barrier
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDevice.java | 38 * device and objects stored on it, as well as open the connection and transfer data. 71 * Opens the MTP device. Once the device is open it takes ownership of the 76 * @param connection an open {@link android.hardware.usb.UsbDeviceConnection} for the device 79 public boolean open(@NonNull UsbDeviceConnection connection) { method in class:MtpDevice 98 mCloseGuard.open("close"); 107 * After this is called, the object can not be used until {@link #open} is called again
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | Filter.java | 148 port.open(); 179 public void open(FilterContext context) { method in class:Filter 452 open(context); 511 outputPort.open(); 537 port.open(); 622 port.open();
|
H A D | FilterPort.java | 72 public void open() { method in class:FilterPort
|
H A D | InputPort.java | 42 public void open() { method in class:InputPort 43 super.open(); 45 mSourcePort.open();
|
H A D | OutputPort.java | 44 public void open() { method in class:OutputPort 45 super.open(); 47 mTargetPort.open();
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/numeric/ |
H A D | SinWaveFilter.java | 52 public void open(FilterContext env) { method in class:SinWaveFilter
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/ |
H A D | ThroughputFilter.java | 64 public void open(FilterContext env) { method in class:ThroughputFilter
|