Searched defs:open (Results 1 - 25 of 83) sorted by path

1234

/frameworks/av/media/img_utils/src/
H A DByteArrayOutput.cpp28 status_t ByteArrayOutput::open() { function in class:android::img_utils::ByteArrayOutput
H A DEndianUtils.cpp27 status_t EndianOutput::open() { function in class:android::img_utils::EndianOutput
29 return mOutput->open();
H A DFileInput.cpp34 status_t FileInput::open() { function in class:android::img_utils::FileInput
36 ALOGW("%s: Open called when file %s already open.", __FUNCTION__, mPath.string());
41 ALOGE("%s: Could not open file %s", __FUNCTION__, mPath.string());
50 ALOGE("%s: Could not read file %s, file not open.", __FUNCTION__, mPath.string());
H A DFileOutput.cpp28 ALOGW("%s: Destructor called with %s still open.", __FUNCTION__, mPath.string());
33 status_t FileOutput::open() { function in class:android::img_utils::FileOutput
35 ALOGW("%s: Open called when file %s already open.", __FUNCTION__, mPath.string());
40 ALOGE("%s: Could not open file %s", __FUNCTION__, mPath.string());
49 ALOGE("%s: Could not write file %s, file not open.", __FUNCTION__, mPath.string());
H A DInput.cpp24 status_t Input::open() { return OK; } function in class:android::img_utils::Input
H A DOutput.cpp24 status_t Output::open() { return OK; } function in class:android::img_utils::Output
/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/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/libaaudio/src/core/
H A DAudioStream.cpp39 aaudio_result_t AudioStream::open(const AudioStreamBuilder& builder) function in class:AudioStream
59 ALOGI("AudioStream::open() rate = %d, channels = %d, format = %d, sharing = %d, dir = %s",
62 ALOGI("AudioStream::open() device = %d, perfMode = %d, callbackFrames = %d",
68 ALOGE("AudioStream::open(): samplesPerFrame out of range = %d", mSamplesPerFrame);
78 ALOGE("AudioStream::open(): audioFormat not valid = %d", mFormat);
84 ALOGE("AudioStream::open(): mSampleRate out of range = %d", mSampleRate);
94 ALOGE("AudioStream::open(): illegal performanceMode %d", mPerformanceMode);
/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/av/media/libaaudio/src/utility/
H A DFixedBlockAdapter.cpp25 int32_t FixedBlockAdapter::open(int32_t bytesPerFixedBlock) function in class:FixedBlockAdapter
H A DFixedBlockReader.cpp30 int32_t FixedBlockReader::open(int32_t bytesPerFixedBlock) { function in class:FixedBlockReader
31 int32_t result = FixedBlockAdapter::open(bytesPerFixedBlock);
/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/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/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);
H A DSpdifStreamOut.cpp46 status_t SpdifStreamOut::open( function in class:android::SpdifStreamOut
70 ALOGE("ERROR SpdifStreamOut::open() unrecognized format 0x%08X\n",
81 // Print before open() because HAL may modify customConfig.
82 ALOGI("SpdifStreamOut::open() AudioFlinger requested"
87 ALOGI("SpdifStreamOut::open() HAL configured for"
93 status_t status = AudioStreamOut::open(
99 ALOGI("SpdifStreamOut::open() status = %d", status);
/frameworks/av/services/oboeservice/
H A DAAudioServiceEndpoint.cpp48 aaudio_result_t AAudioServiceEndpoint::open(int32_t deviceId) { function in class:AAudioServiceEndpoint
59 return getStreamInternal()->open(builder);
H A DAAudioServiceEndpointCapture.cpp45 aaudio_result_t AAudioServiceEndpointCapture::open(int32_t deviceId) { function in class:AAudioServiceEndpointCapture
46 aaudio_result_t result = AAudioServiceEndpoint::open(deviceId);
H A DAAudioServiceEndpointPlay.cpp49 aaudio_result_t AAudioServiceEndpointPlay::open(int32_t deviceId) { function in class:AAudioServiceEndpointPlay
50 aaudio_result_t result = AAudioServiceEndpoint::open(deviceId);
H A DAAudioServiceStreamBase.cpp47 aaudio_result_t AAudioServiceStreamBase::open(const aaudio::AAudioStreamRequest &request, function in class:AAudioServiceStreamBase
147 ALOGE("writeUpMessageQueue(): mUpMessageQueue null! - stream not open");
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",
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 DSharedMemoryProxy.cpp40 aaudio_result_t SharedMemoryProxy::open(int originalFD, int32_t capacityInBytes) { function in class:SharedMemoryProxy
46 ALOGE("SharedMemoryProxy::open() ashmem_create_region() failed %d", errno);
51 ALOGE("SharedMemoryProxy::open() ashmem_set_prot_region() failed %d", errno);
63 ALOGE("SharedMemoryProxy::open() original mmap(%d) failed %d (%s)",
74 ALOGE("SharedMemoryProxy::open() proxy mmap(%d) failed %d", mProxyFileDescriptor, errno);

Completed in 2355 milliseconds

1234