Searched refs:open (Results 1 - 25 of 170) sorted by relevance

1234567

/frameworks/base/core/java/android/speech/tts/
H A DBlockingMediaPlayer.java95 mDone.open();
106 mDone.open();
114 mDone.open();
122 mDone.open();
129 mDone.open();
/frameworks/compile/libbcc/tools/
H A Dgen-sha1-stamp.py13 f = open(path, 'rb')
32 f = open(sys.argv[1], 'wb')
/frameworks/base/opengl/libs/GLES2_dbg/
H A Dgenerate_debug_in.py61 lines = open("gl2_api_annotated.in").readlines()
64 output = open("../debug.in", "w")
65 lines = open("../trace.in").readlines()
H A Dgenerate_debugger_message_proto.py41 output = open("debugger_message.proto",'w')
74 lines = open("gl2_api_annotated.in").readlines()
78 #lines = open("gl2ext_api.in").readlines()
82 lines = open("../EGL/egl_entries.in").readlines()
/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.
/frameworks/base/services/surfaceflinger/
H A DBarrier.h31 void open() { function in class:android::Barrier
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DFileHandle.h47 int open(char const *filename, OpenMode::ModeType mode);
H A DSha1Helper.cpp2 * copyright 2010, the android open source project
55 if (file.open(filename, OpenMode::Read) < 0) {
87 if (file.open(filename, OpenMode::Read) < 0) {
H A DFileHandle.cpp32 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/nfc/
H A DINfcAdapterExtras.aidl26 Bundle open(in String pkg, IBinder b);
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcExecutionEnvironment.java121 * <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/voip/java/android/net/sip/
H A DISipService.aidl28 void open(in SipProfile localProfile);
/frameworks/base/services/jni/
H A Dcom_android_server_UsbDeviceManager.cpp67 int fd = open(DRIVER_NAME, O_RDWR);
69 LOGE("could not open %s", DRIVER_NAME);
89 int fd = open(DRIVER_NAME, O_RDWR);
91 LOGE("could not open %s", DRIVER_NAME);
104 int fd = open(DRIVER_NAME, O_RDWR);
106 LOGE("could not open %s", DRIVER_NAME);
/frameworks/base/services/surfaceflinger/DisplayHardware/
H A DDisplayHardwareBase.cpp74 fd = open(kSleepFileName, O_RDONLY, 0);
89 fd = open(kWakeFileName, O_RDONLY, 0);
106 mBarrier.open();
/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java102 mLock.open();
/frameworks/base/include/utils/
H A DTokenizer.h42 static status_t open(const String8& filename, Tokenizer** outTokenizer);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCameraTest.java88 mCamera = Camera.open();
89 startDone.open();
127 mPreviewDone.open();
164 mSnapshotDone.open();
/frameworks/base/opengl/tests/angeles/
H A Dgpustate.c13 fd = open(fn, O_RDWR | O_SYNC);
15 perror("cannot open %s for mapping");
/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/core/jni/
H A Dandroid_server_Watchdog.cpp35 int stackFd = open(buf, O_RDONLY);
51 LOGE("Unable to open stack of tid %d : %d (%s)", tid, errno, strerror(errno));
67 int outFd = open(path, O_WRONLY | O_APPEND | O_CREAT,
70 LOGE("Unable to open stack dump file: %d (%s)", errno, strerror(errno));
/frameworks/base/libs/utils/
H A DSystemClock.cpp70 fd = open("/dev/alarm", O_RDWR);
72 LOGW("Unable to open alarm driver: %s\n", strerror(errno));
113 int fd = open("/dev/alarm", O_RDONLY);
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.c79 int fileDesc = open(strKeyFilename, O_RDONLY);
88 fileDesc = open(strKeyFilename, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR);
130 int fileDesc = open("/dev/urandom", O_RDONLY);
/frameworks/compile/slang/tests/
H A Dtest.py47 f = open(filename, 'r')
63 stdout_file = open('stdout.txt', 'w+')
64 stderr_file = open('stderr.txt', 'w+')
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/
H A DBasicNfcEeTest.java57 mEe.open();
76 mEe.open();
/frameworks/base/cmds/backup/
H A Dbackup.cpp60 fd = open(filename, O_RDONLY);

Completed in 1232 milliseconds

1234567