Home
last modified time | relevance | path

Searched refs:mInitCheck (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/av/media/libstagefright/http/
DClearMediaHTTP.cpp32 : mInitCheck((conn != NULL) ? OK : NO_INIT), in ClearMediaHTTP()
45 if (mInitCheck != OK) { in connect()
46 return mInitCheck; in connect()
83 if (mInitCheck != OK) { in disconnect()
91 return mInitCheck; in initCheck()
95 if (mInitCheck != OK) { in readAt()
96 return mInitCheck; in readAt()
131 if (mInitCheck != OK) { in getSize()
132 return mInitCheck; in getSize()
158 if (mInitCheck != OK) { in getUri()
[all …]
/frameworks/av/media/libstagefright/
DESDS.cpp32 mInitCheck(NO_INIT), in ESDS()
38 mInitCheck = parse(); in ESDS()
47 return mInitCheck; in InitCheck()
51 if (mInitCheck != OK) { in getObjectTypeIndication()
52 return mInitCheck; in getObjectTypeIndication()
61 if (mInitCheck != OK) { in getCodecSpecificInfo()
62 return mInitCheck; in getCodecSpecificInfo()
200 if (mInitCheck != OK) { in getBitRate()
201 return mInitCheck; in getBitRate()
DAMRWriter.cpp36 mInitCheck(mFd < 0? NO_INIT: OK), in AMRWriter()
54 return mInitCheck; in initCheck()
58 if (mInitCheck != OK) { in addSource()
59 return mInitCheck; in addSource()
98 if (mInitCheck != OK) { in start()
99 return mInitCheck; in start()
DAACWriter.cpp41 mInitCheck(mFd < 0? NO_INIT: OK), in AACWriter()
66 return mInitCheck; in initCheck()
71 if (mInitCheck != OK) { in addSource()
72 return mInitCheck; in addSource()
100 if (mInitCheck != OK) { in start()
101 return mInitCheck; in start()
DOggWriter.cpp56 mInitCheck(mFd < 0 ? NO_INIT : OK) { in OggWriter()
74 return mInitCheck; in initCheck()
78 if (mInitCheck != OK) { in addSource()
79 return mInitCheck; in addSource()
188 if (mInitCheck != OK) { in start()
189 return mInitCheck; in start()
DAudioSource.cpp111 mInitCheck = mRecord->initCheck(); in AudioSource()
112 if (mInitCheck != OK) { in AudioSource()
116 mInitCheck = status; in AudioSource()
127 return mInitCheck; in initCheck()
136 if (mInitCheck != OK) { in start()
182 if (mInitCheck != OK) { in reset()
200 if (mInitCheck != OK) { in getFormat()
251 if (mInitCheck != OK) { in read()
DMediaCodecList.cpp212 mInitCheck = builder->buildMediaCodecList(&writer); in MediaCodecList()
213 if (mInitCheck != OK) { in MediaCodecList()
248 return mInitCheck; in initCheck()
/frameworks/av/media/libstagefright/rtsp/
DARTPSession.cpp39 : mInitCheck(NO_INIT) { in ARTPSession()
43 CHECK_EQ(mInitCheck, (status_t)NO_INIT); in setup()
57 return mInitCheck; in setup()
62 return mInitCheck; in setup()
68 return mInitCheck; in setup()
74 return mInitCheck; in setup()
94 mInitCheck = OK; in setup()
DAPacketSource.cpp409 : mInitCheck(NO_INIT), in APacketSource()
423 mInitCheck = OK; in APacketSource()
449 mInitCheck = ERROR_UNSUPPORTED; in APacketSource()
461 mInitCheck = ERROR_UNSUPPORTED; in APacketSource()
494 mInitCheck = ERROR_UNSUPPORTED; in APacketSource()
507 mInitCheck = ERROR_UNSUPPORTED; in APacketSource()
533 mInitCheck = ERROR_UNSUPPORTED; in APacketSource()
544 mInitCheck = ERROR_UNSUPPORTED; in APacketSource()
569 mInitCheck = ERROR_UNSUPPORTED; in APacketSource()
577 return mInitCheck; in initCheck()
DAPacketSource.h40 status_t mInitCheck;
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp121 mInitCheck((mFactories.size() == 0) ? ERROR_UNSUPPORTED : NO_INIT), in CryptoHal()
190 return mInitCheck; in initCheck()
219 mInitCheck = ERROR_UNSUPPORTED; in createPlugin()
221 mInitCheck = OK; in createPlugin()
224 return mInitCheck; in createPlugin()
230 if (mInitCheck != OK) { in destroyPlugin()
231 return mInitCheck; in destroyPlugin()
242 if (mInitCheck != OK) { in requiresSecureDecoderComponent()
345 if (mInitCheck != OK) { in decrypt()
346 return mInitCheck; in decrypt()
[all …]
DDrmHal.cpp98 #define INIT_CHECK() {if (mInitCheck != OK) return mInitCheck;}
330 mInitCheck((mFactories.size() == 0) ? ERROR_UNSUPPORTED : NO_INIT) { in DrmHal()
356 mInitCheck = NO_INIT; in cleanup()
359 mInitCheck = DEAD_OBJECT; in cleanup()
363 mInitCheck = DEAD_OBJECT; in cleanup()
446 return mInitCheck; in initCheck()
666 mInitCheck = ERROR_UNSUPPORTED; in createPlugin()
668 mInitCheck = OK; in createPlugin()
671 mInitCheck = DEAD_OBJECT; in createPlugin()
674 mInitCheck = DEAD_OBJECT; in createPlugin()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp209 : mInitCheck(NO_INIT), in GraphicView2MediaImageConverter()
219 mInitCheck = BAD_VALUE; in GraphicView2MediaImageConverter()
226 mInitCheck = BAD_VALUE; in GraphicView2MediaImageConverter()
242 mInitCheck = BAD_VALUE; in GraphicView2MediaImageConverter()
255 mInitCheck = BAD_VALUE; in GraphicView2MediaImageConverter()
343 mInitCheck = BAD_VALUE; in GraphicView2MediaImageConverter()
351 mInitCheck = BAD_VALUE; in GraphicView2MediaImageConverter()
363 mInitCheck = BAD_VALUE; in GraphicView2MediaImageConverter()
368 mInitCheck = BAD_VALUE; in GraphicView2MediaImageConverter()
383 mInitCheck = BAD_VALUE; in GraphicView2MediaImageConverter()
[all …]
/frameworks/native/cmds/lshal/
DPipeRelay.cpp105 : mInitCheck(NO_INIT) { in PipeRelay()
109 mInitCheck = -errno; in PipeRelay()
114 mInitCheck = mThread->run("RelayThread"); in PipeRelay()
137 return mInitCheck; in initCheck()
DPipeRelay.h45 status_t mInitCheck; member
/frameworks/av/media/extractors/midi/
DMidiExtractor.cpp55 bool mInitCheck; member in android::MidiSource
74 mInitCheck(false), in MidiSource()
78 mInitCheck = init(); in MidiSource()
268 mInitCheck(false) in MidiExtractor()
274 mInitCheck = mEngine->initCheck(); in MidiExtractor()
287 return mInitCheck == OK ? 1 : 0; in countTracks()
292 if (mInitCheck != OK || index > 0) { in getTrack()
302 if (mInitCheck != OK || index > 0) { in getTrackMetaData()
/frameworks/av/media/extractors/aac/
DAACExtractor.cpp136 mInitCheck(NO_INIT), in AACExtractor()
180 mInitCheck = OK; in AACExtractor()
191 if (mInitCheck == OK) { in getMetaData()
199 return mInitCheck == OK ? 1 : 0; in countTracks()
203 if (mInitCheck != OK || index != 0) { in getTrack()
211 if (mInitCheck != OK || index != 0) { in getTrackMetaData()
/frameworks/av/media/extractors/amr/
DAMRExtractor.cpp147 mInitCheck(NO_INIT), in AMRExtractor()
189 mInitCheck = OK; in AMRExtractor()
200 if (mInitCheck == OK) { in getMetaData()
209 return mInitCheck == OK ? 1 : 0; in countTracks()
213 if (mInitCheck != OK || index != 0) { in getTrack()
222 if (mInitCheck != OK || index != 0) { in getTrackMetaData()
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp78 bool mInitCheck; member in android::FLACSource
106 return mInitCheck; in initCheck()
141 bool mInitCheck; member in android::FLACParser
453 mInitCheck(false), in FLACParser()
467 mInitCheck = init(); in FLACParser()
658 mInitCheck(mParser->initCheck()), in FLACSource()
738 mInitCheck(false) in FLACExtractor()
745 mInitCheck = mParser->initCheck(); in FLACExtractor()
759 return mInitCheck == OK ? 1 : 0; in countTracks()
764 if (mInitCheck != OK || index > 0) { in getTrack()
[all …]
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp97 mInitCheck(NO_INIT), in AacAdtsExtractor()
162 mInitCheck = OK; in AacAdtsExtractor()
171 if (mInitCheck != OK || index != 0) { in getTrack()
/frameworks/av/media/extractors/mp3/
DMP3Extractor.cpp254 : mInitCheck(NO_INIT), in MP3Extractor()
369 mInitCheck = OK; in MP3Extractor()
413 return mInitCheck != OK ? 0 : 1; in countTracks()
417 if (mInitCheck != OK || index != 0) { in getTrack()
429 if (mInitCheck != OK || index != 0) { in getTrackMetaData()
609 if (mInitCheck != OK) { in getMetaData()
/frameworks/native/libs/ui/
DGraphicBuffer.cpp70 mInitCheck(NO_ERROR), mId(getUniqueId()), mGenerationNumber(0) in GraphicBuffer()
92 mInitCheck = initWithSize(inWidth, inHeight, inFormat, inLayerCount, inUsage, in GraphicBuffer()
110 mInitCheck = initWithHandle(inHandle, method, inWidth, inHeight, inFormat, inLayerCount, in GraphicBuffer()
117 mInitCheck = BAD_VALUE; in GraphicBuffer()
121 mInitCheck = initWithHandle(buffer->duplicateHandle(), /*method=*/TAKE_UNREGISTERED_HANDLE, in GraphicBuffer()
153 return static_cast<status_t>(mInitCheck); in initCheck()
622 mInitCheck = in unflattenBufferHubBuffer()
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp113 mInitCheck = init(); in WAVExtractor()
123 if (mInitCheck == OK) { in getMetaData()
131 return mInitCheck == OK ? 1 : 0; in countTracks()
135 if (mInitCheck != OK || index > 0) { in getTrack()
147 if (mInitCheck != OK || index > 0) { in getTrackMetaData()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp59 mInitCheck(mFd < 0 ? NO_INIT : OK), in WebmWriter()
316 mInitCheck = NO_INIT; in release()
326 if (mInitCheck != OK) { in reset()
483 if (mInitCheck != OK) { in start()
600 if (mInitCheck != OK) { in pause()
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
DGraphicBufferSource.h82 return mInitCheck; in initCheck()
232 status_t mInitCheck; variable

123