Searched defs:open (Results 51 - 75 of 83) sorted by relevance

1234

/frameworks/base/services/core/jni/
H A Dcom_android_server_tv_TvUinputBridge.cpp103 static NativeConnection* open(const char* name, const char* uniqueId,
127 NativeConnection* NativeConnection::open(const char* name, const char* uniqueId, function in class:android::NativeConnection
132 int fd = ::open("/dev/uinput", O_WRONLY | O_NDELAY);
134 ALOGE("Cannot open /dev/uinput: %s.", strerror(errno));
193 NativeConnection* connection = NativeConnection::open(name.c_str(), uniqueId.c_str(),
/frameworks/native/opengl/libs/EGL/
H A DLoader.cpp217 void* Loader::open(egl_connection_t* cnx) function in class:android::Loader
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsServiceBase.java44 public int open(int phoneId, int serviceClass, PendingIntent incomingCallIntent, method in class:ImsServiceBase.ImsServiceBinder
H A DImsManager.java93 * @see #open(PendingIntent, ImsConnectionStateListener)
99 * @see #open(PendingIntent, ImsConnectionStateListener)
147 * An integer value; service identifier obtained from {@link ImsManager#open}.
1464 public int open(int serviceClass, PendingIntent incomingCallPendingIntent, method in class:ImsManager
1482 throw new ImsException("open()", e,
1490 throw new ImsException("open()", (result * (-1)));
1558 * @param sessionId a session id to be closed which is obtained from {@link ImsManager#open}
1655 * @param sessionId a session id which is obtained from {@link ImsManager#open}
1687 * @param sessionId a session id which is obtained from {@link ImsManager#open}
1721 * @param sessionId a session id which is obtained from {@link ImsManager#open}
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpDevice.java38 * 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/opt/net/voip/src/java/android/net/sip/
H A DSipManager.java39 * be video, audio, or other, and are initiated with {@link #open open()}. Audio-only SIP calls
66 * @see #open(SipProfile, PendingIntent, SipRegistrationListener)
72 * @see #open(SipProfile, PendingIntent, SipRegistrationListener)
79 * @see #open(SipProfile, PendingIntent, SipRegistrationListener)
191 * {@link #open(SipProfile, PendingIntent, SipRegistrationListener)}
198 public void open(SipProfile localProfile) throws SipException { method in class:SipManager
201 mSipService.open(localProfile, mContext.getOpPackageName());
203 throw new SipException("open()", e);
236 public void open(SipProfil method in class:SipManager
[all...]
/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternal.cpp72 aaudio_result_t AudioStreamInternal::open(const AudioStreamBuilder &builder) { function in class:AudioStreamInternal
78 result = AudioStream::open(builder);
106 ALOGE("AudioStreamInternal.open(): openStream() returned %d", result);
113 // Save results of the open.
142 ALOGE("AudioStream::open(): framesPerBurst out of range = %d", mFramesPerBurst);
146 ALOGE("AudioStream::open(): bufferCapacity out of range = %d", capacity);
156 ALOGE("AudioStreamInternal.open(): framesPerCallback too large = %d, capacity = %d",
162 ALOGE("AudioStreamInternal.open(): framesPerCallback negative");
/frameworks/av/media/mtp/
H A DMtpDevice.cpp73 MtpDevice* MtpDevice::open(const char* deviceName, int fd) { function in class:android::MtpDevice
661 int fd = ::open(destPath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
663 ALOGE("open failed for %s", destPath);
/frameworks/base/core/java/android/database/sqlite/
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...]
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 "
/frameworks/base/core/java/android/os/
H A DParcelFileDescriptor.java105 * 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/widget/
H A DSlidingDrawer.java145 * 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/packages/EasterEgg/src/com/android/egg/octo/
H A DOctopusDrawable.java185 private void drawPupil(Canvas canvas, float x, float y, float size, boolean open, argument
187 final float r = open ? size*.33f : size * .1f;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPageAdapter.java156 mCloseGuard.open("destroy");
180 public void open(ParcelFileDescriptor source, final Runnable callback) { method in class:PageAdapter
186 mPageContentRepository.open(source, new OpenDocumentCallback() {
/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/com/android/internal/widget/
H A DResolverDrawerLayout.java878 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/media/mca/filterfw/java/android/filterfw/core/
H A DFilter.java148 port.open();
179 public void open(FilterContext context) { method in class:Filter
452 open(context);
511 outputPort.open();
537 port.open();
622 port.open();
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPageContentRepository.java96 mCloseGuard.open("destroy");
99 public void open(ParcelFileDescriptor source, final OpenDocumentCallback callback) { method in class:PageContentRepository
105 mRenderer.open(source, callback);
479 public void open(ParcelFileDescriptor source, OpenDocumentCallback callback) { method in class:PageContentRepository.AsyncRenderer
755 Log.e(LOG_TAG, "Cannot open PDF document");
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerSession.java433 // then do heavy disk allocation outside the lock, but this open pipe
465 // holding open FDs into containers.
466 final FileDescriptor targetFd = Libcore.os.open(target.getAbsolutePath(),
513 final FileDescriptor targetFd = Libcore.os.open(target.getAbsolutePath(), O_RDONLY, 0);
532 throw new SecurityException("Files still open");
537 throw new SecurityException("Files still open");
634 // avoids holding open FDs into containers.
1112 public void open() throws IOException { method in class:PackageInstallerSession
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java41 * 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/libs/androidfw/
H A DAssetManager.cpp235 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.
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipService.java146 public synchronized void open(SipProfile localProfile, String opPackageName) { method in class:SipService
147 if (!canUseSip(opPackageName, "open")) {
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp463 result.append("couldn't open ");
510 result.append("couldn't open ");
804 ALOGE("Couldn't open fd for %s", url);
1806 status_t MediaPlayerService::AudioOutput::open( function in class:android::MediaPlayerService::AudioOutput
1815 ALOGV("open(%u, %d, 0x%x, 0x%x, %d, %d 0x%x)", sampleRate, channelCount, channelMask,
1860 ALOGE("open() error, can\'t derive mask for %d audio channels", channelCount);
1943 // based on mPlaybackRate at the time of open (instead of kMaxRequiredSpeed),
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp316 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

Completed in 640 milliseconds

1234