Home
last modified time | relevance | path

Searched refs:callerPackage (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl111 int getStorageEncryptionStatus(in String callerPackage, int userHandle); in getStorageEncryptionStatus() argument
164 …String[] setPackagesSuspended(in ComponentName admin, in String callerPackage, in String[] package… in setPackagesSuspended() argument
165 boolean isPackageSuspended(in ComponentName admin, in String callerPackage, String packageName); in isPackageSuspended() argument
167 boolean installCaCert(in ComponentName admin, String callerPackage, in byte[] certBuffer); in installCaCert() argument
168 void uninstallCaCerts(in ComponentName admin, String callerPackage, in String[] aliases); in uninstallCaCerts() argument
169 void enforceCanManageCaCerts(in ComponentName admin, in String callerPackage); in enforceCanManageCaCerts() argument
173 boolean installKeyPair(in ComponentName who, in String callerPackage, in byte[] privKeyBuffer, in installKeyPair() argument
176 boolean removeKeyPair(in ComponentName who, in String callerPackage, String alias); in removeKeyPair() argument
177 boolean generateKeyPair(in ComponentName who, in String callerPackage, in String algorithm, in generateKeyPair() argument
180 boolean setKeyPairCertificate(in ComponentName who, in String callerPackage, in String alias, in setKeyPairCertificate() argument
[all …]
DDevicePolicyManagerInternal.java124 public abstract boolean canSilentlyInstallPackage(String callerPackage, int callerUid); in canSilentlyInstallPackage() argument
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java617 if (!mService.validateAssociationAllowedLocked(r.callerPackage, r.callingUid, in deliverToRegisteredReceiverLocked()
621 + " from " + r.callerPackage + " (pid=" + r.callingPid in deliverToRegisteredReceiverLocked()
630 + " from " + r.callerPackage + " (pid=" + r.callingPid in deliverToRegisteredReceiverLocked()
641 + " from " + r.callerPackage + " (pid=" in deliverToRegisteredReceiverLocked()
650 r.callerPackage) != AppOpsManager.MODE_ALLOWED) { in deliverToRegisteredReceiverLocked()
653 + " from " + r.callerPackage + " (pid=" in deliverToRegisteredReceiverLocked()
674 + " due to sender " + r.callerPackage in deliverToRegisteredReceiverLocked()
691 + " due to sender " + r.callerPackage in deliverToRegisteredReceiverLocked()
707 + " due to sender " + r.callerPackage in deliverToRegisteredReceiverLocked()
722 + " due to sender " + r.callerPackage in deliverToRegisteredReceiverLocked()
[all …]
DBroadcastRecord.java53 final String callerPackage; // who sent this field in BroadcastRecord
130 pw.print(prefix); pw.print("caller="); pw.print(callerPackage); pw.print(" "); in dump()
248 callerPackage = _callerPackage; in BroadcastRecord()
282 callerPackage = from.callerPackage; in BroadcastRecord()
347 callerPackage, callingPid, callingUid, callerInstantApp, resolvedType, in splitRecipientsLocked()
DActivityManagerService.java13982 boolean requireFull, String name, String callerPackage) { in handleIncomingUser() argument
13984 requireFull ? ALLOW_FULL_ONLY : ALLOW_NON_FULL, name, callerPackage); in handleIncomingUser()
14346 private boolean isInstantApp(ProcessRecord record, @Nullable String callerPackage, int uid) { in isInstantApp() argument
14357 if (callerPackage == null) { in isInstantApp()
14363 callerPackage = packageNames[0]; in isInstantApp()
14365 mAppOpsService.checkPackage(uid, callerPackage); in isInstantApp()
14366 return pm.isInstantApp(callerPackage, UserHandle.getUserId(uid)); in isInstantApp()
14368 Slog.e(TAG, "Error looking up if " + callerPackage + " is an instant app.", e); in isInstantApp()
14395 public Intent registerReceiver(IApplicationThread caller, String callerPackage, in registerReceiver() argument
14416 !callerApp.pkgList.containsKey(callerPackage) && in registerReceiver()
[all …]
DBroadcastDispatcher.java140 if (mDumpPackage == null || mDumpPackage.equals(br.callerPackage)) { in dump()
DUserController.java1579 int allowMode, String name, String callerPackage) {
1631 if (callerPackage != null) {
1633 builder.append(callerPackage);
/frameworks/base/services/core/java/com/android/server/wm/
DAssistDataReceiverProxy.java42 public AssistDataReceiverProxy(IAssistDataReceiver receiver, String callerPackage) { in AssistDataReceiverProxy() argument
44 mCallerPackage = callerPackage; in AssistDataReceiverProxy()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java5519 public void enforceCanManageCaCerts(ComponentName who, String callerPackage) { in enforceCanManageCaCerts() argument
5521 if (!isCallerDelegate(callerPackage, mInjector.binderGetCallingUid(), in enforceCanManageCaCerts()
5582 public boolean installCaCert(ComponentName admin, String callerPackage, byte[] certBuffer) in installCaCert() argument
5587 enforceCanManageCaCerts(admin, callerPackage); in installCaCert()
5598 .setAdmin(callerPackage) in installCaCert()
5617 public void uninstallCaCerts(ComponentName admin, String callerPackage, String[] aliases) { in uninstallCaCerts() argument
5621 enforceCanManageCaCerts(admin, callerPackage); in uninstallCaCerts()
5630 .setAdmin(callerPackage) in uninstallCaCerts()
5645 public boolean installKeyPair(ComponentName who, String callerPackage, byte[] privKey, in installKeyPair() argument
5648 enforceCanManageScope(who, callerPackage, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER, in installKeyPair()
[all …]
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java182 boolean allowAll, int allowMode, String name, String callerPackage); in handleIncomingUser() argument
DIActivityManager.aidl114 Intent registerReceiver(in IApplicationThread caller, in String callerPackage, in registerReceiver() argument
266 boolean requireFull, in String name, in String callerPackage); in handleIncomingUser() argument
DActivityManager.java3804 boolean allowAll, boolean requireFull, String name, String callerPackage) {
3810 callingUid, userId, allowAll, requireFull, name, callerPackage);
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1584 private void verifyShortcutInfoPackage(String callerPackage, ShortcutInfo si) { in verifyShortcutInfoPackage() argument
1588 if (!Objects.equals(callerPackage, si.getPackage())) { in verifyShortcutInfoPackage()
1595 String callerPackage, List<ShortcutInfo> list) { in verifyShortcutInfoPackages() argument
1598 verifyShortcutInfoPackage(callerPackage, list.get(i)); in verifyShortcutInfoPackages()