Home
last modified time | relevance | path

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

123

/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()
DPipeReader.cpp44 ALOG_ASSERT(readers > 0); in ~PipeReader()
66 ALOG_ASSERT(actual <= count); in read()
DMonoPipe.cpp62 ALOG_ASSERT(ret <= mMaxFrames); in availableToWrite()
74 ALOG_ASSERT(actual <= count); in write()
94 ALOG_ASSERT(avail <= mMaxFrames); in write()
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/audiopolicy/engineconfigurable/parameter-framework/plugin/
DProductStrategy.cpp37 ALOG_ASSERT(instanceConfigurableElement != nullptr, "Invalid Configurable Element"); in ProductStrategy()
40 ALOG_ASSERT(mPolicySubsystem != nullptr, "Invalid Policy Subsystem"); in ProductStrategy()
43 ALOG_ASSERT(mPolicyPluginInterface != nullptr, "Invalid Policy Plugin Interface"); in ProductStrategy()
47 ALOG_ASSERT(mId != PRODUCT_STRATEGY_INVALID, "Product Strategy %s not found", name.c_str()); in ProductStrategy()
DPolicySubsystem.cpp48 ALOG_ASSERT(engineInstance != NULL, "NULL Plugin Interface"); in PolicySubsystem()
52 ALOG_ASSERT(mPluginInterface != NULL, "NULL Plugin Interface"); in PolicySubsystem()
82 ALOG_ASSERT(mPluginInterface != NULL, "NULL Plugin Interface"); in getPolicyPluginInterface()
/frameworks/av/services/audioflinger/
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()
DFastCapture.cpp110 ALOG_ASSERT(channelCount >= 1 && channelCount <= FCC_8); in onStateChange()
126 ALOG_ASSERT(Format_isEqual(mFormat, mPipeSink->format())); in onStateChange()
182 ALOG_ASSERT(mInputSource != NULL); in onWork()
183 ALOG_ASSERT(mReadBuffer != NULL); in onWork()
204 ALOG_ASSERT(mPipeSink != NULL); in onWork()
205 ALOG_ASSERT(mReadBuffer != NULL); in onWork()
DAutoPark.h45 ALOG_ASSERT(mFastThread != nullptr); in ~AutoPark()
48 ALOG_ASSERT(state->mCommand == FastThreadState::HOT_IDLE); in ~AutoPark()
DFastThread.cpp101 ALOG_ASSERT(mSleepNs < 1000000000); in threadLoop()
170 ALOG_ASSERT(coldFutexAddr != NULL); in threadLoop()
/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/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp122 ALOG_ASSERT(not isStarted(), "Cannot add a criterion if PFW is already started"); in addCriterion()
131 ALOG_ASSERT(mPolicyCriteria.find(name) == mPolicyCriteria.end(), in addCriterion()
175 ALOG_ASSERT(it != elementsMap.end(), "Element %s not found", name.c_str()); in getElement()
184 ALOG_ASSERT(it != elementsMap.end(), "Element %s not found", name.c_str()); in getElement()
/frameworks/av/media/libaudiohal/impl/
DDevicesFactoryHalHidl.cpp66 ALOG_ASSERT(devicesFactory != nullptr, "Provided default IDevicesFactory service is NULL"); in DevicesFactoryHalHidl()
72 ALOG_ASSERT(sm != nullptr, "Hardware service manager is not running"); in onFirstRef()
164 ALOG_ASSERT(callback != nullptr); in setCallbackOnce()
/frameworks/av/media/libaudioprocessing/
DAudioResamplerDyn.cpp640 ALOG_ASSERT(0 <= inFrameCount && inFrameCount < (1U << 31)); in resample()
659 ALOG_ASSERT(inputIndex <= mBuffer.frameCount, "inputIndex%zu > frameCount%zu", in resample()
710 ALOG_ASSERT(phaseFraction < phaseWrapLimit); in resample()
733 ALOG_ASSERT(inputIndex == frameCount, "inputIndex(%zu) != frameCount(%zu)", in resample()
737 ALOG_ASSERT(mBuffer.frameCount == 0); in resample()
745 ALOG_ASSERT(inputIndex == 0, "Releasing: inputindex:%zu frameCount:%zu phaseFraction:%u", in resample()
747 ALOG_ASSERT(mBuffer.frameCount == 0); // there must be no frames in the buffer in resample()
/frameworks/ex/framesequence/jni/utils/
Dlog.h226 #ifndef ALOG_ASSERT
227 #define ALOG_ASSERT(cond, ...) LOG_FATAL_IF(!(cond), ## __VA_ARGS__) macro
/frameworks/native/services/inputflinger/dispatcher/
DInjectionState.cpp38 ALOG_ASSERT(refCount > 0); in release()
/frameworks/base/tests/net/jni/
Dtest_onload.cpp41 ALOG_ASSERT(env, "Could not retrieve the env!"); in JNI_OnLoad()
/frameworks/av/services/audiopolicy/engine/common/include/
DVolumeCurve.h140 ALOG_ASSERT(mOriginVolumeCurves.indexOfKey(deviceCategory) >= 0, "Invalid device category"); in getOriginVolumeCurve()
145 ALOG_ASSERT(indexOfKey(deviceCategory) >= 0, "Invalid device category for Volume Curve"); in setVolumeCurve()
/frameworks/opt/car/services/src/jni/
Dcom_android_internal_car_CarServiceHelperService.cpp67 ALOG_ASSERT(env, "Could not retrieve the env!"); in JNI_OnLoad()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp197 ALOG_ASSERT(not criterionType.name.empty(), "Invalid criterion type for %s", in loadAudioPolicyEngineConfig()
254 ALOG_ASSERT(defaultDevice != nullptr, "no valid default device defined"); in getDevicesForProductStrategy()
271 ALOG_ASSERT(defaultDevice != nullptr, "Default Output Device NOT available"); in getDevicesForProductStrategy()

123