Home
last modified time | relevance | path

Searched refs:ALOG_ASSERT (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp118 ALOG_ASSERT(mPolicyCriterionTypes.find(typeName) == mPolicyCriterionTypes.end(), in addCriterionType()
130 ALOG_ASSERT(mPolicyCriterionTypes.find(typeName) != mPolicyCriterionTypes.end(), in addCriterionTypeValuePair()
141 ALOG_ASSERT(root != NULL, "error in parsing file"); in loadCriterionType()
145 ALOG_ASSERT(node != NULL, "error in parsing file"); in loadCriterionType()
163 ALOG_ASSERT((first != NULL) && (strlen(first) != 0) && in loadCriterionType()
186 ALOG_ASSERT(root != NULL, "error in parsing file"); in loadInclusiveCriterionType()
196 ALOG_ASSERT(root != NULL, "error in parsing file"); in loadExclusiveCriterionType()
206 ALOG_ASSERT(root != NULL, "error in parsing file"); in parseChildren()
209 ALOG_ASSERT(node != NULL, "error in parsing file"); in parseChildren()
226 ALOG_ASSERT(it != elementsMap.end(), "Element %s not found", name.c_str()); in getElement()
[all …]
/frameworks/av/media/libnbaio/
DSourceAudioBufferProvider.cpp30 ALOG_ASSERT(source != 0); in SourceAudioBufferProvider()
36 ALOG_ASSERT(index == (ssize_t) NEGOTIATE && numCounterOffers > 0); in SourceAudioBufferProvider()
39 ALOG_ASSERT(index == 0); in SourceAudioBufferProvider()
50 ALOG_ASSERT(buffer != NULL && buffer->frameCount > 0 && mGetCount == 0); in getNextBuffer()
53 ALOG_ASSERT(mOffset + mRemaining <= mSize); in getNextBuffer()
78 ALOG_ASSERT((size_t) actual <= buffer->frameCount); in getNextBuffer()
96 ALOG_ASSERT((buffer != NULL) && in releaseBuffer()
DAudioBufferProviderSource.cpp30 ALOG_ASSERT(provider != NULL); in AudioBufferProviderSource()
31 ALOG_ASSERT(Format_isValid(format)); in AudioBufferProviderSource()
60 ALOG_ASSERT(mBuffer.raw != NULL); in read()
91 ALOG_ASSERT(accumulator <= total); in readVia()
104 ALOG_ASSERT(mBuffer.raw != NULL && mBuffer.frameCount <= count); in readVia()
128 ALOG_ASSERT((size_t) ret <= count); in readVia()
DNBAIO.cpp71 ALOG_ASSERT(frameSize > 0 && frameSize <= 8); in writeVia()
85 ALOG_ASSERT((size_t) ret <= count); in writeVia()
89 ALOG_ASSERT((size_t) ret <= maxRet); in writeVia()
107 ALOG_ASSERT(frameSize > 0 && frameSize <= 8); in readVia()
121 ALOG_ASSERT((size_t) ret <= count); in readVia()
125 ALOG_ASSERT((size_t) ret <= maxRet); in readVia()
DMonoPipeReader.cpp42 ALOG_ASSERT(ret <= mPipe->mMaxFrames); in availableToRead()
50 ALOG_ASSERT(actual <= count); in read()
DPipe.cpp42 ALOG_ASSERT(android_atomic_acquire_load(&mReaders) == 0); in ~Pipe()
55 ALOG_ASSERT(actual <= count); in write()
DMonoPipe.cpp62 ALOG_ASSERT(ret <= mMaxFrames); in availableToWrite()
74 ALOG_ASSERT(actual <= count); in write()
94 ALOG_ASSERT(avail <= mMaxFrames); in write()
DPipeReader.cpp44 ALOG_ASSERT(readers > 0); in ~PipeReader()
66 ALOG_ASSERT(actual <= count); in read()
DAudioStreamOutSink.cpp32 ALOG_ASSERT(stream != 0); in AudioStreamOutSink()
64 ALOG_ASSERT(Format_isValid(mFormat)); in write()
DAudioStreamInSource.cpp34 ALOG_ASSERT(stream != 0); in AudioStreamInSource()
/frameworks/av/services/audioflinger/
DFastCapture.cpp109 ALOG_ASSERT(channelCount >= 1 && channelCount <= FCC_8); in onStateChange()
125 ALOG_ASSERT(Format_isEqual(mFormat, mPipeSink->format())); in onStateChange()
167 ALOG_ASSERT(mInputSource != NULL); in onWork()
168 ALOG_ASSERT(mReadBuffer != NULL); in onWork()
188 ALOG_ASSERT(mPipeSink != NULL); in onWork()
189 ALOG_ASSERT(mReadBuffer != NULL); in onWork()
DStateQueue.cpp78 ALOG_ASSERT(!mInMutation, "begin() called when in a mutation"); in begin()
85 ALOG_ASSERT(mInMutation, "end() called when not in a mutation"); in end()
86 ALOG_ASSERT(mIsInitialized || didModify, "first end() must modify for initialization"); in end()
100 ALOG_ASSERT(!mInMutation, "push() called when in a mutation"); in push()
DFastMixer.cpp239 ALOG_ASSERT(mMixerBuffer != NULL); in onStateChange()
248 ALOG_ASSERT(fastTrack->mBufferProvider == NULL); in onStateChange()
251 ALOG_ASSERT(name >= 0); in onStateChange()
268 ALOG_ASSERT(bufferProvider != NULL && mFastTrackNames[i] == -1); in onStateChange()
272 ALOG_ASSERT(name >= 0); in onStateChange()
303 ALOG_ASSERT(bufferProvider != NULL); in onStateChange()
306 ALOG_ASSERT(name >= 0); in onStateChange()
346 ALOG_ASSERT(mMixerBuffer != NULL); in onWork()
378 ALOG_ASSERT(name >= 0); in onWork()
466 ALOG_ASSERT((size_t) framesWritten <= frameCount); in onWork()
DAutoPark.h45 ALOG_ASSERT(mFastThread != nullptr); in ~AutoPark()
48 ALOG_ASSERT(state->mCommand == FastThreadState::HOT_IDLE); in ~AutoPark()
DTracks.cpp217 ALOG_ASSERT(index == 0); in TrackBase()
221 ALOG_ASSERT(index == 0); in TrackBase()
411 ALOG_ASSERT(!(client == 0 && sharedBuffer != 0)); in Track()
440 ALOG_ASSERT(thread->mFastTrackAvailMask != 0); in Track()
442 ALOG_ASSERT(0 < i && i < (int)FastMixerState::sMaxFastTracks); in Track()
1118 ALOG_ASSERT(isFastTrack() && (mCblk != NULL)); in getVolumeLR()
1495 ALOG_ASSERT(mPeerProxy != 0, "PatchTrack::getNextBuffer() called without peer proxy"); in getNextBuffer()
1510 ALOG_ASSERT(mPeerProxy != 0, "PatchTrack::releaseBuffer() called without peer proxy"); in releaseBuffer()
1638 ALOG_ASSERT(thread->mFastTrackAvail); in RecordTrack()
1828 ALOG_ASSERT(mPeerProxy != 0, "PatchRecord::getNextBuffer() called without peer proxy"); in getNextBuffer()
[all …]
DFastThread.cpp102 ALOG_ASSERT(mSleepNs < 1000000000); in threadLoop()
171 ALOG_ASSERT(coldFutexAddr != NULL); in threadLoop()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
DPolicySubsystem.cpp50 ALOG_ASSERT(engineInstance != NULL, "NULL Plugin Interface"); in PolicySubsystem()
54 ALOG_ASSERT(mPluginInterface != NULL, "NULL Plugin Interface"); in PolicySubsystem()
90 ALOG_ASSERT(mPluginInterface != NULL, "NULL Plugin Interface"); in getPolicyPluginInterface()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DVolumeCurve.h115 ALOG_ASSERT(mOriginVolumeCurves.indexOfKey(deviceCategory) >= 0, "Invalid device category"); in getOriginVolumeCurve()
120 ALOG_ASSERT(indexOfKey(deviceCategory) >= 0, "Invalid device category for Volume Curve"); in setVolumeCurve()
198 ALOG_ASSERT(sourceCurves.size() == dstCurves.size(), "device category not aligned"); in switchVolumeCurve()
223 ALOG_ASSERT(indexOfKey(stream) >= 0, "Invalid stream type for Volume Curve"); in editCurvesFor()
228 ALOG_ASSERT(indexOfKey(stream) >= 0, "Invalid stream type for Volume Curve"); in getCurvesFor()
/frameworks/ex/framesequence/jni/
DFrameSequence_webp.cpp61 ALOG_ASSERT(ok, "Could not retrieve frame# 0"); in constructDependencyChain()
66 ALOG_ASSERT(ok, "Could not retrieve frame# %d", i); in constructDependencyChain()
294 ALOG_ASSERT(demux, "Cannot drawFrame, mDemux is NULL"); in drawFrame()
317 ALOG_ASSERT(ok, "Could not retrieve frame# %d", start - 1); in drawFrame()
328 ALOG_ASSERT(ok, "Could not retrieve frame# %d", i); in drawFrame()
367 ALOG_ASSERT(ok, "Could not retrieve frame# %d", lastFrame); in drawFrame()
/frameworks/av/media/libaudioprocessing/
DAudioResamplerDyn.cpp514 ALOG_ASSERT(0 <= inFrameCount && inFrameCount < (1U << 31)); in resample()
533 ALOG_ASSERT(inputIndex <= mBuffer.frameCount, "inputIndex%zu > frameCount%zu", in resample()
584 ALOG_ASSERT(phaseFraction < phaseWrapLimit); in resample()
607 ALOG_ASSERT(inputIndex == frameCount, "inputIndex(%zu) != frameCount(%zu)", in resample()
611 ALOG_ASSERT(mBuffer.frameCount == 0); in resample()
619 ALOG_ASSERT(inputIndex == 0, "Releasing: inputindex:%zu frameCount:%zu phaseFraction:%u", in resample()
621 ALOG_ASSERT(mBuffer.frameCount == 0); // there must be no frames in the buffer in resample()
DBufferProviders.cpp92 ALOG_ASSERT(res == OK || mBuffer.frameCount == 0); in getNextBuffer()
100 ALOG_ASSERT(mConsumed < mBuffer.frameCount); in getNextBuffer()
122 ALOG_ASSERT(mBuffer.frameCount == 0); in releaseBuffer()
450 ALOG_ASSERT(res == OK || mBuffer.frameCount == 0); in getNextBuffer()
/frameworks/ex/framesequence/jni/utils/
Dlog.h226 #ifndef ALOG_ASSERT
227 #define ALOG_ASSERT(cond, ...) LOG_FATAL_IF(!(cond), ## __VA_ARGS__) macro
/frameworks/native/libs/binder/
DIPCThreadState.cpp755 ALOG_ASSERT(acquireResult != NULL, "Unexpected brACQUIRE_RESULT"); in waitForResponse()
766 ALOG_ASSERT(err == NO_ERROR, "Not enough command data for brREPLY"); in waitForResponse()
974 ALOG_ASSERT(refs->refBase() == obj, in executeCommand()
990 ALOG_ASSERT(refs->refBase() == obj, in executeCommand()
1027 ALOG_ASSERT(success && refs->refBase() == obj, in executeCommand()
1040 ALOG_ASSERT(result == NO_ERROR, in executeCommand()
1178 ALOG_ASSERT(data != NULL, "Called with NULL data"); in freeBuffer()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp75 ALOG_ASSERT(mProfile != 0, in toAudioPortConfig()
95 ALOG_ASSERT(mProfile != 0, "toAudioPort() called on input with null profile %d", mIoHandle); in toAudioPort()
/frameworks/native/vulkan/libvulkan/
Dstubhal.cpp88 ALOG_ASSERT(idx >= 0 && static_cast<size_t>(idx) < g_instance_used.size(), in DestroyInstance()

123