/frameworks/base/core/java/android/content/pm/ |
D | PackageInfo.java | 370 public PackageInfo createFromParcel(Parcel source) { 371 return new PackageInfo(source); 380 private PackageInfo(Parcel source) { in PackageInfo() argument 381 packageName = source.readString(); in PackageInfo() 382 splitNames = source.createStringArray(); in PackageInfo() 383 versionCode = source.readInt(); in PackageInfo() 384 versionName = source.readString(); in PackageInfo() 385 baseRevisionCode = source.readInt(); in PackageInfo() 386 splitRevisionCodes = source.createIntArray(); in PackageInfo() 387 sharedUserId = source.readString(); in PackageInfo() [all …]
|
D | InstrumentationInfo.java | 171 public InstrumentationInfo createFromParcel(Parcel source) { 172 return new InstrumentationInfo(source); 180 private InstrumentationInfo(Parcel source) { in InstrumentationInfo() argument 181 super(source); in InstrumentationInfo() 182 targetPackage = source.readString(); in InstrumentationInfo() 183 targetProcesses = source.readString(); in InstrumentationInfo() 184 sourceDir = source.readString(); in InstrumentationInfo() 185 publicSourceDir = source.readString(); in InstrumentationInfo() 186 splitNames = source.readStringArray(); in InstrumentationInfo() 187 splitSourceDirs = source.readStringArray(); in InstrumentationInfo() [all …]
|
D | ShortcutInfo.java | 289 private static ArraySet<String> cloneCategories(Set<String> source) { in cloneCategories() argument 290 if (source == null) { in cloneCategories() 293 final ArraySet<String> ret = new ArraySet<>(source.size()); in cloneCategories() 294 for (CharSequence s : source) { in cloneCategories() 348 private ShortcutInfo(ShortcutInfo source, @CloneFlags int cloneFlags) { in ShortcutInfo() argument 349 mUserId = source.mUserId; in ShortcutInfo() 350 mId = source.mId; in ShortcutInfo() 351 mPackageName = source.mPackageName; in ShortcutInfo() 352 mActivity = source.mActivity; in ShortcutInfo() 353 mFlags = source.mFlags; in ShortcutInfo() [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 | ApplicationInfo.java | 1304 public ApplicationInfo createFromParcel(Parcel source) { 1305 return new ApplicationInfo(source); 1313 private ApplicationInfo(Parcel source) { in ApplicationInfo() argument 1314 super(source); in ApplicationInfo() 1315 taskAffinity = source.readString(); in ApplicationInfo() 1316 permission = source.readString(); in ApplicationInfo() 1317 processName = source.readString(); in ApplicationInfo() 1318 className = source.readString(); in ApplicationInfo() 1319 theme = source.readInt(); in ApplicationInfo() 1320 flags = source.readInt(); in ApplicationInfo() [all …]
|
D | ActivityInfo.java | 1180 public ActivityInfo createFromParcel(Parcel source) { 1181 return new ActivityInfo(source); 1188 private ActivityInfo(Parcel source) { in ActivityInfo() argument 1189 super(source); in ActivityInfo() 1190 theme = source.readInt(); in ActivityInfo() 1191 launchMode = source.readInt(); in ActivityInfo() 1192 documentLaunchMode = source.readInt(); in ActivityInfo() 1193 permission = source.readString(); in ActivityInfo() 1194 taskAffinity = source.readString(); in ActivityInfo() 1195 targetActivity = source.readString(); in ActivityInfo() [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/ |
D | Android.bp | 5 "source/h264bsd_transform.c", 6 "source/h264bsd_util.c", 7 "source/h264bsd_byte_stream.c", 8 "source/h264bsd_seq_param_set.c", 9 "source/h264bsd_pic_param_set.c", 10 "source/h264bsd_slice_header.c", 11 "source/h264bsd_slice_data.c", 12 "source/h264bsd_macroblock_layer.c", 13 "source/h264bsd_stream.c", 14 "source/h264bsd_vlc.c", [all …]
|
/frameworks/base/telephony/java/com/android/ims/internal/uce/common/ |
D | CapInfo.java | 403 public CapInfo createFromParcel(Parcel source) { 404 return new CapInfo(source); 412 private CapInfo(Parcel source) { in CapInfo() argument 413 readFromParcel(source); in CapInfo() 416 public void readFromParcel(Parcel source) { in readFromParcel() argument 418 mImSupported = (source.readInt() == 0) ? false : true; in readFromParcel() 419 mFtSupported = (source.readInt() == 0) ? false : true; in readFromParcel() 420 mFtThumbSupported = (source.readInt() == 0) ? false : true; in readFromParcel() 421 mFtSnFSupported = (source.readInt() == 0) ? false : true; in readFromParcel() 422 mFtHttpSupported = (source.readInt() == 0) ? false : true; in readFromParcel() [all …]
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | XmlConfigTests.java | 47 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.empty_config); in testEmptyConfigFile() local 48 ApplicationConfig appConfig = new ApplicationConfig(source); in testEmptyConfigFile() 59 SSLContext context = TestUtils.getSSLContext(source); in testEmptyConfigFile() 66 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.empty_trust); in testEmptyAnchors() local 67 ApplicationConfig appConfig = new ApplicationConfig(source); in testEmptyAnchors() 77 SSLContext context = TestUtils.getSSLContext(source); in testEmptyAnchors() 84 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.domain1); in testBasicDomainConfig() local 85 ApplicationConfig appConfig = new ApplicationConfig(source); in testBasicDomainConfig() 103 SSLContext context = TestUtils.getSSLContext(source); in testBasicDomainConfig() 120 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.pins1); in testBasicPinning() local [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/internal/ |
D | VideoPauseTracker.java | 76 public boolean shouldPauseVideoFor(int source) { in shouldPauseVideoFor() argument 79 mPauseRequests.add(source); in shouldPauseVideoFor() 83 sourceToString(source), sourcesToString(mPauseRequests)); in shouldPauseVideoFor() 88 sourceToString(source), sourcesToString(mPauseRequests)); in shouldPauseVideoFor() 107 public boolean shouldResumeVideoFor(int source) { in shouldResumeVideoFor() argument 110 mPauseRequests.remove(source); in shouldResumeVideoFor() 115 sourceToString(source), sourcesToString(mPauseRequests)); in shouldResumeVideoFor() 120 sourceToString(source), sourcesToString(mPauseRequests)); in shouldResumeVideoFor() 125 sourceToString(source), sourcesToString(mPauseRequests)); in shouldResumeVideoFor() 150 public boolean wasVideoPausedFromSource(int source) { in wasVideoPausedFromSource() argument [all …]
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 1316 private TaskDescription(Parcel source) { in TaskDescription() argument 1317 readFromParcel(source); in TaskDescription() 1515 public void readFromParcel(Parcel source) { in readFromParcel() argument 1516 mLabel = source.readInt() > 0 ? source.readString() : null; in readFromParcel() 1517 mIcon = source.readInt() > 0 ? Bitmap.CREATOR.createFromParcel(source) : null; in readFromParcel() 1518 mColorPrimary = source.readInt(); in readFromParcel() 1519 mColorBackground = source.readInt(); in readFromParcel() 1520 mStatusBarColor = source.readInt(); in readFromParcel() 1521 mNavigationBarColor = source.readInt(); in readFromParcel() 1522 mIconFilename = source.readInt() > 0 ? source.readString() : null; in readFromParcel() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageParserCacheHelperTest.java | 36 final Bundle source = new Bundle(); in testParcelUnparcel() local 37 source.putInt("i1", 123); in testParcelUnparcel() 38 source.putString("s1", "abcdef"); in testParcelUnparcel() 39 source.putString("s2", "xyz"); in testParcelUnparcel() 40 source.putString("s3", null); in testParcelUnparcel() 44 source.putBundle("b1", nest); in testParcelUnparcel() 49 source.writeToParcel(p, 0); in testParcelUnparcel() 62 assertEquals(source.get("i1"), dest.get("i1")); in testParcelUnparcel() 63 assertEquals(source.get("s1"), dest.get("s1")); in testParcelUnparcel() 64 assertEquals(source.get("s2"), dest.get("s2")); in testParcelUnparcel() [all …]
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | FocusStrategy.java | 199 @FocusRealDirection int direction, @NonNull Rect source, in isBetterCandidate() argument 203 if (!isCandidate(source, candidate, direction)) { in isBetterCandidate() 209 if (!isCandidate(source, currentBest, direction)) { in isBetterCandidate() 214 if (beamBeats(direction, source, candidate, currentBest)) { in isBetterCandidate() 219 if (beamBeats(direction, source, currentBest, candidate)) { in isBetterCandidate() 226 majorAxisDistance(direction, source, candidate), in isBetterCandidate() 227 minorAxisDistance(direction, source, candidate)); in isBetterCandidate() 229 majorAxisDistance(direction, source, currentBest), in isBetterCandidate() 230 minorAxisDistance(direction, source, currentBest)); in isBetterCandidate() 242 @NonNull Rect source, @NonNull Rect rect1, @NonNull Rect rect2) { in beamBeats() 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()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | ParcelableCall.java | 306 public ParcelableCall createFromParcel(Parcel source) { 308 String id = source.readString(); 309 int state = source.readInt(); 310 DisconnectCause disconnectCause = source.readParcelable(classLoader); 312 source.readList(cannedSmsResponses, classLoader); 313 int capabilities = source.readInt(); 314 int properties = source.readInt(); 315 long connectTimeMillis = source.readLong(); 316 Uri handle = source.readParcelable(classLoader); 317 int handlePresentation = source.readInt(); [all …]
|
D | ParcelableConnection.java | 243 public ParcelableConnection createFromParcel(Parcel source) { 246 PhoneAccountHandle phoneAccount = source.readParcelable(classLoader); 247 int state = source.readInt(); 248 int capabilities = source.readInt(); 249 Uri address = source.readParcelable(classLoader); 250 int addressPresentation = source.readInt(); 251 String callerDisplayName = source.readString(); 252 int callerDisplayNamePresentation = source.readInt(); 254 IVideoProvider.Stub.asInterface(source.readStrongBinder()); 255 int videoState = source.readInt(); [all …]
|
/frameworks/base/telephony/java/com/android/ims/internal/uce/presence/ |
D | PresRlmiInfo.java | 206 public PresRlmiInfo createFromParcel(Parcel source) { 207 return new PresRlmiInfo(source); 216 private PresRlmiInfo(Parcel source) { in PresRlmiInfo() argument 217 readFromParcel(source); in PresRlmiInfo() 221 public void readFromParcel(Parcel source) { in readFromParcel() argument 222 mUri = source.readString(); in readFromParcel() 223 mVersion = source.readInt(); in readFromParcel() 224 mFullState = (source.readInt() == 0) ? false : true; in readFromParcel() 225 mListName = source.readString(); in readFromParcel() 226 mRequestId = source.readInt(); in readFromParcel() [all …]
|
/frameworks/base/graphics/java/android/view/ |
D | PixelCopy.java | 105 public static void request(@NonNull SurfaceView source, @NonNull Bitmap dest, in request() argument 107 request(source.getHolder().getSurface(), dest, listener, listenerThread); in request() 129 public static void request(@NonNull SurfaceView source, @Nullable Rect srcRect, in request() argument 132 request(source.getHolder().getSurface(), srcRect, in request() 152 public static void request(@NonNull Surface source, @NonNull Bitmap dest, in request() argument 154 request(source, null, dest, listener, listenerThread); in request() 176 public static void request(@NonNull Surface source, @Nullable Rect srcRect, in request() argument 180 if (!source.isValid()) { in request() 187 int result = ThreadedRenderer.copySurfaceInto(source, srcRect, dest); in request() 221 public static void request(@NonNull Window source, @NonNull Bitmap dest, in request() argument [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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ParallaxEffect.java | 199 public final void performMapping(Parallax source) { in performMapping() argument 204 source.verifyIntProperties(); in performMapping() 206 source.verifyFloatProperties(); in performMapping() 215 directValue = calculateDirectValue(source); in performMapping() 221 fraction = calculateFraction(source); in performMapping() 235 abstract float calculateFraction(Parallax source); in calculateFraction() argument 243 abstract Number calculateDirectValue(Parallax source); in calculateDirectValue() argument 281 Number calculateDirectValue(Parallax source) { in calculateDirectValue() argument 290 .getMarkerValue(source); in calculateDirectValue() 292 .getMarkerValue(source); in calculateDirectValue() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | EditorInfo.java | 566 public EditorInfo createFromParcel(Parcel source) { 568 res.inputType = source.readInt(); 569 res.imeOptions = source.readInt(); 570 res.privateImeOptions = source.readString(); 571 res.actionLabel = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); 572 res.actionId = source.readInt(); 573 res.initialSelStart = source.readInt(); 574 res.initialSelEnd = source.readInt(); 575 res.initialCapsMode = source.readInt(); 576 res.hintText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source); [all …]
|
/frameworks/av/media/libstagefright/ |
D | MediaExtractor.cpp | 122 const sp<DataSource> &source, const char *mime) { in Create() argument 128 return CreateFromService(source, mime); in Create() 136 sp<IMediaExtractor> ex = mediaExService->makeExtractor(source->asIDataSource(), mime); in Create() 147 const sp<DataSource> &source, const char *mime) { in CreateFromService() argument 153 source->DrmInitialization(nullptr /* mime */); in CreateFromService() 160 if (!sniff(source, &tmp, &confidence, &meta)) { in CreateFromService() 174 ret = new MPEG4Extractor(source); in CreateFromService() 176 ret = new MP3Extractor(source, meta); in CreateFromService() 179 ret = new AMRExtractor(source); in CreateFromService() 181 ret = new FLACExtractor(source); in CreateFromService() [all …]
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 252 public DisplayInfo createFromParcel(Parcel source) { 253 return new DisplayInfo(source); 269 private DisplayInfo(Parcel source) { in DisplayInfo() argument 270 readFromParcel(source); in DisplayInfo() 357 public void readFromParcel(Parcel source) { in readFromParcel() argument 358 layerStack = source.readInt(); in readFromParcel() 359 flags = source.readInt(); in readFromParcel() 360 type = source.readInt(); in readFromParcel() 361 address = source.readString(); in readFromParcel() 362 name = source.readString(); in readFromParcel() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 523 public Visibility(Visibility source) { in Visibility() argument 524 rssi5 = source.rssi5; in Visibility() 525 rssi24 = source.rssi24; in Visibility() 526 age24 = source.age24; in Visibility() 527 age5 = source.age5; in Visibility() 528 num24 = source.num24; in Visibility() 529 num5 = source.num5; in Visibility() 530 BSSID5 = source.BSSID5; in Visibility() 531 BSSID24 = source.BSSID24; in Visibility() 1368 public void copy(NetworkSelectionStatus source) { in copy() argument [all …]
|