Searched refs:CHECK (Results 1 - 25 of 166) sorted by relevance

1234567

/frameworks/wilhelm/tests/sandbox/
H A Dnativewindow.cpp31 #define CHECK assert macro
32 #define CHECK_EQ(a,b) CHECK((a)==(b))
60 CHECK(control != NULL);
61 CHECK(control->isValid());
69 CHECK(surface != NULL);
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp80 CHECK(clazz != NULL);
83 CHECK(integerConstructID != NULL);
90 CHECK(clazz != NULL);
93 CHECK(longConstructID != NULL);
100 CHECK(clazz != NULL);
103 CHECK(floatConstructID != NULL);
114 CHECK(clazz != NULL);
118 CHECK(byteBufWrapID != NULL);
178 CHECK(msg->findInt32(key, &val));
187 CHECK(ms
[all...]
/frameworks/av/media/libstagefright/
H A DMediaBuffer.cpp104 CHECK(prevCount > 0);
108 CHECK(mObserver != NULL);
119 CHECK(mGraphicBuffer == NULL);
124 CHECK(mGraphicBuffer == NULL);
140 CHECK((mGraphicBuffer != NULL) || (offset + length <= mSize));
160 CHECK(mObserver == NULL);
174 CHECK(observer == NULL || mObserver == NULL);
191 CHECK(mGraphicBuffer == NULL);
H A DMediaAdapter.cpp36 CHECK(mCurrentMediaBuffer == NULL);
70 CHECK(buffer != NULL);
92 CHECK(mCurrentMediaBuffer == NULL);
96 CHECK(mCurrentMediaBuffer != NULL);
H A DDRMExtractor.cpp77 CHECK(mDrmManagerClient);
83 CHECK(success);
89 CHECK(getFormat()->findData(kKeyAVCC, &type, &data, &size));
93 CHECK(size >= 7);
153 CHECK(pDecryptedDrmBuffer == &decryptedDrmBuffer);
156 CHECK(getFormat()->findCString(kKeyMIMEType, &mime));
165 CHECK(srcOffset + mNALLengthSize <= len);
183 CHECK(!"Should not be here.");
202 CHECK(dstOffset + 4 <= (*buffer)->size());
254 CHECK(getTrackMetaDat
[all...]
H A DMediaCodec.cpp173 CHECK(found);
270 CHECK(response->findSize("index", index));
291 CHECK(response->findSize("index", index));
292 CHECK(response->findSize("offset", offset));
293 CHECK(response->findSize("size", size));
294 CHECK(response->findInt64("timeUs", presentationTimeUs));
295 CHECK(response->findInt32("flags", (int32_t *)flags));
333 CHECK(response->findMessage("format", format));
347 CHECK(response->findString("name", name));
468 CHECK(buffe
[all...]
H A DAudioPlayer.cpp68 CHECK(mSource == NULL);
73 CHECK(!mStarted);
74 CHECK(mSource != NULL);
90 CHECK(mFirstBuffer == NULL);
102 CHECK(mFirstBuffer == NULL);
112 CHECK(success);
113 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
116 CHECK(success);
120 CHECK(success);
197 CHECK(mStarte
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.cpp42 CHECK(mCodec == NULL);
45 CHECK(format->findString("mime", &mime));
89 CHECK(msg->findInt32("what", &what));
109 CHECK(msg->findMessage("reply", &reply));
113 CHECK(msg->findBuffer("buffer", &outBuffer));
H A DNuPlayer.cpp288 CHECK(mSource == NULL);
291 CHECK(msg->findObject("source", &obj));
297 CHECK(mDriver != NULL);
314 CHECK(msg->findInt32("generation", &generation));
341 CHECK(msg->findObject("native-window", &obj));
363 CHECK(msg->findObject("sink", &obj));
405 CHECK(msg->findInt32("generation", &generation));
465 CHECK(msg->findMessage("codec-request", &codecRequest));
468 CHECK(codecRequest->findInt32("what", &what));
481 CHECK(codecReques
[all...]
H A DNuPlayerRenderer.cpp84 CHECK(!mFlushingAudio);
87 CHECK(!mFlushingVideo);
98 CHECK(mAudioQueue.empty());
99 CHECK(mVideoQueue.empty());
118 CHECK(msg->findInt32("generation", &generation));
149 CHECK(msg->findInt32("generation", &generation));
259 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs));
330 CHECK(entry.mBuffer->meta()->findInt64("timeUs", &mediaTimeUs));
335 CHECK(entry.mBuffer->meta()->findInt64("timeUs", &mediaTimeUs));
380 CHECK(entr
[all...]
H A DRTSPSource.cpp84 CHECK(mHandler == NULL);
85 CHECK(mSDPLoader == NULL);
325 CHECK(msg->senderAwaitsResponse(&replyID));
332 CHECK(msg->findInt32("generation", &generation));
340 CHECK(msg->findInt64("timeUs", &seekTimeUs));
349 CHECK(msg->findInt32("what", &what));
388 CHECK(msg->findSize("trackIndex", &trackIndex));
397 CHECK(msg->findBuffer("accessUnit", &accessUnit));
442 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
467 CHECK(ms
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTimedText3GPPSource.cpp49 CHECK(textBuffer != NULL);
72 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime));
73 CHECK(strcasecmp(mime, MEDIA_MIMETYPE_TEXT_3GPP) == 0);
96 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime));
97 CHECK(strcasecmp(mime, MEDIA_MIMETYPE_TEXT_3GPP) == 0);
/frameworks/av/cmds/stagefright/
H A Dsf2.cpp54 CHECK(!mDecodeAudio || mSurface == NULL);
87 CHECK(meta->findCString(kKeyMIMEType, &mime));
101 CHECK(mSource != NULL);
136 CHECK(mSeekState == SEEK_NONE
168 CHECK(msg->findInt32("what", &what));
266 CHECK(mCSD.isEmpty());
269 CHECK(meta->findCString(kKeyMIMEType, &mime));
276 CHECK(meta->findInt32(kKeyWidth, &width));
277 CHECK(meta->findInt32(kKeyHeight, &height));
282 CHECK(!strncasecm
[all...]
H A DSineSource.cpp18 CHECK(numChannels == 1 || numChannels == 2);
28 CHECK(!mStarted);
40 CHECK(mStarted);
H A Dstagefright.cpp124 CHECK(size >= 7);
125 CHECK(ptr[0] == 1); // configurationVersion == 1
169 CHECK(meta->findCString(kKeyMIMEType, &mime));
180 CHECK(!gPreferSoftwareCodec);
223 CHECK(meta->findInt64(kKeyDuration, &durationUs));
235 CHECK(buffer == NULL);
245 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timestampUs));
323 CHECK(buffer == NULL);
428 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime));
434 CHECK(!"syn
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp41 CHECK(meta->findCString(kKeyMIMEType, &mime));
106 CHECK(msg->senderAwaitsResponse(&replyID));
115 CHECK(meta->findCString(kKeyMIMEType, &tmp));
124 CHECK(msg->findMessage("notify", &notify));
132 CHECK(msg->findInt32("generation", &generation));
163 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs));
H A DRepeaterSource.cpp27 CHECK(!mStarted);
50 CHECK(!mStarted);
78 CHECK(mStarted);
112 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &seekMode));
143 CHECK(mBuffer == NULL);
/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.cpp85 CHECK(mInitCheck == NO_ERROR);
102 CHECK(!mExecuting);
134 CHECK(mExecuting);
167 CHECK(mExecuting); // could this happen if app stop()s early?
186 CHECK(mEndOfStream && mEndOfStreamSent);
202 CHECK(!"codecBufferEmptied: mismatched buffer");
236 CHECK(!mEndOfStreamSent);
250 CHECK(mExecuting && mNumFramesAvailable > 0);
336 CHECK(header->nAllocLen >= 4 + sizeof(buffer_handle_t));
358 CHECK(mEndOfStrea
[all...]
H A DSimpleSoftOMXComponent.cpp59 CHECK(data == NULL);
100 CHECK(portIndex < mPorts.size());
115 CHECK(isSetParameterAllowed(index, params));
218 CHECK(mState == OMX_StateLoaded || port->mDef.bEnabled == OMX_FALSE);
255 CHECK((*header)->pPlatformPrivate == NULL);
271 CHECK((mState == OMX_StateIdle && mTargetState == OMX_StateLoaded)
280 CHECK(!buffer->mOwnedByUs);
284 CHECK(header->pPlatformPrivate == header->pBuffer);
303 CHECK(found);
342 CHECK(ms
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorSRC.cpp53 CHECK(format->findCString(kKeyMIMEType, &mime));
54 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
70 CHECK(!mStarted);
249 CHECK(mBuffer);
299 CHECK(format->findCString(kKeyMIMEType, &mime));
300 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
302 CHECK(format->findInt32(kKeySampleRate, &mSampleRate));
303 CHECK(format->findInt32(kKeyChannelCount, &mChannelCnt));
325 CHECK(mResampler);
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp42 CHECK(meta->findInt32(kKeyColorFormat, &tmp));
45 CHECK(meta->findInt32(kKeyWidth, &mWidth));
46 CHECK(meta->findInt32(kKeyHeight, &mHeight));
88 CHECK(mConverter->isValid());
92 CHECK(mNativeWindow != NULL);
93 CHECK(mCropWidth > 0);
94 CHECK(mCropHeight > 0);
95 CHECK(mConverter == NULL || mConverter->isValid());
/frameworks/ex/variablespeed/jni/
H A Dsola_time_scaler.cc34 CHECK(initialized_);
155 CHECK(initialized_);
181 CHECK(initialized_);
187 CHECK(initialized_);
205 CHECK(initialized_);
213 CHECK(initialized_);
229 CHECK(initialized_);
246 CHECK(initialized_);
/frameworks/av/media/libstagefright/rtsp/
H A Drtp_test.cpp164 CHECK(desc->setTo(raw, strlen(raw)));
190 CHECK(decoder != NULL);
201 CHECK(decoder->getFormat()->findInt32(kKeyWidth, &width));
202 CHECK(decoder->getFormat()->findInt32(kKeyHeight, &height));
214 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp46 CHECK(mApiHandle == NULL && mEncoderHandle == NULL);
47 CHECK(mMeta->findInt32(kKeySampleRate, &mSampleRate));
48 CHECK(mMeta->findInt32(kKeyChannelCount, &mChannels));
49 CHECK(mChannels <= 2 && mChannels >= 1);
50 CHECK(mMeta->findInt32(kKeyBitRate, &mBitRate));
53 CHECK(mApiHandle);
61 CHECK(mMemOperator != NULL);
152 CHECK(mInputFrame != NULL);
223 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode));
301 CHECK(VO_ERR_NON
[all...]
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp166 CHECK(!strcmp("codec", atts[0]) &&
174 CHECK(codec != -1);
182 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1);
190 CHECK(!strcmp("codec", atts[0]) &&
196 CHECK(codec != -1);
204 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1);
211 CHECK(!strcmp("name", atts[0]) &&
216 CHECK(codec != -1);
227 CHECK(!strcmp("name", atts[0]) &&
232 CHECK(code
[all...]

Completed in 374 milliseconds

1234567