Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 779) sorted by relevance

12345678910>>...32

/frameworks/base/core/java/android/content/pm/
DPackageInfo.java277 public PackageInfo createFromParcel(Parcel source) {
278 return new PackageInfo(source);
286 private PackageInfo(Parcel source) { in PackageInfo() argument
287 packageName = source.readString(); in PackageInfo()
288 versionCode = source.readInt(); in PackageInfo()
289 versionName = source.readString(); in PackageInfo()
290 sharedUserId = source.readString(); in PackageInfo()
291 sharedUserLabel = source.readInt(); in PackageInfo()
292 int hasApp = source.readInt(); in PackageInfo()
294 applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source); in PackageInfo()
[all …]
DApplicationInfo.java615 public ApplicationInfo createFromParcel(Parcel source) {
616 return new ApplicationInfo(source);
623 private ApplicationInfo(Parcel source) { in ApplicationInfo() argument
624 super(source); in ApplicationInfo()
625 taskAffinity = source.readString(); in ApplicationInfo()
626 permission = source.readString(); in ApplicationInfo()
627 processName = source.readString(); in ApplicationInfo()
628 className = source.readString(); in ApplicationInfo()
629 theme = source.readInt(); in ApplicationInfo()
630 flags = source.readInt(); in ApplicationInfo()
[all …]
DInstrumentationInfo.java102 public InstrumentationInfo createFromParcel(Parcel source) {
103 return new InstrumentationInfo(source);
110 private InstrumentationInfo(Parcel source) { in InstrumentationInfo() argument
111 super(source); in InstrumentationInfo()
112 targetPackage = source.readString(); in InstrumentationInfo()
113 sourceDir = source.readString(); in InstrumentationInfo()
114 publicSourceDir = source.readString(); in InstrumentationInfo()
115 dataDir = source.readString(); in InstrumentationInfo()
116 nativeLibraryDir = source.readString(); in InstrumentationInfo()
117 handleProfiling = source.readInt() != 0; in InstrumentationInfo()
[all …]
DPackageInfoLite.java80 public PackageInfoLite createFromParcel(Parcel source) {
81 return new PackageInfoLite(source);
89 private PackageInfoLite(Parcel source) { in PackageInfoLite() argument
90 packageName = source.readString(); in PackageInfoLite()
91 versionCode = source.readInt(); in PackageInfoLite()
92 recommendedInstallLocation = source.readInt(); in PackageInfoLite()
93 installLocation = source.readInt(); in PackageInfoLite()
95 final int verifiersLength = source.readInt(); in PackageInfoLite()
100 source.readTypedArray(verifiers, VerifierInfo.CREATOR); in PackageInfoLite()
DUserInfo.java144 public UserInfo createFromParcel(Parcel source) {
145 return new UserInfo(source);
152 private UserInfo(Parcel source) { in UserInfo() argument
153 id = source.readInt(); in UserInfo()
154 name = source.readString(); in UserInfo()
155 iconPath = source.readString(); in UserInfo()
156 flags = source.readInt(); in UserInfo()
157 serialNumber = source.readInt(); in UserInfo()
158 creationTime = source.readLong(); in UserInfo()
159 lastLoggedInTime = source.readLong(); in UserInfo()
[all …]
DActivityInfo.java607 public ActivityInfo createFromParcel(Parcel source) {
608 return new ActivityInfo(source);
615 private ActivityInfo(Parcel source) { in ActivityInfo() argument
616 super(source); in ActivityInfo()
617 theme = source.readInt(); in ActivityInfo()
618 launchMode = source.readInt(); in ActivityInfo()
619 permission = source.readString(); in ActivityInfo()
620 taskAffinity = source.readString(); in ActivityInfo()
621 targetActivity = source.readString(); in ActivityInfo()
622 flags = source.readInt(); in ActivityInfo()
[all …]
DPackageStats.java134 public PackageStats(Parcel source) { in PackageStats() argument
135 packageName = source.readString(); in PackageStats()
136 userHandle = source.readInt(); in PackageStats()
137 codeSize = source.readLong(); in PackageStats()
138 dataSize = source.readLong(); in PackageStats()
139 cacheSize = source.readLong(); in PackageStats()
140 externalCodeSize = source.readLong(); in PackageStats()
141 externalDataSize = source.readLong(); in PackageStats()
142 externalCacheSize = source.readLong(); in PackageStats()
143 externalMediaSize = source.readLong(); in PackageStats()
[all …]
DConfigurationInfo.java118 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()
DResolveInfo.java289 public ResolveInfo createFromParcel(Parcel source) {
290 return new ResolveInfo(source);
297 private ResolveInfo(Parcel source) { in ResolveInfo() argument
298 switch (source.readInt()) { in ResolveInfo()
300 activityInfo = ActivityInfo.CREATOR.createFromParcel(source); in ResolveInfo()
304 serviceInfo = ServiceInfo.CREATOR.createFromParcel(source); in ResolveInfo()
312 if (source.readInt() != 0) { in ResolveInfo()
313 filter = IntentFilter.CREATOR.createFromParcel(source); in ResolveInfo()
315 priority = source.readInt(); in ResolveInfo()
316 preferredOrder = source.readInt(); in ResolveInfo()
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DLinkPropertiesTest.java36 public void assertLinkPropertiesEqual(LinkProperties source, LinkProperties target) { in assertLinkPropertiesEqual() argument
38 assertTrue(source.isIdenticalInterfaceName(target)); in assertLinkPropertiesEqual()
39 assertTrue(target.isIdenticalInterfaceName(source)); in assertLinkPropertiesEqual()
41 assertTrue(source.isIdenticalAddresses(target)); in assertLinkPropertiesEqual()
42 assertTrue(target.isIdenticalAddresses(source)); in assertLinkPropertiesEqual()
44 assertTrue(source.isIdenticalDnses(target)); in assertLinkPropertiesEqual()
45 assertTrue(target.isIdenticalDnses(source)); in assertLinkPropertiesEqual()
47 assertTrue(source.isIdenticalRoutes(target)); in assertLinkPropertiesEqual()
48 assertTrue(target.isIdenticalRoutes(source)); in assertLinkPropertiesEqual()
50 assertTrue(source.isIdenticalHttpProxy(target)); in assertLinkPropertiesEqual()
[all …]
/frameworks/base/core/java/android/app/
DActivityManager.java478 public void readFromParcel(Parcel source) { in readFromParcel() argument
479 id = source.readInt(); in readFromParcel()
480 persistentId = source.readInt(); in readFromParcel()
481 if (source.readInt() != 0) { in readFromParcel()
482 baseIntent = Intent.CREATOR.createFromParcel(source); in readFromParcel()
486 origActivity = ComponentName.readFromParcel(source); in readFromParcel()
487 description = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); in readFromParcel()
492 public RecentTaskInfo createFromParcel(Parcel source) {
493 return new RecentTaskInfo(source);
500 private RecentTaskInfo(Parcel source) { in RecentTaskInfo() argument
[all …]
/frameworks/av/media/libstagefright/
DMediaExtractor.cpp54 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/
DSpannedString.java29 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()
DSpannableString.java29 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()
DInputFilter.java42 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()
/frameworks/base/core/java/android/text/method/
DReplacementTransformationMethod.java52 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/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp129 sp<AnotherPacketSource> source = info->mSource; in pause() local
132 if (source != NULL && source->isFinished(mediaDurationUs)) { in pause()
148 sp<AnotherPacketSource> source = getSource(audio); in getFormatMeta() local
150 if (source == NULL) { in getFormatMeta()
154 return source->getFormat(); in getFormatMeta()
207 sp<AnotherPacketSource> source = getSource(audio); in dequeueAccessUnit() local
209 if (source == NULL) { in dequeueAccessUnit()
214 if (!source->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
225 source->signalEOS(ERROR_END_OF_STREAM); in dequeueAccessUnit()
231 if (source->isFinished(mediaDurationUs)) { in dequeueAccessUnit()
[all …]
/frameworks/base/core/java/android/view/
DDisplayInfo.java182 public DisplayInfo createFromParcel(Parcel source) {
183 return new DisplayInfo(source);
199 private DisplayInfo(Parcel source) { in DisplayInfo() argument
200 readFromParcel(source); in DisplayInfo()
264 public void readFromParcel(Parcel source) { in readFromParcel() argument
265 layerStack = source.readInt(); in readFromParcel()
266 flags = source.readInt(); in readFromParcel()
267 type = source.readInt(); in readFromParcel()
268 address = source.readString(); in readFromParcel()
269 name = source.readString(); in readFromParcel()
[all …]
DFocusFinderHelper.java36 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()
DFocusFinder.java279 boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { in isBetterCandidate() argument
283 if (!isCandidate(source, rect1, direction)) { in isBetterCandidate()
289 if (!isCandidate(source, rect2, direction)) { in isBetterCandidate()
294 if (beamBeats(direction, source, rect1, rect2)) { in isBetterCandidate()
299 if (beamBeats(direction, source, rect2, rect1)) { in isBetterCandidate()
305 majorAxisDistance(direction, source, rect1), in isBetterCandidate()
306 minorAxisDistance(direction, source, rect1)) in isBetterCandidate()
308 majorAxisDistance(direction, source, rect2), in isBetterCandidate()
309 minorAxisDistance(direction, source, rect2))); in isBetterCandidate()
318 boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) { in beamBeats() argument
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java372 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 …]
DExtractedText.java110 public ExtractedText createFromParcel(Parcel source) {
112 res.text = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
113 res.startOffset = source.readInt();
114 res.partialStartOffset = source.readInt();
115 res.partialEndOffset = source.readInt();
116 res.selectionStart = source.readInt();
117 res.selectionEnd = source.readInt();
118 res.flags = source.readInt();
/frameworks/base/core/java/android/accounts/
DAuthenticatorDescription.java89 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/
DObbInfo.java90 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/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DRunResult.java41 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()

12345678910>>...32