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

1234

/frameworks/av/media/ndk/
H A DNdkMediaDataSource.cpp47 : mDataSource(AMediaDataSource_new()) {
48 AMediaDataSource_setReadAt(mDataSource, dataSource->readAt);
49 AMediaDataSource_setGetSize(mDataSource, dataSource->getSize);
50 AMediaDataSource_setClose(mDataSource, dataSource->close);
51 AMediaDataSource_setUserdata(mDataSource, dataSource->userdata);
55 AMediaDataSource_delete(mDataSource);
64 if (mDataSource->getSize == NULL || mDataSource->userdata == NULL) {
67 return mDataSource->readAt(mDataSource
[all...]
/frameworks/support/paging/integration-tests/testapp/src/main/java/androidx/paging/integration/testapp/
H A DPagedListItemViewModel.java30 private ItemDataSource mDataSource; field in class:PagedListItemViewModel
39 mDataSource = newDataSource;
40 return mDataSource;
50 if (mDataSource != null) {
51 mDataSource.invalidate();
/frameworks/support/paging/common/src/main/java/androidx/paging/
H A DSnapshotPagedList.java25 private final DataSource<?, T> mDataSource; field in class:SnapshotPagedList
33 mDataSource = pagedList.getDataSource();
62 return mDataSource;
H A DTiledPagedList.java28 private final PositionalDataSource<T> mDataSource; field in class:TiledPagedList
84 mDataSource = dataSource;
89 if (mDataSource.isInvalid()) {
98 mDataSource.dispatchLoadInitial(true, roundedPageStart, firstLoadSize,
111 return mDataSource;
185 if (mDataSource.isInvalid()) {
190 mDataSource.dispatchLoadRange(
H A DContiguousPagedList.java28 private final ContiguousDataSource<K, V> mDataSource; field in class:ContiguousPagedList
96 mDataSource = dataSource;
99 if (mDataSource.isInvalid()) {
102 mDataSource.dispatchLoadInitial(key,
196 if (mDataSource.isInvalid()) {
199 mDataSource.dispatchLoadBefore(position, item, mConfig.pageSize,
225 if (mDataSource.isInvalid()) {
228 mDataSource.dispatchLoadAfter(position, item, mConfig.pageSize,
243 return mDataSource;
249 return mDataSource
[all...]
H A DPageKeyedDataSource.java247 private final PageKeyedDataSource<Key, Value> mDataSource; field in class:PageKeyedDataSource.LoadInitialCallbackImpl
253 mDataSource = dataSource;
264 mDataSource.initKeys(previousPageKey, nextPageKey);
280 mDataSource.initKeys(previousPageKey, nextPageKey);
288 private final PageKeyedDataSource<Key, Value> mDataSource; field in class:PageKeyedDataSource.LoadCallbackImpl
294 mDataSource = dataSource;
301 mDataSource.setNextKey(adjacentPageKey);
303 mDataSource.setPreviousKey(adjacentPageKey);
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp41 mDataSource = nullptr;
49 mDataSource = nullptr;
55 mDataSource = source;
57 if (mDataSource->getSize(&l) == OK) {
74 if (mDataSource != NULL) {
75 return mDataSource->readAt(offset, buffer, size);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSsidSetStoreData.java47 private final DataSource mDataSource; field in class:SsidSetStoreData
76 mDataSource = dataSource;
85 Set<String> ssidSet = mDataSource.getSsids();
87 XmlUtil.writeNextValue(out, XML_TAG_SSID_SET, mDataSource.getSsids());
110 mDataSource.setSsids((Set<String>) value);
122 mDataSource.setSsids(new HashSet<>());
/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;
/frameworks/base/libs/hwui/
H A DPropertyValuesHolder.cpp56 if (mDataSource.size() == 0) {
61 return mDataSource.front();
64 return mDataSource.back();
67 fraction *= mDataSource.size() - 1;
72 mEvaluator->evaluate(&value, mDataSource[lowIndex], mDataSource[lowIndex + 1], fraction);
78 if (mDataSource.size() > 0) {
/frameworks/support/paging/runtime/src/main/java/androidx/paging/
H A DLivePagedListBuilder.java170 private DataSource<Key, Value> mDataSource;
189 if (mDataSource != null) {
190 mDataSource.removeInvalidatedCallback(mCallback);
193 mDataSource = dataSourceFactory.create();
194 mDataSource.addInvalidatedCallback(mCallback);
196 mList = new PagedList.Builder<>(mDataSource, config)
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DSsidSetStoreDataTest.java62 @Mock SsidSetStoreData.DataSource mDataSource; field in class:SsidSetStoreDataTest
68 mSsidSetStoreData = new SsidSetStoreData(TEST_NOTIFIER_NAME, mDataSource);
131 when(mDataSource.getSsids()).thenReturn(new HashSet<String>());
144 verify(mDataSource, never()).setSsids(any(Set.class));
167 when(mDataSource.getSsids()).thenReturn(ssidSet);
183 verify(mDataSource).setSsids(eq(ssidSet));
/frameworks/av/include/media/
H A DMidiIoWrapper.h43 DataSourceBase *mDataSource; member in class:android::MidiIoWrapper
/frameworks/av/media/libmedia/include/media/
H A DMidiIoWrapper.h43 DataSourceBase *mDataSource; member in class:android::MidiIoWrapper
/frameworks/wilhelm/src/objects/
H A DCAudioRecorder.cpp50 freeDataLocatorFormat(&thiz->mDataSource);
/frameworks/av/media/extractors/mp4/
H A DMPEG4Extractor.cpp97 DataSourceBase *mDataSource; member in class:android::MPEG4Source
357 mDataSource(source),
536 if (mDataSource->readAt(offset, &header, size) == (ssize_t)size) {
749 if (mDataSource->readAt(*offset, hdr, 8) < 8) {
757 if (mDataSource->readAt(*offset + 8, &chunk_size, 8) < 8) {
771 if (mDataSource->getSize(&sourceSize) == OK) {
803 if (mDataSource->readAt(*offset, buffer, n)
883 if (mDataSource->flags()
887 new CachedRangedDataSource(mDataSource);
892 mDataSource
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DPasspointConfigStoreData.java73 private final DataSource mDataSource; field in class:PasspointConfigStoreData
112 mDataSource = dataSource;
166 XmlUtil.writeNextValue(out, XML_TAG_PROVIDER_INDEX, mDataSource.getProviderIndex());
177 serializeProviderList(out, mDataSource.getProviders());
246 mDataSource.setProviderIndex((long) value);
269 mDataSource.setProviders(deserializeProviderList(in, outerTagDepth + 1));
366 mDataSource.setProviderIndex(0);
373 mDataSource.setProviders(new ArrayList<PasspointProvider>());
/frameworks/support/paging/rxjava2/src/main/java/androidx/paging/
H A DRxPagedListBuilder.java258 private DataSource<Key, Value> mDataSource; field in class:RxPagedListBuilder.PagingObservableOnSubscribe
288 if (mDataSource != null) {
289 mDataSource.removeInvalidatedCallback(this);
314 if (mDataSource != null) {
315 mDataSource.removeInvalidatedCallback(this);
317 mDataSource = mDataSourceFactory.create();
318 mDataSource.addInvalidatedCallback(this);
320 mList = new PagedList.Builder<>(mDataSource, mConfig)
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp95 : mDataSource(source),
104 // if (!SniffAAC(mDataSource, &mimeType, &confidence, NULL)) {
109 ssize_t readSize = mDataSource->readAt(2, &header, 2);
134 if (mDataSource->getSize(&streamSize) == OK) {
138 if ((frameSize = getFrameSize(mDataSource, offset)) == 0) {
175 return new AacAdtsSource(mDataSource, mMeta, mFrameDurationUs);
187 : mDataSource(source),
246 if ((frameSize = getFrameSize(mDataSource, mOffset)) == 0) {
259 ssize_t readSize = mDataSource->readAt(mOffset + ADTS_HEADER_LENGTH, buffer->data(),
/frameworks/av/media/extractors/amr/
H A DAMRExtractor.cpp55 DataSourceBase *mDataSource; member in class:android::AMRSource
148 : mDataSource(source),
152 if (!SniffAMR(mDataSource, &mIsWide, &confidence)) {
168 if (mDataSource->getSize(&streamSize) == OK) {
216 return new AMRSource(mDataSource, mMeta, mIsWide,
234 : mDataSource(source),
300 if ((err = getFrameSizeByOffset(mDataSource, mOffset,
309 ssize_t n = mDataSource->readAt(mOffset, &header, 1);
336 n = mDataSource->readAt(mOffset, buffer->data(), frameSize);
H A DAMRExtractor.h46 DataSourceBase *mDataSource; member in class:android::AMRExtractor
/frameworks/av/media/extractors/aac/
H A DAACExtractor.h46 DataSourceBase *mDataSource; member in class:android::AACExtractor
/frameworks/av/media/extractors/flac/
H A DFLACExtractor.h45 DataSourceBase *mDataSource; member in class:android::FLACExtractor
/frameworks/av/media/extractors/mp3/
H A DMP3Extractor.h48 DataSourceBase *mDataSource; member in class:android::MP3Extractor
/frameworks/av/media/extractors/ogg/
H A DOggExtractor.h49 DataSourceBase *mDataSource; member in struct:android::OggExtractor

Completed in 401 milliseconds

1234