Searched defs:open (Results 26 - 50 of 83) sorted by relevance

1234

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DInputPort.java42 public void open() { method in class:InputPort
43 super.open();
45 mSourcePort.open();
H A DOutputPort.java44 public void open() { method in class:OutputPort
45 super.open();
47 mTargetPort.open();
H A DFilterPort.java72 public void open() { method in class:FilterPort
/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/compile/libbcc/lib/
H A DFileBase.cpp69 open();
78 bool FileBase::open() { function in class:FileBase
82 mFD = ::open(mName.c_str(), mOpenFlags, 0644);
171 // Error occurred when check the file integrity or re-open the file.
/frameworks/av/services/audioflinger/
H A DAudioStreamOut.cpp118 status_t AudioStreamOut::open( function in class:android::AudioStreamOut
137 ALOGV("AudioStreamOut::open(), HAL returned "
159 ALOGV("AudioStreamOut::open(), treat IEC61937 as PCM, status = %d", status);
/frameworks/av/services/oboeservice/
H A DAAudioServiceStreamShared.cpp49 aaudio_result_t AAudioServiceStreamShared::open(const aaudio::AAudioStreamRequest &request, function in class:AAudioServiceStreamShared
52 aaudio_result_t result = AAudioServiceStreamBase::open(request, configurationOutput);
54 ALOGE("AAudioServiceStreamBase open returned %d", result);
65 ALOGE("AAudioServiceStreamShared::open(), mServiceEndPoint = %p", mServiceEndpoint);
74 ALOGE("AAudioServiceStreamShared::open(), mAudioFormat = %d, need FLOAT", mAudioFormat);
82 ALOGE("AAudioServiceStreamShared::open(), mAudioFormat = %d, need %d",
91 ALOGE("AAudioServiceStreamShared::open(), mSamplesPerFrame = %d, need %d",
109 ALOGD("AAudioServiceStreamShared::open(), mCapacityInFrames = %d", mCapacityInFrames);
H A DAAudioServiceStreamMMAP.cpp57 // Apparently the above close is asynchronous. An attempt to open a new device
71 aaudio_result_t AAudioServiceStreamMMAP::open(const aaudio::AAudioStreamRequest &request, function in class:AAudioServiceStreamMMAP
82 aaudio_result_t result = AAudioServiceStreamBase::open(request, configurationOutput);
84 ALOGE("AAudioServiceStreamBase open returned %d", result);
181 ALOGD("AAudioServiceStreamMMAP::open() original burst = %d, minMicros = %d, final burst = %d\n",
/frameworks/base/core/java/android/util/
H A DJsonWriter.java203 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/libs/androidfw/
H A DZipFileRO.cpp65 /* 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/media/mca/filterpacks/java/android/filterpacks/ui/
H A DSurfaceRenderFilter.java130 public void open(FilterContext context) { method in class:SurfaceRenderFilter
H A DSurfaceTargetFilter.java138 public void open(FilterContext context) { method in class:SurfaceTargetFilter
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DSurfaceTextureSource.java169 public void open(FilterContext context) { method in class:SurfaceTextureSource
251 mNewFrameAvailable.open();
H A DSurfaceTextureTarget.java153 public synchronized void open(FilterContext context) { method in class:SurfaceTextureTarget
H A DCameraSource.java133 public void open(FilterContext context) { method in class:CameraSource
136 mCamera = Camera.open(mCameraId);
243 mCamera = Camera.open(mCameraId);
H A DMediaSource.java56 /** An open asset file descriptor to a local media source. Default is null */
196 public void open(FilterContext context) { method in class:MediaSource
/frameworks/base/services/core/java/com/android/server/storage/
H A DAppFuseBridge.java67 mNativeLoop, mountScope.mountId, mountScope.open().detachFd());
107 return ParcelFileDescriptor.open(
161 public abstract ParcelFileDescriptor open() throws NativeDaemonConnectorException; method in class:AppFuseBridge.MountScope
/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/av/media/libaaudio/examples/utils/
H A DAAudioSimplePlayer.h43 * Call this before calling open().
51 * Call this before calling open().
60 * Only call this after open() has been called.
70 * Only call this after open() has been called.
82 aaudio_result_t open(int channelCount, int sampSampleRate, aaudio_format_t format, function in class:AAudioSimplePlayer
H A DAAudioSimpleRecorder.h38 * Call this before calling open().
46 * Call this before calling open().
55 * Only call this after open() has been called.
65 * Only call this after open() has been called.
74 * Only call this after open() has been called.
86 aaudio_result_t open(int channelCount, int sampSampleRate, aaudio_format_t format, function in class:AAudioSimpleRecorder
/frameworks/av/media/libaaudio/src/legacy/
H A DAudioStreamRecord.cpp47 aaudio_result_t AudioStreamRecord::open(const AudioStreamBuilder& builder) function in class:AudioStreamRecord
51 result = AudioStream::open(builder);
99 ALOGD("AudioStreamRecord::open(), request notificationFrames = %u, frameCount = %u",
129 ALOGE("AudioStreamRecord::open(), initCheck() returned %d", status);
139 "AudioStreamRecord::open() sampleRate changed from %d to %d",
146 mFixedBlockWriter.open(callbackSizeBytes);
164 "AudioStreamRecord::open() flags changed from 0x%08X to 0x%08X",
167 "AudioStreamRecord::open() perfMode changed from %d to %d",
H A DAudioStreamTrack.cpp52 aaudio_result_t AudioStreamTrack::open(const AudioStreamBuilder& builder) function in class:AudioStreamTrack
56 result = AudioStream::open(builder);
116 ALOGD("AudioStreamTrack::open(), request notificationFrames = %d, frameCount = %u",
142 ALOGE("AudioStreamTrack::open(), initCheck() returned %d", status);
157 "AudioStreamTrack::open() sampleRate changed from %d to %d",
164 mFixedBlockReader.open(callbackSizeBytes);
188 "AudioStreamTrack::open() flags changed from 0x%08X to 0x%08X",
191 "AudioStreamTrack::open() perfMode changed from %d to %d",
/frameworks/base/cmds/hid/jni/
H A Dcom_android_commands_hid_Device.cpp85 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/hardware/usb/
H A DUsbDeviceConnection.java60 /* package */ boolean open(String name, ParcelFileDescriptor pfd, @NonNull Context context) { method in class:UsbDeviceConnection
65 mCloseGuard.open("close");
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
H A DMediaEncoderFilter.java282 public void open(FilterContext context) { method in class:MediaEncoderFilter

Completed in 1014 milliseconds

1234