Searched refs:mSource (Results 1 - 25 of 82) sorted by relevance

1234

/frameworks/base/location/java/android/location/
H A DCountry.java59 private final int mSource; field in class:Country
87 mSource = source;
97 mSource = source;
103 mSource = country.mSource;
125 return mSource;
152 parcel.writeInt(mSource);
169 return mCountryIso.equals(c.getCountryIso()) && mSource == c.getSource();
180 hash = hash * 13 + mSource;
200 return "Country {ISO=" + mCountryIso + ", source=" + mSource
[all...]
/frameworks/av/media/libstagefright/
H A DThrottledSource.cpp33 : mSource(source),
41 return mSource->initCheck();
47 ssize_t n = mSource->readAt(offset, data, size);
76 return mSource->getSize(size);
80 return mSource->flags();
H A DJPEGSource.cpp55 : mSource(source),
63 CHECK(mSource->getSize(&mSize) == OK);
123 ssize_t n = mSource->readAt(mOffset, buffer->data(), mSize - mOffset);
148 if (!mSource->getUInt16(i, &soi)) {
160 if (mSource->readAt(i++, &marker, 1) != 1) {
166 if (mSource->readAt(i++, &marker, 1) != 1) {
173 if (!mSource->getUInt16(i, &chunkSize)) {
208 if (!mSource->getUInt16(i + 1, &height)
209 || !mSource->getUInt16(i + 3, &width)) {
H A DAudioPlayer.cpp68 CHECK(mSource == NULL);
69 mSource = source;
74 CHECK(mSource != NULL);
78 err = mSource->start();
98 mFirstBufferResult = mSource->read(&mFirstBuffer, &options);
109 sp<MetaData> format = mSource->getFormat();
146 mSource->stop();
178 mSource->stop();
257 mSource->stop();
262 wp<MediaSource> tmp = mSource;
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTimedText3GPPSource.h33 virtual status_t start() { return mSource->start(); }
34 virtual status_t stop() { return mSource->stop(); }
47 sp<MediaSource> mSource; member in class:android::TimedText3GPPSource
H A DTimedText3GPPSource.cpp35 : mSource(mediaSource) {
45 status_t err = mSource->read(&textBuffer, options);
72 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime));
96 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime));
102 if (!mSource->getFormat()->findData(
116 return mSource->getFormat();
H A DTimedTextPlayer.cpp38 mSource(NULL),
43 if (mSource != NULL) {
44 mSource->stop();
45 mSource.clear();
46 mSource = NULL;
129 if (mSource != NULL) {
130 mSource->stop();
132 mSource = static_cast<TimedTextSource*>(obj.get());
133 status_t err = mSource->start();
139 err = mSource
[all...]
/frameworks/av/media/libstagefright/tests/
H A DDummyRecorder.h33 sp<MediaSource> mSource; member in class:android::DummyRecorder
46 DummyRecorder(const sp<MediaSource> &source) : mSource(source)
H A DDummyRecorder.cpp41 mSource->start();
61 mSource->stop();
80 while (mStarted && (err = mSource->read(&buffer)) == OK){
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp76 if (mAudioTrack.mSource == NULL) {
77 mAudioTrack.mSource = track = extractor->getTrack(i);
86 if (mVideoTrack.mSource == NULL) {
87 mVideoTrack.mSource = track = extractor->getTrack(i);
108 if (mAudioTrack.mSource != NULL) {
109 CHECK_EQ(mAudioTrack.mSource->start(), (status_t)OK);
112 new AnotherPacketSource(mAudioTrack.mSource->getFormat());
117 if (mVideoTrack.mSource != NULL) {
118 CHECK_EQ(mVideoTrack.mSource->start(), (status_t)OK);
121 new AnotherPacketSource(mVideoTrack.mSource
[all...]
H A DStreamingSource.h43 sp<IStreamSource> mSource; member in struct:android::NuPlayer::StreamingSource
H A DNuPlayerStreamListener.cpp33 : mSource(source),
37 mSource->setListener(this);
46 mSource->setBuffers(mBuffers);
51 mSource->onBufferAvailable(i);
156 mSource->onBufferAvailable(entry->mIndex);
H A DNuPlayerStreamListener.h61 sp<IStreamSource> mSource; member in struct:android::NuPlayer::NuPlayerStreamListener
/frameworks/base/core/java/android/text/
H A DAlteredCharSequence.java44 mSource = source;
93 return mSource.charAt(off);
97 return mSource.length();
101 return AlteredCharSequence.make(mSource.subSequence(start, end),
106 TextUtils.getChars(mSource, start, end, dest, off);
126 private CharSequence mSource; field in class:AlteredCharSequence
/frameworks/av/media/libstagefright/include/
H A DThrottledSource.h39 return mSource->getMIMEType();
46 sp<DataSource> mSource; member in struct:android::ThrottledSource
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorSRC.cpp35 mSource = source;
51 sp<MetaData> format = mSource->getFormat();
64 ALOGV("~VideoEditorSRC %p(%p)", this, mSource.get());
69 ALOGV("start %p(%p)", this, mSource.get());
78 mSource->start();
84 ALOGV("stop %p(%p)", this, mSource.get());
93 mSource->stop();
114 ALOGV("read %p(%p)", this, mSource.get());
179 status_t err = mSource->read(&aBuffer, options);
221 status_t err = mSource
[all...]
H A DVideoEditorAudioPlayer.cpp68 mSource = NULL;
133 mSource->stop();
138 wp<MediaSource> tmp = mSource;
139 mSource.clear();
279 if (mSource != NULL) {
280 mSource->stop();
281 mSource.clear();
284 mSource = source;
290 return mSource;
323 CHECK(mSource !
[all...]
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java143 mSource = source;
147 return mSource.length();
151 if (mSource instanceof Spanned) {
152 Spanned sp = (Spanned) mSource;
158 return mSource.charAt(i);
169 return mSource.charAt(i);
190 TextUtils.getChars(mSource, start, end, dest, off);
196 if (mSource instanceof Spanned) {
197 Spanned sp = (Spanned) mSource;
233 private CharSequence mSource; field in class:PasswordTransformationMethod.PasswordCharSequence
[all...]
H A DReplacementTransformationMethod.java114 mSource = source;
120 return mSource.length();
124 char c = mSource.charAt(i);
151 TextUtils.getChars(mSource, start, end, dest, off);
166 private CharSequence mSource; field in class:ReplacementTransformationMethod.ReplacementCharSequence
/frameworks/av/services/audioflinger/
H A DSourceAudioBufferProvider.h41 const sp<NBAIO_Source> mSource; // the wrapped source member in class:android::SourceAudioBufferProvider
H A DSourceAudioBufferProvider.cpp26 mSource(source),
68 ssize_t actual = mSource->read(mAllocated, buffer->frameCount);
100 ssize_t avail = mSource->availableToRead();
/frameworks/base/core/java/android/text/style/
H A DImageSpan.java34 private String mSource; field in class:ImageSpan
95 mSource = source;
110 mSource = uri.toString();
163 return mSource;
/frameworks/av/include/media/stagefright/
H A DAMRWriter.h49 sp<MediaSource> mSource; member in struct:android::AMRWriter
H A DJPEGSource.h42 sp<DataSource> mSource; member in struct:android::JPEGSource
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DMediaBufferPuller.h68 sp<MediaSource> mSource; member in struct:android::MediaBufferPuller

Completed in 420 milliseconds

1234