Home
last modified time | relevance | path

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

1234

/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.cpp70 ALOG_ASSERT(frameSize > 0 && frameSize <= 8); in writeVia()
84 ALOG_ASSERT((size_t) ret <= count); in writeVia()
88 ALOG_ASSERT((size_t) ret <= maxRet); in writeVia()
106 ALOG_ASSERT(frameSize > 0 && frameSize <= 8); in readVia()
120 ALOG_ASSERT((size_t) ret <= count); in readVia()
124 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()
70 ALOG_ASSERT(Format_isValid(mFormat)); in write()
/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/base/libs/hwui/jni/
DGraphics.cpp100 ALOG_ASSERT(env); in AutoJavaFloatArray()
120 ALOG_ASSERT(env); in AutoJavaIntArray()
139 ALOG_ASSERT(env); in AutoJavaShortArray()
159 ALOG_ASSERT(env); in AutoJavaByteArray()
253 ALOG_ASSERT(env->IsInstanceOf(obj, gRect_class)); in get_jrect()
263 ALOG_ASSERT(env->IsInstanceOf(obj, gRect_class)); in set_jrect()
273 ALOG_ASSERT(env->IsInstanceOf(obj, gRect_class)); in jrect_to_irect()
284 ALOG_ASSERT(env->IsInstanceOf(obj, gRect_class)); in irect_to_jrect()
294 ALOG_ASSERT(env->IsInstanceOf(obj, gRectF_class)); in jrectf_to_rect()
305 ALOG_ASSERT(env->IsInstanceOf(obj, gRect_class)); in jrect_to_rect()
[all …]
/frameworks/av/services/audioflinger/fastpath/
DStateQueue.cpp61 ALOG_ASSERT(!mInMutation, "begin() called when in a mutation"); in begin()
68 ALOG_ASSERT(mInMutation, "end() called when not in a mutation"); in end()
69 ALOG_ASSERT(mIsInitialized || didModify, "first end() must modify for initialization"); in end()
83 ALOG_ASSERT(!mInMutation, "push() called when in a mutation"); in push()
DFastCapture.cpp102 ALOG_ASSERT(channelCount >= 1 && channelCount <= FCC_LIMIT); in onStateChange()
118 ALOG_ASSERT(Format_isEqual(mFormat, mPipeSink->format())); in onStateChange()
174 ALOG_ASSERT(mInputSource != nullptr); in onWork()
175 ALOG_ASSERT(mReadBuffer != nullptr); in onWork()
196 ALOG_ASSERT(mPipeSink != nullptr); in onWork()
197 ALOG_ASSERT(mReadBuffer != nullptr); in onWork()
DAutoPark.h46 ALOG_ASSERT(mFastThread != nullptr); in ~AutoPark()
49 ALOG_ASSERT(state->mCommand == FastThreadState::HOT_IDLE); in ~AutoPark()
DFastThread.cpp57 ALOG_ASSERT(mSleepNs < 1000000000); in threadLoop()
130 ALOG_ASSERT(coldFutexAddr != nullptr); in threadLoop()
/frameworks/base/libs/hwui/
DWebViewFunctorManager.cpp35 ALOG_ASSERT(!sCurrentFunctor); in ScopedCurrentFunctor()
36 ALOG_ASSERT(functor); in ScopedCurrentFunctor()
40 ALOG_ASSERT(sCurrentFunctor); in ~ScopedCurrentFunctor()
45 ALOG_ASSERT(sCurrentFunctor); in getSurfaceControl()
49 ALOG_ASSERT(sCurrentFunctor); in mergeTransaction()
/frameworks/av/media/libaudioprocessing/
DAudioResamplerDyn.cpp651 ALOG_ASSERT(0 <= inFrameCount && inFrameCount < (1U << 31)); in resample()
670 ALOG_ASSERT(inputIndex <= mBuffer.frameCount, "inputIndex%zu > frameCount%zu", in resample()
721 ALOG_ASSERT(phaseFraction < phaseWrapLimit); in resample()
744 ALOG_ASSERT(inputIndex == frameCount, "inputIndex(%zu) != frameCount(%zu)", in resample()
748 ALOG_ASSERT(mBuffer.frameCount == 0); in resample()
756 ALOG_ASSERT(inputIndex == 0, "Releasing: inputindex:%zu frameCount:%zu phaseFraction:%u", in resample()
758 ALOG_ASSERT(mBuffer.frameCount == 0); // there must be no frames in the buffer in resample()
/frameworks/av/media/libaudiohal/impl/
DDevicesFactoryHalHidl.cpp65 ALOG_ASSERT(devicesFactory != nullptr, "Provided default IDevicesFactory service is NULL"); in DevicesFactoryHalHidl()
71 ALOG_ASSERT(sm != nullptr, "Hardware service manager is not running"); in onFirstRef()
167 ALOG_ASSERT(callback != nullptr); in setCallbackOnce()
/frameworks/opt/car/services/builtInServices/jni/
Donload.cpp34 ALOG_ASSERT(env, "Could not retrieve the env!"); in JNI_OnLoad()
/frameworks/base/apex/jobscheduler/service/jni/
Donload.cpp37 ALOG_ASSERT(env, "Could not retrieve the env!"); in JNI_OnLoad()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp124 ALOG_ASSERT(not isStarted(), "Cannot add a criterion if PFW is already started"); in addCriterion()
146 ALOG_ASSERT(mPolicyCriteria.find(name) == mPolicyCriteria.end(), in addCriterion()
190 ALOG_ASSERT(it != elementsMap.end(), "Element %s not found", name.c_str()); in getElement()
199 ALOG_ASSERT(it != elementsMap.end(), "Element %s not found", name.c_str()); in getElement()
/frameworks/av/services/audiopolicy/engine/common/src/
DVolumeCurve.cpp28 ALOG_ASSERT(!mCurvePoints.isEmpty(), "Invalid volume curve"); in volIndexToDb()
55 ALOG_ASSERT(volIndexMin != volIndexMax, "Invalid volume index range & value: 0"); in volIndexToDb()
/frameworks/base/services/tests/mockingservicestests/jni/
Donload.cpp43 ALOG_ASSERT(env, "Could not retrieve the env!"); in JNI_OnLoad()
/frameworks/base/services/tests/servicestests/jni/
Donload.cpp44 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()

1234