Home
last modified time | relevance | path

Searched defs:targetPkg (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/tests/servicestests/test-apps/SimpleServiceTestApp/src/com/android/servicestests/apps/simpleservicetestapp/
DSimpleService.java73 final String targetPkg = intent.getStringExtra(EXTRA_TARGET_PACKAGE); in onStartCommand() local
92 private void bindToService(String targetPkg, int flags, IRemoteCallback callback) { in bindToService()
120 private void unbindService(String targetPkg) { in unbindService()
130 final String targetPkg = intent.getStringExtra(EXTRA_TARGET_PACKAGE); in onBind() local
/frameworks/base/services/core/java/com/android/server/uri/
DNeededUriGrants.java26 final String targetPkg; field in NeededUriGrants
31 public NeededUriGrants(String targetPkg, int targetUid, int flags) { in NeededUriGrants()
DUriGrantsManagerInternal.java53 int callingUid, String targetPkg, Uri uri, int modeFlags, int userId); in checkGrantUriPermission()
64 String targetPkg, int targetUserId); in checkGrantUriPermissionFromIntent()
72 String targetPkg, int targetUserId, in checkGrantUriPermissionFromIntent()
141 int userId, @Nullable String targetPkg, int targetUserId); in revokeUriPermissionFromOwner()
DUriGrantsManagerService.java254 public void grantUriPermissionFromOwner(IBinder token, int fromUid, String targetPkg, in grantUriPermissionFromOwner()
264 @NonNull String targetPkg, @NonNull Uri uri, final int modeFlags, in grantUriPermissionFromOwnerUnlocked()
615 String targetPkg, Intent intent, int mode, NeededUriGrants needed, int targetUserId, in checkGrantUriPermissionFromIntentUnlocked()
801 final String targetPkg = in.getAttributeValue(null, ATTR_TARGET_PKG); in readGrantedUriPermissionsLocked() local
847 String targetPkg, int targetUid, GrantUri grantUri) { in findOrCreateUriPermissionLocked()
863 private void grantUriPermissionUnchecked(int targetUid, String targetPkg, GrantUri grantUri, in grantUriPermissionUnchecked()
907 private void grantUriPermissionUnlocked(int callingUid, String targetPkg, GrantUri grantUri, in grantUriPermissionUnlocked()
1189 private int checkGrantUriPermissionUnlocked(int callingUid, String targetPkg, GrantUri grantUri, in checkGrantUriPermissionUnlocked()
1430 private int checkGrantUriPermissionUnlocked(int callingUid, String targetPkg, Uri uri, in checkGrantUriPermissionUnlocked()
1484 public int checkGrantUriPermission_ignoreNonSystem(int callingUid, String targetPkg, Uri uri, in checkGrantUriPermission_ignoreNonSystem()
[all …]
DUriPermission.java51 final String targetPkg; field in UriPermission
90 UriPermission(String sourcePkg, String targetPkg, int targetUid, GrantUri uri) { in UriPermission()
374 final String targetPkg; field in UriPermission.Snapshot
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillUriGrantsManager.java79 final String targetPkg = targetActivity.getPackageName(); in grantUriPermissions() local
99 private void grantUriPermissions(@NonNull Uri uri, @NonNull String targetPkg, in grantUriPermissions()
/frameworks/base/core/java/android/app/
DIUriGrantsManager.aidl30 void grantUriPermissionFromOwner(in IBinder owner, int fromUid, in String targetPkg, in grantUriPermissionFromOwner()
44 int sourceUid, String targetPkg, in Uri uri, int modeFlags, int userId); in checkGrantUriPermission_ignoreNonSystem()
DINotificationManager.aidl114 ParceledListSlice getNotificationChannels(String callingPkg, String targetPkg, int userId); in getNotificationChannels()
241 boolean canNotifyAsPackage(String callingPkg, String targetPkg, int userId); in canNotifyAsPackage()
DIActivityManager.aidl280 void grantUriPermission(in IApplicationThread caller, in String targetPkg, in Uri uri, in grantUriPermission()
282 void revokeUriPermission(in IApplicationThread caller, in String targetPkg, in Uri uri, in revokeUriPermission()
/frameworks/base/packages/overlays/tests/src/com/android/theme/icon/
DIconPackOverlayTest.java150 private void containsAllOverlayedIcons(String targetPkg, String[] overlayPkgs) { in containsAllOverlayedIcons()
183 private void hasEqualVectorDrawableAttributes(String targetPkg, String[] overlayPackages) { in hasEqualVectorDrawableAttributes()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayReferenceMapper.java242 private void addTarget(AndroidPackage targetPkg, Map<String, AndroidPackage> otherPkgs, in addTarget()
318 AndroidPackage targetPkg = otherPkgs.get(target); in addOverlay() local
DOverlayActorEnforcer.java115 var targetPkg = targetPkgState == null ? null : targetPkgState.getAndroidPackage(); in isAllowedActor() local
/frameworks/base/services/core/java/com/android/server/pm/
DAppsFilterBase.java239 AndroidPackage targetPkg, in isQueryableViaComponentWhenRequireRecompute()
501 final AndroidPackage targetPkg = targetPkgSetting.getPkg(); in shouldFilterApplicationInternal() local
DBroadcastHelper.java122 final int flags, final String targetPkg, final IIntentReceiver finishedReceiver, in sendPackageBroadcast()
163 @Nullable String targetPkg, in doSendBroadcast()
838 @Nullable String targetPkg, in sendPackageBroadcastAndNotify()
DAppsFilterImpl.java1020 AndroidPackage targetPkg, in isQueryableViaComponentWhenRequireRecompute()
DPackageManagerService.java7201 final AndroidPackage targetPkg = in setEnabledOverlayPackages() local
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java1217 private void grantUriPermission(Uri uri, int sourceUid, String targetPkg, in grantUriPermission()
1235 private void grantItemPermission(ClipData.Item item, int sourceUid, String targetPkg, in grantItemPermission()
1238 grantUriPermission(item.getUri(), sourceUid, targetPkg, targetUserId); in grantItemPermission() local
1242 grantUriPermission(intent.getData(), sourceUid, targetPkg, targetUserId); in grantItemPermission() local
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerTest.java478 private void sendCommand(int command, String sourcePkg, String targetPkg, Bundle extras) { in sendCommand()