Searched refs:activityToken (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Settings/src/com/android/settings/password/ |
D | PasswordUtils.java | 41 public static boolean isCallingAppPermitted(Context context, IBinder activityToken, in isCallingAppPermitted() argument 45 ActivityManager.getService().getLaunchedFromUid(activityToken)) in isCallingAppPermitted() 58 public static CharSequence getCallingAppLabel(Context context, IBinder activityToken) { in getCallingAppLabel() argument 59 String pkg = getCallingAppPackageName(activityToken); in getCallingAppLabel() 71 public static String getCallingAppPackageName(IBinder activityToken) { in getCallingAppPackageName() argument 74 pkg = ActivityManager.getService().getLaunchedFromPackage(activityToken); in getCallingAppPackageName() 82 public static void crashCallingApplication(IBinder activityToken, String message) { in crashCallingApplication() argument 85 int uid = am.getLaunchedFromUid(activityToken); in crashCallingApplication() 90 getCallingAppPackageName(activityToken), in crashCallingApplication()
|
D | SetNewPasswordActivity.java | 90 final IBinder activityToken = getActivityToken(); in onCreate() local 91 mCallerAppName = (String) PasswordUtils.getCallingAppLabel(this, activityToken); in onCreate() 95 this, activityToken, REQUEST_PASSWORD_COMPLEXITY); in onCreate() 101 PasswordUtils.crashCallingApplication(activityToken, in onCreate() 116 this, this, intent, activityToken); in onCreate()
|
D | SetupChooseLockGeneric.java | 76 IBinder activityToken = getActivityToken(); in onCreate() local 78 this, activityToken, REQUEST_PASSWORD_COMPLEXITY); in onCreate() 80 PasswordUtils.crashCallingApplication(activityToken, in onCreate()
|
D | SetNewPasswordController.java | 69 IBinder activityToken) { in create() argument 76 final int callingUserId = Utils.getSecureTargetUser(activityToken, in create()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowPasswordUtils.java | 45 protected static boolean isCallingAppPermitted(Context context, IBinder activityToken, in isCallingAppPermitted() argument 61 protected static String getCallingAppLabel(Context context, IBinder activityToken) { in getCallingAppLabel() argument 70 protected static String getCallingAppPackageName(IBinder activityToken) { in getCallingAppPackageName() argument
|
/packages/apps/Settings/src/com/android/settings/ |
D | Utils.java | 499 public static UserHandle getSecureTargetUser(IBinder activityToken, in getSecureTargetUser() argument 504 final String launchedFromPackage = am.getLaunchedFromPackage(activityToken); in getSecureTargetUser() 509 am.getLaunchedFromUid(activityToken))); in getSecureTargetUser()
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | ManageApplications.java | 375 IBinder activityToken = getActivity().getActivityToken(); in reportIfRestrictedSawIntent() local 376 int callingUid = ActivityManager.getService().getLaunchedFromUid(activityToken); in reportIfRestrictedSawIntent()
|