Searched refs:getCallingPackage (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java49 mPackage = getCallingPackage();
H A DManageDialog.java61 if (getCallingPackage() != null) {
62 Log.e(TAG, getCallingPackage() + " cannot start this activity");
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java62 * (It is also provided by {@link Activity#getCallingPackage()}.)
64 * Instead of using this constant directly, consider using {@link #getCallingPackage(Activity)}
65 * or {@link IntentReader#getCallingPackage()}.
172 public static String getCallingPackage(Activity calledActivity) { method in class:ShareCompat
173 String result = calledActivity.getCallingPackage();
678 mCallingPackage = ShareCompat.getCallingPackage(activity);
866 * @see Activity#getCallingPackage()
869 public String getCallingPackage() { method in class:ShareCompat.IntentReader
/frameworks/base/core/java/android/app/
H A DIActivityManager.java100 public String getCallingPackage(IBinder token) throws RemoteException; method in interface:IActivityManager
H A DActivity.java4018 public String getCallingPackage() { method in class:Activity
4020 return ActivityManagerNative.getDefault().getCallingPackage(mToken);
H A DActivityManagerNative.java454 String res = token != null ? getCallingPackage(token) : null;
2287 public String getCallingPackage(IBinder token) throws RemoteException method in class:ActivityManagerProxy
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java4496 public String getCallingPackage(IBinder token) { method in class:ActivityManagerService

Completed in 381 milliseconds