/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppsFilterSnapshotImpl.java | 28 AppsFilterSnapshotImpl(AppsFilterImpl orig) { in AppsFilterSnapshotImpl() argument 29 synchronized (orig.mImplicitlyQueryableLock) { in AppsFilterSnapshotImpl() 30 mImplicitlyQueryable = orig.mImplicitQueryableSnapshot.snapshot(); in AppsFilterSnapshotImpl() 31 mRetainedImplicitlyQueryable = orig.mRetainedImplicitlyQueryableSnapshot.snapshot(); in AppsFilterSnapshotImpl() 35 synchronized (orig.mQueriesViaPackageLock) { in AppsFilterSnapshotImpl() 36 mQueriesViaPackage = orig.mQueriesViaPackageSnapshot.snapshot(); in AppsFilterSnapshotImpl() 39 synchronized (orig.mQueriesViaComponentLock) { in AppsFilterSnapshotImpl() 40 mQueriesViaComponent = orig.mQueriesViaComponentSnapshot.snapshot(); in AppsFilterSnapshotImpl() 43 synchronized (orig.mQueryableViaUsesLibraryLock) { in AppsFilterSnapshotImpl() 44 mQueryableViaUsesLibrary = orig.mQueryableViaUsesLibrarySnapshot.snapshot(); in AppsFilterSnapshotImpl() [all …]
|
D | SettingBase.java | 108 SettingBase(@Nullable SettingBase orig) { in SettingBase() argument 109 if (orig != null) { in SettingBase() 110 copySettingBase(orig); in SettingBase() 114 public final void copySettingBase(SettingBase orig) { in copySettingBase() argument 115 mPkgFlags = orig.mPkgFlags; in copySettingBase() 116 mPkgPrivateFlags = orig.mPkgPrivateFlags; in copySettingBase() 117 mLegacyPermissionsState.copyFrom(orig.mLegacyPermissionsState); in copySettingBase()
|
D | SnapshotStatistics.java | 324 private Stats(Stats orig) { in Stats() argument 325 mStartTimeUs = orig.mStartTimeUs; in Stats() 326 mStopTimeUs = orig.mStopTimeUs; in Stats() 327 mTimes = Arrays.copyOf(orig.mTimes, orig.mTimes.length); in Stats() 328 mUsed = Arrays.copyOf(orig.mUsed, orig.mUsed.length); in Stats() 329 mTotalBuilds = orig.mTotalBuilds; in Stats() 330 mTotalUsed = orig.mTotalUsed; in Stats() 331 mBigBuilds = orig.mBigBuilds; in Stats() 332 mShortLived = orig.mShortLived; in Stats() 333 mTotalTimeUs = orig.mTotalTimeUs; in Stats() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserPropertiesTest.java | 144 final UserProperties orig = new UserProperties(defaultProps); in testCopyLacksPermissions() local 145 orig.setShowInLauncher(2841); in testCopyLacksPermissions() 146 orig.setStartWithParent(false); in testCopyLacksPermissions() 147 orig.setShowInSettings(1437); in testCopyLacksPermissions() 148 orig.setInheritDevicePolicy(9456); in testCopyLacksPermissions() 149 orig.setDeleteAppWithParent(false); in testCopyLacksPermissions() 150 orig.setAuthAlwaysRequiredToDisableQuietMode(true); in testCopyLacksPermissions() 151 orig.setAllowStoppingUserWithDelayedLocking(true); in testCopyLacksPermissions() 152 orig.setAlwaysVisible(false); in testCopyLacksPermissions() 153 orig.setItemsRestrictedOnHomeScreen(true); in testCopyLacksPermissions() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | InstrumentationInfo.java | 127 public InstrumentationInfo(InstrumentationInfo orig) { in InstrumentationInfo() argument 128 super(orig); in InstrumentationInfo() 129 targetPackage = orig.targetPackage; in InstrumentationInfo() 130 targetProcesses = orig.targetProcesses; in InstrumentationInfo() 131 sourceDir = orig.sourceDir; in InstrumentationInfo() 132 publicSourceDir = orig.publicSourceDir; in InstrumentationInfo() 133 splitNames = orig.splitNames; in InstrumentationInfo() 134 splitSourceDirs = orig.splitSourceDirs; in InstrumentationInfo() 135 splitPublicSourceDirs = orig.splitPublicSourceDirs; in InstrumentationInfo() 136 splitDependencies = orig.splitDependencies; in InstrumentationInfo() [all …]
|
D | ProviderInfo.java | 125 public ProviderInfo(ProviderInfo orig) { in ProviderInfo() argument 126 super(orig); in ProviderInfo() 127 authority = orig.authority; in ProviderInfo() 128 readPermission = orig.readPermission; in ProviderInfo() 129 writePermission = orig.writePermission; in ProviderInfo() 130 grantUriPermissions = orig.grantUriPermissions; in ProviderInfo() 131 forceUriPermissions = orig.forceUriPermissions; in ProviderInfo() 132 uriPermissionPatterns = orig.uriPermissionPatterns; in ProviderInfo() 133 pathPermissions = orig.pathPermissions; in ProviderInfo() 134 multiprocess = orig.multiprocess; in ProviderInfo() [all …]
|
D | ApplicationInfo.java | 1946 public ApplicationInfo(ApplicationInfo orig) { in ApplicationInfo() argument 1947 super(orig); in ApplicationInfo() 1948 taskAffinity = orig.taskAffinity; in ApplicationInfo() 1949 permission = orig.permission; in ApplicationInfo() 1950 mKnownActivityEmbeddingCerts = orig.mKnownActivityEmbeddingCerts; in ApplicationInfo() 1951 processName = orig.processName; in ApplicationInfo() 1952 className = orig.className; in ApplicationInfo() 1953 theme = orig.theme; in ApplicationInfo() 1954 flags = orig.flags; in ApplicationInfo() 1955 privateFlags = orig.privateFlags; in ApplicationInfo() [all …]
|
D | PermissionGroupInfo.java | 146 public PermissionGroupInfo(@NonNull PermissionGroupInfo orig) { in PermissionGroupInfo() argument 147 super(orig); in PermissionGroupInfo() 148 descriptionRes = orig.descriptionRes; in PermissionGroupInfo() 149 requestRes = orig.requestRes; in PermissionGroupInfo() 150 requestDetailResourceId = orig.requestDetailResourceId; in PermissionGroupInfo() 151 backgroundRequestResourceId = orig.backgroundRequestResourceId; in PermissionGroupInfo() 152 backgroundRequestDetailResourceId = orig.backgroundRequestDetailResourceId; in PermissionGroupInfo() 153 nonLocalizedDescription = orig.nonLocalizedDescription; in PermissionGroupInfo() 154 flags = orig.flags; in PermissionGroupInfo() 155 priority = orig.priority; in PermissionGroupInfo()
|
D | UserInfo.java | 502 public UserInfo(UserInfo orig) { in UserInfo() argument 503 name = orig.name; in UserInfo() 504 iconPath = orig.iconPath; in UserInfo() 505 id = orig.id; in UserInfo() 506 flags = orig.flags; in UserInfo() 507 userType = orig.userType; in UserInfo() 508 serialNumber = orig.serialNumber; in UserInfo() 509 creationTime = orig.creationTime; in UserInfo() 510 lastLoggedInTime = orig.lastLoggedInTime; in UserInfo() 511 lastLoggedInFingerprint = orig.lastLoggedInFingerprint; in UserInfo() [all …]
|
D | ResolveInfo.java | 422 public ResolveInfo(ResolveInfo orig) { in ResolveInfo() argument 423 activityInfo = orig.activityInfo; in ResolveInfo() 424 serviceInfo = orig.serviceInfo; in ResolveInfo() 425 providerInfo = orig.providerInfo; in ResolveInfo() 426 filter = orig.filter; in ResolveInfo() 427 priority = orig.priority; in ResolveInfo() 428 preferredOrder = orig.preferredOrder; in ResolveInfo() 429 match = orig.match; in ResolveInfo() 430 specificIndex = orig.specificIndex; in ResolveInfo() 431 labelRes = orig.labelRes; in ResolveInfo() [all …]
|
D | ConfigurationInfo.java | 86 public ConfigurationInfo(ConfigurationInfo orig) { in ConfigurationInfo() argument 87 reqTouchScreen = orig.reqTouchScreen; in ConfigurationInfo() 88 reqKeyboardType = orig.reqKeyboardType; in ConfigurationInfo() 89 reqNavigation = orig.reqNavigation; in ConfigurationInfo() 90 reqInputFeatures = orig.reqInputFeatures; in ConfigurationInfo() 91 reqGlEsVersion = orig.reqGlEsVersion; in ConfigurationInfo()
|
D | ComponentInfo.java | 111 public ComponentInfo(ComponentInfo orig) { in ComponentInfo() argument 112 super(orig); in ComponentInfo() 113 applicationInfo = orig.applicationInfo; in ComponentInfo() 114 processName = orig.processName; in ComponentInfo() 115 splitName = orig.splitName; in ComponentInfo() 116 attributionTags = orig.attributionTags; in ComponentInfo() 117 descriptionRes = orig.descriptionRes; in ComponentInfo() 118 enabled = orig.enabled; in ComponentInfo() 119 exported = orig.exported; in ComponentInfo() 120 directBootAware = orig.directBootAware; in ComponentInfo()
|
D | ActivityInfo.java | 1730 public ActivityInfo(ActivityInfo orig) { 1731 super(orig); 1732 theme = orig.theme; 1733 launchMode = orig.launchMode; 1734 documentLaunchMode = orig.documentLaunchMode; 1735 permission = orig.permission; 1736 mKnownActivityEmbeddingCerts = orig.mKnownActivityEmbeddingCerts; 1737 taskAffinity = orig.taskAffinity; 1738 targetActivity = orig.targetActivity; 1739 flags = orig.flags; [all …]
|
D | ModuleInfo.java | 70 public ModuleInfo(ModuleInfo orig) { in ModuleInfo() argument 71 mName = orig.mName; in ModuleInfo() 72 mPackageName = orig.mPackageName; in ModuleInfo() 73 mHidden = orig.mHidden; in ModuleInfo() 74 mApexModuleName = orig.mApexModuleName; in ModuleInfo() 75 if (orig.mApkInApexPackageNames != null) { in ModuleInfo() 76 mApkInApexPackageNames = List.copyOf(orig.mApkInApexPackageNames); in ModuleInfo()
|
D | FeatureInfo.java | 83 public FeatureInfo(FeatureInfo orig) { in FeatureInfo() argument 84 name = orig.name; in FeatureInfo() 85 version = orig.version; in FeatureInfo() 86 reqGlEsVersion = orig.reqGlEsVersion; in FeatureInfo() 87 flags = orig.flags; in FeatureInfo()
|
D | ProcessInfo.java | 72 public ProcessInfo(@NonNull ProcessInfo orig) { in ProcessInfo() argument 73 this.name = orig.name; in ProcessInfo() 74 this.deniedPermissions = orig.deniedPermissions; in ProcessInfo() 75 this.gwpAsanMode = orig.gwpAsanMode; in ProcessInfo() 76 this.memtagMode = orig.memtagMode; in ProcessInfo() 77 this.nativeHeapZeroInitialized = orig.nativeHeapZeroInitialized; in ProcessInfo() 78 this.useEmbeddedDex = orig.useEmbeddedDex; in ProcessInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/resolution/ |
D | ComponentResolverSnapshot.java | 27 public ComponentResolverSnapshot(@NonNull ComponentResolver orig, in ComponentResolverSnapshot() argument 30 mActivities = new ComponentResolver.ActivityIntentResolver(orig.mActivities, mUserManager, in ComponentResolverSnapshot() 32 mProviders = new ComponentResolver.ProviderIntentResolver(orig.mProviders, mUserManager); in ComponentResolverSnapshot() 33 mReceivers = new ComponentResolver.ReceiverIntentResolver(orig.mReceivers, mUserManager, in ComponentResolverSnapshot() 35 mServices = new ComponentResolver.ServiceIntentResolver(orig.mServices, mUserManager); in ComponentResolverSnapshot() 36 mProvidersByAuthority = new ArrayMap<>(orig.mProvidersByAuthority); in ComponentResolverSnapshot()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableContainer.java | 740 protected DrawableContainerState(DrawableContainerState orig, DrawableContainer owner, in DrawableContainerState() argument 743 mSourceRes = res != null ? res : (orig != null ? orig.mSourceRes : null); in DrawableContainerState() 744 mDensity = Drawable.resolveDensity(res, orig != null ? orig.mDensity : 0); in DrawableContainerState() 746 if (orig != null) { in DrawableContainerState() 747 mChangingConfigurations = orig.mChangingConfigurations; in DrawableContainerState() 748 mChildrenChangingConfigurations = orig.mChildrenChangingConfigurations; in DrawableContainerState() 753 mVariablePadding = orig.mVariablePadding; in DrawableContainerState() 754 mConstantSize = orig.mConstantSize; in DrawableContainerState() 755 mDither = orig.mDither; in DrawableContainerState() 756 mMutated = orig.mMutated; in DrawableContainerState() [all …]
|
D | RotateDrawable.java | 340 RotateState(RotateState orig, Resources res) { in RotateState() argument 341 super(orig, res); in RotateState() 343 if (orig != null) { in RotateState() 344 mPivotXRel = orig.mPivotXRel; in RotateState() 345 mPivotX = orig.mPivotX; in RotateState() 346 mPivotYRel = orig.mPivotYRel; in RotateState() 347 mPivotY = orig.mPivotY; in RotateState() 348 mFromDegrees = orig.mFromDegrees; in RotateState() 349 mToDegrees = orig.mToDegrees; in RotateState() 350 mCurrentDegrees = orig.mCurrentDegrees; in RotateState()
|
D | AnimatedRotateDrawable.java | 233 public AnimatedRotateState(AnimatedRotateState orig, Resources res) { in AnimatedRotateState() argument 234 super(orig, res); in AnimatedRotateState() 236 if (orig != null) { in AnimatedRotateState() 237 mPivotXRel = orig.mPivotXRel; in AnimatedRotateState() 238 mPivotX = orig.mPivotX; in AnimatedRotateState() 239 mPivotYRel = orig.mPivotYRel; in AnimatedRotateState() 240 mPivotY = orig.mPivotY; in AnimatedRotateState() 241 mFramesCount = orig.mFramesCount; in AnimatedRotateState() 242 mFrameDuration = orig.mFrameDuration; in AnimatedRotateState()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | RectTest.java | 45 final Rect orig = new Rect(1, 2, 3, 4); in copyOrNull_copiesNonNull() local 46 final Rect copy = copyOrNull(orig); in copyOrNull_copiesNonNull() 48 assertEquals(orig, copy); in copyOrNull_copiesNonNull() 49 assertNotSame(orig, copy); in copyOrNull_copiesNonNull()
|
/frameworks/base/core/java/android/view/ |
D | PrivacyIndicatorBounds.java | 92 private static Rect insetRect(Rect orig, int insetLeft, int insetTop, int insetRight, in insetRect() argument 94 if (orig == null) { in insetRect() 97 int left = Math.max(0, orig.left - insetLeft); in insetRect() 98 int top = Math.max(0, orig.top - insetTop); in insetRect() 99 int right = Math.max(left, orig.right - insetRight); in insetRect() 100 int bottom = Math.max(top, orig.bottom - insetBottom); in insetRect() 129 private static Rect scaleRect(Rect orig, float scale) { in scaleRect() argument 130 if (orig == null) { in scaleRect() 134 Rect newRect = new Rect(orig); in scaleRect()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageEvents.java | 586 public Event(Event orig) { in Event() argument 587 copyFrom(orig); in Event() 767 private void copyFrom(Event orig) { in copyFrom() argument 768 mPackage = orig.mPackage; in copyFrom() 769 mClass = orig.mClass; in copyFrom() 770 mInstanceId = orig.mInstanceId; in copyFrom() 771 mTaskRootPackage = orig.mTaskRootPackage; in copyFrom() 772 mTaskRootClass = orig.mTaskRootClass; in copyFrom() 773 mTimeStamp = orig.mTimeStamp; in copyFrom() 774 mEventType = orig.mEventType; in copyFrom() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Message.java | 175 public static Message obtain(Message orig) { in obtain() argument 177 m.what = orig.what; in obtain() 178 m.arg1 = orig.arg1; in obtain() 179 m.arg2 = orig.arg2; in obtain() 180 m.obj = orig.obj; in obtain() 181 m.replyTo = orig.replyTo; in obtain() 182 m.sendingUid = orig.sendingUid; in obtain() 183 m.workSourceUid = orig.workSourceUid; in obtain() 184 if (orig.data != null) { in obtain() 185 m.data = new Bundle(orig.data); in obtain() [all …]
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyEffects.h | 148 EffectDesc(const EffectDesc& orig) : in EffectDesc() argument 149 mName(orig.mName), in EffectDesc() 150 mTypeUuid(orig.mTypeUuid), in EffectDesc() 151 mOpPackageName(orig.mOpPackageName), in EffectDesc() 152 mUuid(orig.mUuid), in EffectDesc() 153 mPriority(orig.mPriority), in EffectDesc() 154 mId(orig.mId), in EffectDesc() 155 mParams(orig.mParams) { } in EffectDesc()
|