Lines Matching refs:userId

44          * @param userId The user id.
47 public String[] getPackages(int userId);
58 * @param userId The user id.
61 public String[] getPackages(String authority, int userId);
103 * @param userId The user for which to grant the permissions.
105 public abstract void grantDefaultPermissionsToDefaultSmsApp(String packageName, int userId);
110 * @param userId The user for which to grant the permissions.
112 public abstract void grantDefaultPermissionsToDefaultDialerApp(String packageName, int userId);
117 * @param userId The user for which to grant the permissions.
120 int userId);
133 * @param userId The user under which to check.
136 public abstract boolean isPermissionsReviewRequired(String packageName, int userId);
145 @PackageInfoFlags int flags, int filterCallingUid, int userId);
154 @ApplicationInfoFlags int flags, int filterCallingUid, int userId);
163 @ComponentInfoFlags int flags, int filterCallingUid, int userId);
172 @ResolveInfoFlags int flags, int filterCallingUid, int userId);
178 int userId);
190 public abstract boolean isPackageDataProtected(int userId, String packageName);
196 public abstract boolean isPackageEphemeral(int userId, String packageName);
201 * @param userId The user for which to check.
205 public abstract boolean wasPackageEverLaunched(String packageName, int userId);
211 * @param userId The userId for which to grant the permission.
214 public abstract void grantRuntimePermission(String packageName, String name, int userId,
221 * @param userId The userId for which to revoke the permission.
224 public abstract void revokeRuntimePermission(String packageName, String name, int userId,
248 * @param userId The ID of the user that triggered ephemeral resolution
252 Bundle verificationBundle, int userId);
267 * @param userId the user
272 public abstract void grantEphemeralAccess(int userId, Intent intent,
315 * @param userId The user for which to get the overlays.
319 public abstract List<PackageInfo> getOverlayPackages(int userId);
323 * @param userId The user for which to get the package names.
326 public abstract List<String> getTargetPackageNames(int userId);
330 * @param userId The user for which to update the overlays.
339 public abstract boolean setEnabledOverlayPackages(int userId, String targetPackageName,
346 int flags, int userId);
352 int flags, int userId, int callingUid);
373 public abstract boolean canAccessInstantApps(int callingUid, int userId);
380 public abstract boolean hasInstantApplicationMetadata(String packageName, int userId);