Searched refs:ALOG_ASSERT (Results 1 - 25 of 66) sorted by relevance

123

/frameworks/av/media/libnbaio/
H A DSourceAudioBufferProvider.cpp30 ALOG_ASSERT(source != 0);
36 ALOG_ASSERT(index == (ssize_t) NEGOTIATE && numCounterOffers > 0);
39 ALOG_ASSERT(index == 0);
50 ALOG_ASSERT(buffer != NULL && buffer->frameCount > 0 && mGetCount == 0);
53 ALOG_ASSERT(mOffset + mRemaining <= mSize);
78 ALOG_ASSERT((size_t) actual <= buffer->frameCount);
96 ALOG_ASSERT((buffer != NULL) &&
H A DAudioBufferProviderSource.cpp30 ALOG_ASSERT(provider != NULL);
31 ALOG_ASSERT(Format_isValid(format));
60 ALOG_ASSERT(mBuffer.raw != NULL);
91 ALOG_ASSERT(accumulator <= total);
104 ALOG_ASSERT(mBuffer.raw != NULL && mBuffer.frameCount <= count);
128 ALOG_ASSERT((size_t) ret <= count);
H A DMonoPipeReader.cpp42 ALOG_ASSERT(ret <= mPipe->mMaxFrames);
50 ALOG_ASSERT(actual <= count);
H A DPipe.cpp42 ALOG_ASSERT(android_atomic_acquire_load(&mReaders) == 0);
55 ALOG_ASSERT(actual <= count);
H A DNBAIO.cpp71 ALOG_ASSERT(frameSize > 0 && frameSize <= 8);
85 ALOG_ASSERT((size_t) ret <= count);
89 ALOG_ASSERT((size_t) ret <= maxRet);
107 ALOG_ASSERT(frameSize > 0 && frameSize <= 8);
121 ALOG_ASSERT((size_t) ret <= count);
125 ALOG_ASSERT((size_t) ret <= maxRet);
H A DPipeReader.cpp44 ALOG_ASSERT(readers > 0);
66 ALOG_ASSERT(actual <= count);
H A DAudioStreamOutSink.cpp31 ALOG_ASSERT(stream != 0);
63 ALOG_ASSERT(Format_isValid(mFormat));
H A DMonoPipe.cpp62 ALOG_ASSERT(ret <= mMaxFrames);
74 ALOG_ASSERT(actual <= count);
94 ALOG_ASSERT(avail <= mMaxFrames);
H A DAudioStreamInSource.cpp34 ALOG_ASSERT(stream != 0);
/frameworks/av/services/audioflinger/
H A DAutoPark.h45 ALOG_ASSERT(mFastThread != nullptr);
48 ALOG_ASSERT(state->mCommand == FastThreadState::HOT_IDLE);
H A DStateQueue.cpp78 ALOG_ASSERT(!mInMutation, "begin() called when in a mutation");
85 ALOG_ASSERT(mInMutation, "end() called when not in a mutation");
86 ALOG_ASSERT(mIsInitialized || didModify, "first end() must modify for initialization");
100 ALOG_ASSERT(!mInMutation, "push() called when in a mutation");
H A DFastCapture.cpp109 ALOG_ASSERT(channelCount >= 1 && channelCount <= FCC_8);
125 ALOG_ASSERT(Format_isEqual(mFormat, mPipeSink->format()));
167 ALOG_ASSERT(mInputSource != NULL);
168 ALOG_ASSERT(mReadBuffer != NULL);
188 ALOG_ASSERT(mPipeSink != NULL);
189 ALOG_ASSERT(mReadBuffer != NULL);
H A DFastMixer.cpp233 ALOG_ASSERT(mMixerBuffer != NULL);
242 ALOG_ASSERT(fastTrack->mBufferProvider == NULL);
245 ALOG_ASSERT(name >= 0);
262 ALOG_ASSERT(bufferProvider != NULL && mFastTrackNames[i] == -1);
266 ALOG_ASSERT(name >= 0);
297 ALOG_ASSERT(bufferProvider != NULL);
300 ALOG_ASSERT(name >= 0);
339 ALOG_ASSERT(mMixerBuffer != NULL);
371 ALOG_ASSERT(name >= 0);
459 ALOG_ASSERT((size_
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
H A DPolicySubsystem.cpp50 ALOG_ASSERT(engineInstance != NULL, "NULL Plugin Interface");
54 ALOG_ASSERT(mPluginInterface != NULL, "NULL Plugin Interface");
90 ALOG_ASSERT(mPluginInterface != NULL, "NULL Plugin Interface");
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp118 ALOG_ASSERT(mPolicyCriterionTypes.find(typeName) == mPolicyCriterionTypes.end(),
130 ALOG_ASSERT(mPolicyCriterionTypes.find(typeName) != mPolicyCriterionTypes.end(),
141 ALOG_ASSERT(root != NULL, "error in parsing file");
145 ALOG_ASSERT(node != NULL, "error in parsing file");
163 ALOG_ASSERT((first != NULL) && (strlen(first) != 0) &&
186 ALOG_ASSERT(root != NULL, "error in parsing file");
196 ALOG_ASSERT(root != NULL, "error in parsing file");
206 ALOG_ASSERT(root != NULL, "error in parsing file");
209 ALOG_ASSERT(node != NULL, "error in parsing file");
226 ALOG_ASSERT(i
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DVolumeCurve.h115 ALOG_ASSERT(mOriginVolumeCurves.indexOfKey(deviceCategory) >= 0, "Invalid device category");
120 ALOG_ASSERT(indexOfKey(deviceCategory) >= 0, "Invalid device category for Volume Curve");
198 ALOG_ASSERT(sourceCurves.size() == dstCurves.size(), "device category not aligned");
223 ALOG_ASSERT(indexOfKey(stream) >= 0, "Invalid stream type for Volume Curve");
228 ALOG_ASSERT(indexOfKey(stream) >= 0, "Invalid stream type for Volume Curve");
/frameworks/ex/framesequence/jni/utils/
H A Dlog.h226 #ifndef ALOG_ASSERT
227 #define ALOG_ASSERT(cond, ...) LOG_FATAL_IF(!(cond), ## __VA_ARGS__) macro
228 //#define ALOG_ASSERT(cond) LOG_FATAL_IF(!(cond), "Assertion failed: " #cond)
/frameworks/ex/framesequence/jni/
H A DFrameSequence_webp.cpp61 ALOG_ASSERT(ok, "Could not retrieve frame# 0");
66 ALOG_ASSERT(ok, "Could not retrieve frame# %d", i);
294 ALOG_ASSERT(demux, "Cannot drawFrame, mDemux is NULL");
317 ALOG_ASSERT(ok, "Could not retrieve frame# %d", start - 1);
328 ALOG_ASSERT(ok, "Could not retrieve frame# %d", i);
367 ALOG_ASSERT(ok, "Could not retrieve frame# %d", lastFrame);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DIOProfile.cpp44 ALOG_ASSERT(isPlaybackThread != isRecordThread);
H A DSessionRoute.cpp58 ALOG_ASSERT(route->mRefCount > 0);
/frameworks/base/services/core/jni/
H A Donload.cpp64 ALOG_ASSERT(env, "Could not retrieve the env!");
/frameworks/native/vulkan/libvulkan/
H A Dstubhal.cpp88 ALOG_ASSERT(idx >= 0 && static_cast<size_t>(idx) < g_instance_used.size(),
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerDyn.cpp514 ALOG_ASSERT(0 <= inFrameCount && inFrameCount < (1U << 31));
533 ALOG_ASSERT(inputIndex <= mBuffer.frameCount, "inputIndex%zu > frameCount%zu",
584 ALOG_ASSERT(phaseFraction < phaseWrapLimit); function
607 ALOG_ASSERT(inputIndex == frameCount, "inputIndex(%zu) != frameCount(%zu)",
611 ALOG_ASSERT(mBuffer.frameCount == 0);
619 ALOG_ASSERT(inputIndex == 0, "Releasing: inputindex:%zu frameCount:%zu phaseFraction:%u",
621 ALOG_ASSERT(mBuffer.frameCount == 0); // there must be no frames in the buffer
/frameworks/av/media/libmediaplayerservice/
H A DTestPlayerStub.cpp181 ALOG_ASSERT(mDeletePlayer != NULL, "mDeletePlayer is null");
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.cpp132 ALOG_ASSERT(ix < static_cast<int>(points_.size()), "Access out of bounds");

Completed in 320 milliseconds

123