/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDriver.cpp | 119 status_t NuPlayerDriver::setDataSource(const sp<IStreamSource> &source) { argument 120 ALOGV("setDataSource(%p) stream source", this); 129 mPlayer->setDataSourceAsync(source);
|
H A D | RTSPSource.cpp | 130 sp<AnotherPacketSource> source = info->mSource; local 133 if (source != NULL && source->isFinished(mediaDurationUs)) { 150 sp<AnotherPacketSource> source = getSource(audio); local 152 if (source == NULL) { 156 return source->getFormat(); 201 sp<AnotherPacketSource> source = getSource(audio); local 203 if (source == NULL) { 208 if (!source->hasBufferAvailable(&finalResult)) { 215 // If other source alread 255 sp<MediaSource> source = mTSParser->getSource( local 413 sp<AnotherPacketSource> source = getSource(false /* audio */); local 428 sp<AnotherPacketSource> source = info->mSource; local 460 sp<AnotherPacketSource> source = getSource(false /* audio */); local 478 sp<AnotherPacketSource> source = info->mSource; local 493 sp<AnotherPacketSource> source = info->mSource; local 565 sp<AnotherPacketSource> source = new AnotherPacketSource(format); local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AudioPlayer.cpp | 74 void AudioPlayer::setSource(const sp<MediaSource> &source) { argument 76 mSource = source; 132 "source format didn't specify channel mask, using (%d) channel order", numChannels); 339 // source is able to stop(). 630 // we were reading from the source with mLock released.
|
H A D | MediaCodecSource.cpp | 41 Puller(const sp<MediaSource> &source); 77 MediaCodecSource::Puller::Puller(const sp<MediaSource> &source) argument 78 : mSource(source), 84 sp<MetaData> meta = source->getFormat(); 130 // Stop source from caller's thread instead of puller's looper. 132 // looper allows us to at least stop if source gets stuck. 133 // If source gets stuck in read(), the looper would never 136 ALOGV("source (%s) stopping", mIsAudio ? "audio" : "video"); 138 ALOGV("source (%s) stopped", mIsAudio ? "audio" : "video"); 260 const sp<MediaSource> &source, 257 Create( const sp<ALooper> &looper, const sp<AMessage> &format, const sp<MediaSource> &source, uint32_t flags) argument 327 MediaCodecSource( const sp<ALooper> &looper, const sp<AMessage> &outputFormat, const sp<MediaSource> &source, uint32_t flags) argument [all...] |
H A D | NuMediaExtractor.cpp | 158 status_t NuMediaExtractor::setDataSource(const sp<DataSource> &source) { argument 165 status_t err = source->initCheck(); 170 mImpl = MediaExtractor::Create(source); 176 mDataSource = source; 281 sp<MediaSource> source = mImpl->getTrack(index); local 283 CHECK_EQ((status_t)OK, source->start()); 288 info->mSource = source; 296 CHECK(source->getFormat()->findCString(kKeyMIMEType, &mime));
|
H A D | StagefrightMetadataRetriever.cpp | 71 ALOGE("Unable to create data source for '%s'.", uri); 148 const sp<MediaSource> &source, 153 sp<MetaData> format = source->getFormat(); 164 client->interface(), format, false, source, 372 sp<MediaSource> source = mExtractor->getTrack(i); local 374 if (source.get() == NULL) { 389 &mClient, trackMeta, source, OMXCodec::kPreferSoftwareCodecs, 396 frame = extractVideoFrameWithCodecFlags(&mClient, trackMeta, source, 0, 145 extractVideoFrameWithCodecFlags( OMXClient *client, const sp<MetaData> &trackMeta, const sp<MediaSource> &source, uint32_t flags, int64_t frameTimeUs, int seekMode) argument
|
H A D | WAVExtractor.cpp | 93 WAVExtractor::WAVExtractor(const sp<DataSource> &source) argument 94 : mDataSource(source), 534 const sp<DataSource> &source, String8 *mimeType, float *confidence, 537 if (source->readAt(0, header, sizeof(header)) < (ssize_t)sizeof(header)) { 545 sp<MediaExtractor> extractor = new WAVExtractor(source); 533 SniffWAV( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
/frameworks/av/media/libstagefright/id3/ |
H A D | ID3.cpp | 59 ID3::ID3(const sp<DataSource> &source, bool ignoreV1, off64_t offset) argument 66 mIsValid = parseV2(source, offset); 69 mIsValid = parseV1(source); 80 sp<MemorySource> source = new MemorySource(data, size); local 82 mIsValid = parseV2(source, 0); 85 mIsValid = parseV1(source); 118 bool ID3::parseV2(const sp<DataSource> &source, off64_t offset) { argument 128 if (source->readAt( 188 if (source->readAt(offset + sizeof(header), mData, mSize) != (ssize_t)mSize) { 843 bool ID3::parseV1(const sp<DataSource> &source) { argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4AudioAssembler.cpp | 477 const sp<ARTPSource> &source) { 478 AssemblyStatus status = addPacket(source); 486 const sp<ARTPSource> &source) { 487 List<sp<ABuffer> > *queue = source->queue(); 476 assembleMore( const sp<ARTPSource> &source) argument 485 addPacket( const sp<ARTPSource> &source) argument
|
H A D | ARTPConnection.cpp | 331 sp<ARTPSource> source = s->mSources.valueAt(i); local 333 source->addReceiverReport(buffer); 336 source->addFIR(buffer); 481 sp<ARTPSource> source = findSource(s, srcId); local 494 source->processRTPPacket(buffer); 590 sp<ARTPSource> source = findSource(s, id); local 592 source->byeReceived(); 617 sp<ARTPSource> source = findSource(s, id); local 619 source->timeUpdate(rtpTime, ntpTime); 625 sp<ARTPSource> source; local [all...] |
H A D | ARTPWriter.cpp | 107 status_t ARTPWriter::addSource(const sp<MediaSource> &source) { argument 108 mSource = source;
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmFrameThread.cpp | 95 // sequence of input audio/video frames received from the source. 249 const sp<MediaSource>& source, 258 mSource(source), 248 WebmFrameMediaSourceThread( const sp<MediaSource>& source, int type, LinkedBlockingQueue<const sp<WebmFrame> >& sink, uint64_t timeCodeScale, int64_t startTimeRealUs, int32_t startTimeOffsetMs, int numTracks, bool realTimeRecording) argument
|
H A D | WebmWriter.cpp | 240 ALOGV("adding dummy source ... "); 244 ALOGV("adding source %p", mStreams[idx].mSource.get()); 364 status_t WebmWriter::addSource(const sp<MediaSource> &source) { argument 367 ALOGE("Attempt to add source AFTER recording is started"); 378 CHECK(source != NULL); 382 source->getFormat()->findCString(kKeyMIMEType, &mime); 404 mStreams[streamIndex].mSource = source; 405 mStreams[streamIndex].mTrackEntry = mStreams[streamIndex].mMakeTrack(source->getFormat()); 417 ALOGE("No source added");
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderOperation.java | 69 private ContentProviderOperation(Parcel source) { argument 70 mType = source.readInt(); 71 mUri = Uri.CREATOR.createFromParcel(source); 72 mValues = source.readInt() != 0 ? ContentValues.CREATOR.createFromParcel(source) : null; 73 mSelection = source.readInt() != 0 ? source.readString() : null; 74 mSelectionArgs = source.readInt() != 0 ? source.readStringArray() : null; 75 mExpectedCount = source [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 585 public CompatibilityInfo createFromParcel(Parcel source) { 586 return new CompatibilityInfo(source); 595 private CompatibilityInfo(Parcel source) { argument 596 mCompatibilityFlags = source.readInt(); 597 applicationDensity = source.readInt(); 598 applicationScale = source.readFloat(); 599 applicationInvertedScale = source.readFloat();
|
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiTimerRecordSources.java | 32 * Container for timer record source used for timer recording. Timer source consists of two parts, 33 * timer info and record source. 45 * Record source containers all program information used for recording. 56 * // create digital source. 58 * TimerRecordSource source = ofDigitalSource(timerInfo, recordSource); 70 * Creates {@link TimerRecordSource} for digital source which is used for <Set Digital 74 * @param source digital source used for timer recording 76 * @throws IllegalArgumentException if {@code timerInfo} or {@code source} i 78 ofDigitalSource(TimerInfo timerInfo, DigitalServiceSource source) argument 93 ofAnalogueSource(TimerInfo timerInfo, AnalogueServiceSource source) argument 108 ofExternalPlug(TimerInfo timerInfo, ExternalPlugData source) argument 123 ofExternalPhysicalAddress(TimerInfo timerInfo, ExternalPhysicalAddress source) argument 131 checkTimerRecordSourceInputs(TimerInfo timerInfo, RecordSource source) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkInfo.java | 149 public NetworkInfo(NetworkInfo source) { argument 150 if (source != null) { 151 synchronized (source) { 152 mNetworkType = source.mNetworkType; 153 mSubtype = source.mSubtype; 154 mTypeName = source.mTypeName; 155 mSubtypeName = source.mSubtypeName; 156 mState = source.mState; 157 mDetailedState = source.mDetailedState; 158 mReason = source [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | DialogPreference.java | 457 public SavedState(Parcel source) { argument 458 super(source); 459 isDialogShowing = source.readInt() == 1; 460 dialogBundle = source.readBundle();
|
/frameworks/base/core/java/android/view/ |
H A D | InputEventConsistencyVerifier.java | 86 // The device id and source of the current stream of touch events. 203 final int source = event.getSource(); 207 KeyState state = findKeyState(deviceId, source, keyCode, /*remove*/ false); 221 addKeyState(deviceId, source, keyCode); 226 KeyState state = findKeyState(deviceId, source, keyCode, /*remove*/ true); 264 final int source = event.getSource(); 265 if ((source & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) { 339 final int source = event.getSource(); 343 || mTouchEventStreamSource != source)) { 346 + ", previous source " 668 findKeyState(int deviceId, int source, int keyCode, boolean remove) argument 690 addKeyState(int deviceId, int source, int keyCode) argument 702 public int source; field in class:InputEventConsistencyVerifier.KeyState 709 obtain(int deviceId, int source, int keyCode) argument [all...] |
H A D | ViewParent.java | 179 * @param originalView The source view where the context menu was first invoked 200 * @param originalView The source view where the action mode was first invoked 317 * @param source The descendant view that changed. 327 public void notifySubtreeAccessibilityStateChanged(View child, View source, int changeType); argument
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | CursorAnchorInfo.java | 123 public CursorAnchorInfo(final Parcel source) { argument 124 mSelectionStart = source.readInt(); 125 mSelectionEnd = source.readInt(); 126 mComposingTextStart = source.readInt(); 127 mComposingText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); 128 mInsertionMarkerFlags = source.readInt(); 129 mInsertionMarkerHorizontal = source.readFloat(); 130 mInsertionMarkerTop = source.readFloat(); 131 mInsertionMarkerBaseline = source.readFloat(); 132 mInsertionMarkerBottom = source [all...] |
H A D | InputMethodSubtype.java | 284 InputMethodSubtype(Parcel source) { argument 286 mSubtypeNameResId = source.readInt(); 287 mSubtypeIconResId = source.readInt(); 288 s = source.readString(); 290 s = source.readString(); 292 s = source.readString(); 294 mIsAuxiliary = (source.readInt() == 1); 295 mOverridesImplicitlyEnabledSubtype = (source.readInt() == 1); 296 mSubtypeHashCode = source.readInt(); 297 mSubtypeId = source [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | TableRow.java | 499 public LayoutParams(MarginLayoutParams source) { argument 500 super(source);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMetadata.java | 105 * The number of tracks in the media's original source. 110 * The disc number for the media's original source. 115 * The artist for the album of the media's original source. 140 * The artwork for the album of the media's original source as a 150 * The artwork for the album of the media's original source as a Uri 558 * initial values. All fields in the source metadata will be included in 561 * @param source 563 public Builder(MediaMetadata source) { argument 564 mBundle = new Bundle(source.mBundle); 572 * @param source Th 577 Builder(MediaMetadata source, int maxBitmapSize) argument [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | MultiPaneChallengeLayout.java | 557 public LayoutParams(ViewGroup.LayoutParams source) { argument 558 super(source); 561 public LayoutParams(MarginLayoutParams source) { argument 562 super(source); 565 public LayoutParams(LayoutParams source) { argument 566 this((MarginLayoutParams) source); 568 centerWithinArea = source.centerWithinArea; 569 childType = source.childType; 570 gravity = source.gravity; 571 maxWidth = source [all...] |