Home
last modified time | relevance | path

Searched refs:callerPackage (Results 1 – 16 of 16) 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.java622 if (!mService.validateAssociationAllowedLocked(r.callerPackage, r.callingUid, in deliverToRegisteredReceiverLocked()
626 + " from " + r.callerPackage + " (pid=" + r.callingPid in deliverToRegisteredReceiverLocked()
635 + " from " + r.callerPackage + " (pid=" + r.callingPid in deliverToRegisteredReceiverLocked()
646 + " from " + r.callerPackage + " (pid=" in deliverToRegisteredReceiverLocked()
655 r.callerPackage) != AppOpsManager.MODE_ALLOWED) { in deliverToRegisteredReceiverLocked()
658 + " from " + r.callerPackage + " (pid=" in deliverToRegisteredReceiverLocked()
679 + " due to sender " + r.callerPackage in deliverToRegisteredReceiverLocked()
696 + " due to sender " + r.callerPackage in deliverToRegisteredReceiverLocked()
712 + " due to sender " + r.callerPackage in deliverToRegisteredReceiverLocked()
727 + " 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.java14074 boolean requireFull, String name, String callerPackage) { in handleIncomingUser() argument
14076 requireFull ? ALLOW_FULL_ONLY : ALLOW_NON_FULL, name, callerPackage); in handleIncomingUser()
14438 private boolean isInstantApp(ProcessRecord record, @Nullable String callerPackage, int uid) { in isInstantApp() argument
14449 if (callerPackage == null) { in isInstantApp()
14455 callerPackage = packageNames[0]; in isInstantApp()
14457 mAppOpsService.checkPackage(uid, callerPackage); in isInstantApp()
14458 return pm.isInstantApp(callerPackage, UserHandle.getUserId(uid)); in isInstantApp()
14460 Slog.e(TAG, "Error looking up if " + callerPackage + " is an instant app.", e); in isInstantApp()
14487 public Intent registerReceiver(IApplicationThread caller, String callerPackage, in registerReceiver() argument
14508 !callerApp.pkgList.containsKey(callerPackage) && in registerReceiver()
[all …]
DBroadcastDispatcher.java140 if (mDumpPackage == null || mDumpPackage.equals(br.callerPackage)) { in dump()
DUserController.java1624 int allowMode, String name, String callerPackage) {
1676 if (callerPackage != null) {
1678 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationModeController.java211 String callerPackage = callback.getCreatorPackage(); in enableGestureNav() local
219 if (!ownerComponent.getPackageName().equals(callerPackage) in enableGestureNav()
232 if (profileOwner == null || !profileOwner.getPackageName().equals(callerPackage)) { in enableGestureNav()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java5527 public void enforceCanManageCaCerts(ComponentName who, String callerPackage) { in enforceCanManageCaCerts() argument
5529 if (!isCallerDelegate(callerPackage, mInjector.binderGetCallingUid(), in enforceCanManageCaCerts()
5598 public boolean installCaCert(ComponentName admin, String callerPackage, byte[] certBuffer) in installCaCert() argument
5603 enforceCanManageCaCerts(admin, callerPackage); in installCaCert()
5614 .setAdmin(callerPackage) in installCaCert()
5633 public void uninstallCaCerts(ComponentName admin, String callerPackage, String[] aliases) { in uninstallCaCerts() argument
5637 enforceCanManageCaCerts(admin, callerPackage); in uninstallCaCerts()
5646 .setAdmin(callerPackage) in uninstallCaCerts()
5661 public boolean installKeyPair(ComponentName who, String callerPackage, byte[] privKey, in installKeyPair() argument
5664 enforceCanManageScope(who, callerPackage, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER, in installKeyPair()
[all …]
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java170 boolean allowAll, int allowMode, String name, String callerPackage); in handleIncomingUser() argument
DIActivityManager.aidl114 Intent registerReceiver(in IApplicationThread caller, in String callerPackage, in registerReceiver() argument
278 boolean requireFull, in String name, in String callerPackage); in handleIncomingUser() argument
DActivityManager.java3811 boolean allowAll, boolean requireFull, String name, String callerPackage) {
3817 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()
/frameworks/base/non-updatable-api/
Dcurrent.txt38001 field public static final String CALLER_PACKAGE_PARAM_KEY = "callerPackage";
/frameworks/base/api/
Dcurrent.txt38145 field public static final String CALLER_PACKAGE_PARAM_KEY = "callerPackage";