Home
last modified time | relevance | path

Searched refs:targetPackage (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/job/
DGrantedUriPermissions.java64 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/
DOverlayManagerServiceImpl.java131 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 …]
DIdmapManager.java51 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/
DBackupTransport.java411 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/
DInstrumentationInfo.java33 public String targetPackage; field in InstrumentationInfo
123 targetPackage = orig.targetPackage; in InstrumentationInfo()
152 dest.writeString(targetPackage); in writeToParcel()
182 targetPackage = source.readString(); in InstrumentationInfo()
DIPackageManager.aidl222 String targetPackage, int flags); in queryInstrumentation() argument
233 void setInstallerPackageName(in String targetPackage, in String installerPackageName); in setInstallerPackageName() argument
DPackageManager.java4249 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/
DActivityInstrumentationTestCase2.java101 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/
DBootlegActivityTestRule.java51 @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/
DIBackupTransport.aidl237 int performFullBackup(in PackageInfo targetPackage, in ParcelFileDescriptor socket, int flags); in performFullBackup() argument
250 boolean isAppEligibleForBackup(in PackageInfo targetPackage, boolean isFullBackup); in isAppEligibleForBackup() argument
DLocalTransport.java418 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/
DInputContentUriTokenHandler.java49 @NonNull String targetPackage, @UserIdInt int sourceUserId, in InputContentUriTokenHandler() argument
53 mTargetPackage = targetPackage; in InputContentUriTokenHandler()
/frameworks/base/services/core/java/com/android/server/wm/
DDragAndDropPermissionsHandler.java45 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/
DBroadcastStats.java95 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/
DManifestFixer_test.cpp295 <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/
DPerformUnifiedRestoreTask.java158 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/
DPackageManagerShellCommand.java598 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/
DBridgePackageManager.java475 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/
DPackageManagerStub.java479 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/
DMockPackageManager.java507 String targetPackage, int flags) { in queryInstrumentation() argument
666 public void setInstallerPackageName(String targetPackage, in setInstallerPackageName() argument
DMockContext.java648 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java339 assertEquals(a.info.targetPackage, b.info.targetPackage); in assertInstrumentationEqual()
/frameworks/base/core/java/android/content/
DContextWrapper.java776 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/
DPm.java972 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/
DApplicationPackageManager.java1110 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()

12