/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 | 86 final IBinder activityToken = getActivityToken(); in onCreate() local 87 mCallerAppName = (String) PasswordUtils.getCallingAppLabel(this, activityToken); in onCreate() 91 this, activityToken, REQUEST_PASSWORD_COMPLEXITY); in onCreate() 97 PasswordUtils.crashCallingApplication(activityToken, in onCreate()
|
D | SetupChooseLockGeneric.java | 84 IBinder activityToken = getActivityToken(); in onCreate() local 86 this, activityToken, REQUEST_PASSWORD_COMPLEXITY); in onCreate() 88 PasswordUtils.crashCallingApplication(activityToken, in onCreate()
|
D | SetNewPasswordController.java | 70 IBinder activityToken) { in create() argument 77 final int callingUserId = Utils.getSecureTargetUser(activityToken, in create()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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 | 81 final IBinder activityToken = getActivityToken(); in onCreate() local 82 mCallerAppName = (String) PasswordUtils.getCallingAppLabel(this, activityToken); in onCreate() 86 this, activityToken, REQUEST_PASSWORD_COMPLEXITY); in onCreate() 92 PasswordUtils.crashCallingApplication(activityToken, in onCreate()
|
D | SetupChooseLockGeneric.java | 83 IBinder activityToken = getActivityToken(); in onCreate() local 85 this, activityToken, REQUEST_PASSWORD_COMPLEXITY); in onCreate() 87 PasswordUtils.crashCallingApplication(activityToken, in onCreate()
|
D | SetNewPasswordController.java | 70 IBinder activityToken) { in create() argument 77 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 | 457 public static UserHandle getSecureTargetUser(IBinder activityToken, in getSecureTargetUser() argument 462 String launchedFromPackage = am.getLaunchedFromPackage(activityToken); in getSecureTargetUser() 466 am.getLaunchedFromUid(activityToken))); in getSecureTargetUser()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | Utils.java | 462 public static UserHandle getSecureTargetUser(IBinder activityToken, in getSecureTargetUser() argument 467 String launchedFromPackage = am.getLaunchedFromPackage(activityToken); in getSecureTargetUser() 471 am.getLaunchedFromUid(activityToken))); in getSecureTargetUser()
|