/frameworks/base/core/java/android/content/pm/ |
D | PackageInfo.java | 499 public PackageInfo createFromParcel(Parcel source) { 500 return new PackageInfo(source); 510 private PackageInfo(Parcel source) { in PackageInfo() argument 511 packageName = source.readString8(); in PackageInfo() 512 splitNames = source.createString8Array(); in PackageInfo() 513 versionCode = source.readInt(); in PackageInfo() 514 versionCodeMajor = source.readInt(); in PackageInfo() 515 versionName = source.readString8(); in PackageInfo() 516 baseRevisionCode = source.readInt(); in PackageInfo() 517 splitRevisionCodes = source.createIntArray(); in PackageInfo() [all …]
|
D | InstrumentationInfo.java | 181 public InstrumentationInfo createFromParcel(Parcel source) { 182 return new InstrumentationInfo(source); 190 private InstrumentationInfo(Parcel source) { in InstrumentationInfo() argument 191 super(source); in InstrumentationInfo() 192 targetPackage = source.readString8(); in InstrumentationInfo() 193 targetProcesses = source.readString8(); in InstrumentationInfo() 194 sourceDir = source.readString8(); in InstrumentationInfo() 195 publicSourceDir = source.readString8(); in InstrumentationInfo() 196 splitNames = source.createString8Array(); in InstrumentationInfo() 197 splitSourceDirs = source.createString8Array(); in InstrumentationInfo() [all …]
|
D | PackageInfoLite.java | 129 public PackageInfoLite createFromParcel(Parcel source) { 130 return new PackageInfoLite(source); 138 private PackageInfoLite(Parcel source) { in PackageInfoLite() argument 139 packageName = source.readString(); in PackageInfoLite() 140 splitNames = source.createStringArray(); in PackageInfoLite() 141 versionCode = source.readInt(); in PackageInfoLite() 142 versionCodeMajor = source.readInt(); in PackageInfoLite() 143 baseRevisionCode = source.readInt(); in PackageInfoLite() 144 splitRevisionCodes = source.createIntArray(); in PackageInfoLite() 145 recommendedInstallLocation = source.readInt(); in PackageInfoLite() [all …]
|
D | ShortcutInfo.java | 489 private static ArraySet<String> cloneCategories(Set<String> source) { in cloneCategories() argument 490 if (source == null) { in cloneCategories() 493 final ArraySet<String> ret = new ArraySet<>(source.size()); in cloneCategories() 494 for (CharSequence s : source) { in cloneCategories() 562 private ShortcutInfo(ShortcutInfo source, @CloneFlags int cloneFlags) { in ShortcutInfo() argument 563 mUserId = source.mUserId; in ShortcutInfo() 564 mId = source.mId; in ShortcutInfo() 565 mPackageName = source.mPackageName; in ShortcutInfo() 566 mActivity = source.mActivity; in ShortcutInfo() 567 mFlags = source.mFlags; in ShortcutInfo() [all …]
|
D | ActivityInfo.java | 1329 public ActivityInfo createFromParcel(Parcel source) { 1330 return new ActivityInfo(source); 1337 private ActivityInfo(Parcel source) { in ActivityInfo() argument 1338 super(source); in ActivityInfo() 1339 theme = source.readInt(); in ActivityInfo() 1340 launchMode = source.readInt(); in ActivityInfo() 1341 documentLaunchMode = source.readInt(); in ActivityInfo() 1342 permission = source.readString8(); in ActivityInfo() 1343 taskAffinity = source.readString8(); in ActivityInfo() 1344 targetActivity = source.readString8(); in ActivityInfo() [all …]
|
/frameworks/base/core/java/android/app/ |
D | TaskInfo.java | 183 private TaskInfo(Parcel source) { in TaskInfo() argument 184 readFromParcel(source); in TaskInfo() 218 void readFromParcel(Parcel source) { in readFromParcel() argument 219 userId = source.readInt(); in readFromParcel() 220 stackId = source.readInt(); in readFromParcel() 221 taskId = source.readInt(); in readFromParcel() 222 displayId = source.readInt(); in readFromParcel() 223 isRunning = source.readBoolean(); in readFromParcel() 224 baseIntent = source.readInt() != 0 in readFromParcel() 225 ? Intent.CREATOR.createFromParcel(source) in readFromParcel() [all …]
|
/frameworks/av/media/libstagefright/ |
D | InterfaceUtils.cpp | 26 sp<DataSource> CreateDataSourceFromIDataSource(const sp<IDataSource> &source) { in CreateDataSourceFromIDataSource() argument 27 if (source == nullptr) { in CreateDataSourceFromIDataSource() 30 return new TinyCacheSource(new CallbackDataSource(source)); in CreateDataSourceFromIDataSource() 33 sp<IDataSource> CreateIDataSourceFromDataSource(const sp<DataSource> &source) { in CreateIDataSourceFromDataSource() argument 34 if (source == nullptr) { in CreateIDataSourceFromDataSource() 37 return RemoteDataSource::wrap(source); in CreateIDataSourceFromDataSource() 42 const sp<DataSource> &source, in CreateIMediaExtractorFromMediaExtractor() argument 47 return RemoteMediaExtractor::wrap(extractor, source, plugin); in CreateIMediaExtractorFromMediaExtractor() 50 sp<MediaSource> CreateMediaSourceFromIMediaSource(const sp<IMediaSource> &source) { in CreateMediaSourceFromIMediaSource() argument 51 if (source == nullptr) { in CreateMediaSourceFromIMediaSource() [all …]
|
/frameworks/base/core/java/com/android/ims/internal/uce/common/ |
D | CapInfo.java | 600 public CapInfo createFromParcel(Parcel source) { 601 return new CapInfo(source); 609 private CapInfo(Parcel source) { in CapInfo() argument 610 readFromParcel(source); in CapInfo() 613 public void readFromParcel(Parcel source) { in readFromParcel() argument 615 mImSupported = (source.readInt() == 0) ? false : true; in readFromParcel() 616 mFtSupported = (source.readInt() == 0) ? false : true; in readFromParcel() 617 mFtThumbSupported = (source.readInt() == 0) ? false : true; in readFromParcel() 618 mFtSnFSupported = (source.readInt() == 0) ? false : true; in readFromParcel() 619 mFtHttpSupported = (source.readInt() == 0) ? false : true; in readFromParcel() [all …]
|
/frameworks/libs/net/common/tests/unit/src/android/net/util/ |
D | LinkPropertiesUtilsTest.java | 83 final LinkProperties source = createTestObject(); in testLinkPropertiesIdenticalEqual() local 84 final LinkProperties target = new LinkProperties(source); in testLinkPropertiesIdenticalEqual() 86 assertTrue(LinkPropertiesUtils.isIdenticalInterfaceName(source, target)); in testLinkPropertiesIdenticalEqual() 87 assertTrue(LinkPropertiesUtils.isIdenticalInterfaceName(target, source)); in testLinkPropertiesIdenticalEqual() 89 assertTrue(LinkPropertiesUtils.isIdenticalAddresses(source, target)); in testLinkPropertiesIdenticalEqual() 90 assertTrue(LinkPropertiesUtils.isIdenticalAddresses(target, source)); in testLinkPropertiesIdenticalEqual() 92 assertTrue(LinkPropertiesUtils.isIdenticalDnses(source, target)); in testLinkPropertiesIdenticalEqual() 93 assertTrue(LinkPropertiesUtils.isIdenticalDnses(target, source)); in testLinkPropertiesIdenticalEqual() 95 assertTrue(LinkPropertiesUtils.isIdenticalRoutes(source, target)); in testLinkPropertiesIdenticalEqual() 96 assertTrue(LinkPropertiesUtils.isIdenticalRoutes(target, source)); in testLinkPropertiesIdenticalEqual() [all …]
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | XmlConfigTests.java | 48 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.empty_config, in testEmptyConfigFile() local 50 ApplicationConfig appConfig = new ApplicationConfig(source); in testEmptyConfigFile() 61 SSLContext context = TestUtils.getSSLContext(source); in testEmptyConfigFile() 68 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.empty_trust, in testEmptyAnchors() local 70 ApplicationConfig appConfig = new ApplicationConfig(source); in testEmptyAnchors() 80 SSLContext context = TestUtils.getSSLContext(source); in testEmptyAnchors() 87 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.domain1, in testBasicDomainConfig() local 89 ApplicationConfig appConfig = new ApplicationConfig(source); in testBasicDomainConfig() 107 SSLContext context = TestUtils.getSSLContext(source); in testBasicDomainConfig() 124 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.pins1, in testBasicPinning() local [all …]
|
/frameworks/base/core/java/android/text/ |
D | SpannedString.java | 34 public SpannedString(CharSequence source, boolean ignoreNoCopySpan) { in SpannedString() argument 35 super(source, 0, source.length(), ignoreNoCopySpan); in SpannedString() 43 public SpannedString(CharSequence source) { in SpannedString() argument 44 this(source, false /* ignoreNoCopySpan */); // preserve existing NoCopySpan behavior in SpannedString() 47 private SpannedString(CharSequence source, int start, int end) { in SpannedString() argument 49 super(source, start, end, false /* ignoreNoCopySpan */); in SpannedString() 56 public static SpannedString valueOf(CharSequence source) { in valueOf() argument 57 if (source instanceof SpannedString) { in valueOf() 58 return (SpannedString) source; in valueOf() 60 return new SpannedString(source); in valueOf()
|
D | SpannableString.java | 33 public SpannableString(CharSequence source, boolean ignoreNoCopySpan) { in SpannableString() argument 34 super(source, 0, source.length(), ignoreNoCopySpan); in SpannableString() 42 public SpannableString(CharSequence source) { in SpannableString() argument 43 this(source, false /* ignoreNoCopySpan */); // preserve existing NoCopySpan behavior in SpannableString() 46 private SpannableString(CharSequence source, int start, int end) { in SpannableString() argument 48 super(source, start, end, false /* ignoreNoCopySpan */); in SpannableString() 51 public static SpannableString valueOf(CharSequence source) { in valueOf() argument 52 if (source instanceof SpannableString) { in valueOf() 53 return (SpannableString) source; in valueOf() 55 return new SpannableString(source); in valueOf()
|
/frameworks/opt/net/ims/src/java/com/android/ims/internal/ |
D | VideoPauseTracker.java | 78 public boolean shouldPauseVideoFor(int source) { in shouldPauseVideoFor() argument 81 mPauseRequests.add(source); in shouldPauseVideoFor() 86 sourceToString(source), sourcesToString(mPauseRequests))); in shouldPauseVideoFor() 92 sourceToString(source), sourcesToString(mPauseRequests))); in shouldPauseVideoFor() 111 public boolean shouldResumeVideoFor(int source) { in shouldResumeVideoFor() argument 114 mPauseRequests.remove(source); in shouldResumeVideoFor() 120 sourceToString(source), sourcesToString(mPauseRequests))); in shouldResumeVideoFor() 126 sourceToString(source), sourcesToString(mPauseRequests))); in shouldResumeVideoFor() 132 sourceToString(source), sourcesToString(mPauseRequests))); in shouldResumeVideoFor() 157 public boolean wasVideoPausedFromSource(int source) { in wasVideoPausedFromSource() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageParserCacheHelperTest.java | 37 final Bundle source = new Bundle(); in testParcelUnparcel() local 38 source.putInt("i1", 123); in testParcelUnparcel() 39 source.putString("s1", "abcdef"); in testParcelUnparcel() 40 source.putString("s2", "xyz"); in testParcelUnparcel() 41 source.putString("s3", null); in testParcelUnparcel() 45 source.putBundle("b1", nest); in testParcelUnparcel() 50 source.writeToParcel(p, 0); in testParcelUnparcel() 63 assertEquals(source.get("i1"), dest.get("i1")); in testParcelUnparcel() 64 assertEquals(source.get("s1"), dest.get("s1")); in testParcelUnparcel() 65 assertEquals(source.get("s2"), dest.get("s2")); in testParcelUnparcel() [all …]
|
/frameworks/base/core/java/android/content/om/ |
D | OverlayInfo.java | 211 public OverlayInfo(@NonNull OverlayInfo source, @State int state) { in OverlayInfo() argument 212 this(source.packageName, source.targetPackageName, source.targetOverlayableName, in OverlayInfo() 213 source.category, source.baseCodePath, state, source.userId, source.priority, in OverlayInfo() 214 source.isMutable); in OverlayInfo() 235 public OverlayInfo(Parcel source) { in OverlayInfo() argument 236 packageName = source.readString(); in OverlayInfo() 237 targetPackageName = source.readString(); in OverlayInfo() 238 targetOverlayableName = source.readString(); in OverlayInfo() 239 category = source.readString(); in OverlayInfo() 240 baseCodePath = source.readString(); in OverlayInfo() [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/com/android/ims/internal/uce/presence/ |
D | PresRlmiInfo.java | 216 public PresRlmiInfo createFromParcel(Parcel source) { 217 return new PresRlmiInfo(source); 226 private PresRlmiInfo(Parcel source) { in PresRlmiInfo() argument 227 readFromParcel(source); in PresRlmiInfo() 231 public void readFromParcel(Parcel source) { in readFromParcel() argument 232 mUri = source.readString(); in readFromParcel() 233 mVersion = source.readInt(); in readFromParcel() 234 mFullState = (source.readInt() == 0) ? false : true; in readFromParcel() 235 mListName = source.readString(); in readFromParcel() 236 mRequestId = source.readInt(); in readFromParcel() [all …]
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
D | RegisterStatusBarResult.java | 93 public RegisterStatusBarResult createFromParcel(Parcel source) { 95 source.createTypedArrayMap(StatusBarIcon.CREATOR); 96 final int disabledFlags1 = source.readInt(); 97 final int appearance = source.readInt(); 99 source.readParcelableArray(null, AppearanceRegion.class); 100 final int imeWindowVis = source.readInt(); 101 final int imeBackDisposition = source.readInt(); 102 final boolean showImeSwitcher = source.readBoolean(); 103 final int disabledFlags2 = source.readInt(); 104 final IBinder imeToken = source.readStrongBinder(); [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | Parcelling.java | 49 T unparcel(Parcel source); in unparcel() argument 109 public String unparcel(Parcel source) { in unparcel() argument 110 return TextUtils.safeIntern(source.readString()); in unparcel() 122 public String[] unparcel(Parcel source) { in unparcel() argument 123 String[] array = source.readStringArray(); in unparcel() 141 public List<String> unparcel(Parcel source) { in unparcel() argument 142 ArrayList<String> list = source.createStringArrayList(); in unparcel() 160 public Map<String, String> unparcel(Parcel source) { in unparcel() argument 162 source.readMap(map, String.class.getClassLoader()); in unparcel() 184 public Set<String> unparcel(Parcel source) { in unparcel() argument [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessChangeEvent.java | 148 private BrightnessChangeEvent(Parcel source) { in BrightnessChangeEvent() argument 149 brightness = source.readFloat(); in BrightnessChangeEvent() 150 timeStamp = source.readLong(); in BrightnessChangeEvent() 151 packageName = source.readString(); in BrightnessChangeEvent() 152 userId = source.readInt(); in BrightnessChangeEvent() 153 luxValues = source.createFloatArray(); in BrightnessChangeEvent() 154 luxTimestamps = source.createLongArray(); in BrightnessChangeEvent() 155 batteryLevel = source.readFloat(); in BrightnessChangeEvent() 156 powerBrightnessFactor = source.readFloat(); in BrightnessChangeEvent() 157 nightMode = source.readBoolean(); in BrightnessChangeEvent() [all …]
|
/frameworks/base/tests/net/common/java/android/net/ |
D | LinkPropertiesTest.java | 167 public void assertLinkPropertiesEqual(LinkProperties source, LinkProperties target) { in assertLinkPropertiesEqual() argument 169 assertTrue(source.isIdenticalInterfaceName(target)); in assertLinkPropertiesEqual() 170 assertTrue(target.isIdenticalInterfaceName(source)); in assertLinkPropertiesEqual() 172 assertTrue(source.isIdenticalAddresses(target)); in assertLinkPropertiesEqual() 173 assertTrue(target.isIdenticalAddresses(source)); in assertLinkPropertiesEqual() 175 assertTrue(source.isIdenticalDnses(target)); in assertLinkPropertiesEqual() 176 assertTrue(target.isIdenticalDnses(source)); in assertLinkPropertiesEqual() 178 assertTrue(source.isIdenticalPrivateDns(target)); in assertLinkPropertiesEqual() 179 assertTrue(target.isIdenticalPrivateDns(source)); in assertLinkPropertiesEqual() 181 assertTrue(source.isIdenticalValidatedPrivateDnses(target)); in assertLinkPropertiesEqual() [all …]
|
/frameworks/av/media/ndk/ |
D | NdkMediaDataSourceCallbacks.cpp | 27 DataSource *source = static_cast<DataSource *>(userdata); in DataSource_getSize() local 29 source->getSize(&size); in DataSource_getSize() 34 DataSource *source = static_cast<DataSource *>(userdata); in DataSource_readAt() local 35 return source->readAt(offset, buf, size); in DataSource_readAt() 39 DataSource *source = static_cast<DataSource *>(userdata); in DataSource_close() local 40 source->close(); in DataSource_close() 45 DataSource *source = static_cast<DataSource *>(userdata); in DataSource_getAvailableSize() local 46 source->getAvailableSize(offset, &size); in DataSource_getAvailableSize()
|
/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/telecomm/java/android/telecom/ |
D | ParcelableConnection.java | 261 public ParcelableConnection createFromParcel(Parcel source) { 264 PhoneAccountHandle phoneAccount = source.readParcelable(classLoader); 265 int state = source.readInt(); 266 int capabilities = source.readInt(); 267 Uri address = source.readParcelable(classLoader); 268 int addressPresentation = source.readInt(); 269 String callerDisplayName = source.readString(); 270 int callerDisplayNamePresentation = source.readInt(); 272 IVideoProvider.Stub.asInterface(source.readStrongBinder()); 273 int videoState = source.readInt(); [all …]
|
/frameworks/base/core/java/com/android/ims/internal/uce/options/ |
D | OptionsSipResponse.java | 145 public OptionsSipResponse createFromParcel(Parcel source) { 146 return new OptionsSipResponse(source); 155 private OptionsSipResponse(Parcel source) { in OptionsSipResponse() argument 156 readFromParcel(source); in OptionsSipResponse() 160 public void readFromParcel(Parcel source) { in readFromParcel() argument 161 mRequestId = source.readInt(); in readFromParcel() 162 mSipResponseCode = source.readInt(); in readFromParcel() 163 mReasonPhrase = source.readString(); in readFromParcel() 164 mCmdId = source.readParcelable(OptionsCmdId.class.getClassLoader()); in readFromParcel() 165 mRetryAfter = source.readInt(); in readFromParcel()
|