/frameworks/base/services/core/java/com/android/server/job/ |
D | GrantedUriPermissions.java | 64 int sourceUid, String targetPackage, int targetUserId, String tag) { in createFromIntent() argument 74 perms = grantUri(am, data, sourceUid, targetPackage, targetUserId, grantFlags, tag, in createFromIntent() 80 perms = grantClip(am, clip, sourceUid, targetPackage, targetUserId, grantFlags, tag, in createFromIntent() 88 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag) { in createFromClip() argument 94 perms = grantClip(am, clip, sourceUid, targetPackage, targetUserId, grantFlags, in createFromClip() 101 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag, in grantClip() argument 105 curPerms = grantItem(am, clip.getItemAt(i), sourceUid, targetPackage, targetUserId, in grantClip() 112 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag, in grantUri() argument 121 am.grantUriPermissionFromOwner(curPerms.mPermissionOwner, sourceUid, targetPackage, in grantUri() 131 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag, in grantItem() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 131 final PackageInfo targetPackage = in updateOverlaysForUser() local 133 updateState(targetPackage, overlayPackage, newUserId); in updateOverlaysForUser() 176 final PackageInfo targetPackage = mPackageManager.getPackageInfo(packageName, userId); in onTargetPackageAdded() local 177 updateAllOverlaysForTarget(packageName, userId, targetPackage); in onTargetPackageAdded() 186 final PackageInfo targetPackage = mPackageManager.getPackageInfo(packageName, userId); in onTargetPackageChanged() local 187 if (updateAllOverlaysForTarget(packageName, userId, targetPackage)) { in onTargetPackageChanged() 207 final PackageInfo targetPackage = mPackageManager.getPackageInfo(packageName, userId); in onTargetPackageUpgraded() local 208 if (updateAllOverlaysForTarget(packageName, userId, targetPackage)) { in onTargetPackageUpgraded() 225 @Nullable final PackageInfo targetPackage) { in updateAllOverlaysForTarget() argument 237 modified |= updateState(targetPackage, overlayPackage, userId); in updateAllOverlaysForTarget() [all …]
|
D | IdmapManager.java | 51 boolean createIdmap(@NonNull final PackageInfo targetPackage, in createIdmap() argument 55 Slog.d(TAG, "create idmap for " + targetPackage.packageName + " and " in createIdmap() 58 final int sharedGid = UserHandle.getSharedAppGid(targetPackage.applicationInfo.uid); in createIdmap() 59 final String targetPath = targetPackage.applicationInfo.getBaseCodePath(); in createIdmap()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupTransport.java | 411 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket, in performFullBackup() argument 413 return performFullBackup(targetPackage, socket); in performFullBackup() 420 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket) { in performFullBackup() argument 494 public boolean isAppEligibleForBackup(PackageInfo targetPackage, boolean isFullBackup) { in isAppEligibleForBackup() argument 666 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket, in performFullBackup() argument 668 return BackupTransport.this.performFullBackup(targetPackage, socket, flags); in performFullBackup() 687 public boolean isAppEligibleForBackup(PackageInfo targetPackage, boolean isFullBackup) in isAppEligibleForBackup() argument 689 return BackupTransport.this.isAppEligibleForBackup(targetPackage, isFullBackup); in isAppEligibleForBackup()
|
/frameworks/base/core/java/android/content/pm/ |
D | InstrumentationInfo.java | 33 public String targetPackage; field in InstrumentationInfo 123 targetPackage = orig.targetPackage; in InstrumentationInfo() 152 dest.writeString(targetPackage); in writeToParcel() 182 targetPackage = source.readString(); in InstrumentationInfo()
|
D | IPackageManager.aidl | 222 String targetPackage, int flags); in queryInstrumentation() argument 233 void setInstallerPackageName(in String targetPackage, in String installerPackageName); in setInstallerPackageName() argument
|
D | PackageManager.java | 4249 public abstract List<InstrumentationInfo> queryInstrumentation(String targetPackage, in queryInstrumentation() argument 4957 public abstract void setInstallerPackageName(String targetPackage, in setInstallerPackageName() argument
|
/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/support/design/tests/src/android/support/test/rule/ |
D | BootlegActivityTestRule.java | 51 @NonNull String targetPackage, int launchFlags, in BootlegActivityTestRule() argument 53 super(activityClass, targetPackage, launchFlags, initialTouchMode, launchActivity); in BootlegActivityTestRule()
|
/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
|
D | LocalTransport.java | 418 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket) { in performFullBackup() argument 425 Log.i(TAG, "performFullBackup : " + targetPackage); in performFullBackup() 440 mFullTargetPackage = targetPackage.packageName; in performFullBackup()
|
/frameworks/base/services/core/java/com/android/server/ |
D | InputContentUriTokenHandler.java | 49 @NonNull String targetPackage, @UserIdInt int sourceUserId, in InputContentUriTokenHandler() argument 53 mTargetPackage = targetPackage; in InputContentUriTokenHandler()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragAndDropPermissionsHandler.java | 45 DragAndDropPermissionsHandler(ClipData clipData, int sourceUid, String targetPackage, int mode, in DragAndDropPermissionsHandler() argument 48 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 | 295 <instrumentation android:name=".TestRunner" android:targetPackage="android" /> in TEST_F() 308 instrumentation_el->FindAttribute(xml::kSchemaAndroid, "targetPackage"); in TEST_F()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformUnifiedRestoreTask.java | 158 IBackupManagerMonitor monitor, long restoreSetToken, PackageInfo targetPackage, in PerformUnifiedRestoreTask() argument 170 mTargetPackage = targetPackage; in PerformUnifiedRestoreTask() 175 if (targetPackage != null) { in PerformUnifiedRestoreTask() 178 mAcceptSet.add(targetPackage); in PerformUnifiedRestoreTask()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 598 String targetPackage = null; in runListInstrumentation() local 609 targetPackage = opt; in runListInstrumentation() 623 mInterface.queryInstrumentation(targetPackage, 0 /*flags*/).getList(); in runListInstrumentation() 628 return o1.targetPackage.compareTo(o2.targetPackage); in runListInstrumentation() 643 pw.print(ii.targetPackage); in runListInstrumentation()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 475 public List<InstrumentationInfo> queryInstrumentation(String targetPackage, int flags) { in queryInstrumentation() argument 685 public void setInstallerPackageName(String targetPackage, String installerPackageName) { in setInstallerPackageName() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 479 public List<InstrumentationInfo> queryInstrumentation(String targetPackage, int flags) { in queryInstrumentation() argument 703 public void setInstallerPackageName(String targetPackage, String installerPackageName) { in setInstallerPackageName() argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 507 String targetPackage, int flags) { in queryInstrumentation() argument 666 public void setInstallerPackageName(String targetPackage, in setInstallerPackageName() argument
|
D | MockContext.java | 648 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageParserTest.java | 339 assertEquals(a.info.targetPackage, b.info.targetPackage); in assertInstrumentationEqual()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 776 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission() argument 777 mBase.revokeUriPermission(targetPackage, uri, modeFlags); in revokeUriPermission()
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 972 final String targetPackage = nextArg(); in runSetInstaller() local 975 if (targetPackage == null || installerPackageName == null) { in runSetInstaller() 980 mPm.setInstallerPackageName(targetPackage, installerPackageName); in runSetInstaller()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 1110 String targetPackage, int flags) { in queryInstrumentation() argument 1113 mPM.queryInstrumentation(targetPackage, flags); in queryInstrumentation() 1839 public void setInstallerPackageName(String targetPackage, in setInstallerPackageName() argument 1842 mPM.setInstallerPackageName(targetPackage, installerPackageName); in setInstallerPackageName()
|