Searched refs:mDataSource (Results 1 - 25 of 84) sorted by relevance

1234

/frameworks/wilhelm/src/itf/
H A DIDynamicSource.cpp41 thiz->mDataSource = pDataSource;
58 // mDataSource will be re-initialized later in the containing object constructor
59 thiz->mDataSource = NULL;
H A DIEngine.cpp63 assert(SL_DATAFORMAT_MIME == ap->mDataSource.mFormat.mFormatType);
64 switch (ap->mDataSource.mFormat.mMIME.containerType) {
70 const char* mime = (char*)ap->mDataSource.mFormat.mMIME.mimeType;
199 thiz->mDataSource.mLocator.mLocatorType = SL_DATALOCATOR_NULL;
200 thiz->mDataSource.mFormat.mFormatType = SL_DATAFORMAT_NULL;
250 result = checkDataSource("pAudioSrc", pAudioSrc, &thiz->mDataSource,
283 result = checkSourceSinkVsInterfacesCompatibility(&thiz->mDataSource,
297 switch (thiz->mDataSource.mLocator.mLocatorType) {
303 nbBuffers = (SLuint16) thiz->mDataSource.mLocator.mBufferQueue.numBuffers;
304 assert(SL_DATAFORMAT_PCM == thiz->mDataSource
[all...]
/frameworks/base/libs/hwui/
H A DPropertyValuesHolder.cpp58 if (mDataSource.size() == 0) {
63 return mDataSource.front();
66 return mDataSource.back();
69 fraction *= mDataSource.size() - 1;
74 mEvaluator->evaluate(&value, mDataSource[lowIndex], mDataSource[lowIndex + 1], fraction);
80 if (mDataSource.size() > 0) {
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp53 mDataSource = source;
55 if (mDataSource->getSize(&l) == OK) {
72 if (mDataSource != NULL) {
73 return mDataSource->readAt(offset, buffer, size);
/frameworks/av/include/media/
H A DMidiIoWrapper.h43 sp<DataSource> mDataSource; member in class:android::MidiIoWrapper
/frameworks/av/media/libmedia/include/media/
H A DMidiIoWrapper.h43 sp<DataSource> mDataSource; member in class:android::MidiIoWrapper
/frameworks/av/media/libstagefright/
H A DAMRExtractor.cpp54 sp<DataSource> mDataSource; member in class:android::AMRSource
120 : mDataSource(source),
125 if (!SniffAMR(mDataSource, &mimeType, &confidence, NULL)) {
144 if (mDataSource->getSize(&streamSize) == OK) {
194 return new AMRSource(mDataSource, mMeta, mIsWide,
211 : mDataSource(source),
276 if ((err = getFrameSizeByOffset(mDataSource, mOffset,
285 ssize_t n = mDataSource->readAt(mOffset, &header, 1);
312 n = mDataSource->readAt(mOffset, buffer->data(), frameSize);
H A DMPEG4Extractor.cpp95 sp<DataSource> mDataSource; member in class:android::MPEG4Source
376 mDataSource(source),
482 if (mDataSource->readAt(offset, &header, size) == (ssize_t)size) {
628 if (mDataSource->readAt(data_offset, &updateIdTag, 1) < 1) {
638 int32_t size = readSize(data_offset, mDataSource, &numOfBytes);
646 if (mDataSource->readAt(data_offset, &descriptorTag, 1) < 1) {
657 if (mDataSource->readAt(data_offset, buffer, 2) < 2) {
666 if (mDataSource->readAt(data_offset, buffer, 8) < 8) {
689 if (mDataSource->readAt(data_offset, &updateIdTag, 1) < 1) {
698 size = readSize(data_offset, mDataSource,
[all...]
H A DAACExtractor.cpp57 sp<DataSource> mDataSource; member in class:android::AACSource
137 : mDataSource(source),
147 if (!SniffAAC(mDataSource, &mimeType, &confidence, &meta)) {
156 if (mDataSource->readAt(offset + 2, &header, 2) < 2) {
174 if (mDataSource->getSize(&streamSize) == OK) {
221 return new AACSource(mDataSource, mMeta, mOffsetVector, mFrameDurationUs);
241 : mDataSource(source),
304 if ((frameSize = getAdtsFrameLength(mDataSource, mOffset, &headerSize)) == 0) {
315 if (mDataSource->readAt(mOffset + headerSize, buffer->data(),
H A DSampleIterator.cpp206 if (mTable->mDataSource->readAt(
218 if (mTable->mDataSource->readAt(
247 if (mTable->mDataSource->readAt(
260 if (mTable->mDataSource->readAt(
273 if (mTable->mDataSource->readAt(
288 if (mTable->mDataSource->readAt(
H A DMP3Extractor.cpp233 sp<DataSource> mDataSource; member in class:android::MP3Source
252 mDataSource(source),
276 success = Resync(mDataSource, 0, &pos, &post_id3_pos, &header);
287 sp<XINGSeeker> seeker = XINGSeeker::CreateFromSource(mDataSource, mFirstFramePos);
290 mSeeker = VBRISeeker::CreateFromSource(mDataSource, post_id3_pos);
314 if (!Resync(mDataSource, 0, &pos, &post_id3_pos, &header)) {
353 if (mDataSource->getSize(&fileSize) == OK) {
375 ID3 id3(mDataSource, true);
416 mMeta, mDataSource, mFirstFramePos, mFixedHeader,
443 mDataSource(sourc
[all...]
H A DWAVExtractor.cpp81 sp<DataSource> mDataSource; member in struct:android::WAVSource
98 : mDataSource(source),
129 mDataSource, mTrackMeta,
144 if (mDataSource->readAt(
159 if (mDataSource->readAt(offset, chunkHeader, 8) < 8) {
178 if (mDataSource->readAt(offset, formatSpec, 2) < 2) {
196 if (mDataSource->readAt(offset, formatSpec, fmtSize) < fmtSize) {
356 : mDataSource(dataSource),
476 ssize_t n = mDataSource->readAt(
/frameworks/wilhelm/src/objects/
H A DCAudioRecorder.cpp50 freeDataLocatorFormat(&thiz->mDataSource);
H A DCMediaPlayer.cpp52 freeDataLocatorFormat(&thiz->mDataSource);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DPasspointConfigStoreData.java72 private final DataSource mDataSource; field in class:PasspointConfigStoreData
111 mDataSource = dataSource;
161 XmlUtil.writeNextValue(out, XML_TAG_PROVIDER_INDEX, mDataSource.getProviderIndex());
172 serializeProviderList(out, mDataSource.getProviders());
240 mDataSource.setProviderIndex((long) value);
263 mDataSource.setProviders(deserializeProviderList(in, outerTagDepth + 1));
354 mDataSource.setProviderIndex(0);
361 mDataSource.setProviders(new ArrayList<PasspointProvider>());
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp94 : mDataSource(source),
102 // if (!SniffAAC(mDataSource, &mimeType, &confidence, NULL)) {
107 ssize_t readSize = mDataSource->readAt(2, &header, 2);
132 if (mDataSource->getSize(&streamSize) == OK) {
136 if ((frameSize = getFrameSize(mDataSource, offset)) == 0) {
191 return new AacAdtsSource(mDataSource, mMeta, mFrameDurationUs);
212 : mDataSource(source),
271 if ((frameSize = getFrameSize(mDataSource, mOffset)) == 0) {
284 ssize_t readSize = mDataSource->readAt(mOffset + ADTS_HEADER_LENGTH, buffer->data(),
/frameworks/av/include/media/stagefright/
H A DAACExtractor.h45 sp<DataSource> mDataSource; member in class:android::AACExtractor
H A DAMRExtractor.h45 sp<DataSource> mDataSource; member in class:android::AMRExtractor
/frameworks/av/media/libstagefright/foundation/include/
H A DAACExtractor.h45 sp<DataSource> mDataSource; member in class:android::AACExtractor
H A DAMRExtractor.h45 sp<DataSource> mDataSource; member in class:android::AMRExtractor
/frameworks/av/media/libstagefright/include/
H A DAACExtractor.h45 sp<DataSource> mDataSource; member in class:android::AACExtractor
H A DAMRExtractor.h45 sp<DataSource> mDataSource; member in class:android::AMRExtractor
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DPasspointConfigStoreDataTest.java66 @Mock PasspointConfigStoreData.DataSource mDataSource; field in class:PasspointConfigStoreDataTest
73 mConfigStoreData = new PasspointConfigStoreData(mKeyStore, mSimAccessor, mDataSource);
244 when(mDataSource.getProviders()).thenReturn(providerList);
250 verify(mDataSource).setProviders(providersCaptor.capture());
266 when(mDataSource.getProviderIndex()).thenReturn(providerIndex);
271 verify(mDataSource).setProviderIndex(providerIndex);
283 verify(mDataSource, never()).setProviders(any(ArrayList.class));
295 verify(mDataSource, never()).setProviderIndex(anyLong());
/frameworks/wilhelm/src/android/include/
H A DAacAdtsExtractor.h59 sp<DataSource> mDataSource; member in class:android::AacAdtsSource
88 sp<DataSource> mDataSource; member in class:android::AacAdtsExtractor
/frameworks/av/media/libstagefright/httplive/
H A DHTTPDownloader.cpp94 mDataSource = new FileSource(url + 7);
122 mDataSource = mHTTPDataSource;
126 status_t getSizeErr = mDataSource->getSize(&size);
183 ssize_t n = mDataSource->readAt(
205 *actualUrl = mDataSource->getUri();

Completed in 9698 milliseconds

1234