Home
last modified time | relevance | path

Searched refs:ownerPackage (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileIntentFilter.java120 CrossProfileIntentFilter(IntentFilter filter, String ownerPackage, int targetUserId,
122 this(filter, ownerPackage, targetUserId, flags, ACCESS_LEVEL_ALL);
125 CrossProfileIntentFilter(IntentFilter filter, String ownerPackage, int targetUserId,
129 mOwnerPackage = ownerPackage;
135 CrossProfileIntentFilter(WatchedIntentFilter filter, String ownerPackage, int targetUserId,
137 this(filter.mFilter, ownerPackage, targetUserId, flags);
140 CrossProfileIntentFilter(WatchedIntentFilter filter, String ownerPackage, int targetUserId,
142 this(filter.mFilter, ownerPackage, targetUserId, flags, accessControlLevel);
DCrossProfileIntentFilterHelper.java82 public void clearCrossProfileIntentFilters(int sourceUserId, String ownerPackage, in clearCrossProfileIntentFilters() argument
92 if (filter.getOwnerPackage().equals(ownerPackage) in clearCrossProfileIntentFilters()
DSuspendPackageHelper.java636 final String ownerPackage = in isCallerDeviceOrProfileOwner() local
638 if (ownerPackage != null) { in isCallerDeviceOrProfileOwner()
639 return callingUid == snapshot.getPackageUidInternal(ownerPackage, 0, targetUserId, in isCallerDeviceOrProfileOwner()
DInstallingSession.java424 final String ownerPackage = mPm.mProtectedPackages.getDeviceOwnerOrProfileOwnerPackage( in fixUpInstallReason() local
426 if (ownerPackage != null && ownerPackage.equals(installerPackageName)) { in fixUpInstallReason()
DIPackageManagerBase.java157 public final void addCrossProfileIntentFilter(IntentFilter intentFilter, String ownerPackage, in addCrossProfileIntentFilter() argument
160 new WatchedIntentFilter(intentFilter), ownerPackage, sourceUserId, targetUserId, in addCrossProfileIntentFilter() local
DPackageManagerService.java3163 final String ownerPackage =
3165 if (ownerPackage != null) {
3166 final int ownerUid = snapshot.getPackageUid(ownerPackage, 0, targetUserId);
3536 WatchedIntentFilter intentFilter, String ownerPackage, int sourceUserId,
3541 enforceOwnerRights(snapshot, ownerPackage, callingUid);
3561 ownerPackage, targetUserId, flags, mUserManager
4828 public void clearCrossProfileIntentFilters(int sourceUserId, String ownerPackage) {
4832 enforceOwnerRights(snapshot, ownerPackage, callingUid);
4836 .clearCrossProfileIntentFilters(sourceUserId, ownerPackage,
4844 String ownerPackage,
[all …]
DLauncherAppsService.java1233 int flags, Bundle options, String ownerPackage, int ownerUserId) { in injectCreatePendingIntent() argument
1235 flags, null /* options */, ownerPackage, ownerUserId); in injectCreatePendingIntent()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DPolicyVersionUpgrader.java219 ComponentName ownerPackage) { in saveSuspendedPackages() argument
226 ActiveAdmin ownerAdmin = ownerUserData.mAdminMap.get(ownerPackage); in saveSuspendedPackages()
234 ownerAdmin.suspendedPackages.size(), ownerPackage, ownerUserId)); in saveSuspendedPackages()
DDevicePolicyManagerService.java15805 String ownerPackage = mOwners.getProfileOwnerPackage(userId); in getPrintingDisabledReasonForUser() local
15806 if (ownerPackage == null) { in getPrintingDisabledReasonForUser()
15807 ownerPackage = mOwners.getDeviceOwnerPackageName(); in getPrintingDisabledReasonForUser()
15809 final String packageName = ownerPackage; in getPrintingDisabledReasonForUser()
21360 final String ownerPackage;
21370 ownerPackage = owner.info.getPackageName();
21386 .setAdmin(ownerPackage)
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl288 void addCrossProfileIntentFilter(in IntentFilter intentFilter, String ownerPackage, in addCrossProfileIntentFilter() argument
292 boolean removeCrossProfileIntentFilter(in IntentFilter intentFilter, String ownerPackage, in removeCrossProfileIntentFilter() argument
296 void clearCrossProfileIntentFilters(int sourceUserId, String ownerPackage); in clearCrossProfileIntentFilters() argument
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java3911 final String ownerPackage = mSubscriptionPlansOwner.get(subId);
3912 if (Objects.equals(ownerPackage, callingPackage)
3918 + " doesn't match owner " + ownerPackage);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java643 int flags, Bundle options, String ownerPackage, int ownerUserId) { in injectCreatePendingIntent() argument