/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 463 public void readFromParcel(Parcel source) { in readFromParcel() argument 464 id = source.readInt(); in readFromParcel() 465 persistentId = source.readInt(); in readFromParcel() 466 if (source.readInt() != 0) { in readFromParcel() 467 baseIntent = Intent.CREATOR.createFromParcel(source); in readFromParcel() 471 origActivity = ComponentName.readFromParcel(source); in readFromParcel() 472 description = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); in readFromParcel() 477 public RecentTaskInfo createFromParcel(Parcel source) { 478 return new RecentTaskInfo(source); 485 private RecentTaskInfo(Parcel source) { in RecentTaskInfo() argument [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInfo.java | 265 public PackageInfo createFromParcel(Parcel source) { 266 return new PackageInfo(source); 274 private PackageInfo(Parcel source) { in PackageInfo() argument 275 packageName = source.readString(); in PackageInfo() 276 versionCode = source.readInt(); in PackageInfo() 277 versionName = source.readString(); in PackageInfo() 278 sharedUserId = source.readString(); in PackageInfo() 279 sharedUserLabel = source.readInt(); in PackageInfo() 280 int hasApp = source.readInt(); in PackageInfo() 282 applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source); in PackageInfo() [all …]
|
D | ApplicationInfo.java | 587 public ApplicationInfo createFromParcel(Parcel source) { 588 return new ApplicationInfo(source); 595 private ApplicationInfo(Parcel source) { in ApplicationInfo() argument 596 super(source); in ApplicationInfo() 597 taskAffinity = source.readString(); in ApplicationInfo() 598 permission = source.readString(); in ApplicationInfo() 599 processName = source.readString(); in ApplicationInfo() 600 className = source.readString(); in ApplicationInfo() 601 theme = source.readInt(); in ApplicationInfo() 602 flags = source.readInt(); in ApplicationInfo() [all …]
|
D | InstrumentationInfo.java | 106 public InstrumentationInfo createFromParcel(Parcel source) { 107 return new InstrumentationInfo(source); 114 private InstrumentationInfo(Parcel source) { in InstrumentationInfo() argument 115 super(source); in InstrumentationInfo() 116 targetPackage = source.readString(); in InstrumentationInfo() 117 sourceDir = source.readString(); in InstrumentationInfo() 118 publicSourceDir = source.readString(); in InstrumentationInfo() 119 dataDir = source.readString(); in InstrumentationInfo() 120 nativeLibraryDir = source.readString(); in InstrumentationInfo() 121 handleProfiling = source.readInt() != 0; in InstrumentationInfo() [all …]
|
D | ActivityInfo.java | 538 public ActivityInfo createFromParcel(Parcel source) { 539 return new ActivityInfo(source); 546 private ActivityInfo(Parcel source) { in ActivityInfo() argument 547 super(source); in ActivityInfo() 548 theme = source.readInt(); in ActivityInfo() 549 launchMode = source.readInt(); in ActivityInfo() 550 permission = source.readString(); in ActivityInfo() 551 taskAffinity = source.readString(); in ActivityInfo() 552 targetActivity = source.readString(); in ActivityInfo() 553 flags = source.readInt(); in ActivityInfo() [all …]
|
D | ResolveInfo.java | 274 public ResolveInfo createFromParcel(Parcel source) { 275 return new ResolveInfo(source); 282 private ResolveInfo(Parcel source) { in ResolveInfo() argument 283 switch (source.readInt()) { in ResolveInfo() 285 activityInfo = ActivityInfo.CREATOR.createFromParcel(source); in ResolveInfo() 289 serviceInfo = ServiceInfo.CREATOR.createFromParcel(source); in ResolveInfo() 297 if (source.readInt() != 0) { in ResolveInfo() 298 filter = IntentFilter.CREATOR.createFromParcel(source); in ResolveInfo() 300 priority = source.readInt(); in ResolveInfo() 301 preferredOrder = source.readInt(); in ResolveInfo() [all …]
|
D | PackageInfoLite.java | 74 public PackageInfoLite createFromParcel(Parcel source) { 75 return new PackageInfoLite(source); 83 private PackageInfoLite(Parcel source) { in PackageInfoLite() argument 84 packageName = source.readString(); in PackageInfoLite() 85 recommendedInstallLocation = source.readInt(); in PackageInfoLite() 86 installLocation = source.readInt(); in PackageInfoLite() 88 final int verifiersLength = source.readInt(); in PackageInfoLite() 93 source.readTypedArray(verifiers, VerifierInfo.CREATOR); in PackageInfoLite()
|
D | PackageStats.java | 106 public PackageStats(Parcel source) { in PackageStats() argument 107 packageName = source.readString(); in PackageStats() 108 codeSize = source.readLong(); in PackageStats() 109 dataSize = source.readLong(); in PackageStats() 110 cacheSize = source.readLong(); in PackageStats() 111 externalCodeSize = source.readLong(); in PackageStats() 112 externalDataSize = source.readLong(); in PackageStats() 113 externalCacheSize = source.readLong(); in PackageStats() 114 externalMediaSize = source.readLong(); in PackageStats() 115 externalObbSize = source.readLong(); in PackageStats()
|
D | ConfigurationInfo.java | 118 public ConfigurationInfo createFromParcel(Parcel source) { 119 return new ConfigurationInfo(source); 126 private ConfigurationInfo(Parcel source) { in ConfigurationInfo() argument 127 reqTouchScreen = source.readInt(); in ConfigurationInfo() 128 reqKeyboardType = source.readInt(); in ConfigurationInfo() 129 reqNavigation = source.readInt(); in ConfigurationInfo() 130 reqInputFeatures = source.readInt(); in ConfigurationInfo() 131 reqGlEsVersion = source.readInt(); in ConfigurationInfo()
|
D | PermissionGroupInfo.java | 119 public PermissionGroupInfo createFromParcel(Parcel source) { 120 return new PermissionGroupInfo(source); 127 private PermissionGroupInfo(Parcel source) { in PermissionGroupInfo() argument 128 super(source); in PermissionGroupInfo() 129 descriptionRes = source.readInt(); in PermissionGroupInfo() 130 nonLocalizedDescription = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); in PermissionGroupInfo() 131 flags = source.readInt(); in PermissionGroupInfo() 132 priority = source.readInt(); in PermissionGroupInfo()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | LinkPropertiesTest.java | 37 LinkProperties source = new LinkProperties(); in testEqualsNull() local 40 assertFalse(source == target); in testEqualsNull() 41 assertTrue(source.equals(target)); in testEqualsNull() 42 assertTrue(source.hashCode() == target.hashCode()); in testEqualsNull() 48 LinkProperties source = new LinkProperties(); in testEqualsSameOrder() local 49 source.setInterfaceName(NAME); in testEqualsSameOrder() 51 source.addLinkAddress(new LinkAddress( in testEqualsSameOrder() 53 source.addLinkAddress(new LinkAddress( in testEqualsSameOrder() 56 source.addDns(NetworkUtils.numericToInetAddress(DNS1)); in testEqualsSameOrder() 57 source.addDns(NetworkUtils.numericToInetAddress(DNS2)); in testEqualsSameOrder() [all …]
|
/frameworks/av/media/libstagefright/ |
D | MediaExtractor.cpp | 54 const sp<DataSource> &source, const char *mime) { in Create() argument 60 if (!source->sniff(&tmp, &confidence, &meta)) { in Create() 84 return new DRMExtractor(source, originalMime); in Create() 96 ret = new MPEG4Extractor(source); in Create() 98 ret = new MP3Extractor(source, meta); in Create() 101 ret = new AMRExtractor(source); in Create() 103 ret = new FLACExtractor(source); in Create() 105 ret = new WAVExtractor(source); in Create() 107 ret = new OggExtractor(source); in Create() 109 ret = new MatroskaExtractor(source); in Create() [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() 82 public CharSequence filter(CharSequence source, int start, int end, in filter() argument 92 if (Character.isHighSurrogate(source.charAt(keep - 1))) { in filter() 98 return source.subSequence(start, keep); in filter()
|
D | BoringLayout.java | 39 public static BoringLayout make(CharSequence source, in make() argument 44 return new BoringLayout(source, paint, outerwidth, align, in make() 49 public static BoringLayout make(CharSequence source, in make() argument 55 return new BoringLayout(source, paint, outerwidth, align, in make() 65 public BoringLayout replaceOrMake(CharSequence source, TextPaint paint, in replaceOrMake() argument 70 replaceWith(source, paint, outerwidth, align, spacingmult, in replaceOrMake() 77 init(source, paint, outerwidth, align, spacingmult, spacingadd, in replaceOrMake() 87 public BoringLayout replaceOrMake(CharSequence source, TextPaint paint, in replaceOrMake() argument 97 replaceWith(source, paint, outerwidth, align, spacingmult, in replaceOrMake() 105 replaceWith(TextUtils.ellipsize(source, paint, ellipsizedWidth, in replaceOrMake() [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 | 372 public EditorInfo createFromParcel(Parcel source) { 374 res.inputType = source.readInt(); 375 res.imeOptions = source.readInt(); 376 res.privateImeOptions = source.readString(); 377 res.actionLabel = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); 378 res.actionId = source.readInt(); 379 res.initialSelStart = source.readInt(); 380 res.initialSelEnd = source.readInt(); 381 res.initialCapsMode = source.readInt(); 382 res.hintText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); [all …]
|
D | ExtractedText.java | 103 public ExtractedText createFromParcel(Parcel source) { 105 res.text = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); 106 res.startOffset = source.readInt(); 107 res.partialStartOffset = source.readInt(); 108 res.partialEndOffset = source.readInt(); 109 res.selectionStart = source.readInt(); 110 res.selectionEnd = source.readInt(); 111 res.flags = source.readInt();
|
/frameworks/base/core/java/android/view/ |
D | FocusFinderHelper.java | 36 public boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { in isBetterCandidate() argument 37 return mFocusFinder.isBetterCandidate(direction, source, rect1, rect2); in isBetterCandidate() 40 public boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) { in beamBeats() argument 41 return mFocusFinder.beamBeats(direction, source, rect1, rect2); in beamBeats() 52 public static int majorAxisDistance(int direction, Rect source, Rect dest) { in majorAxisDistance() argument 53 return FocusFinder.majorAxisDistance(direction, source, dest); in majorAxisDistance() 56 public static int majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) { in majorAxisDistanceToFarEdge() argument 57 return FocusFinder.majorAxisDistanceToFarEdge(direction, source, dest); in majorAxisDistanceToFarEdge()
|
D | FocusFinder.java | 315 boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { in isBetterCandidate() argument 319 if (!isCandidate(source, rect1, direction)) { in isBetterCandidate() 325 if (!isCandidate(source, rect2, direction)) { in isBetterCandidate() 330 if (beamBeats(direction, source, rect1, rect2)) { in isBetterCandidate() 335 if (beamBeats(direction, source, rect2, rect1)) { in isBetterCandidate() 341 majorAxisDistance(direction, source, rect1), in isBetterCandidate() 342 minorAxisDistance(direction, source, rect1)) in isBetterCandidate() 344 majorAxisDistance(direction, source, rect2), in isBetterCandidate() 345 minorAxisDistance(direction, source, rect2))); in isBetterCandidate() 354 boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) { in beamBeats() argument [all …]
|
/frameworks/base/core/java/android/accounts/ |
D | AuthenticatorDescription.java | 89 private AuthenticatorDescription(Parcel source) { in AuthenticatorDescription() argument 90 this.type = source.readString(); in AuthenticatorDescription() 91 this.packageName = source.readString(); in AuthenticatorDescription() 92 this.labelId = source.readInt(); in AuthenticatorDescription() 93 this.iconId = source.readInt(); in AuthenticatorDescription() 94 this.smallIconId = source.readInt(); in AuthenticatorDescription() 95 this.accountPreferencesId = source.readInt(); in AuthenticatorDescription() 96 this.customTokens = source.readByte() == 1; in AuthenticatorDescription() 136 public AuthenticatorDescription createFromParcel(Parcel source) { 137 return new AuthenticatorDescription(source);
|
/frameworks/base/core/java/android/content/res/ |
D | ObbInfo.java | 90 public ObbInfo createFromParcel(Parcel source) { 91 return new ObbInfo(source); 99 private ObbInfo(Parcel source) { in ObbInfo() argument 100 filename = source.readString(); in ObbInfo() 101 packageName = source.readString(); in ObbInfo() 102 version = source.readInt(); in ObbInfo() 103 flags = source.readInt(); in ObbInfo() 104 salt = source.createByteArray(); in ObbInfo()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | RTSPSource.cpp | 99 sp<AnotherPacketSource> source = getSource(audio); in getFormat() local 101 if (source == NULL) { in getFormat() 105 return source->getFormat(); in getFormat() 147 sp<AnotherPacketSource> source = getSource(audio); in dequeueAccessUnit() local 149 if (source == NULL) { in dequeueAccessUnit() 154 if (!source->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit() 158 return source->dequeueAccessUnit(accessUnit); in dequeueAccessUnit() 272 sp<AnotherPacketSource> source = info->mSource; in onMessageReceived() local 273 if (source != NULL) { in onMessageReceived() 280 source->queueAccessUnit(accessUnit); in onMessageReceived() [all …]
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | RunResult.java | 41 RunResult(Parcel source) { in RunResult() argument 42 name = source.readString(); in RunResult() 43 fgLongName = source.readString(); in RunResult() 44 bgLongName = source.readString(); in RunResult() 45 fgTime = source.readLong(); in RunResult() 46 fgOps = source.readLong(); in RunResult() 47 bgTime = source.readLong(); in RunResult() 48 bgOps = source.readLong(); in RunResult()
|