Searched refs:orig (Results 1 - 25 of 83) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/pm/
H A DSettingBase.java35 SettingBase(SettingBase orig) { argument
37 doCopy(orig);
40 public void copyFrom(SettingBase orig) { argument
41 doCopy(orig);
44 private void doCopy(SettingBase orig) { argument
45 pkgFlags = orig.pkgFlags;
46 pkgPrivateFlags = orig.pkgPrivateFlags;
47 mPermissionsState.copyFrom(orig.mPermissionsState);
H A DPackageSetting.java67 PackageSetting(PackageSetting orig) { argument
68 super(orig, orig.realName);
69 doCopy(orig);
77 PackageSetting(PackageSetting orig, String realPkgName) { argument
78 super(orig, realPkgName);
79 doCopy(orig);
100 public void copyFrom(PackageSetting orig) { argument
101 super.copyFrom(orig);
102 doCopy(orig);
105 doCopy(PackageSetting orig) argument
[all...]
H A DPackageSettingBase.java229 public void copyFrom(PackageSettingBase orig) { argument
230 super.copyFrom(orig);
231 doCopy(orig);
234 private void doCopy(PackageSettingBase orig) { argument
235 childPackageNames = (orig.childPackageNames != null)
236 ? new ArrayList<>(orig.childPackageNames) : null;
237 codePath = orig.codePath;
238 codePathString = orig.codePathString;
239 cpuAbiOverrideString = orig.cpuAbiOverrideString;
240 firstInstallTime = orig
[all...]
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/
H A DStorageStrategy_LongTest.java44 MutableSelection<Long> orig = new MutableSelection<>();
45 orig.add(5L);
46 orig.add(10L);
47 orig.add(15L);
49 Bundle parceled = Bundles.forceParceling(mStorage.asBundle(orig));
52 assertEquals(orig, restored);
H A DStorageStrategy_StringTest.java44 MutableSelection<String> orig = new MutableSelection<>();
45 orig.add("5");
46 orig.add("10");
47 orig.add("15");
49 Bundle parceled = Bundles.forceParceling(mStorage.asBundle(orig));
52 assertEquals(orig, restored);
H A DStorageStrategy_ParcelableTest.java59 MutableSelection<Uri> orig = new MutableSelection<>();
60 orig.add(sData.get(2));
61 orig.add(sData.get(3));
62 orig.add(sData.get(4));
64 Bundle parceled = Bundles.forceParceling(mStorage.asBundle(orig));
67 assertEquals(orig, restored);
/frameworks/base/core/java/android/content/pm/
H A DInstrumentationInfo.java127 public InstrumentationInfo(InstrumentationInfo orig) { argument
128 super(orig);
129 targetPackage = orig.targetPackage;
130 targetProcesses = orig.targetProcesses;
131 sourceDir = orig.sourceDir;
132 publicSourceDir = orig.publicSourceDir;
133 splitNames = orig.splitNames;
134 splitSourceDirs = orig.splitSourceDirs;
135 splitPublicSourceDirs = orig.splitPublicSourceDirs;
136 splitDependencies = orig
[all...]
H A DProviderInfo.java109 public ProviderInfo(ProviderInfo orig) { argument
110 super(orig);
111 authority = orig.authority;
112 readPermission = orig.readPermission;
113 writePermission = orig.writePermission;
114 grantUriPermissions = orig.grantUriPermissions;
115 uriPermissionPatterns = orig.uriPermissionPatterns;
116 pathPermissions = orig.pathPermissions;
117 multiprocess = orig.multiprocess;
118 initOrder = orig
[all...]
H A DConfigurationInfo.java86 public ConfigurationInfo(ConfigurationInfo orig) { argument
87 reqTouchScreen = orig.reqTouchScreen;
88 reqKeyboardType = orig.reqKeyboardType;
89 reqNavigation = orig.reqNavigation;
90 reqInputFeatures = orig.reqInputFeatures;
91 reqGlEsVersion = orig.reqGlEsVersion;
H A DUserInfo.java225 public UserInfo(UserInfo orig) { argument
226 name = orig.name;
227 iconPath = orig.iconPath;
228 id = orig.id;
229 flags = orig.flags;
230 serialNumber = orig.serialNumber;
231 creationTime = orig.creationTime;
232 lastLoggedInTime = orig.lastLoggedInTime;
233 lastLoggedInFingerprint = orig.lastLoggedInFingerprint;
234 partial = orig
[all...]
H A DPermissionGroupInfo.java75 public PermissionGroupInfo(PermissionGroupInfo orig) { argument
76 super(orig);
77 descriptionRes = orig.descriptionRes;
78 requestRes = orig.requestRes;
79 nonLocalizedDescription = orig.nonLocalizedDescription;
80 flags = orig.flags;
81 priority = orig.priority;
H A DServiceInfo.java83 public ServiceInfo(ServiceInfo orig) { argument
84 super(orig);
85 permission = orig.permission;
86 flags = orig.flags;
H A DFeatureInfo.java83 public FeatureInfo(FeatureInfo orig) { argument
84 name = orig.name;
85 version = orig.version;
86 reqGlEsVersion = orig.reqGlEsVersion;
87 flags = orig.flags;
H A DResolveInfo.java353 public ResolveInfo(ResolveInfo orig) { argument
354 activityInfo = orig.activityInfo;
355 serviceInfo = orig.serviceInfo;
356 providerInfo = orig.providerInfo;
357 filter = orig.filter;
358 priority = orig.priority;
359 preferredOrder = orig.preferredOrder;
360 match = orig.match;
361 specificIndex = orig.specificIndex;
362 labelRes = orig
[all...]
H A DComponentInfo.java88 public ComponentInfo(ComponentInfo orig) { argument
89 super(orig);
90 applicationInfo = orig.applicationInfo;
91 processName = orig.processName;
92 splitName = orig.splitName;
93 descriptionRes = orig.descriptionRes;
94 enabled = orig.enabled;
95 exported = orig.exported;
96 encryptionAware = directBootAware = orig.directBootAware;
H A DApplicationInfo.java1407 public ApplicationInfo(ApplicationInfo orig) { argument
1408 super(orig);
1409 taskAffinity = orig.taskAffinity;
1410 permission = orig.permission;
1411 processName = orig.processName;
1412 className = orig.className;
1413 theme = orig.theme;
1414 flags = orig.flags;
1415 privateFlags = orig.privateFlags;
1416 requiresSmallestWidthDp = orig
[all...]
H A DActivityInfo.java954 public ActivityInfo(ActivityInfo orig) { argument
955 super(orig);
956 theme = orig.theme;
957 launchMode = orig.launchMode;
958 documentLaunchMode = orig.documentLaunchMode;
959 permission = orig.permission;
960 taskAffinity = orig.taskAffinity;
961 targetActivity = orig.targetActivity;
962 flags = orig.flags;
963 screenOrientation = orig
[all...]
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DRectTest.java44 final Rect orig = new Rect(1, 2, 3, 4);
45 final Rect copy = copyOrNull(orig);
47 assertEquals(orig, copy);
48 assertNotSame(orig, copy);
/frameworks/support/paging/common/src/test/java/androidx/paging/
H A DPositionalDataSourceTest.kt271 val orig = ListDataSource(listOf(0, 5, 4, 8, 12))
272 val wrapper = createWrapper(orig)
296 orig.invalidate()
301 orig.invalidate()
322 val orig = ListDataSource(listOf(0, 1, 2))
323 val wrapper = orig.map { it.toString() }
325 orig.invalidate()
331 val orig = ListDataSource(listOf(0, 1, 2))
332 val wrapper = orig.map { it.toString() }
335 assertTrue(orig
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRotateDrawable.java338 RotateState(RotateState orig, Resources res) { argument
339 super(orig, res);
341 if (orig != null) {
342 mPivotXRel = orig.mPivotXRel;
343 mPivotX = orig.mPivotX;
344 mPivotYRel = orig.mPivotYRel;
345 mPivotY = orig.mPivotY;
346 mFromDegrees = orig.mFromDegrees;
347 mToDegrees = orig.mToDegrees;
348 mCurrentDegrees = orig
[all...]
H A DDrawableContainer.java736 protected DrawableContainerState(DrawableContainerState orig, DrawableContainer owner, argument
739 mSourceRes = res != null ? res : (orig != null ? orig.mSourceRes : null);
740 mDensity = Drawable.resolveDensity(res, orig != null ? orig.mDensity : 0);
742 if (orig != null) {
743 mChangingConfigurations = orig.mChangingConfigurations;
744 mChildrenChangingConfigurations = orig.mChildrenChangingConfigurations;
749 mVariablePadding = orig.mVariablePadding;
750 mConstantSize = orig
[all...]
H A DAnimatedRotateDrawable.java230 public AnimatedRotateState(AnimatedRotateState orig, Resources res) { argument
231 super(orig, res);
233 if (orig != null) {
234 mPivotXRel = orig.mPivotXRel;
235 mPivotX = orig.mPivotX;
236 mPivotYRel = orig.mPivotYRel;
237 mPivotY = orig.mPivotY;
238 mFramesCount = orig.mFramesCount;
239 mFrameDuration = orig.mFrameDuration;
H A DShapeDrawable.java561 * @param orig the state to create a deep copy of
563 ShapeState(@NonNull ShapeState orig) { argument
564 mChangingConfigurations = orig.mChangingConfigurations;
565 mPaint = new Paint(orig.mPaint);
566 mThemeAttrs = orig.mThemeAttrs;
567 if (orig.mShape != null) {
569 mShape = orig.mShape.clone();
572 mShape = orig.mShape;
575 mTint = orig.mTint;
576 mTintMode = orig
[all...]
/frameworks/base/core/java/android/app/usage/
H A DUsageEvents.java255 public Event(Event orig) { argument
256 mPackage = orig.mPackage;
257 mClass = orig.mClass;
258 mTimeStamp = orig.mTimeStamp;
259 mEventType = orig.mEventType;
260 mConfiguration = orig.mConfiguration;
261 mShortcutId = orig.mShortcutId;
262 mAction = orig.mAction;
263 mContentType = orig.mContentType;
264 mContentAnnotations = orig
[all...]
/frameworks/base/core/java/android/os/
H A DMessage.java143 * @param orig Original message to copy.
146 public static Message obtain(Message orig) { argument
148 m.what = orig.what;
149 m.arg1 = orig.arg1;
150 m.arg2 = orig.arg2;
151 m.obj = orig.obj;
152 m.replyTo = orig.replyTo;
153 m.sendingUid = orig.sendingUid;
154 if (orig.data != null) {
155 m.data = new Bundle(orig
[all...]

Completed in 319 milliseconds

1234