Searched refs:open (Results 26 - 50 of 300) sorted by relevance

1234567891011>>

/frameworks/av/services/audioflinger/
H A DAudioHwDevice.cpp46 // Try to open the HAL first using the current format.
53 status_t status = outputStream->open(handle, devices, config, address);
78 status = outputStream->open(handle, devices, &originalConfig, address);
80 ALOGE("ERROR - openOutputStream(), SPDIF open returned %d",
H A DSpdifStreamOut.cpp47 status_t SpdifStreamOut::open( function in class:android::SpdifStreamOut
71 ALOGE("ERROR SpdifStreamOut::open() unrecognized format 0x%08X\n",
82 // Print before open() because HAL may modify customConfig.
83 ALOGI("SpdifStreamOut::open() AudioFlinger requested"
88 ALOGI("SpdifStreamOut::open() HAL configured for"
94 status_t status = AudioStreamOut::open(
100 ALOGI("SpdifStreamOut::open() status = %d", status);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DRequestHandlerThread.java48 mStarted.open();
91 mIdle.open();
/frameworks/base/core/java/android/nfc/
H A DINfcAdapterExtras.aidl26 Bundle open(in String pkg, IBinder b);
/frameworks/base/services/core/jni/
H A Dcom_android_server_PersistentDataBlockService.cpp81 int fd = open(path, O_RDONLY);
91 int fd = open(path, O_WRONLY);
H A Dcom_android_server_UsbMidiDevice.cpp48 int fd = open(path, O_RDWR);
50 ALOGE("could not open %s", path);
83 // to support multiple subdevices we open the same file multiple times
85 int fd = open(path, O_RDWR);
87 ALOGE("open failed on %s for index %d", path, i);
/frameworks/compile/libbcc/include/bcc/Support/
H A DFileBase.h73 // The 2nd argument to the POSIX open().
82 // Open mName with flag mOpenFlags (using POSIX open().)
83 bool open();
95 return open();
103 // pOpenFlags is the 2nd argument to the POSIX open(). pFlags are the flags to
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraModule.h44 int open(const char* id, struct hw_device_t** device);
/frameworks/base/core/java/android/hardware/
H A DSerialManager.java66 * @param speed at which to open the serial port
74 port.open(pfd, speed);
77 throw new IOException("Could not open serial port " + name);
/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java102 mLock.open();
/frameworks/base/libs/hwui/thread/
H A DBarrier.h30 void open() { function in class:android::uirenderer::Barrier
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCameraTest.java94 mCamera = Camera.open(CAMERA_ID);
95 startDone.open();
133 mPreviewDone.open();
170 mSnapshotDone.open();
/frameworks/base/tools/aapt2/
H A Dpublic_attr_map.py27 with open(sys.argv[1], 'rt') as f:
/frameworks/native/opengl/libs/EGL/
H A DLoader.h60 void* open(egl_connection_t* cnx);
/frameworks/av/media/img_utils/src/
H A DEndianUtils.cpp27 status_t EndianOutput::open() { function in class:android::img_utils::EndianOutput
29 return mOutput->open();
/frameworks/base/core/jni/
H A Dandroid_server_Watchdog.cpp35 int stackFd = open(buf, O_RDONLY);
51 ALOGE("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 ALOGE("Unable to open stack dump file: %d (%s)", errno, strerror(errno));
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcExecutionEnvironment.java137 * <li>Only one process may open the secure element at a time. Additionally,
153 * <p>All other NFC functionality is disabled while the NFC-EE is open
159 * @throws EeAlreadyOpenException if the NFC-EE is already open
166 public void open() throws EeIOException { method in class:NfcExecutionEnvironment
168 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken);
182 * @throws IOException if the NFC-EE is already open, or some other error occurs
199 * @throws IOException if the NFC-EE is not open, or some other error occurs
207 throw new IOException("NFC Service was dead, need to re-open");
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DISipService.aidl28 void open(in SipProfile localProfile, String opPackageName);
/frameworks/av/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/base/cmds/idmap/
H A Dcreate.cpp18 UniquePtr<ZipFileRO> zip(ZipFileRO::open(zip_path));
35 int fd = TEMP_FAILURE_RETRY(open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644));
37 ALOGD("error: open %s: %s\n", path, strerror(errno));
143 int idmap_fd = TEMP_FAILURE_RETRY(open(idmap_path, O_RDONLY));
/frameworks/compile/libbcc/lib/Support/
H A DFileBase.cpp72 open();
81 bool FileBase::open() { function in class:FileBase
85 mFD = ::open(mName.c_str(), mOpenFlags, 0644);
174 // Error occurred when check the file integrity or re-open the file.
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp76 bool FileHandle::open(const sys::fs::Path& pPath, function in class:mcld::FileHandle
86 m_Handler = sys::fs::detail::open(pPath, oflag(pMode));
88 m_Handler = sys::fs::detail::open(pPath, oflag(pMode),
/frameworks/compile/slang/tests/
H A Dtest.py52 f = open(filename, 'r')
68 stdout_file = open('stdout.txt', 'w+')
69 stderr_file = open('stderr.txt', 'w+')
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingCameraManager.java47 * Exception thrown by {@link #openCamera} if the open fails asynchronously.
78 * Thrown when camera device enters error state during open, or if
119 * <p>Throws {@link BlockingOpenException} when the open fails asynchronously (due to
139 * If open fails immediately.
141 * If open fails after blocking for some amount of time.
217 mDeviceReady.open();
240 mDeviceReady.open();
266 mDeviceReady.open();
292 "Timed out after %d ms while trying to open camera device %s",
315 "Failed to open camer
[all...]
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/
H A DBasicNfcEeTest.java57 mEe.open();
76 mEe.open();

Completed in 813 milliseconds

1234567891011>>