/frameworks/base/core/java/android/content/pm/ |
D | PackageInfo.java | 331 public PackageInfo createFromParcel(Parcel source) { 332 return new PackageInfo(source); 341 private PackageInfo(Parcel source) { in PackageInfo() argument 342 packageName = source.readString(); in PackageInfo() 343 splitNames = source.createStringArray(); in PackageInfo() 344 versionCode = source.readInt(); in PackageInfo() 345 versionName = source.readString(); in PackageInfo() 346 baseRevisionCode = source.readInt(); in PackageInfo() 347 splitRevisionCodes = source.createIntArray(); in PackageInfo() 348 sharedUserId = source.readString(); in PackageInfo() [all …]
|
D | ApplicationInfo.java | 845 public ApplicationInfo createFromParcel(Parcel source) { 846 return new ApplicationInfo(source); 853 private ApplicationInfo(Parcel source) { in ApplicationInfo() argument 854 super(source); in ApplicationInfo() 855 taskAffinity = source.readString(); in ApplicationInfo() 856 permission = source.readString(); in ApplicationInfo() 857 processName = source.readString(); in ApplicationInfo() 858 className = source.readString(); in ApplicationInfo() 859 theme = source.readInt(); in ApplicationInfo() 860 flags = source.readInt(); in ApplicationInfo() [all …]
|
D | PackageInfoLite.java | 101 public PackageInfoLite createFromParcel(Parcel source) { 102 return new PackageInfoLite(source); 110 private PackageInfoLite(Parcel source) { in PackageInfoLite() argument 111 packageName = source.readString(); in PackageInfoLite() 112 splitNames = source.createStringArray(); in PackageInfoLite() 113 versionCode = source.readInt(); in PackageInfoLite() 114 baseRevisionCode = source.readInt(); in PackageInfoLite() 115 splitRevisionCodes = source.createIntArray(); in PackageInfoLite() 116 recommendedInstallLocation = source.readInt(); in PackageInfoLite() 117 installLocation = source.readInt(); in PackageInfoLite() [all …]
|
D | InstrumentationInfo.java | 117 public InstrumentationInfo createFromParcel(Parcel source) { 118 return new InstrumentationInfo(source); 125 private InstrumentationInfo(Parcel source) { in InstrumentationInfo() argument 126 super(source); in InstrumentationInfo() 127 targetPackage = source.readString(); in InstrumentationInfo() 128 sourceDir = source.readString(); in InstrumentationInfo() 129 publicSourceDir = source.readString(); in InstrumentationInfo() 130 dataDir = source.readString(); in InstrumentationInfo() 131 nativeLibraryDir = source.readString(); in InstrumentationInfo() 132 handleProfiling = source.readInt() != 0; in InstrumentationInfo() [all …]
|
D | UserInfo.java | 182 public UserInfo createFromParcel(Parcel source) { 183 return new UserInfo(source); 190 private UserInfo(Parcel source) { in UserInfo() argument 191 id = source.readInt(); in UserInfo() 192 name = source.readString(); in UserInfo() 193 iconPath = source.readString(); in UserInfo() 194 flags = source.readInt(); in UserInfo() 195 serialNumber = source.readInt(); in UserInfo() 196 creationTime = source.readLong(); in UserInfo() 197 lastLoggedInTime = source.readLong(); in UserInfo() [all …]
|
D | ActivityInfo.java | 800 public ActivityInfo createFromParcel(Parcel source) { 801 return new ActivityInfo(source); 808 private ActivityInfo(Parcel source) { in ActivityInfo() argument 809 super(source); in ActivityInfo() 810 theme = source.readInt(); in ActivityInfo() 811 launchMode = source.readInt(); in ActivityInfo() 812 permission = source.readString(); in ActivityInfo() 813 taskAffinity = source.readString(); in ActivityInfo() 814 targetActivity = source.readString(); in ActivityInfo() 815 flags = source.readInt(); in ActivityInfo() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 636 private TaskDescription(Parcel source) { in TaskDescription() argument 637 readFromParcel(source); in TaskDescription() 776 public void readFromParcel(Parcel source) { in readFromParcel() argument 777 mLabel = source.readInt() > 0 ? source.readString() : null; in readFromParcel() 778 mIcon = source.readInt() > 0 ? Bitmap.CREATOR.createFromParcel(source) : null; in readFromParcel() 779 mColorPrimary = source.readInt(); in readFromParcel() 780 mIconFilename = source.readInt() > 0 ? source.readString() : null; in readFromParcel() 785 public TaskDescription createFromParcel(Parcel source) { 786 return new TaskDescription(source); 933 public void readFromParcel(Parcel source) { in readFromParcel() argument [all …]
|
/frameworks/av/media/libstagefright/ |
D | MediaExtractor.cpp | 55 const sp<DataSource> &source, const char *mime) { in Create() argument 61 if (!source->sniff(&tmp, &confidence, &meta)) { in Create() 85 return new DRMExtractor(source, originalMime); in Create() 97 ret = new MPEG4Extractor(source); in Create() 99 ret = new MP3Extractor(source, meta); in Create() 102 ret = new AMRExtractor(source); in Create() 104 ret = new FLACExtractor(source); in Create() 106 ret = new WAVExtractor(source); in Create() 108 ret = new OggExtractor(source); in Create() 110 ret = new MatroskaExtractor(source); in Create() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 543 public Visibility(Visibility source) { in Visibility() argument 544 rssi5 = source.rssi5; in Visibility() 545 rssi24 = source.rssi24; in Visibility() 546 age24 = source.age24; in Visibility() 547 age5 = source.age5; in Visibility() 548 num24 = source.num24; in Visibility() 549 num5 = source.num5; in Visibility() 550 BSSID5 = source.BSSID5; in Visibility() 551 BSSID24 = source.BSSID24; in Visibility() 1432 public WifiConfiguration(WifiConfiguration source) { in WifiConfiguration() argument [all …]
|
/frameworks/base/core/java/android/text/ |
D | SpannedString.java | 29 public SpannedString(CharSequence source) { in SpannedString() argument 30 super(source, 0, source.length()); in SpannedString() 33 private SpannedString(CharSequence source, int start, int end) { in SpannedString() argument 34 super(source, start, end); in SpannedString() 41 public static SpannedString valueOf(CharSequence source) { in valueOf() argument 42 if (source instanceof SpannedString) { in valueOf() 43 return (SpannedString) source; in valueOf() 45 return new SpannedString(source); in valueOf()
|
D | SpannableString.java | 29 public SpannableString(CharSequence source) { in SpannableString() argument 30 super(source, 0, source.length()); in SpannableString() 33 private SpannableString(CharSequence source, int start, int end) { in SpannableString() argument 34 super(source, start, end); in SpannableString() 37 public static SpannableString valueOf(CharSequence source) { in valueOf() argument 38 if (source instanceof SpannableString) { in valueOf() 39 return (SpannableString) source; in valueOf() 41 return new SpannableString(source); in valueOf()
|
D | InputFilter.java | 42 public CharSequence filter(CharSequence source, int start, int end, in filter() argument 50 public CharSequence filter(CharSequence source, int start, int end, in filter() argument 53 if (Character.isLowerCase(source.charAt(i))) { in filter() 55 TextUtils.getChars(source, start, end, v, 0); in filter() 58 if (source instanceof Spanned) { in filter() 60 TextUtils.copySpansFrom((Spanned) source, in filter() 84 public CharSequence filter(CharSequence source, int start, int end, Spanned dest, in filter() argument 93 if (Character.isHighSurrogate(source.charAt(keep - 1))) { in filter() 99 return source.subSequence(start, keep); in filter()
|
/frameworks/base/tools/aapt2/ |
D | Logger.cpp | 37 std::ostream& Logger::error(const Source& source) { in error() argument 38 return sLog->err << source << ": error: "; in error() 41 std::ostream& Logger::error(const SourceLine& source) { in error() argument 42 return sLog->err << source << ": error: "; in error() 49 std::ostream& Logger::warn(const Source& source) { in warn() argument 50 return sLog->err << source << ": warning: "; in warn() 53 std::ostream& Logger::warn(const SourceLine& source) { in warn() argument 54 return sLog->err << source << ": warning: "; in warn() 61 std::ostream& Logger::note(const Source& source) { in note() argument 62 return sLog->err << source << ": note: "; in note() [all …]
|
D | ResourceTable.cpp | 150 const SourceLine& source, std::unique_ptr<Value> value) { in addResource() argument 151 return addResourceImpl(name, ResourceId{}, config, source, std::move(value), kValidNameChars); in addResource() 155 const ConfigDescription& config, const SourceLine& source, in addResource() argument 157 return addResourceImpl(name, resId, config, source, std::move(value), kValidNameChars); in addResource() 162 const SourceLine& source, in addResourceAllowMangled() argument 164 return addResourceImpl(name, ResourceId{}, config, source, std::move(value), in addResourceAllowMangled() 169 const ConfigDescription& config, const SourceLine& source, in addResourceImpl() argument 172 Logger::error(source) in addResourceImpl() 184 Logger::error(source) in addResourceImpl() 199 Logger::error(source) in addResourceImpl() [all …]
|
D | Source.h | 72 inline ::std::ostream& operator<<(::std::ostream& out, const Source& source) { 73 return out << source.path; 76 inline ::std::ostream& operator<<(::std::ostream& out, const SourceLine& source) { 77 return out << source.path << ":" << source.line; 80 inline ::std::ostream& operator<<(::std::ostream& out, const SourceLineColumn& source) { 81 return out << source.path << ":" << source.line << ":" << source.column;
|
D | ProguardRules.cpp | 31 BaseVisitor(const Source& source, KeepSet* keepSet) : mSource(source), mKeepSet(keepSet) { in BaseVisitor() argument 77 LayoutVisitor(const Source& source, KeepSet* keepSet) : BaseVisitor(source, keepSet) { in LayoutVisitor() 106 XmlResourceVisitor(const Source& source, KeepSet* keepSet) : BaseVisitor(source, keepSet) { in XmlResourceVisitor() 127 TransitionVisitor(const Source& source, KeepSet* keepSet) : BaseVisitor(source, keepSet) { in TransitionVisitor() 145 ManifestVisitor(const Source& source, KeepSet* keepSet) : BaseVisitor(source, keepSet) { in ManifestVisitor() 189 bool collectProguardRulesForManifest(const Source& source, xml::Node* node, KeepSet* keepSet) { in collectProguardRulesForManifest() argument 190 ManifestVisitor visitor(source, keepSet); in collectProguardRulesForManifest() 195 bool collectProguardRules(ResourceType type, const Source& source, xml::Node* node, in collectProguardRules() argument 199 LayoutVisitor visitor(source, keepSet); in collectProguardRules() 205 XmlResourceVisitor visitor(source, keepSet); in collectProguardRules() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | RTSPSource.cpp | 130 sp<AnotherPacketSource> source = info->mSource; in pause() local 133 if (source != NULL && source->isFinished(mediaDurationUs)) { in pause() 152 sp<AnotherPacketSource> source = getSource(audio); in getFormatMeta() local 154 if (source == NULL) { in getFormatMeta() 158 return source->getFormat(); in getFormatMeta() 203 sp<AnotherPacketSource> source = getSource(audio); in dequeueAccessUnit() local 205 if (source == NULL) { in dequeueAccessUnit() 210 if (!source->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit() 221 source->signalEOS(ERROR_END_OF_STREAM); in dequeueAccessUnit() 227 if (source->isFinished(mediaDurationUs)) { in dequeueAccessUnit() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | ParcelableCall.java | 266 public ParcelableCall createFromParcel(Parcel source) { 268 String id = source.readString(); 269 int state = source.readInt(); 270 DisconnectCause disconnectCause = source.readParcelable(classLoader); 272 source.readList(cannedSmsResponses, classLoader); 273 int capabilities = source.readInt(); 274 int properties = source.readInt(); 275 long connectTimeMillis = source.readLong(); 276 Uri handle = source.readParcelable(classLoader); 277 int handlePresentation = source.readInt(); [all …]
|
D | ParcelableConnection.java | 171 public ParcelableConnection createFromParcel(Parcel source) { 174 PhoneAccountHandle phoneAccount = source.readParcelable(classLoader); 175 int state = source.readInt(); 176 int capabilities = source.readInt(); 177 Uri address = source.readParcelable(classLoader); 178 int addressPresentation = source.readInt(); 179 String callerDisplayName = source.readString(); 180 int callerDisplayNamePresentation = source.readInt(); 182 IVideoProvider.Stub.asInterface(source.readStrongBinder()); 183 int videoState = source.readInt(); [all …]
|
/frameworks/base/core/java/android/text/method/ |
D | ReplacementTransformationMethod.java | 52 public CharSequence getTransformation(CharSequence source, View v) { in getTransformation() argument 59 if (!(source instanceof Editable)) { in getTransformation() 67 if (TextUtils.indexOf(source, original[i]) >= 0) { in getTransformation() 73 return source; in getTransformation() 76 if (!(source instanceof Spannable)) { in getTransformation() 82 if (source instanceof Spanned) { in getTransformation() 84 (Spanned) source, in getTransformation() 87 return new ReplacementCharSequence(source, in getTransformation() 94 if (source instanceof Spanned) { in getTransformation() 95 return new SpannedReplacementCharSequence((Spanned) source, in getTransformation() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | EditorInfo.java | 426 public EditorInfo createFromParcel(Parcel source) { 428 res.inputType = source.readInt(); 429 res.imeOptions = source.readInt(); 430 res.privateImeOptions = source.readString(); 431 res.actionLabel = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); 432 res.actionId = source.readInt(); 433 res.initialSelStart = source.readInt(); 434 res.initialSelEnd = source.readInt(); 435 res.initialCapsMode = source.readInt(); 436 res.hintText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); [all …]
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 234 public DisplayInfo createFromParcel(Parcel source) { 235 return new DisplayInfo(source); 251 private DisplayInfo(Parcel source) { in DisplayInfo() argument 252 readFromParcel(source); in DisplayInfo() 330 public void readFromParcel(Parcel source) { in readFromParcel() argument 331 layerStack = source.readInt(); in readFromParcel() 332 flags = source.readInt(); in readFromParcel() 333 type = source.readInt(); in readFromParcel() 334 address = source.readString(); in readFromParcel() 335 name = source.readString(); in readFromParcel() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ParceledListSliceTest.java | 161 public BaseObject createFromParcel(Parcel source) { 162 switch (source.readInt()) { 164 return SmallObject.createFromParcelBody(source); 166 return LargeObject.createFromParcelBody(source); 195 public static SmallObject createFromParcelBody(Parcel source) { in createFromParcelBody() argument 196 return new SmallObject(source.readInt(), source.readInt()); in createFromParcelBody() 201 public SmallObject createFromParcel(Parcel source) { 203 source.readInt(); 204 return createFromParcelBody(source); 239 public static LargeObject createFromParcelBody(Parcel source) { in createFromParcelBody() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | LinkPropertiesTest.java | 50 public void assertLinkPropertiesEqual(LinkProperties source, LinkProperties target) { in assertLinkPropertiesEqual() argument 52 assertTrue(source.isIdenticalInterfaceName(target)); in assertLinkPropertiesEqual() 53 assertTrue(target.isIdenticalInterfaceName(source)); in assertLinkPropertiesEqual() 55 assertTrue(source.isIdenticalAddresses(target)); in assertLinkPropertiesEqual() 56 assertTrue(target.isIdenticalAddresses(source)); in assertLinkPropertiesEqual() 58 assertTrue(source.isIdenticalDnses(target)); in assertLinkPropertiesEqual() 59 assertTrue(target.isIdenticalDnses(source)); in assertLinkPropertiesEqual() 61 assertTrue(source.isIdenticalRoutes(target)); in assertLinkPropertiesEqual() 62 assertTrue(target.isIdenticalRoutes(source)); in assertLinkPropertiesEqual() 64 assertTrue(source.isIdenticalHttpProxy(target)); in assertLinkPropertiesEqual() [all …]
|
/frameworks/support/percent/src/android/support/percent/ |
D | PercentFrameLayout.java | 117 public LayoutParams(ViewGroup.LayoutParams source) { in LayoutParams() argument 118 super(source); in LayoutParams() 121 public LayoutParams(MarginLayoutParams source) { in LayoutParams() argument 122 super(source); in LayoutParams() 125 public LayoutParams(FrameLayout.LayoutParams source) { in LayoutParams() argument 126 super((MarginLayoutParams) source); in LayoutParams() 127 gravity = source.gravity; in LayoutParams() 130 public LayoutParams(LayoutParams source) { in LayoutParams() argument 131 this((FrameLayout.LayoutParams) source); in LayoutParams() 132 mPercentLayoutInfo = source.mPercentLayoutInfo; in LayoutParams()
|