Searched defs:userId (Results 1 - 25 of 403) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/accounts/
H A DAccountAndUser.java26 public int userId; field in class:AccountAndUser
28 public AccountAndUser(Account account, int userId) { argument
30 this.userId = userId;
38 && this.userId == other.userId;
43 return account.hashCode() + userId;
47 return account.toString() + " u" + userId;
/frameworks/base/core/java/android/content/pm/
H A DInstantAppRequest.java36 public final int userId; field in class:InstantAppRequest
43 String resolvedType, String callingPackage, int userId, Bundle verificationBundle) {
48 this.userId = userId;
42 InstantAppRequest(AuxiliaryResolveInfo responseObj, Intent origIntent, String resolvedType, String callingPackage, int userId, Bundle verificationBundle) argument
H A DRegisteredServicesCacheListener.java29 void onServiceChanged(V type, int userId, boolean removed); argument
H A DPackageCleanItem.java24 public final int userId; field in class:PackageCleanItem
28 public PackageCleanItem(int userId, String packageName, boolean andCode) { argument
29 this.userId = userId;
42 return userId == other.userId && packageName.equals(other.packageName)
53 result = 31 * result + userId;
64 dest.writeInt(userId);
81 userId = source.readInt();
/frameworks/base/media/java/android/media/
H A DExternalRingtonesCursorWrapper.java34 public ExternalRingtonesCursorWrapper(Cursor cursor, int userId) { argument
36 mUserId = userId;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/
H A DPackagesChangedEvent.java32 public final int userId; field in class:PackagesChangedEvent
34 public PackagesChangedEvent(RecentsPackageMonitor monitor, String packageName, int userId) { argument
37 this.userId = userId;
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DActivityManagerTest.java38 for(int userId : service.getRunningUserIds()) {
39 testTaskIdsForUser(userId);
43 private void testTaskIdsForUser(int userId) throws RemoteException { argument
45 100, 0, userId).getList();
49 assertEquals("The task id " + taskId + " should not belong to user " + userId,
50 taskId / UserHandle.PER_USER_RANGE, userId);
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
H A DICall.java33 * @param userId the remote user identity
36 public boolean checkIfRemoteUserIsSame(String userId); argument
/frameworks/base/core/java/android/content/
H A DContentProviderResult.java55 public ContentProviderResult(ContentProviderResult cpr, int userId) { argument
56 uri = ContentProvider.maybeAddUserId(cpr.uri, userId);
/frameworks/base/core/java/android/util/
H A DPackageUtils.java42 * @param userId The user for which to generate the digest.
47 @NonNull String packageName, int userId) {
51 PackageManager.GET_SIGNATURES, userId);
45 computePackageCertSha256Digest( @onNull PackageManager packageManager, @NonNull String packageName, int userId) argument
/frameworks/base/core/java/com/android/internal/notification/
H A DNotificationAccessConfirmationActivityContract.java30 public static Intent launcherIntent(int userId, ComponentName component, String packageTitle) { argument
33 .putExtra(EXTRA_USER_ID, userId)
/frameworks/base/core/java/com/android/internal/util/
H A DNotificationMessagingUtil.java52 final int userId = sbn.getUserId();
53 if (userId == UserHandle.USER_NULL || userId == UserHandle.USER_ALL) return false;
54 if (mDefaultSmsApp.get(userId) == null) {
55 cacheDefaultSmsApp(userId);
57 return Objects.equals(mDefaultSmsApp.get(userId), sbn.getPackageName());
60 private void cacheDefaultSmsApp(int userId) { argument
61 mDefaultSmsApp.put(userId, Settings.Secure.getStringForUser(
63 Settings.Secure.SMS_DEFAULT_APPLICATION, userId));
69 public void onChange(boolean selfChange, Uri uri, int userId) {
[all...]
H A DUserIcons.java64 * @param userId the user id or {@code UserHandle.USER_NULL} for a non-user specific icon
67 public static Drawable getDefaultUserIcon(int userId, boolean light) { argument
69 if (userId != UserHandle.USER_NULL) {
71 colorResId = USER_ICON_COLORS[userId % USER_ICON_COLORS.length];
/frameworks/base/core/java/com/android/server/
H A DAppWidgetBackupBridge.java34 public static List<String> getWidgetParticipants(int userId) { argument
36 ? sAppWidgetService.getWidgetParticipants(userId)
40 public static byte[] getWidgetState(String packageName, int userId) { argument
42 ? sAppWidgetService.getWidgetState(packageName, userId)
46 public static void restoreStarting(int userId) { argument
48 sAppWidgetService.restoreStarting(userId);
52 public static void restoreWidgetState(String packageName, byte[] restoredState, int userId) { argument
54 sAppWidgetService.restoreWidgetState(packageName, restoredState, userId);
58 public static void restoreFinished(int userId) { argument
60 sAppWidgetService.restoreFinished(userId);
[all...]
H A DWidgetBackupProvider.java29 public List<String> getWidgetParticipants(int userId); argument
30 public byte[] getWidgetState(String packageName, int userId); argument
31 public void restoreStarting(int userId); argument
32 public void restoreWidgetState(String packageName, byte[] restoredState, int userId); argument
33 public void restoreFinished(int userId); argument
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DResolverDataProvider.java52 static ResolveInfo createResolveInfo(int i, int userId) { argument
55 resolveInfo.targetUserId = userId;
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityCallback.java40 * @param userId id of the user whose unlock attempt is recorded.
45 void reportUnlockAttempt(int userId, boolean success, int timeoutMs); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DForegroundServiceController.java38 * @param userId
42 boolean isDungeonNeededForUser(int userId); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DUserUtil.java27 public static void deleteUserWithPrompt(Context context, int userId, argument
29 new RemoveUserDialog(context, userId, userSwitcherController).show();
38 public RemoveUserDialog(Context context, int userId, argument
48 mUserId = userId;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DDisplayAdjustmentUtils.java59 public static void applyDaltonizerSetting(Context context, int userId) { argument
67 Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, 0, userId) != 0) {
69 Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, DEFAULT_DISPLAY_DALTONIZER, userId);
88 public static void applyInversionSetting(Context context, int userId) { argument
95 Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, 0, userId) != 0;
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DInternalRemovalClient.java27 IFingerprintServiceReceiver receiver, int fingerId, int groupId, int userId,
30 super(context, halDeviceId, token, receiver, fingerId, groupId, userId, restricted, owner);
26 InternalRemovalClient(Context context, long halDeviceId, IBinder token, IFingerprintServiceReceiver receiver, int fingerId, int groupId, int userId, boolean restricted, String owner) argument
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerInternal.java29 public abstract void resetUserState(int userId); argument
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerInternal.java23 String tag, int id, Notification notification, int userId);
25 void removeForegroundServiceFlagFromNotification(String pkg, int notificationId, int userId); argument
22 enqueueNotification(String pkg, String basePkg, int callingUid, int callingPid, String tag, int id, Notification notification, int userId) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskSnapshotLoader.java62 * @param userId The id of the user the task belonged to.
66 TaskSnapshot loadTask(int taskId, int userId, boolean reducedResolution) { argument
67 final File protoFile = mPersister.getProtoFile(taskId, userId);
69 ? mPersister.getReducedResolutionBitmapFile(taskId, userId)
70 : mPersister.getBitmapFile(taskId, userId);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DLockSettingsStorageTestable.java33 String getLockPatternFilename(int userId) { argument
35 super.getLockPatternFilename(userId)).getAbsolutePath();
39 String getLockPasswordFilename(int userId) { argument
41 super.getLockPasswordFilename(userId)).getAbsolutePath();
45 String getChildProfileLockFile(int userId) { argument
47 super.getChildProfileLockFile(userId)).getAbsolutePath();
51 protected File getSyntheticPasswordDirectoryForUser(int userId) { argument
53 userId).getAbsolutePath());

Completed in 339 milliseconds

1234567891011>>