/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | VirtualDisplaySurface.cpp | 286 status_t VirtualDisplaySurface::dequeueBuffer(Source source, argument 290 bool async = (source == SOURCE_SINK); 292 status_t result = mSource[source]->dequeueBuffer(sslot, fence, async, 296 int pslot = mapSource2ProducerSlot(source, *sslot); 298 dbgSourceStr(source), *sslot, pslot, result); 299 uint64_t sourceBit = static_cast<uint64_t>(source) << pslot; 302 // This slot was previously dequeued from the other source; must 316 result = mSource[source]->requestBuffer(*sslot, &mProducerBuffers[pslot]); 319 mSource[source]->cancelBuffer(*sslot, *fence); 323 dbgSourceStr(source), pslo 344 Source source = fbSourceForCompositionType(mCompositionType); local 479 Source source = fbSourceForCompositionType(mCompositionType); local 567 mapSource2ProducerSlot(Source source, int sslot) argument 574 mapProducer2SourceSlot(Source source, int pslot) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiAutoJoinController.java | 559 int getConnectChoice(WifiConfiguration source, WifiConfiguration target) { argument 561 if (source == null || target == null) { 565 if (source.connectChoices != null 566 && source.connectChoices.containsKey(target.configKey(true))) { 567 choice = source.connectChoices.get(target.configKey(true)); 568 } else if (source.linkedConfigurations != null) { 569 for (String key : source.linkedConfigurations.keySet()) {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | BaseCardView.java | 836 * source. 838 * @param source The layout params to copy from. 840 public LayoutParams(LayoutParams source) { argument 841 super(source); 843 this.viewType = source.viewType;
|
/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | PlaybackStateCompat.java | 600 * @param source The playback state to copy. 602 public Builder(PlaybackStateCompat source) { argument 603 mState = source.mState; 604 mPosition = source.mPosition; 605 mRate = source.mSpeed; 606 mUpdateTime = source.mUpdateTime; 607 mBufferedPosition = source.mBufferedPosition; 608 mActions = source.mActions; 609 mErrorMessage = source.mErrorMessage;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | GridLayoutManager.java | 224 * Sets the source to get the number of spans occupied by each item in the adapter. 780 public LayoutParams(ViewGroup.MarginLayoutParams source) { argument 781 super(source); 784 public LayoutParams(ViewGroup.LayoutParams source) { argument 785 super(source); 788 public LayoutParams(RecyclerView.LayoutParams source) { argument 789 super(source);
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 131 static void dumpSource(const sp<MediaSource> &source, const String8 &filename) { argument 134 CHECK_EQ((status_t)OK, source->start()); 139 err = source->read(&mbuf); 158 CHECK_EQ((status_t)OK, source->stop()); 164 static void playSource(OMXClient *client, sp<MediaSource> &source) { argument 165 sp<MetaData> meta = source->getFormat(); 172 rawSource = source; 183 client->interface(), meta, false /* createEncoder */, source, 195 source.clear(); 398 DetectSyncSource(const sp<MediaSource> &source); 422 DetectSyncSource(const sp<MediaSource> &source) argument 517 sp<MediaSource> source = sources.editItemAt(i); local 534 performSeekTest(const sp<MediaSource> &source) argument 1025 sp<MediaSource> source = extractor->getTrack(i); local [all...] |
/frameworks/av/media/libmedia/ |
H A D | IAudioPolicyService.cpp | 461 virtual bool isSourceActive(audio_source_t source) const 465 data.writeInt32((int32_t) source); 1015 audio_source_t source = (audio_source_t) data.readInt32(); local 1016 reply->writeInt32( isSourceActive(source));
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | GenericSource.cpp | 109 // delay data source creation to prepareAsync() to avoid blocking 122 // delay data source creation to prepareAsync() to avoid blocking 177 // Check mime to see if we actually have a widevine source. 178 // If the data source is not URL-type (eg. file source), we 235 // check if the source requires secure buffers 340 // delayed data source creation 355 ALOGE("Failed to create http source!"); 372 ALOGE("Failed to create data source!"); 384 // could still be set to true later, if the streaming or file source 817 const sp<MediaSource> source = mSources.itemAt(trackIndex); local 1029 sp<MediaSource> source = audio ? mAudioTrack.mSource : mVideoTrack.mSource; local 1272 const sp<MediaSource> source = mSources.itemAt(trackIndex); local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AVIExtractor.cpp | 1286 const sp<DataSource> &source, String8 *mimeType, float *confidence, 1289 if (source->readAt(0, tmp, 12) < 12) { 1285 SniffAVI( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
H A D | FLACExtractor.cpp | 130 // current position within the data source 840 const sp<DataSource> &source, String8 *mimeType, float *confidence, 848 if (source->readAt(0, header, sizeof(header)) != sizeof(header) 839 SniffFLAC( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
H A D | OggExtractor.cpp | 69 MyVorbisExtractor(const sp<DataSource> &source); 212 MyVorbisExtractor::MyVorbisExtractor(const sp<DataSource> &source) argument 213 : mSource(source), 1020 OggExtractor::OggExtractor(const sp<DataSource> &source) argument 1021 : mDataSource(source), 1063 const sp<DataSource> &source, String8 *mimeType, float *confidence, 1066 if (source->readAt(0, tmp, 4) < 4 || memcmp(tmp, "OggS", 4)) { 1062 SniffOgg( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | PlaylistFetcher.cpp | 899 sp<DataSource> source; local 919 uri.c_str(), &buffer, range_offset, range_length, kDownloadBlockSize, &source); 1017 sp<AnotherPacketSource> source = local 1168 const sp<ABuffer> &accessUnit, const sp<AnotherPacketSource> &source, bool discard) { 1169 sp<MetaData> format = source->getFormat(); 1251 sp<AnotherPacketSource> source = local 1255 if (source == NULL) { 1262 while (source->hasBufferAvailable(&finalResult) 1263 && source->dequeueAccessUnit(&accessUnit) == OK) { 1284 sp<MetaData> format = source 1167 setAccessUnitProperties( const sp<ABuffer> &accessUnit, const sp<AnotherPacketSource> &source, bool discard) argument [all...] |
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 39 DataSourceReader(const sp<DataSource> &source) argument 40 : mSource(source) { 694 MatroskaExtractor::MatroskaExtractor(const sp<DataSource> &source) argument 695 : mDataSource(source), 740 ALOGW("Corrupt %s source: %s", mIsWebm ? "webm" : "matroska", 1092 const sp<DataSource> &source, String8 *mimeType, float *confidence, 1094 DataSourceReader reader(source); 1091 SniffMatroska( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ATSParser.cpp | 432 sp<MediaSource> source = mStreams.editValueAt(i)->getSource(type); local 433 if (source != NULL) { 435 return source; 929 // and won't enqueue any access units to the source until 1285 sp<MediaSource> source = program->getSource(type); local 1287 if (source != NULL) { 1288 return source;
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | PlaybackSession.cpp | 65 void setRepeaterSource(const sp<RepeaterSource> &source); 281 const sp<RepeaterSource> &source) { 282 mRepeaterSource = source; 906 bool isVideo, const sp<MediaSource> &source, bool isRepeaterSource, 938 status_t err = convertMetaDataToMessage(source->getFormat(), &format); 976 sp<MediaPuller> puller = new MediaPuller(source, notify); 990 track->setRepeaterSource(static_cast<RepeaterSource *>(source.get())); 1038 sp<SurfaceMediaSource> source = new SurfaceMediaSource(width, height); local 1040 source->setUseAbsoluteTimestamps(); 1043 new RepeaterSource(source, framesPerSecon 280 setRepeaterSource( const sp<RepeaterSource> &source) argument 905 addSource( bool isVideo, const sp<MediaSource> &source, bool isRepeaterSource, bool usePCMAudio, unsigned profileIdc, unsigned levelIdc, unsigned constraintSet, size_t *numInputBuffers) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActionBar.java | 1359 public LayoutParams(LayoutParams source) { argument 1360 super(source); 1361 this.gravity = source.gravity; 1364 public LayoutParams(ViewGroup.LayoutParams source) { argument 1365 super(source); 1373 * point it's dangerous for source compatibility. Upon building against a new
|
H A D | AppOpsManager.java | 832 PackageOps(Parcel source) { argument 833 mPackageName = source.readString(); 834 mUid = source.readInt(); 836 final int N = source.readInt(); 838 mEntries.add(OpEntry.CREATOR.createFromParcel(source)); 843 @Override public PackageOps createFromParcel(Parcel source) { 844 return new PackageOps(source); 910 OpEntry(Parcel source) { argument 911 mOp = source.readInt(); 912 mMode = source [all...] |
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 1555 public IntentFilter createFromParcel(Parcel source) { 1556 return new IntentFilter(source); 1645 private IntentFilter(Parcel source) { argument 1647 source.readStringList(mActions); 1648 if (source.readInt() != 0) { 1650 source.readStringList(mCategories); 1652 if (source.readInt() != 0) { 1654 source.readStringList(mDataSchemes); 1656 if (source.readInt() != 0) { 1658 source [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageInstaller.java | 903 public SessionParams(Parcel source) { argument 904 mode = source.readInt(); 905 installFlags = source.readInt(); 906 installLocation = source.readInt(); 907 sizeBytes = source.readLong(); 908 appPackageName = source.readString(); 909 appIcon = source.readParcelable(null); 910 appLabel = source.readString(); 911 originatingUri = source.readParcelable(null); 912 referrerUri = source 1081 SessionInfo(Parcel source) argument [all...] |
/frameworks/base/core/java/android/service/notification/ |
H A D | ZenModeConfig.java | 119 public ZenModeConfig(Parcel source) { argument 120 allowCalls = source.readInt() == 1; 121 allowMessages = source.readInt() == 1; 122 allowEvents = source.readInt() == 1; 123 if (source.readInt() == 1) { 124 sleepMode = source.readString(); 126 sleepStartHour = source.readInt(); 127 sleepStartMinute = source.readInt(); 128 sleepEndHour = source.readInt(); 129 sleepEndMinute = source 199 sourceToString(int source) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringBuilder.java | 100 public static SpannableStringBuilder valueOf(CharSequence source) { argument 101 if (source instanceof SpannableStringBuilder) { 102 return (SpannableStringBuilder) source; 104 return new SpannableStringBuilder(source);
|
/frameworks/base/core/java/android/view/ |
H A D | InputDevice.java | 38 * Applications can query the framework about the characteristics of each distinct source. 41 * to describe motion events. Refer to the comments on the input source constants for 65 * A mask for input source classes. 67 * Each distinct input source constant has one or more input source class bits set to 73 * The input source has no class. 80 * The input source has buttons or keys. 90 * The input source is a pointing device associated with a display. 104 * The input source is a trackball navigation device. 116 * The input source i 597 supportsSource(int source) argument 666 getMotionRange(int axis, int source) argument 688 addMotionRange(int axis, int source, float min, float max, float flat, float fuzz, float resolution) argument 741 MotionRange(int axis, int source, float min, float max, float flat, float fuzz, float resolution) argument 777 isFromSource(int source) argument 924 appendSourceDescriptionIfApplicable(StringBuilder description, int source, String sourceName) argument [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityRecord.java | 27 * about state change of its source {@link android.view.View}. When a view fires 112 * Sets the event source. 114 * @param source The source. 118 public void setSource(View source) { argument 119 setSource(source, UNDEFINED); 123 * Sets the source to be a virtual descendant of the given <code>root</code>. 125 * is set as the source. 151 * Gets the {@link AccessibilityNodeInfo} of the event source. 157 * @return The info of the source [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Gallery.java | 1543 public LayoutParams(ViewGroup.LayoutParams source) { argument 1544 super(source);
|
H A D | HorizontalScrollView.java | 1695 public SavedState(Parcel source) { argument 1696 super(source); 1697 scrollPosition = source.readInt(); 1698 isLayoutRtl = (source.readInt() == 0) ? true : false;
|