/frameworks/base/services/core/java/com/android/server/job/ |
D | GrantedUriPermissions.java | 66 int sourceUid, String targetPackage, int targetUserId, String tag) { in createFromIntent() argument 76 perms = grantUri(am, data, sourceUid, targetPackage, targetUserId, grantFlags, tag, in createFromIntent() 82 perms = grantClip(am, clip, sourceUid, targetPackage, targetUserId, grantFlags, tag, in createFromIntent() 90 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag) { in createFromClip() argument 96 perms = grantClip(am, clip, sourceUid, targetPackage, targetUserId, grantFlags, in createFromClip() 103 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag, in grantClip() argument 107 curPerms = grantItem(am, clip.getItemAt(i), sourceUid, targetPackage, targetUserId, in grantClip() 114 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag, in grantUri() argument 124 sourceUid, targetPackage, uri, grantFlags, sourceUserId, targetUserId); in grantUri() 133 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag, in grantItem() argument [all …]
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupTransport.java | 479 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket, in performFullBackup() argument 481 return performFullBackup(targetPackage, socket); in performFullBackup() 488 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket) { in performFullBackup() argument 562 public boolean isAppEligibleForBackup(PackageInfo targetPackage, boolean isFullBackup) { in isAppEligibleForBackup() argument 743 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket, in performFullBackup() argument 745 return BackupTransport.this.performFullBackup(targetPackage, socket, flags); in performFullBackup() 764 public boolean isAppEligibleForBackup(PackageInfo targetPackage, boolean isFullBackup) in isAppEligibleForBackup() argument 766 return BackupTransport.this.isAppEligibleForBackup(targetPackage, isFullBackup); in isAppEligibleForBackup()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | IdmapManager.java | 71 boolean createIdmap(@NonNull final PackageInfo targetPackage, in createIdmap() argument 74 Slog.d(TAG, "create idmap for " + targetPackage.packageName + " and " in createIdmap() 77 final int sharedGid = UserHandle.getSharedAppGid(targetPackage.applicationInfo.uid); in createIdmap() 78 final String targetPath = targetPackage.applicationInfo.getBaseCodePath(); in createIdmap() 82 int policies = calculateFulfilledPolicies(targetPackage, overlayPackage, userId); in createIdmap() 170 private int calculateFulfilledPolicies(@NonNull final PackageInfo targetPackage, in calculateFulfilledPolicies() argument 176 if (mPackageManager.signaturesMatching(targetPackage.packageName, in calculateFulfilledPolicies()
|
D | OverlayManagerServiceImpl.java | 676 final PackageInfo targetPackage = mPackageManager.getPackageInfo(targetPackageName, userId); in updateState() local 681 if (targetPackage != null && overlayPackage != null in updateState() 684 mIdmapManager.createIdmap(targetPackage, overlayPackage, userId); in updateState() 696 final @OverlayInfo.State int newState = calculateNewState(targetPackage, overlayPackage, in updateState() 710 private @OverlayInfo.State int calculateNewState(@Nullable final PackageInfo targetPackage, in calculateNewState() argument 727 if (targetPackage == null) { in calculateNewState() 786 void onOverlaysChanged(@NonNull String targetPackage, int userId); in onOverlaysChanged() argument
|
/frameworks/base/services/core/java/com/android/server/appbinding/finders/ |
D | AppServiceFinder.java | 112 final String targetPackage = getTargetPackage(userId); in findService() local 114 Slog.d(TAG, getAppDescription() + " package=" + targetPackage); in findService() 116 if (targetPackage == null) { in findService() 122 mTargetPackages.put(userId, targetPackage); in findService() 126 targetPackage, in findService() 139 Slog.w(TAG, getAppDescription() + " package " + targetPackage + " u" + userId in findService()
|
/frameworks/base/core/java/android/content/pm/ |
D | InstrumentationInfo.java | 33 public String targetPackage; field in InstrumentationInfo 129 targetPackage = orig.targetPackage; in InstrumentationInfo() 160 dest.writeString(targetPackage); in writeToParcel() 192 targetPackage = source.readString(); in InstrumentationInfo()
|
D | IPackageManager.aidl | 263 String targetPackage, int flags); in queryInstrumentation() argument 268 void setInstallerPackageName(in String targetPackage, in String installerPackageName); in setInstallerPackageName() argument
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCaptureMetricsLogger.java | 37 @Nullable String targetPackage) { in writeServiceEvent() argument 39 targetPackage); in writeServiceEvent() 51 @Nullable String targetPackage) { in writeServiceEvent() argument 52 writeServiceEvent(eventType, ComponentName.flattenToShortString(service), targetPackage); in writeServiceEvent()
|
/frameworks/base/test-runner/src/android/test/ |
D | ActivityInstrumentationTestCase2.java | 101 final String targetPackage = getInstrumentation().getTargetContext().getPackageName(); in getActivity() local 104 a = launchActivity(targetPackage, mActivityClass, null); in getActivity() 106 a = launchActivityWithIntent(targetPackage, mActivityClass, mActivityIntent); in getActivity()
|
/frameworks/base/core/java/com/android/internal/backup/ |
D | IBackupTransport.aidl | 237 int performFullBackup(in PackageInfo targetPackage, in ParcelFileDescriptor socket, int flags); in performFullBackup() argument 250 boolean isAppEligibleForBackup(in PackageInfo targetPackage, boolean isFullBackup); in isAppEligibleForBackup() argument
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowPerformUnifiedRestoreTask.java | 63 @Nullable PackageInfo targetPackage, in __constructor__() argument 69 mPackage = targetPackage; in __constructor__()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputContentUriTokenHandler.java | 51 @NonNull String targetPackage, @UserIdInt int sourceUserId, in InputContentUriTokenHandler() argument 55 mTargetPackage = targetPackage; in InputContentUriTokenHandler()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragAndDropPermissionsHandler.java | 49 DragAndDropPermissionsHandler(ClipData clipData, int sourceUid, String targetPackage, int mode, in DragAndDropPermissionsHandler() argument 52 mTargetPackage = targetPackage; in DragAndDropPermissionsHandler()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastStats.java | 95 public void addBackgroundCheckViolation(String action, String targetPackage) { in addBackgroundCheckViolation() argument 101 ViolationEntry ve = ae.mBackgroundCheckViolations.get(targetPackage); in addBackgroundCheckViolation() 104 ae.mBackgroundCheckViolations.put(targetPackage, ve); in addBackgroundCheckViolation()
|
/frameworks/base/tools/aapt2/link/ |
D | ManifestFixer_test.cpp | 310 <instrumentation android:name=".TestRunner" android:targetPackage="android" /> in TEST_F() 323 instrumentation_el->FindAttribute(xml::kSchemaAndroid, "targetPackage"); in TEST_F() 336 <overlay android:targetName="Customization" android:targetPackage="android" /> in TEST_F() 349 overlay_el->FindAttribute(xml::kSchemaAndroid, "targetPackage"); in TEST_F()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayManager.java | 143 targetPackagesToQuery.forEach(targetPackage -> overlays.addAll(mOverlayManager in applyCurrentUserOverlays() 144 .getOverlayInfosForTarget(targetPackage, UserHandle.SYSTEM))); in applyCurrentUserOverlays()
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriGrantsManagerInternal.java | 37 void revokeUriPermission(String targetPackage, int callingUid, in revokeUriPermission() argument
|
D | UriGrantsManagerService.java | 775 void revokeUriPermission(String targetPackage, int callingUid, GrantUri grantUri, in revokeUriPermission() argument 798 if (targetPackage != null && !targetPackage.equals(perm.targetPkg)) { in revokeUriPermission() 831 if (targetPackage != null && !targetPackage.equals(perm.targetPkg)) { in revokeUriPermission() 840 targetPackage == null); in revokeUriPermission() 1323 public void revokeUriPermission(String targetPackage, int callingUid, GrantUri grantUri, in revokeUriPermission() argument 1327 targetPackage, callingUid, grantUri, modeFlags); in revokeUriPermission()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayManagerServiceImplTests.java | 452 boolean createIdmap(@NonNull final PackageInfo targetPackage, in createIdmap() argument 454 final DummyDeviceState.Package t = mState.select(targetPackage.packageName, userId); in createIdmap() 500 public void onOverlaysChanged(@NonNull String targetPackage, int userId) { in onOverlaysChanged() argument
|
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/ |
D | LocalTransport.java | 482 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket) { in performFullBackup() argument 489 Log.i(TAG, "performFullBackup : " + targetPackage); in performFullBackup() 504 mFullTargetPackage = targetPackage.packageName; in performFullBackup()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 172 @Nullable PackageInfo targetPackage, in PerformUnifiedRestoreTask() argument 189 mTargetPackage = targetPackage; in PerformUnifiedRestoreTask() 198 if (targetPackage != null) { in PerformUnifiedRestoreTask() 201 mAcceptSet.add(targetPackage); in PerformUnifiedRestoreTask()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 567 String targetPackage = null; in runListInstrumentation() local 578 targetPackage = opt; in runListInstrumentation() 592 mInterface.queryInstrumentation(targetPackage, 0 /*flags*/).getList(); in runListInstrumentation() 597 return o1.targetPackage.compareTo(o2.targetPackage); in runListInstrumentation() 612 pw.print(ii.targetPackage); in runListInstrumentation() 2743 final String targetPackage = getNextArg(); in runSetInstaller() local 2746 if (targetPackage == null || installerPackageName == null) { in runSetInstaller() 2751 mInterface.setInstallerPackageName(targetPackage, installerPackageName); in runSetInstaller()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 489 public List<InstrumentationInfo> queryInstrumentation(String targetPackage, int flags) { in queryInstrumentation() argument 689 public void setInstallerPackageName(String targetPackage, String installerPackageName) { in setInstallerPackageName() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 493 public List<InstrumentationInfo> queryInstrumentation(String targetPackage, int flags) { in queryInstrumentation() argument 705 public void setInstallerPackageName(String targetPackage, String installerPackageName) { in setInstallerPackageName() argument
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockPackageManager.java | 545 String targetPackage, int flags) { in queryInstrumentation() argument 695 public void setInstallerPackageName(String targetPackage, in setInstallerPackageName() argument
|