/frameworks/av/media/libnbaio/ |
D | SourceAudioBufferProvider.cpp | 30 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()
|
D | AudioBufferProviderSource.cpp | 30 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()
|
D | NBAIO.cpp | 71 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()
|
D | MonoPipeReader.cpp | 42 ALOG_ASSERT(ret <= mPipe->mMaxFrames); in availableToRead() 50 ALOG_ASSERT(actual <= count); in read()
|
D | Pipe.cpp | 42 ALOG_ASSERT(android_atomic_acquire_load(&mReaders) == 0); in ~Pipe() 55 ALOG_ASSERT(actual <= count); in write()
|
D | PipeReader.cpp | 44 ALOG_ASSERT(readers > 0); in ~PipeReader() 66 ALOG_ASSERT(actual <= count); in read()
|
D | MonoPipe.cpp | 62 ALOG_ASSERT(ret <= mMaxFrames); in availableToWrite() 74 ALOG_ASSERT(actual <= count); in write() 94 ALOG_ASSERT(avail <= mMaxFrames); in write()
|
D | AudioStreamOutSink.cpp | 32 ALOG_ASSERT(stream != 0); in AudioStreamOutSink() 64 ALOG_ASSERT(Format_isValid(mFormat)); in write()
|
D | AudioStreamInSource.cpp | 34 ALOG_ASSERT(stream != 0); in AudioStreamInSource()
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/ |
D | ProductStrategy.cpp | 37 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()
|
D | PolicySubsystem.cpp | 48 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/ |
D | StateQueue.cpp | 78 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()
|
D | FastCapture.cpp | 110 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()
|
D | AutoPark.h | 45 ALOG_ASSERT(mFastThread != nullptr); in ~AutoPark() 48 ALOG_ASSERT(state->mCommand == FastThreadState::HOT_IDLE); in ~AutoPark()
|
D | FastThread.cpp | 101 ALOG_ASSERT(mSleepNs < 1000000000); in threadLoop() 170 ALOG_ASSERT(coldFutexAddr != NULL); in threadLoop()
|
/frameworks/ex/framesequence/jni/ |
D | FrameSequence_webp.cpp | 61 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/ |
D | ParameterManagerWrapper.cpp | 122 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/ |
D | DevicesFactoryHalHidl.cpp | 66 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/ |
D | AudioResamplerDyn.cpp | 640 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/ |
D | log.h | 226 #ifndef ALOG_ASSERT 227 #define ALOG_ASSERT(cond, ...) LOG_FATAL_IF(!(cond), ## __VA_ARGS__) macro
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InjectionState.cpp | 38 ALOG_ASSERT(refCount > 0); in release()
|
/frameworks/base/tests/net/jni/ |
D | test_onload.cpp | 41 ALOG_ASSERT(env, "Could not retrieve the env!"); in JNI_OnLoad()
|
/frameworks/av/services/audiopolicy/engine/common/include/ |
D | VolumeCurve.h | 140 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/ |
D | com_android_internal_car_CarServiceHelperService.cpp | 67 ALOG_ASSERT(env, "Could not retrieve the env!"); in JNI_OnLoad()
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.cpp | 197 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()
|