Home
last modified time | relevance | path

Searched refs:activityToken (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/password/
DPasswordUtils.java41 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()
DSetNewPasswordActivity.java90 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()
DSetupChooseLockGeneric.java76 IBinder activityToken = getActivityToken(); in onCreate() local
78 this, activityToken, REQUEST_PASSWORD_COMPLEXITY); in onCreate()
80 PasswordUtils.crashCallingApplication(activityToken, in onCreate()
DSetNewPasswordController.java69 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/
DShadowPasswordUtils.java45 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/
DUtils.java499 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/
DManageApplications.java375 IBinder activityToken = getActivity().getActivityToken(); in reportIfRestrictedSawIntent() local
376 int callingUid = ActivityManager.getService().getLaunchedFromUid(activityToken); in reportIfRestrictedSawIntent()